Commit c6ef139f authored by John Harwell's avatar John Harwell
Browse files

Resolve WB-715 Too small font size warning: Text Annotations are drawn using a...

Resolve WB-715 Too small font size warning: Text Annotations are drawn using a "font height" that is a "percentage of the viewport's height".  When the text annotation is drawn, the "percentage of viewport height" is converted to a "pixel height" and a font with the desired pixel height is requested and the text is drawn.  However, when the font pixel height gets too small, FTGL may generated an OpenGL error and some or all characters fail to draw.  These font drawing errors have been found to occur when the pixel height is 6 to 7.  So, a "font too small height" has been set to 8.  If when drawing text the height of the font is 8 or less, set a "text too small" property on the text annotation.

In Annotation Toolbar's font height control, draw the numeric height value in red if one or more of the selected text annotations has its "text too small" property set.
parent 4fc75179
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment