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:112020-12-14 12:50
Assigned Tokgv 
PlatformOSOS Version
Product Version[OCCT] 7.4.0 
Target Version[OCCT] 7.6.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 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
Attached Files

- Relationships
related to 0030857closedapn 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
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 View Revisions

Copyright © 2000 - 2021 MantisBT Team
Powered by Mantis Bugtracker