in C#:
Font f = FontFactory.GetFont(fontfacename, BaseFont.CP1252,
BaseFont.EMBEDDED, fontsize, Font.NORMAL);

gives me a pdfx1a compatible embedded font (I control font style by using
the full face name eg "Arial Bold", not by Font.Bold)

hth 


neptuno wrote:
> 
> Hello,
> 
> Can someone tell me how does iText manage the insertion of fonts into a
> pdf 
> file? For instance, if I create a pdf file using itext.writer and add a 
> label and/or field of a specified font, how does that font will be added
> to 
> the file?
> 
> I´m asking this because, if I can´t add fonts to a existing pdf file, I
> was 
> wondering if it was possible to add a random object using the font I
> already 
> have inside the file, so that that font would be automatically added to
> the 
> file.
> 
> Because I need to create a pdf/a file from some pdf files, and because I 
> know in advance the type of fonts the pdf files will have, I thought I
> could 
> make something like this to, indirectly, embed the fonts... Is this 
> possible, or doesn´t make any sense...? :)
> 
> Thank you
> 
> _________________________________________________________________
> FREE pop-up blocking with the new MSN Toolbar - get it now! 
> http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
> 
> 
> 
> -------------------------------------------------------------------------
> 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@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> Buy the iText book: http://itext.ugent.be/itext-in-action/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Embed-fonts-into-existing-pdf...-another-try-tf3180827.html#a8828437
Sent from the iText - General mailing list archive at Nabble.com.


-------------------------------------------------------------------------
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to