Page 1 of 1

[0.14.3] Missing non latin letters

Posted: Fri Sep 02, 2016 9:34 pm
by rkfg
It seems that after that change fonts for Russian locale (DejaVu) and maybe others aren't used. If I change the locale to Russian there are no characters anywhere except punctuation and numbers. After each update I'm manually patching data/core/locale/en/core.cfg section [font] to get Russian chat working on English locale by copying that section from data/core/locale/ru/core.cfg and since 0.14.3 it's gone. Verified the cache just in case but no luck. I'm on Linux though missing font characters should be a crossplatform issue. I wish there could be a way to change the font independently from locale...

[0.14.3] Broken font RU?

Posted: Fri Sep 02, 2016 9:41 pm
by RikkiLook
No Russian text.
ENG.
RU.

Re: [0.14.3] Broken font RU?

Posted: Fri Sep 02, 2016 10:07 pm
by Mooncat
The devs are ******** racist oh ***** ****** ********



jk :lol:
Looks like we are going to have 0.14.4 very soon.

Re: [0.14.3] Broken font RU?

Posted: Fri Sep 02, 2016 11:01 pm
by rkfg
Reported here already. In the meanwhile you can patch the data/core/locale/ru/core.cfg file by adding the following section to it:

Code: Select all

[font]
default=__core__/fonts/DejaVuSans.ttf
default-semibold=__core__/fonts/DejaVuSans-Bold.ttf
default-bold=__core__/fonts/DejaVuSans-Bold.ttf

[0.14.3]Broken ko locale

Posted: Sat Sep 03, 2016 12:45 am
by sore68
image
[ko] does not come out.

Re: [0.14.3] Missing non latin letters

Posted: Sat Sep 03, 2016 7:20 am
by jockeril
Hebrew is broken as well...

I thought it was the same problem, so I added the [Font] section (copy+paste from here) - now it works but I would much appreciate if this is fixed soon.



also (1) - AFAIK - when making a change like that to core factorio files, in my experience, the automatic update fails - just a head's up for all of you that do the same as me.
also (2) - In the startup screen (splash screen, I believe it is called) the writing is english after the change - not hebrew. probably the same in all affected languages,
אין עברית במסך פתיחה
אין עברית במסך פתיחה
no hebrew in splash screen.jpg (71.03 KiB) Viewed 6111 times
following is an explanation in hebrew of how to fix this:

גם העברית נשברה בגירסא הזו:

