03-11-2016, 10:17 AM
Somebody is working on this problem?
I made a debug version of wpc_tt module for fix this problem.
So in this version,if your OS is MacOSX, program will also scans for user font directory path(/User/Username/Library/Fonts/).
File is here; wpc_tt modify for Wings3D 2.x.x
http://brace.client.jp/wings3d_141/file.html#cjkdemo
wpc_tt_mod_for_wings2.0.2.zip
--------------------------------
But,I've found the cause of aother bugs on TextPrimitive.
That was serious.
On OSX Native Font dialog,this doesn't return correct values for font that has multiple weights.
(For example "ExtraLight","Extrabold",Regular and "Heavy" etc...).
At present, the dialog will return only a particular style type.
(ForExample Italic,bold,nomal,light)
So Wings3D fails to font acquisition.
To resolve the problem, it will need to fix the Wxwidgets side....
Changed features and Attension:
*This version contain the features that CJK font support and Vertical Text.
*Also add the menu to select a fontfile directly(Relief measures for Native font dialog problem)
*This is debug version,so Please use carefully.
About Wings3D debugging log output:
* Location list of fonts that are installed.
* And character code corresponding to the input character, the sequence number of Cmap table.
* The return value from the native font selector
* Outputs and information about WxFont related TrueType.
For example:
---------------
tkbd
I made a debug version of wpc_tt module for fix this problem.
So in this version,if your OS is MacOSX, program will also scans for user font directory path(/User/Username/Library/Fonts/).
File is here; wpc_tt modify for Wings3D 2.x.x
http://brace.client.jp/wings3d_141/file.html#cjkdemo
wpc_tt_mod_for_wings2.0.2.zip
--------------------------------
But,I've found the cause of aother bugs on TextPrimitive.
That was serious.
On OSX Native Font dialog,this doesn't return correct values for font that has multiple weights.
(For example "ExtraLight","Extrabold",Regular and "Heavy" etc...).
At present, the dialog will return only a particular style type.
(ForExample Italic,bold,nomal,light)
So Wings3D fails to font acquisition.
To resolve the problem, it will need to fix the Wxwidgets side....
Changed features and Attension:
*This version contain the features that CJK font support and Vertical Text.
*Also add the menu to select a fontfile directly(Relief measures for Native font dialog problem)
*This is debug version,so Please use carefully.
About Wings3D debugging log output:
* Location list of fonts that are installed.
* And character code corresponding to the input character, the sequence number of Cmap table.
* The return value from the native font selector
* Outputs and information about WxFont related TrueType.
For example:
Code:
Matching Table Of wings
{{"Gen Shin Gothic ExtraLight",normal,normal}, "/Users/username/Library/Fonts/GenShinGothic-ExtraLight.ttf"},
{{"Gen Shin Gothic Heavy",normal,bold}, "/Users/username/Library/Fonts/GenShinGothic-Heavy.ttf"},
{{"Gen Shin Gothic Light",normal,normal}, "/Users/username/Library/Fonts/GenShinGothic-Light.ttf"},
About test to OSX Native Font Problem.
*** Arial *** OK!!
User Selected : Arial normal normal
Font_Path = "/Library/Fonts" , Fixed: "/Library/Fonts/Arial.ttf"
Matched!!
*** Gen shin gothic Extra Light *** Native selector is return "normal light"
User Selected : "Gen Shin Gothic" normal light
Font_Path = "." , Fixed: "./unknown"
Fail {{"Gen Shin Gothic Light",normal,normal}, "/Users/username/Library/Fonts/GenShinGothic-Light.ttf"},
***Gen shin gothic Extra Light *** But Native Font selector return normal light
User Selected : "Gen Shin Gothic" normal light
Font_Path = "." , Fixed: "./unknown"
Fail {{"Gen Shin Gothic ExtraLight",normal,normal}, "/Users/username/Library/Fonts/GenShinGothic-ExtraLight.ttf"},
tkbd