View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] |
ID | Project | Category | View Status | Date Submitted | Last Update |
0030912 | Open CASCADE | [OCCT] OCCT:Visualization | public | 2019-08-22 11:11 | 2019-08-22 11:12 |
|
Reporter | nds | |
Assigned To | kgv | |
Priority | normal | Severity | minor | |
Status | new | Resolution | open | |
Platform | | OS | | OS Version | |
Product Version | | |
Target Version | [OCCT] 7.5.0* | Fixed in Version | | |
|
Summary | 0030912: Visualization - OpenGl_Text with height less than 2 points |
Description | In 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)
|
Tags | No tags attached. |
|
Test case number | |
|
Attached Files | |
|