It looks like you are being affected by the ligature issue where your web browser sees letter groups such as “ti” and replaces them with a specific “ti” ligature which isn’t present in the custom font. This is really a browser bug (Chrome seems particularly bad at this), but you can work around it in JavaScript. Take a look at: https://github.com/coolwanglu/pdf2htmlEX/issues/675
Best wishes
David
--
David Hedley
CTO
Mobile: +44 (0)7971 681088
--
You received this message because you are subscribed to the Google Groups "pdf2htmlEX" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
pdf2htmlex+...@googlegroups.com.
To post to this group, send email to
pdf2h...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/pdf2htmlex/20555609-111f-4a34-9087-57c047020bb4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Vistair - World Class Aviation Technology
| Tel | +44 (0)1454 616531 | 0845 8478247 |
| Fax | +44 (0)870 135 0992 |
| Web | www.vistair.com |
Information in this electronic mail message is confidential and may be legally privileged. It is intended solely for the addressee. Access to this message by anyone else is unauthorised. If you are not the intended recipient any use, disclosure, copying or distribution of this message is prohibited and may be unlawful. When addressed to our customers, any information contained in this message is subject to Vistair Systems Ltd, trading as Vistair, Terms and Conditions.
Vistair is a trading identity of Vistair Systems Limited.
Registered in England number 5418081.
Registered Office: Springfield House, 45 Welsh Back, Bristol, BS1 4AG.
VAT registration number GB 229 7777 54
![]() |
![]() |
![]() |
![]() |
|---|

You don’t edit the PDF, you need to change the HTML output. You can either do this by post-processing the HTML, or on the fly as each page is displayed, using the JavaScript I included in my response to that issue.
If you are intending to use the pdf2htmlEX output for the web and want to support all modern browsers then you are going to have to run some JavaScript on each page as it displayed in order to work around various browser incompatibilities. This will require a bit of development work on your part.
I wouldn’t use the “decompose-ligature” option. It is possible (however remote) that a custom font file will not contain the decomposed characters (i.e. it might contain the “ti” glyph but not the “t” or “i” glyphs) and I’m not sure how pdf2htmlEX will cope with that scenario, particularly with custom font encodings.
If you send me the PDF page that is rendering incorrectly (as shown in your screenshot), I’ll see if my branch of pdf2htmlEX has already fixed the issues.
--
You received this message because you are subscribed to the Google Groups "pdf2htmlEX" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
pdf2htmlex+...@googlegroups.com.
To post to this group, send email to
pdf2h...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pdf2htmlex/40c926b4-87ef-4d2e-a3e3-30e78ac24d5f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.