1T3XT info wrote:
> 
>> While Helvetica is better explained:
>> 
>> Helvetica
>>  Type: Type 1
>>  Encoding: Ansi
>>  Actual Font: Helvetica
>>  Actual Font Type: True Type 
> 
> I fail to see why this is better explained...
> 
It shows me the correct font while GillSans shows me only that it's an
embedded subset.
http://www.nabble.com/file/p21053675/GillSans.zip GillSans.zip  

I've also tried switching to BaseFont.IDENTITY_H which gives me the error:
com.lowagie.text.DocumentException: Font 'Gill Sans' with 'identity_h' is
not recognized.

I'd give you an code sample but all the code is in jRuby, Basicly all im
doing is:
-------
Paragraph Element = new Paragraph("Text...... Bürogebäuden");

FontFactory.registerDirectory("./fonts"); (Which has all the GillSans ttfs)

BaseFont base_font = FontFactory.getFont(font.downcase, BaseFont.WINANSI,
BaseFont.EMBEDDED).getBaseFont();
          
Element.setFont(new Font(base_font));
document.add(Element);
-------


-- 
View this message in context: 
http://www.nabble.com/Problem-with-embedded-font-tp21053113p21053675.html
Sent from the iText - General mailing list archive at Nabble.com.


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
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