Should we offer some sort of map of name -> ttf-font? Currently a user needs to go through a list of fonts

trueTypeCollection.getFonts()

until hitting the correct one. Shouldn't we have something like

trueTypeCollection.getFontByNameMap()

so a user who knows the fonts on the system could have code like

PDType0Font.load(document, newTrueTypeCollection(newFile("c:/windows/fonts/MSGothic.ttc")).getFontByName().get("MS-Gothic"), true);


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to