• Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Social Media
    •   @Wings3dOfficial
    •   @Wings3dOfficial
    •   Wings3dOfficial
    •   Wings3dOfficial
  • Register
  • Login
  • Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Register
  • Login
Wings 3D Development Forum Wings 3D Bug Reports v
« Previous 1 … 4 5 6 7 8 … 35 Next »
[solved] When make a text primitive,Wings load system Fonts only(in OSX).

 
  • 0 Vote(s) - 0 Average
[solved] When make a text primitive,Wings load system Fonts only(in OSX).

tkbd
Offline

Senior Member

Posts: 451
Threads: 115
Joined: Nov 2012
#2
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:
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
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Messages In This Thread
[solved] When make a text primitive,Wings load system Fonts only(in OSX). - by tkbd - 09-21-2015, 08:22 PM
RE: When make a text primitive,Wings load system Fonts only(in OSX). - by tkbd - 03-11-2016, 10:17 AM
RE: When make a text primitive,Wings load system Fonts only(in OSX). - by dgud - 03-14-2016, 03:46 PM
RE: When make a text primitive,Wings load system Fonts only(in OSX). - by tkbd - 03-16-2016, 11:41 AM
RE: When make a text primitive,Wings load system Fonts only(in OSX). - by dgud - 12-09-2019, 07:41 AM
RE: When make a text primitive,Wings load system Fonts only(in OSX). - by tkbd - 12-11-2019, 10:49 AM
RE: When make a text primitive,Wings load system Fonts only(in OSX). - by dgud - 12-12-2019, 07:36 AM

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode