You can customize FontFactory to your needs. 

> -----Original Message-----
> From: JAC [mailto:[EMAIL PROTECTED] 
> Sent: Monday, May 30, 2005 5:14 PM
> To: Paulo Soares
> Cc: [email protected]
> Subject: Re: [iText-questions] Registering Fonts other than TTF
> 
> No, all the fonts in a TTC are registered (what's the problem?).
> There is no problem, in fact for general usage i'd thing it 
> is the smartest aproach. 
> For our needs it would be useful if I could allow users to 
> give their own names to fonts inside the configuration files, 
> but they may well live without that luxury.
> 
> Thanks for your help.
> 
> Cumprimentos,
> 
> João Cardoso
> 
> 
> On 5/30/05, Paulo Soares <[EMAIL PROTECTED]> wrote:
> 
> 
> 
>       > -----Original Message-----
>       > From: [EMAIL PROTECTED]
>       > [mailto: [EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]> ] On 
> Behalf Of JAC
>       > Sent: Monday, May 30, 2005 3:23 PM
>       > To: [email protected]
>       > Subject: [iText-questions] Registering Fonts other than TTF
>       >
>       > Dear All,
>       >
>       > I am starting a new project for PDF processing and i have a
>       > couple of questions:
>       >
>       >
>       >
>       > *     The font registry mechanism is available for TTF fonts
>       > only, or is it possible to register OTF fonts?
>       >
>       
>       OTF are also registered.
>       
>       > *     Is it possible to register only a single font from a 
>       > TTC file using the same notation as of
>       > BaseFont.createFont("c:\\windows\\fonts\\msgothic.ttc,1",...)?
>       >
>       
>       No, all the fonts in a TTC are registered (what's the problem?).
>       
>       > At last thank you for iText, a very useful toolbox. 
>       >
>       > Best regards,
>       >
>       > João Cardoso
>       > --
>       > Among programmers, laziness is considered the highest 
> art form.
>       > I do my best to express my soul in this art.
>       >
>       >
>       >
>       
> 
> 
> 
> 
> -- 
> João A. Cardoso
> --
> Entre programadores, a preguiça é considerada a mais elevada 
> forma de arte.
> Faço todos os esforços para me exprimir nesta arte.
> --
> Among programmers, laziness is considered the highest art form. 
> I do my best to express my soul in this art.
> 
> 


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to