I can´t understand this:
I´m developing application, and it´s using iText Library for generate PDF. The text input must be Rich formated. The pdf document generated, must be exactly equal to text. I´m parsed the text, for generated font name, color,size and then, the objects needed for iText ( it´s not support RTF to PDF conversions )
I´m using RichEdit Control, but the font size is not correct in comparission with the generated pdf. ( also are images objects ).
Then, I did a SIMPLE test with the DrawString method (gdi), ( same text, same font name and font size ), but they are not equal WIDTH. ( Richtext and drawtext ).
Conclusion: using a DrawString method generated the correct pdf (correct size).
The height and the size of each character are equal. The only diference is the char spacing
Why occurs this ?
I need resolve this problem with the fuc... Rich Edit Control.
PS: sorry for my poor english
modified on Wednesday, May 13, 2009 1:31 AM