Is there any way to make the AWT and PDF Spacing match closer?

Bill Ensley
Bear Printing

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Paulo
Soares
Sent: Thursday, December 30, 2004 6:52 AM
To: bodo teichmann; itext-questions@lists.sourceforge.net
Subject: RE: [iText-questions] why is PdfGraphics2D using cb.showText(s)
instead of cb.showTextKerned(s) ?


It's a design option. The pdf and the awt spacing will not match in any
case. 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of bodo teichmann
> Sent: Thursday, December 30, 2004 1:23 PM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] why is PdfGraphics2D using 
> cb.showText(s) instead of cb.showTextKerned(s) ?
> 
> just wondering ,why PdfGraphics2D seems to ignore the  font's 
> kerning ?
> and why does it use
> FontMetrics fm = getFontMetrics();
>   double width = fm.stringWidth(s);
> instead of this:
>    double mywidth =  baseFont.getWidthPointKerned(s,fontSize);
> or
>    double mywidth =  baseFont.getWidthPoint(s,fontSize);
> 
> bodo
> 
> 
> 
> -------------------------------------------------------
> The SF.Net email is sponsored by: Beat the post-holiday blues
> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to