Hi,
I’m trying to obtain the height and width information for a character so I can write it to a texture.
I am able to get the width for the character but I can’t find an API call to get the height. The only height I can find is the height for the entire font (see code).
Any suggestions?
GetTextMetrics(hDC, &tm);
GetCharABCWidthsFloat(hDC, symbolIndex, symbolIndex, &abcInfo);
symbolHeight = tm.tmHeight;
symbolWidth = (AgTInt)abcInfo.abcfB;
Thanks in advance,
Patrick