Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

lowagie fonts  RSS feed

 
age spets
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This works:
BaseFont rotis = BaseFont.createFont(fontroot+"ROTISS_0.ttf", BaseFont.CP1252, BaseFont.EMBEDDED);
font = new Font(rotis, size);
This does not work:
BaseFont Egyptienne = BaseFont.createFont(fontroot+"e046013t.pfm", BaseFont.CP1252, BaseFont.EMBEDDED);
fontbunn = new Font(Egyptienne, 24);

Error:Font 'c:\winnt\fonts\e046013t.pfm' with 'Cp1252' is not recognized.

Looks for me thar CP1252 is not correct basefont for URWEgyptienne. Or is it that I could not get the PFB file in the font directory? Get the error that the file is destoyed.

Any ideas? Have tried alot of other basefonts with no luck...

Age
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!