The font embedding is not lost if you save the pdf. Please post the PDF.
Paulo
----- Original Message -----
From: "Mac Fraser" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, May 20, 2006 4:40 AM
Subject: [iText-questions] Fonts not Embedding properly
Hi,
I've been working to resolve this issue for a little while now and have
not been able to get it working.
I'm using itext 1.4 within a web application
I am loading a font using the FontFactory and registering the font like
this:
FontFactory.register("c:\\windows\\fonts\\efflores.ttf");
FontFactory.register("c:\\windows\\fonts\\efflb___.ttf");
FontFactory.register("c:\\windows\\fonts\\efflbi__.ttf");
FontFactory.register("c:\\windows\\fonts\\effli___.ttf");
font = FontFactory.getFont("Effloresce",BaseFont.WINANSI,
BaseFont.EMBEDDED);
When I generate my document on my system where I have the font loaded
(registered) the pdf displays fine with the proper font. If I save the pdf
and \open the pdf on a different system that does not have the font
installed it does not dsiplay the correct font, instead it is displaying
Helevetica as the font.
Does anyone know how I can get the font to embed and display properly?
Thanks
Mac
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions