[poppler] fixing-up TeX accents
Tim Brody
tdb2 at ecs.soton.ac.uk
Tue Mar 22 09:24:08 PDT 2011
Hi All,
Can someone give me some feedback on the following approach in
TextPage::addChar:
if
overlap &&
accent IS-IN fixup-map
then
replace accent with combining-char (e.g. 0x0308)
swap(currentChar,combining-char)
unicodeNormalizeNFKC(word)
Where fixup-map is a mapping of TeX-used accents to Unicode combining
chars.
Is it ok to always do this? Any circumstance where you would expect to get
overlapping accents and it not be a TeX-generated combine?
--
All the best,
Tim.
More information about the poppler
mailing list