environment: J601 p beta/win32
J504
glqtextmetrics '' ; return font information. The context (screen or printer) is
selected by glextent and the font is selected by glextentfont. The values are:
Height, Ascent, Descent, InternalLeading, ExternalLeading, AverageCharWidth,
MaxCharWidth

J601
glqtextmetrics '' ; return font information: Height, Ascent, Descent,
InternalLeading, ExternalLeading, AverageCharWidth, MaxCharWidth

1. In J601, there is no glextend and glextentfont, so is it sufficient to set
glfont before calling glqtextmetrics?

2. In J504, the values are in logical unit (pixel,twips...) depending on mapping
mode. In J601 I suspect the values are always in points, because the values are
rounded and point is a rather large unit, it becomes inaccurate. Could the
values either use logical unit, or double precision point values?

3. could it also give the "Overhang" member in TEXTMETRIC? It is useful to
calculate exact width of bold and italic text.

4. Sometimes the font size is correct, but the text is too crowded. Will it be
possible to add a gl command that equivalent to SetTextCharacterExtra ?

-- 
regards,
bill
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to