Comment 13 for bug 179589

Revision history for this message
KoRi (koen-ribus) wrote :

Updated patch:
- at least the words containing the first 4 characters of the fonts name should match. In other words, if the first word is very short, require the next one to match also).
- If no match is found use the font name as was in the pdf.
--
The more I look at it, the more complicated it seems to do it the right way ... For example depending on how the pdf is created (OpenOffice -> pdf or OpenOffice -> GhostScript -> pdf) the same font can be named different: "AvantGardeITCbyBT-Book" = "AvantGarde Bk BT", ... of which only the latter is guaranteed to match correctly by the patch. It may need rethinking ...
--