Hi,

   I am creating a translator program that creates a pdf from different formats 
namely afp using iText using default fonts. To better match parameters of font 
widths. I override the font widths of helvetica to correspond to the font width 
that the afp document provides for it's custom font. I use the getWidths method 
and override the values that the custom font provides. I make sure that the 
font is not cached by the BaseFont.createFont method and I use 
setForceWidthsOutput(true) 

   The issue I have is that when I open a generated pdf document of 10 pages. 
The first few pages look correctly spaced and written but when I scroll down, 
then I see some text overlapping. The puzzling part is that when I scroll back 
up to the first(correctly designed) page. Certain lines that were showing 
properly have now completely collapsed so every character is on top of each 
other but most of the other lines don't seem any different. Am I doing 
something incorrectly. 

-Hari



-------------------------------------------------------
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

Reply via email to