DiscussionsIssue archiveOCCT:Visualization

Archived issue #0027505

Visualization, Font_FontMgr - do not look for fonts.dir on OS X

Open CASCADEOCCT:Visualizationclosed4 public notes

Search issues

Description

Current implementation of Font_FontMgr appends correct standard folder on OS X, however the actual search procedure is looking for fonts.dir file in folder, which is missing (X11-specific).

The code should be updated to take register all font files from standard folders, as is done on Android.

Steps to reproduce

test case 3rdparty/fonts/A8

Public activity

4 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 May 16 07:39:14 2016 +0300

    0027505: Visualization, Font_FontMgr - do not look for fonts.dir on OS X
    
    Font_FontMgr::InitFontDataBase() now uses the same approach on OS X as on Android
    ignoring fonts.dir files which are non used on these systems.
02Author
Please check compilation (regression testing makes sense only on Android and OS X platforms).
03Commenter 1
check compilation : there are no new warnings on all platforms
Tested on MacOS. Fonts are found by testing cases.
http://occt-tests/CR27505_master-OCCT/MacOS/3rdparty/fonts/A2.html
04Commenter 2
Branch [archived branch] has been deleted by Participant.

[revision removed]

Related records