I can't help you there, with createGraphicsShapes() the text shape drawing 
is done by awt with drawGlyphVector(), not by iText. Maybe you can use 
createGraphics() with the fonts correctly defined in DefaultFontMapper.

Paulo

----- Original Message ----- 
From: "Andrey Seryukov" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, August 22, 2006 9:40 AM
Subject: [iText-questions] Glyph outlines artifacted when rendering Type 
1fonts on OS X.


> We're using iText to render rich text to PDF on both Windows and Mac. To 
> output
> text we use PdfContentByte.createGraphicsShapes() and then standard Java
> Graphics2D methods (same code draws on screen and during PDF export).
>
> Here's a problem. We have a Type 1 font from high quality font set that 
> looks
> different on screen and on exported page. The difference is rather 
> peculiar and
> can be described as "round shapes become more like a diamond". Many if not 
> all
> gplyphs that have round portions are affected. I can e-mail and/or attach 
> a
> sample screenshot or PDF file.
>
> Is this a known effect?
>
> I suspect that we can fix this by implementing separate text drawing for 
> PDF
> export and avoiding Graphics2D code path altogether. Though time is rather
> tight right now (isn't it always :) and we'd like to try less 
> labor-intensive
> options first.
>
> What can we try to cure this?
>
> Appreciate any suggestions,
> --Andrey
>
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job 
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to