DiscussionsIssue archiveOCCT:Visualization

Archived issue #0030474

Visualization - fallback font is ignored for missing font alias within Font_FontMgr::FindFont()

Open CASCADEOCCT:Visualizationclosed5 public notes

Search issues

Description

Due to error in Font_FontMgr::FindFont() logic (#0030439), the fallback font is not returned in case if font alias has been requested by user, but no font was actually found in system for this alias (as result UNDEFINED font is returned).

Steps to reproduce

N/A

Public activity

5 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Mon Feb 4 14:04:21 2019 +0300

    0030474: Visualization - fallback font is ignored for missing font alias within Font_FontMgr::FindFont()
02Author
03Commenter 3
Branch CR30474 reviewed without remarks.
04Commenter 1
Combination -
OCCT branch : [archived branch] SHA - [revision removed]
Products branch : [archived branch] SHA - [revision removed]
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.

Number of compiler warnings:
No new/fixed warnings

Regressions/Differences/Improvements:
No regressions/differences

CPU differences:
Debian80-64:
OCCT
Total CPU difference: 16357.569999999962 / 16366.799999999954 [-0.06%]
Products
Total CPU difference: 7151.440000000013 / 7183.99000000004 [-0.45%]
Windows-64-VC14:
OCCT
Total CPU difference: 17789.3125 / 17810.03125 [-0.12%]
Products
Total CPU difference: 8604.921875 / 8589.015625 [+0.19%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
05Commenter 2
Branch [archived branch] has been deleted by Author.

[revision removed]

Related records