The miracles of font subsetting...

Best Regards,
Paulo Soares

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of [EMAIL PROTECTED]
> Sent: Saturday, May 29, 2004 7:56 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [iText-questions] latin2 characters in PDF
> 
> Citace Paulo Soares <[EMAIL PROTECTED]>:
> 
> > That's super easy to do in java and iText. Your problem is that the
> > built in font Helvetica doesn't have all the characters you 
> want. You
> > must use an external font, embedded, to do it. Soemthing like this:
> > 
> > BaseFont arial = 
> BaseFont.createFont("c:\\windows\\fonts\\arial.ttf",
> > BaseFont.CP1250, BaseFont.EMBEDDED);
> > Font font = new Font(arial, 12, Font.NORMAL);
> > document.add(new Paragraph("Nazdar Zdeňko. ěščřžýáíé E\u011bE",
> > font));
> 
> thanks, this works fine :-) 
> and file size is only 15 KB, though the font itself is 250 KB large
> 
> Sincerrelly
> 
>   Leos
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: Oracle 10g
> Get certified on the hottest thing ever to hit the market... 
> Oracle 10g. 
> Take an Oracle 10g class now, and we'll give you the exam FREE.
> http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> 


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id?66&op=click
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to