View Issue Details

IDProjectCategoryView StatusLast Update
0030912Open CASCADEOCCT:Visualizationpublic2023-08-01 15:09
Reporternds Assigned Tovpozdyayev 
PrioritynormalSeverityminor 
Status newResolutionopen 
Product Version7.4.0 
Target VersionUnscheduled 
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

Relationships

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

Activities

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
2022-08-17 11:57 kgv Target Version 7.7.0 => 7.8.0
2022-10-19 15:49 smoskvin Assigned To kgv => vpozdyayev
2023-08-01 15:09 dpasukhi Target Version 7.8.0 => Unscheduled