The BestMatchingMapper class attempts to match commonly used fonts to their equivalents on systems that don't have Microsoft fonts installed.
Part of the matching is via equivalents specified in FontSubstitutions.xml.
Here's an extract referenced below.
- Code: Select all
<replace name="arial">
<SubstFonts>
arial;nimbussansl;freesans;albanyamt;albany;helvetica;lucidasans;lucida;geneva;helmet;sansserif;nimbussans;andalesansui;arialunicodems;lucidaunicode</SubstFonts>
<SubstFontsMS></SubstFontsMS>
...
I've encountered the following three bugs in this process:
(1) FontSubstutitions.xml uses the lowercase whitespace and punctuation removed name of the font. If the document contains "Times New Roman" it is not ...