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
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.
- Site Admin
- Posts: 8205
- Joined: Tue Jun 29, 2004 10:34 am
- Location: Vancouver Island - Canada
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);