pdf2htmlEX --split-pages 1 --zoom 3 --fit-width 920 --correct-text-visibility 1 --dest-dir $1 $2 2>&1**
Hi,
The above issue occurs only in - webkit web browsers like chrome and safari - which provides support for ligatures - whereas browser like firefox does not.
A ligature is a combination of two or more letters joined as a single glyph
(For more info : https://en.wikipedia.org/wiki/Typographic_ligature)
Reason for the issue
This issue with missing characters is due to ligature support provided by these modern browsers - let me explain how
1. Our tool while converting - it converts characters to glyphs using poppler for rendering - now these browser when they come across characters like tt tf ti ff fi consider them to be ligature and searches for glyphs corresponding to tt and not t t
2. Since they do not have their corresponding glyphs - they just skip the characters and renders the rest - so, we fount the characters missing
This could be solved by
Refer:
#543
http://stackoverflow.com/questions/19591746/prevent-ligatures-in-safari-mavericks-ios7-via-css
https://developer.mozilla.org/en/docs/Web/CSS/font-feature-settings
http://caniuse.com/#feat=font-feature
Please correct me if I am wrong.
Hi Lu,
Tried the same (diabling ligature with css) and it works fine for me in all the cases.Thanks and Regards,
Rajasuba S.