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.
Another win 98 text anomoly
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
Another win 98 text anomoly
- Attachments
-
- textproblem98.zip
- VC6 test project
- (81.79 KiB) Downloaded 109 times
-
- test.zip
- PDF example
- (2.59 KiB) Downloaded 117 times
-
- Site Admin
- Posts: 8207
- Joined: Tue Jun 29, 2004 10:34 am
- Location: Vancouver Island - Canada
- Contact:
Ken,
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:
dc.SetMapMode(MM_TEXT);
before
CFont* oldfnt = dc.SelectObject(&fnt);
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:
dc.SetMapMode(MM_TEXT);
before
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
http://www.tracker-software.com
Best regards
Tracker Support
http://www.tracker-software.com