MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0030912Open CASCADE[OCCT] OCCT:Visualizationpublic2019-08-22 11:112019-08-22 11:12
Reporternds 
Assigned Tokgv 
PrioritynormalSeverityminor 
StatusnewResolutionopen 
PlatformOSOS Version
Product Version 
Target Version[OCCT] 7.5.0*Fixed in Version 
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 30857). 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
Attached Files

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

-  Notes
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


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker