Hello,
I am trying to use the 3 of 9 Barcode font which is a true type font, but it doesn't work. Other fonts do work. Does anybody know why and how to make
it work. The following is the code I am using in OnPrint:
LOGFONT logFont;
memset(&logFont,0,sizeof(L
OGFONT));
logFont.lfFaceName,TEXT("3
of 9 Barcode");//doesn't work
CFont font;
CFont* pOldFont=NULL;
if (font.CreateFontIndirect(&
logFont))
pOldFont=pDC->SelectObject
(&font);
pDC->TextOut(0,200,"12345"
);
Thanks
Charles G.
Start Free Trial