Another win 98 text anomoly

This Forum is for the use of Software Developers requiring help and assistance for Tracker Software's PDF-Tools SDK of Library DLL functions(only) - Please use the PDF-XChange Drivers API SDK Forum for assistance with all PDF Print Driver related topics.

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Sean - Tracker, Chris - Tracker Supp, Tracker Supp-Stefan, Ivan - Tracker Software, Andrew - Tracker Support, Tracker - Clarion Support, John - Tracker Supp, Support Staff, moderators

Post Reply
Posts: 50
Joined: Mon May 16, 2005 5:10 pm

Another win 98 text anomoly

Post by ken66 » Wed Jun 22, 2005 9:42 pm

Please see the attached PDF.

Notice the first string drawn seems to have each character drawn on top of each other. The second string is drawn as expected. This happens on windows 98 but both strings are drawn ok on windows xp.

I have attached the test VC6 project which was used to create this PDF.
VC6 test project
(81.79 KiB) Downloaded 109 times
PDF example
(2.59 KiB) Downloaded 117 times

John - Tracker Supp
Site Admin
Posts: 8207
Joined: Tue Jun 29, 2004 10:34 am
Location: Vancouver Island - Canada

Post by John - Tracker Supp » Thu Jun 23, 2005 4:45 pm


Please check your code order more carefully - the issue is there - you need to make changes to the mapping modes before selecting the font into the device content.

i.e. move the line:

CFont* oldfnt = dc.SelectObject(&fnt);
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support

Post Reply