RE: RE: Using fonts not in CoreFont list
"Tim Turner" <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.pdfapi2 |
|---|---|
| Message-ID | <20070703193726.PLQV24093.ibm57aec.bellsouth.net@SONYXP2003> |
It is a TTF font... But we are working in UNIX. I have the font file on my Windows machine. I don't think it will work to simply put the font file from windows right into unix will it??? Or do I have to find a unix version of that file? -Tim -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Mr. Shawn H. Corey Sent: Tuesday, July 03, 2007 2:09 PM To: [email protected] Subject: Re: [perl-text-pdf-modules] RE: Using fonts not in CoreFont list Tim Turner wrote: > Hello, > I need to use a font called "Gill sans" in a document I'm creating. > It's not a core font. > > Is there a way to use it? Maybe, it depends on what type of font it is. If it is a TTF font, you can use ttfont(). See `perldoc PDF::API2` and search for ttfont. Other types: ckjfont() synfont() bdfont() unifont() These are all documented in `perldoc PDF::API2`. -- Just my 0.00000002 million dollars worth, Shawn "For the things we have to learn before we can do them, we learn by doing them." Aristotle