-
-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Labels
Description
If you print a memo-field with the following content (chr(9) between the blocks):
1234 5678 abcde
1234 5678 abcde
RP prints 5678 abcde too high:
This happens with normal text and with RTF-text and worked fine in the VO-Version.
This bug is caused by the function rpTabbedTextOut in Drawtext.prg
Please replace the line
MoveToEx(sDrawText:hDC,nX,sDrawText:nY-sDrawText:nDescent,NULL_PTR)
with
MoveToEx(sDrawText:hDC,nX,sDrawText:nY,NULL_PTR)
This fixes the behaviour.
A second problem concerns only RTF-text. If the text after the first tab is marked as bold, RP goes completely nuts:
I did not find a solution for this yet, this didn’t work in VO either.
If you find a solution please let me know. I will also try to figure it out when I find some time.