Thanks, Paulo.

Is there any way to tell programatically whether a font is a symbolic font
and/or a Unicode font? 

Thanks,

---Andrew


Paulo Soares-3 wrote:
> 
> It should work with BaseFont.IDENTITY-H in all cases unless it's a
> symbolic font and you're trying to use chars above \u00ff or it's not an
> Unicode font. Looking at the font would help.
> 
> Paulo 
> 
>> -----Original Message-----
>> From: mister bean [mailto:abinst...@pacificdataworks.com] 
>> Sent: Friday, January 22, 2010 9:29 AM
>> To: itext-questions@lists.sourceforge.net
>> Subject: [iText-questions] Knowing the Correct Font Encoding 
>> for FontFactory.getFont()
>> 
>> 
>> I have several .otf fonts that have this property:  If I use
>> FontFacotry.getFont() with encoding BaseFont.IDENTITY-H to 
>> use them, I get
>> no exception, but nothing prints in the PDF (it's blank). 
>> 
>> However, if I change the encoding to BaseFont.WINANSI, the 
>> text prints fine
>> (and uses the font). 
>> 
>> How can I tell which encoding to specify when calling 
>> FontFactory.getFont()?
>> 
>> Thanks in advance,
>> 
>> ---Andrew Binstock
> 
> 
> 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.
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for
> Conference
> attendees to learn about information security's most important issues
> through
> interactions with peers, luminaries and emerging and established
> companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> Buy the iText book: http://www.1t3xt.com/docs/book.php
> Check the site with examples before you ask questions:
> http://www.1t3xt.info/examples/
> You can also search the keywords list:
> http://1t3xt.info/tutorials/keywords/
> 

-- 
View this message in context: 
http://old.nabble.com/Knowing-the-Correct-Font-Encoding-for-FontFactory.getFont%28%29-tp27270603p27285745.html
Sent from the iText - General mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to