Closed ShiMeiWo closed 3 months ago
Good idea! I will edit the lang/build.js script to add that font to the generated html.
Since you are busy working on the module side, I tried to do some work on my end.
Mont
font is preferred.I will create a PR for this commit later, so please let me know if there are any undesirable implementations.
Thanks!
fixed by pr #34
I am checking the HTML created by the site generator in my browser, but on Windows 10 Japanese version, the default font of the browser is
(Note that the Colombian flag is not displayed!)
Meiryo
, so it looks like the below:As a guess, the following presentation may feel better to the person building the site:![Notoフォント](https://github.com/quinton-ashley/p5play-web/assets/11846146/18a969fe-7bfa-4601-80fc-6c403eef3383)
On the other hand, when I checked the display on the smartphone, the text was legible and the Colombian flag was displayed, but I found that this was because of the use of the![スマートフォン](https://github.com/quinton-ashley/p5play-web/assets/11846146/827e8fc5-ebc6-4d9d-b9af-6884c3c96d0a)
Noto
font series implicitly installed on the device, as shown below:Based on the above, I suggest that the Japanese version of the page display characters in
Noto Sans JP
andNoto Color Emoji
, just as the smartphone version does. These are Web fonts, so they can be used without having to be hosted on your own server.ex)
Thanks!