/data/core/locale/he (ש להוסיף את השורות הללו לקובץ בתיקיה בנתיב הבא (בתוך תיקית המשחק)

1. core.cfg יש למצוא את הקובץ
2. לחוץ ושחרור העכבר - אמור לתת עותק בתיקיה. ctrl לעשות לו עותק ע"י גרירה שלו לשטח הלבן בתיקיה כאשר מקש ה
3. ENTER והוספו אות כלשהי ע"מ שלא יעלה במשחק. לסיום יש לאשר עם END ואח"כ F2 לשם העותק יש להוסף סיומת כך שלא יעלה - לחצו על מקש
(ככה נראה אצלי (אחרי שני נסיונות
(ככה נראה אצלי (אחרי שני נסיונות
files in my he locale folder.JPG (26.96 KiB) Viewed 6111 times
4.(notepad בעורך טקסט (למשל core.cfg כעת עלינו לפתוח את הקובץ המקורי
5. להוסיף את השורות הבאות להתחלת הקובץ:

[font]
default=__core__/fonts/DejaVuSans.ttf
default-semibold=__core__/fonts/DejaVuSans-Bold.ttf
default-bold=__core__/fonts/DejaVuSans-Bold.ttf

6. לשמור ולהעלות את המשחק מחדש

אנא קחו בחשבון שהעדכון האוטומטי לא יעבוד לאחר ביצוע השינוי הזה ולכן תצטרכו לעשות עדכון ידני כאשר התקלה תפתר *

צעדים אלו אמורים לעבוד. אם הם לא עובדים - אפשר לכתוב לי הודעה אישית

Re: [0.14.3] Missing non latin letters

Posted: Sat Sep 03, 2016 8:00 am
by Mooncat
Knowing other languages also have the same problem, I quickly checked the 2 that I am familiar with:
zh_TW has the same problem.
But zh_CN is fine.
zh_TW
zh_CN

Re: [0.14.3] Missing non latin letters

Posted: Sat Sep 03, 2016 9:16 am
by rkfg
zh_CN is the only locale (besides en) that includes the font seciton and it's different:

Code: Select all

default=locale/zh-CN/fonts/default-font.ttf
default-bold=locale/zh-CN/fonts/default-font.ttf
default-semibold=locale/zh-CN/fonts/default-font.ttf

Re: [0.14.3] Missing non latin letters

Posted: Mon Sep 05, 2016 12:12 pm
by posila
Managed to reproduce. My log:

Code: Select all

   0.000 2016-09-05 14:11:20; Factorio 0.14.4 (build 24484, win64, alpha)
   0.001 Operating system: Windows 10 
   0.001 Program arguments: "C:\git\Factorio_wrk\bin\SavingTagsReleasex64vs2015\factorio-run.exe" 
   0.001 Read data path: C:/git/Factorio_wrk/data
   0.001 Write data path: C:/git/Factorio_wrk
   0.001 Binaries path: C:/git/Factorio_wrk/bin
   0.019 Display options: [FullScreen: false] [VSync: false] [UIScale: 100%] [MultiSampling: OFF] [Screen: 255]
   0.021 Available display adapters: 2
   0.021  [0]: \\.\DISPLAY1 - AMD Radeon (TM) R7 360 Series {0x8080005, [0,0], 1920x1200, 32bit, 60Hz}
   0.022  [6]: \\.\DISPLAY7 - NVIDIA GeForce GTX 750 Ti {0x01, [1920,0], 1920x1080, 32bit, 60Hz}
   0.022 Create display on adapter 0. Size 1280x720 at position [310, 222].
   0.076 Initialised Direct3D:[0] AMD Radeon (TM) R7 360 Series; driver: aticfx64.dll 20.19.0.32832
   0.078     Video memory size (dedicated video/dedicated system/shared system/available): 2025/0/8149/4092 MB
   0.116 Device reset internal.
   0.122 Desktop composition is active.
   0.122 Graphics options: [Graphics quality: normal] [Video memory usage: all] [Light scale: 25%] [DXT: false]
   0.179 Loading mod core 0.0.0 (data.lua)
   0.184 Loading mod base 0.14.4 (data.lua)
   0.253 Checksum for core: 1620335853
   0.253 Checksum for mod base: 1167454207
   0.482 Info PlayerData.cpp:45: Local player-data.json available, timestamp 1473077479
   0.482 Info PlayerData.cpp:52: Cloud player-data.json unavailable
   0.572 Initial atlas bitmap size is 16384
   0.573 Created atlas bitmap 16384x8536
   0.573 Created atlas bitmap 4096x968
   0.574 Created atlas bitmap 4096x3652
   1.186 Atlases loaded from disk cache.
   1.232 Sprites loaded
   1.232 Convert atlas 4096x968 to: trilinear-filtering 
   1.250 Convert atlas 4096x3652 to: mipmap 
   1.350 Loading sounds...
   2.428 Custom inputs active: 0
   2.457 Factorio initialised
   5.756 Goodbye


Re: [0.14.3] Missing non latin letters

Posted: Mon Sep 05, 2016 1:36 pm
by Mooncat
5.756 Goodbye
It makes me sad. :cry:

Re: [0.14.3] Missing non latin letters

Posted: Mon Sep 05, 2016 3:37 pm
by posila
Thanks for the report, it should be fixed in 0.14.4