By Date: <-- -->
By Thread: <-- -->

True Type Fonts



Check out http://itextdocs.lowagie.com/examples/com/lowagie/examples/fonts/TrueType.java.
 
In the call to BaseFont.createFont(), the last parameter is BaseFont.NOT_EMBEDDED.  I'd guess (though I don't have the source/javadoc in front of me) that there's a corresponding BaseFont.EMBED constant.
 
Ah: BaseFont.EMBEDDED.  That last parameter is just a boolean. 
 
Embedding is a pretty basic function of PDF fonts.  I suggest you study up:
 
http://itextdocs.lowagie.com/tutorial/
 
The font-specific section:
http://itextdocs.lowagie.com/tutorial/#part3
 

--Mark Storer
  Senior Software Engineer
  Cardiff.com

#include <disclaimer>
typedef std::Disclaimer<Cardiff> DisCard;

-----Original Message-----
From: itext-questions-bounces (at) lists.sourceforge.net [mailto:itext-questions-bounces (at) lists.sourceforge.net]On Behalf Of John Duff
Sent: Wednesday, October 25, 2006 10:37 AM
To: itext-questions (at) lists.sourceforge.net
Subject: [iText-questions] True Type Fonts

Hi, I’m working on an App that is using iText to dynamically print pdfs and we want to use some non-standard True Type fonts but are having problems with it.  We are able to use the fonts in WindowsXP if you put them in the C:\WINDOWS\Fonts directy (they automatically get installed) and then load them with iText as in the examples.  The problem is that when we deliver the application we don’t want to install the fonts on the system, us there anyway that iText can use the .ttf file to write the pdf then maybe embed the font in the pdf itself for viewing?  Thanks for the help,

 

John

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions (at) lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions