Updated Pop!OS 22.04 to adjust fonts for a particular language.
Updated Pop!OS 22.04 to adjust fonts for a particular language.
You can adjust the default font for a particular language without altering it for all languages. It’s possible to select a different font when you open the content, so you can use a more readable Thai font if needed.
Hi! A few days ago i finished the configuration of swaywm in a PC with Debian 12 and I had to specify a fallback font for the foot terminal emulator, maybe there is a configuration similar to this for the one you are using.
I don't think this applies to my situation. Most of what I do in my terminal is in English, so changing the UI font is straightforward. For browsers it was simple, but some apps like Discord don't allow font changes, so I have to adjust the system's default font.
Which desktop environment are you running? We can look up details and check if any files can be edited to adjust the font. I noticed recently that PopOs adopts a custom UI akin to GNOME, which likely means a path exists to switch it.
I attempted it, but it alters the font for English as well, which isn’t what I wanted.
You can adjust the font settings by opening the configuration file at ~/.config/gtk-3.0/settings.ini. It suggests using your preferred text editor to modify the gtk-font-name and other details, such as font name and size. Keep in mind that this method may not be reliable, and I don’t have a Gnome system to test it directly.
Figured it out: Set up the folder ~/.config/fontconfig/conf.d, add a file named according to the format NN-name.conf and edit it using your preferred text editor. The numbers show priority. nano ~/.config/fontconfig/conf.d/50-thai.conf
Paste the XML snippet provided, adjusting the language family and font names as needed. Thanks @paex for the guidance.