[fixed] Error, after tried creating 3Dtext. Wings3D v2.2.6 - Printable Version +- Wings 3D Development Forum (https://www.wings3d.com/forum) +-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1) +--- Forum: Bug Reports (https://www.wings3d.com/forum/forumdisplay.php?fid=12) +--- Thread: [fixed] Error, after tried creating 3Dtext. Wings3D v2.2.6 (/showthread.php?tid=2872) |
[fixed] Error, after tried creating 3Dtext. Wings3D v2.2.6 - tkbd - 12-11-2019 The my test enviroment is Windows10 Home(1903) - 64bit,and Wings3D v2.2.5 - 64bit At first time,I got a following error log when run text primitive command. Quote:caught error: {badmatch,[]} About Tested fonts: How test: This is usually Latin font, but if it seems think it is a CJK font, I typed text mixed with CJK text. Success means: Custom text entered appears as 3D text. European font: Success: Arial,ComicSans,Impact,Geogia,FranklinGothic,Nirmala,MV boli,Segoe,Segoe Print,Verdana,Trebuchet,TimesNewRoman OK Failed to font location : Sitka,Script,Webding,Wingding, Many'@'fonts Internal Error: MicrosoftSanSerif,Platino Linotype CJK font: Success: MS UI Gothic,MicrosoftYaHeiUI,MinLiu HKSCS-EXTB,Microsoft ThenHei font Freezed: If set a font that has non-Latin name(For example japanese font), Wings3D is freezed. (When freeze happend,It must shutdown Wings3D from the task manager.) RE: Error,after tried creating 3Dtext. Wings3D v2.2.5 - dgud - 02-22-2020 Fixed Sitka (and possibly other) naming problem in fonts files. Fixed better error report for: Script,Webding,Wingding They are not in supported format. Many'@'fonts Fixed by removing '@' before searching for font file, what does the @ mean? Fixed 'Microsoft SanSerif', 'Platino Linotype' could not render space ' ' character :-) Do you have a link to a font with non-latin name? Don't know where it hangs so don't know if possible to fix. RE: Error,after tried creating 3Dtext. Wings3D v2.2.5 - tkbd - 03-03-2020 dgud Wrote:Fixed 'Microsoft SanSerif', 'Platino Linotype' could not render space ' ' character :-)dgud,Thank you fix font name problems. dgud Wrote:Fixed by removing '@' before searching for font file, what does the @ mean?This works like a virtual font name,and this feature is WindowsOS Only (Maybe it since Win3.x). IF add the @ symbol with font name selection,It can be vertical writing display rotate 90 degree with counter clock work. But multi OS support,I think recommended that font names begin with @ be excluded. I found more reliable information about '@' font. See a following links. Why do some font names begin with an at-sign? from microsoft developper Blog https://devblogs.microsoft.com/oldnewthing/20120719-00/?p=7093 https://docs.microsoft.com/en-us/previous-versions/cc194859(v=msdn.10)?redirectedfrom=MSDN For example case that using @font in Autodesk software supportpage (The original page doesn't English version, so I used Google Translation). https://translate.google.co.jp/translate?hl=&sl=auto&tl=en&u=https%3A%2F%2Fknowledge.autodesk.com%2Fja%2Fsearch-result%2Fcaas%2Fsfdcarticles%2Fsfdcarticles%2FkA230000000tzDH.html In the orient from long ago, the inscriptions on all monuments are usually engraved vertical writting. Therefore, there is a demand for using vertical 3D text in 3D work. dgud Wrote:Do you have a link to a font with non-latin name?Yes I have,how about these site? WAZU JAPAN's Gallery of Unicode Fonts (It is English page) Tons of links and resource information for Non-latin fonts(other than CJK font). http://www.wazu.jp/index.html http://www.wazu.jp/gallery/Fonts_Japanese.html http://www.wazu.jp/gallery/Fonts_ChineseTraditional.html http://www.wazu.jp/gallery/Fonts_Korean.html http://dekasu.net/fonts/ The list of non latin font that proprietary softwares make installed together. A following are proprietary font name list. Code: MSOffice2010 In Japanese font name usually use, "Hankaku Kana" characters If these cannot be handled properly, it may cause a hang. It seems that there is also a Japanese font also installed when MSOffice is installed. https://en.wikipedia.org/wiki/Half-width_kana Quote:アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヲン Other font download links (OSS font) Font Library .org https://fontlibrary.org/en/orthographies Google Noto font https://www.google.com/get/noto/ M+font https://mplus-fonts.osdn.jp/about-en.html dgud,You are working very hard. Thanks again! RE: Error,after tried creating 3Dtext. Wings3D v2.2.5 - dgud - 03-03-2020 This works fine: wpc_tt:trygen("/usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc", "アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヲン", 1). And using that font with the same text inside wings. Using "Microsoft JhengHei UI" and string above works fine as well. So which font and which input string causes wings to hang? RE: Error,after tried creating 3Dtext. Wings3D v2.2.5 - tkbd - 03-06-2020 I entered and tested some special strings and complex ligature. Also contains Apple Emoji etc... on Mac For example a following text on M+font and Noto Sans. Code: た͜͜͏̘̣͔͙͎͎̘̜̫̗͍͚͓͜͜͏̘̣͔͙͎͎す͜͜͏̘̣͔͙͎͎ơ̟̤̖̗͖͇̍͋̀͆̓́͞͡け̜ͪ̅̍̅͂͊て But bor some Arabian and Southeast Asian Strings, Ligature did not work well. Unfortunately I don't know much about them. About CJK characters seems to be fine for now. RE: Error,after tried creating 3Dtext. Wings3D v2.2.6 - tkbd - 05-18-2020 In new Wings3D v2.2.6, The problem of font loading location has been reduced. Changing the font size worked fine on both Windows & MacOS. Thank you very much!! But in this time,The a problem happend in determining the TypeFace (font weight). On MacOS Almost all Japanese and Japanese-named fonts loaded correctly. but Some Western fonts failed to load. This isn't due to the file path. The common bug is that font styles other than Bold and Regular are not applied(Many type styles don't work). MacOS Load failed fonts are ... Quote:Furtura On Windows On the other hand, All Japanese-named font fail to load fail and caused Serious freeze. After that select these fonts and OK return to Geometry Window,Then 3D Geometry drawing stop ,and the context menu doesn't open. I can't do any termination, so I have to use the task manager. (It doesn't output Error log and/or Crash log) Windows10 Load Failed fonts are... Quote:Courier About font style in Windows OS By the way about windows fonts that load succeed,it support to thick, thin, and italic. But CJK fonts(English name) only support Bold and Thin ,Regular only. It seems that many type styles don't work. Bahmschrift font (Bold and Regular only OK, Other styles are faild, For example, Light , Semibold , Bold Condense etc...) So, I decided to look up the style names used in many fonts. Typeface name keywords list: (Note: These are names from font selector's font list): Code: Regular Windows Font Selector Style(Japanese ) Code: レギュラー tkbd RE: Error,after tried creating 3Dtext. Wings3D v2.2.6 - dgud - 06-05-2020 I can only support some font weights. The rest are chosen between the supported, thin, normal, bold, so that is not a bug. I still don't have a font that freezes wings, or know where to download a font that causes such issues, so I can't fix it. |