Jump to content

ricoazzurro

Members
  • Content Count

    5
  • Joined

  • Last visited

Community Reputation

0 Neutral

About ricoazzurro

  • Rank
    Newbie
  1. I'm not sure this is the right approach. However this is a bit too difficult for common users. And it doesn't exlain that I've installed the right font file but fontconfig register it by Chinese font name while openrct2 cann't use it. Thanks, keithstellyes. If anyone got ideas about solving the fontconfig issue, pls help And I'm now in the fontconfig rabbit hole ...
  2. There's a work-around in github issue area. https://github.com/OpenRCT2/OpenRCT2/issues/13232 https://github.com/keithstellyes/OpenRCT2/commit/3fd43545d00ba4cf0f1bf9bab8092353de397db7 After modifying src/openrct2/platform/Linux.cpp according to keithstellyes' commit and re-compile, openrct2 starts listening to fontconfig and no tofu this time. OpenRCT2, v0.3.3-51 (177b5e1b0 on develop) Linux (arm) @ VERBOSE: time is 2021/03/26 17:21:19 VERBOSE: registering scalar mask function VERBOSE: Looking for OpenRCT2 data in /usr/local/bin/data VERBOSE: checking dir /usr/local/
  3. I've read all that I find from forum post and github issue related to font tofu. Maybe the reason is that fontconfig recognized the font using it's Chinese Font Name while OpenRCT tries English Font Name? If so, how to solve this? fc-query /usr/share/fonts/truetype/winfonts/msyh.ttc Pattern has 24 elts (size 32) family: "Microsoft YaHei"(s) "微软雅黑"(s) familylang: "en"(s) "zh-cn"(s) style: "Normal"(s) "obyčejné"(s) "Standard"(s) "Κανονικά"(s) "Regular"(s) "Normaali"(s) "Normál"(s) "Normale"(s) "Standaard"(s) "Normalny"(s) "Обычный"(s) "Normálne"(s) "Navadno"(s) "Arrunta"(s) st
  4. Full process, 1. I'm using the latest git source, OpenRCT2, v0.3.3-49 (0a47d2157 on develop) 2. TwisterOS, Debian based, Raspberry Pi 4B uname -a Linux raspberrypi 5.10.17-v7l+ #1403 SMP Mon Feb 22 11:33:35 GMT 2021 armv7l GNU/Linux 3. cmake log cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-Ofast -DNDEBUG -mcpu=cortex-a72" .. -- Found CCache: /usr/bin/ccache -- The CXX compiler identification is GNU 8.3.0 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX comp
  5. Great Project. The font issue has bothered me for days. TL;DR 1. Simplified Chinese Font Tofu 2. openrct2 --verbose > openrct2.log OpenRCT2, v0.3.3-49 (0a47d2157 on develop) Linux (arm) @ VERBOSE: time is 2021/03/26 11:30:28 VERBOSE: registering scalar mask function VERBOSE: Looking for OpenRCT2 data in /usr/local/bin/data VERBOSE: checking dir /usr/local/bin/data, result = -1, is_dir = 0 VERBOSE: Looking for OpenRCT2 data in /usr/local/bin/../share/openrct2 VERBOSE: checking dir /usr/local/bin/../share/openrct2, result = 0, is_dir = 1 VERBOSE: Looking for OpenRCT2 doc path
×
×
  • Create New...