Hi, how did you create your font? There is two possibilities that more or less "ensures" you compatibility BOOL CreatePointFont( int nPointSize, LPCTSTR lpszFaceName, CDC* pDC = NULL ); but here the "int nPointSize" can depend on the MAPMODE, is not the same MM_TEXT as MM_LOMETRIC (for example) The other one (from Roger Allen's http://www.codeproject.com/printing/printingtricksandtips.asp[^])
CFont font;
LOGFONT lf;
::ZeroMemory (&lf, sizeof (LOGFONT));
lf.lfHeight = -MulDiv (12, pDC->GetDeviceCaps (), 72);
strcpy (lf.lfFaceName, "Arial");
//use the font
if it works for printers, it should work for displays too. EDIT: I found this article. http://msdn2.microsoft.com/en-us/library/d8ws31ff(VS.71).aspx[^] I hope it helps
Greetings. -------- M.D.V. If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?