Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PDF3 library issue
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Miscellaneous
Thread ID:
01663043
Message ID:
01666918
Views:
95
>>Hi Rick,
>>
>>IMHO, the bug is in another place, see to previous loop in code.
>>
>>1) Split to text to lines (array p)
>>2) Calculate width for each line
>>3) If line's width is greather then original text width, then split line to two lines
>>
>>MartinaJ
>
>I agree you could fix it there by not creating the new array entries. I considered that, but rather than changing existing code that have effects I may not be aware of elsewhere, I wanted to simply put a guard up on the line that actually emits it to the PDF writer.
>

May be yes, may be no.
Report listener calculate text lines count by textbox width with using GDI+API
But PDF (builder) use GDI API.
It's strange so algorithm in pdf3 calculate more lines then GDI+ API.



MartinaJ
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform