pdf writer font not found

D

donn

I cannot figure out how to get a font loaded. I have in c:\windows/
fonts a font file named w128m.ttf. It displays as "WASP 128
M(TrueType)". I haven't been able to code the select_font method to
load the font. PDF::Writer::FONT_PATH displays as c:\windows/fonts.
Attempted coding statements have been:

pdf.select_font("w128m.ttf")
pdf.select_font("WASP 128 M")
pdf.select_font("WASP 128 M(TrueType)")

Your assistance is appreciated.
dvn
 
A

Austin Ziegler

I cannot figure out how to get a font loaded. I have in c:\windows/
fonts a font file named w128m.ttf. It displays as "WASP 128
M(TrueType)". I haven't been able to code the select_font method to
load the font. PDF::Writer::FONT_PATH displays as c:\windows/fonts.
Attempted coding statements have been:

pdf.select_font("w128m.ttf")
pdf.select_font("WASP 128 M")
pdf.select_font("WASP 128 M(TrueType)")

There are issues with TrueType fonts at this point. Even if those
issues did not exist, PDF::Writer cannot yet obtain the font metrics
from the font file itself and must have an Adobe Font Metrics file
generated for it (usually associated with Type1 fonts).

-austin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,230
Messages
2,571,161
Members
47,794
Latest member
LucretiaEl

Latest Threads

Top