Archived issue #0027505
Visualization, Font_FontMgr - do not look for fonts.dir on OS X
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.
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.
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.
[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.
Please check compilation (regression testing makes sense only on Android and OS X platforms).
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
Tested on MacOS. Fonts are found by testing cases.
http://occt-tests/CR27505_master-OCCT/MacOS/3rdparty/fonts/A2.html
Branch [archived branch] has been deleted by Participant.
[revision removed]
[revision removed]
Related records