View Issue Details

IDProjectCategoryView StatusLast Update
0030912Open CASCADEOCCT:Visualizationpublic2021-08-24 14:26
Reporternds Assigned Tokgv  
Status newResolutionopen 
Product Version7.4.0 
Target Version7.7.0 
Summary0030912: Visualization - OpenGl_Text with height less than 2 points
DescriptionIn OpenGl_Group we have condition for filling OpenGl_Text by parameter height:
if height of the text is less than 2 points, it creates OpenGl_Text with default text height obtained from GlDriver of OpenGl_Structure:
  OpenGl_Structure* aStruct = GlStruct();
  aParams.Height = int ((theHeight < 2.0) ? aStruct->GlDriver()->DefaultTextHeight() : theHeight);

It's proposed to brainstorm how improve it (after 0030857). The questions for analysis are:
- identify why the code using DefaultTextHeight() has been introduced in OpenGl_Group;
- where this scenario is currently used (there are DRAW cases, that use this default text height: bugs vis bug10, bug218)
TagsNo tags attached.
Test case number


related to 0030857 closedapn Visualization - using one implementation of Text in graphic group 


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-08-22 11:11 nds New Issue
2019-08-22 11:11 nds Assigned To => kgv
2019-08-22 11:12 nds Relationship added related to 0030857
2020-09-21 17:16 kgv Product Version => 7.4.0
2020-09-21 17:16 kgv Target Version 7.5.0 => 7.6.0
2020-12-14 12:50 kgv Description Updated
2021-08-24 14:26 kgv Target Version 7.6.0 => 7.7.0