draw2d
draw2d copied to clipboard
Independent API for adding and using fonts
In pdf you add fonts and register them with a name (string). Then you switch fonts by their name. truetype.Font can not be used by the pdf backend, so it is better not a dependency for pdf. Maybe you can implement an AddFont method which registers truetype.Font.