M
Matt Gilarde
Guest
We create the font with CreateFontIndirect . Then we use GetTextMetrics to fill a TEXTMETRIC structure with information about the font. Structure member tmHeight is the font height and tmAveCharWidth is the average character width. PIXELS-PER-ROW = tmHeight * 3 / 2 PIXELS-PER-COLUMN = tmAveCharWidth
Continue reading...
Continue reading...