• How to update fonts

    From Alain D D Williams@21:1/5 to All on Sat Dec 28 20:30:01 2024
    I am running Debian 12 - Bookworm.

    I occasionally see Unicode characters that do not do not display properly. Eg: 메리 크리스마스 (for the curious: this says Happy Christmas in Korean).

    These do however display properly on my laptop which runs Mint 21.3.

    I suspect that I could see them if I used the testing version of some package. Which one(s) and how do I do this ?

    They fail to display in either Mate terminal 1.26 or in Firefox 128.5 so I suspect it is a system thing.

    Thanks in advance.

    --
    Alain Williams
    Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
    +44 (0) 787 668 0256 https://www.phcomp.co.uk/
    Parliament Hill Computers. Registration Information: https://www.phcomp.co.uk/Contact.html
    #include <std_disclaimer.h>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Nicolas George@21:1/5 to All on Sat Dec 28 20:50:01 2024
    Alain D D Williams (12024-12-28):
    I suspect that I could see them if I used the testing version of some package.
    Which one(s) and how do I do this ?

    I strongly doubt a common font will be “upgraded” with Korean
    characters. More likely, the package is just not installed.

    So: find out which font and which file contains it, query the package it belongs to. At worse, you can use strace to see what files the program
    opens; possibly easier, in /proc/$PID/map_files/ you can see which font
    files are currently in use.

    Regards,

    --
    Nicolas George

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charles Curley@21:1/5 to Alain D D Williams on Sun Dec 29 00:50:02 2024
    On Sat, 28 Dec 2024 19:28:47 +0000
    Alain D D Williams <addw@phcomp.co.uk> wrote:

    I occasionally see Unicode characters that do not do not display
    properly. Eg: 메리 크리스마스 (for the curious: this says Happy Christmas in Korean).

    Well, I don't have that font installed, so I see little boxes with the
    Unicode values in them, called tofu. So I grabbed one and searched in
    the character map accessory (package gucharmap) for it. That told me it
    was a Hangul symbol. A simple search gave me several Hangul font
    packages one might try:

    charles@hawk:~$ apt-cache search hangul | grep font
    fonts-alee - free Hangul TrueType fonts
    fonts-lexi-gulim - Lexi Gulim Korean font
    fonts-lexi-saebom - Lexi Saebom Korean font
    fonts-wqy-microhei - Sans-serif style CJK font derived from Droid xfonts-efont-unicode - /efont/ Unicode fonts for X which cover various scripts xfonts-efont-unicode-ib - /efont/ Unicode fonts for X (italic and bold) charles@hawk:~$


    --
    Does anybody read signatures any more?

    https://charlescurley.com
    https://charlescurley.com/blog/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Alain D D Williams@21:1/5 to Max Nikulin on Sun Dec 29 05:20:02 2024
    On Sun, Dec 29, 2024 at 09:09:46AM +0700, Max Nikulin wrote:

    Do you have the "fonts-recommended" package installed?

    That did the trick thanks - then a reboot. I might have been able to get away with a logout.

    I also now seem to be able to see all the emojis that my daughter sends me.

    Thanks

    You may skim through

    apt search font korean
    apt list '~nfont~i'


    --
    Alain Williams
    Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
    +44 (0) 787 668 0256 https://www.phcomp.co.uk/
    Parliament Hill Computers. Registration Information: https://www.phcomp.co.uk/Contact.html
    #include <std_disclaimer.h>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andy Smith@21:1/5 to Alain D D Williams on Sun Dec 29 13:00:01 2024
    Hi,

    On Sun, Dec 29, 2024 at 04:13:14AM +0000, Alain D D Williams wrote:
    On Sun, Dec 29, 2024 at 09:09:46AM +0700, Max Nikulin wrote:

    Do you have the "fonts-recommended" package installed?

    That did the trick thanks - then a reboot. I might have been able to get away with a logout.

    Yes; normally after installing new fonts (or modifying existing ones) you
    just need to run "fc-cache" (normally with no arguments) as your user.
    No need to even log out.

    You can also put font files obtained from outside of Debian into $HOME/.local/share/fonts/, e.g.

    $ tree ~/.local/share/fonts
    /home/andy/.local/share/fonts
    ├── CommitMono
    │   ├── CommitMonoNerdFont-BoldItalic.otf
    │   ├── CommitMonoNerdFont-Bold.otf
    │   ├── CommitMonoNerdFont-Italic.otf
    │   ├── CommitMonoNerdFontMono-BoldItalic.otf
    │   ├── CommitMonoNerdFontMono-Bold.otf
    │   ├── CommitMonoNerdFontMono-Italic.otf
    │   ├── CommitMonoNerdFontMono-Regular.otf
    │   ├── CommitMonoNerdFontPropo-BoldItalic.otf
    │   ├── CommitMonoNerdFontPropo-Bold.otf
    │   ├── CommitMonoNerdFontPropo-Italic.otf
    │   ├── CommitMonoNerdFontPropo-Regular.otf
    │   ├── CommitMonoNerdFont-Regular.otf
    │   ├── LICENSE
    │   └── README.md
    └── install.sh

    …but your example text (and most emojis) do render for me on Debian 12
    using only the fonts packaged by Debian.

    Thanks,
    Andy

    --
    https://bitfolk.com/ -- No-nonsense VPS hosting

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)