Quantcast
Channel: Aspose.Pdf Product Family
Viewing all articles
Browse latest Browse all 1038

Hyphenation of words containing hyphens using a HyphenationDictionary

$
0
0
Dear Aspose

We are facing a problem with Aspose.PDF using a HypenationDictionary. If a word already contains a hyphen, e.g. VKF-Brandschutzrichtlinie (it's German) and the HyphenationDictionary contains the definition <Word Name="VKF-Brandschutzrichtlinie">VKF-Brand-schutz-richt-li-nie</Word> Aspose.PDF ignores it and hyphenates the word as follows, which isn't correct: VKFBra-ndschutzrichtlinie.
This happens to all words containing a hyphen. It seems that Aspose.PDF ignores the hyphenation definition for all the words with hyphens. The rest works as expected.

What is the reason for this behavior and is there a workaround for the issue?

Thanks Herbie

Viewing all articles
Browse latest Browse all 1038

Trending Articles