Zettelkasten-Team / Zettelkasten

Zettelkasten-Developer-Builds
http://zettelkasten.danielluedecke.de
GNU General Public License v3.0
735 stars 94 forks source link

note sequence title in non-Latin alphabet languages #442

Closed bushidowill closed 2 years ago

bushidowill commented 2 years ago

bug

As the above screenshot, if I write a title in Japanese or Korean, it's shown correctly in note screen, but it just appears as the rectangle boxes in note sequence screen.

mateusbraga commented 2 years ago

Hi @bushidowill, You mentioned in #438 that you fixed this somewhere else by selecting a font that supports those languages. What font did you use?

I am looking into what font the app uses for the Note Sequences table.

mateusbraga commented 2 years ago

Zettelkasten has a way to change the font of the "tables":

image

I was able to see a Japanese character when changing to the "Dialog" font.

I won't mark this bug as fixed. "Arial" should work for Japanese characters as well. (I can see Japanese characters in Google Docs with Arial just fine.)

mateusbraga commented 2 years ago

From researching a bit, I got the impression that this could be happening because the "system fonts" (fonts provided by Windows) have "Arial" without support to japanese characters.

The fonts Zettelkasten have available are the ones provided by the operating system.

In my case this makes sense, I don't have the Japanese language in my user profile. And

https://support.microsoft.com/en-us/topic/why-does-some-text-display-with-square-boxes-in-some-apps-on-windows-10-b078a35f-9709-1780-44c0-8c27a58205a2

Says that Windows will download extra stuff when we select a different language.

In your computer, do you have Japanese as one of your languages?

bushidowill commented 2 years ago

Thanks a lot. I changed fonts to "Hancom Gothic(the font I'm using for other menus in Zkn3 as well)" in "Tables and List views" menu as well, and it's fixed now. Thanks!

I have Japanese and Korean as my languages in my computer. I installed windows 'language pack' for Japanese when I first bought this laptop, and the 'default' language in my computer has been Japanese since then.

I can see Japanese in Arial font in Libreoffice Writer app, so it seems that as you have said, this "Arial cannot display Japanese characters" symptom is indeed a bug in Zkn3.

mateusbraga commented 2 years ago

Fixed by acf56dd above.