Report bugs or give feedback for CrossCode.
no avatar
User

nehan

Posts

2

Joined

Sun Dec 17, 2017 1:34 am

[Fatal] Japanese fonts on macOS are out of bounds

by nehan » Sun Dec 17, 2017 2:08 am

So, Japanese localization has been added in the latest update. But it seems that it's entirely not has been tested on macOS. A lots of texts are out of its bounds.
I've attached some examples so please take a loot at them, please. I think there are more of this, I haven't inspected every corners.
Attachments
スクリーンショット 2017-12-17 10.30.41.png
スクリーンショット 2017-12-17 10.30.41.png (61.91 KiB) Viewed 298 times
スクリーンショット 2017-12-17 10.30.34.png
スクリーンショット 2017-12-17 10.30.34.png (42.84 KiB) Viewed 298 times
スクリーンショット 2017-12-17 10.30.17.png
スクリーンショット 2017-12-17 10.30.17.png (52.07 KiB) Viewed 298 times
User avatar
User

lachsen

Rank

Developer

Posts

202

Joined

Wed Jan 14, 2015 4:35 pm

Re: [Fatal] Japanese fonts on macOS are out of bounds

by lachsen » Sat Dec 23, 2017 12:12 am

Well that's annoying...
We attached our own TTF font but some reason MacOS decided to scaled it entirely differently from Windows. Great.

We'll see if we get that fixed. -_-"
User avatar
User

lachsen

Rank

Developer

Posts

202

Joined

Wed Jan 14, 2015 4:35 pm

Re: [Fatal] Japanese fonts on macOS are out of bounds

by lachsen » Sun Dec 24, 2017 12:39 am

Hey there,

somebody tested the issue on OSX but couldn't reproduce the scaling issue.

Details: macOS Sierra, 10.12.6. Its a mid 2012 retina MBP

The question is now for which systems this issue exactly happens. Honestly this makes everything very complicated. In the end we need to find out what lead to this issue, how we can check it within NW.js and then make adaptions... or find another way to fix the issue.
no avatar
User

nehan

Posts

2

Joined

Sun Dec 17, 2017 1:34 am

Re: [Fatal] Japanese fonts on macOS are out of bounds

by nehan » Sun Dec 31, 2017 2:10 am

Hey lachsen,
Sorry, environment is essential, as you say. I forgot to mention.
My env is below:

    MacBook Pro (15-inch, 2016) / 10.13.2(17C88)
Code: Select all
$ env
LANG=ja_JP.UTF-8


And of course System language of macOS is Japanese.
Hope this helps.
no avatar
User

nyao

Posts

2

Joined

Tue Apr 07, 2015 7:22 am

Location

Haifa, Israel

Re: [Fatal] Japanese fonts on macOS are out of bounds

by nyao » Thu Feb 22, 2018 7:54 am

I made a quick test and all was good until I set the Japanese language as primary in the System Preferences.
As soon as the Japanese was set to the primary language (there's no need to restart the system after the switch), I observed the exact same behaviour.

macOS 10.13.4 (17E160e)

Who is online

Users browsing this forum: No registered users and 1 guest

Powered by phpBB ® | phpBB3 Style by KomiDesign