Artix Linux Forum

Artix Linux => Installation / Migration / Configuration => Topic started by: krsakr on 22 November 2023, 08:38:57

Title: [SOLVED] New Installation with dwm don't show Thai language correctly
Post by: krsakr on 22 November 2023, 08:38:57
Hello, I am new to artix so I am not sure where is the problem.

I found arch wiki page for font mentioning installed fonts for a particular language.
https://wiki.archlinux.org/title/Fonts#List_installed_fonts_for_a_particular_language (https://wiki.archlinux.org/title/Fonts#List_installed_fonts_for_a_particular_language)

So I try:
Code: [Select]
$ fc-list :lang=th
but it get no output.

Does it mean several fonts that I installed so far not support thai glyph or unicode?
And if that is the case, Is there anyone know what font to use to support unicode or thai glyph?

List of fonts I installed so far:
Code: [Select]
$ fc-list
result. https://pastebin.com/YwvcuEqe (https://pastebin.com/YwvcuEqe)

Here is other information I am not sure it is related to my problem or not
Code: [Select]
$ localedef --list-archive
en_US.utf8
ja_JP
ja_JP.eucjp
ja_JP.ujis
ja_JP.utf8
japanese
japanese.euc
th_TH.utf8
Code: [Select]
$ cat dwm/config.h | grep fonts
static const char *fonts[]          = { "monospace:size=12", "DejaVu Sans:size=12"};
Title: Re: New Installation with dwm don't show Thai language correctly
Post by: krsakr on 22 November 2023, 08:52:09
Here is a example of my screenshot:
Title: Re: New Installation with dwm don't show Thai language correctly
Post by: Ambie on 22 November 2023, 09:11:26
Did you install some of Tai–Kadai (https://wiki.archlinux.org/title/Fonts#Tai%E2%80%93Kadai) fonts?
Title: Re: New Installation with dwm don't show Thai language correctly
Post by: krsakr on 22 November 2023, 10:17:02
Hi Ambie,
No, I didn't install any of Tai-Kadai fonts.
and after I try install ttf-google-thai with yay, nothing seem to change.

or Do I have to do anything else after install it ?
or Any command to run to check if the system detect the font that I install from yay?
Title: Re: New Installation with dwm don't show Thai language correctly
Post by: Ambie on 22 November 2023, 11:51:40
Try https://aur.archlinux.org/packages/fonts-tlwg. It worked out for me.
Title: Re: New Installation with dwm don't show Thai language correctly
Post by: krsakr on 22 November 2023, 14:47:21
It looks strange but it is WORK!!!
just by install it with yay and quit dwm and startx

Thank you Ambie