You can embedd any TTF font.

Paulo

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Oliver Schoenwald
> Sent: Tuesday, August 12, 2008 2:24 PM
> To: [email protected]
> Subject: [iText-questions] Add content to pdf-document using
> embedded font
>
> Hello from germany,
>
> as the subject tells: I have a prepared PDF-document, to which I add
> some textual content and a table. The document has an
> embedded font that
> has to be used due to corporate design regulations. How can I make any
> text that I add to the document use that embedded font?
>
> To give some more details: I add the texts using ColumnText
> writing to a
> PdfContentByte-Object. Same is done with the PdfPTable that I use to
> create the table content. It works fine but of cause it can
> only use the
> system fonts so far. Or would it be better to register that True
> Type-font as described in the book  (chapter 9, isn't it?) instead of
> fishing for the embedded font?
>
> I failed to find an answer to this question in the book an
> using google,
> but in case someone knows where/what I have to read to find
> the solution
> by myself, feel welcome to give me an hint.
>
> Thank you in advance,
>
> Oliver Schönwald
>
>
>
> --
> Oliver Schönwald, Diplom-Informatiker
>
> FernUniversität Hagen
> Zentrum für IT und Medien (ZMI) - Competence Center
> Anwendungsentwicklung
> Universitätsstr.21/AVZ - 58084 Hagen - Deutschland
> fon: +49 2331 987 1721 - email: [EMAIL PROTECTED]
>
>


Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter 
informação confidencial ou legalmente protegida. A incorrecta transmissão desta 
mensagem não significa a perca de confidencialidade. Se esta mensagem for 
recebida por engano, por favor envie-a de volta para o remetente e apague-a do 
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de 
usar, revelar ou distribuir qualquer parte desta mensagem. 

Disclaimer:
This message is destined exclusively to the intended receiver. It may contain 
confidential or legally protected information. The incorrect transmission of 
this message does not mean the loss of its confidentiality. If this message is 
received by mistake, please send it back to the sender and delete it from your 
system immediately. It is forbidden to any person who is not the intended 
receiver to use, distribute or copy any part of this message.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to