View previous topic :: View next topic |
Author |
Message |
bugfly n00b
Joined: 17 Nov 2024 Posts: 4
|
Posted: Sun Nov 17, 2024 3:27 pm Post subject: The font cannot be displayed properly. |
|
|
These https://www.unicode.org/charts/PDF/U2980.pdf Miscellaneous Mathematical Symbols-B unicode cannot be displayed on my machine. What font should I install?
⦀⦍⦒ |
|
Back to top |
|
|
Banana Moderator
Joined: 21 May 2004 Posts: 1770 Location: Germany
|
|
Back to top |
|
|
flexibeast Guru
Joined: 04 Apr 2022 Posts: 473 Location: Naarm/Melbourne, Australia
|
Posted: Mon Nov 18, 2024 1:02 am Post subject: |
|
|
In general, for font issues, i'd suggest that a better starting point would be the "Fonts" page on the wiki, which also contains concrete suggestions of packages to install for extended Unicode coverage. (Although looking at it now, it could do with some reworking - i'll try to do so.) That page also links to other pages that can be helpful depending on the context, such as the "Fontconfig" page, for configuring fonts in a GUI context (including in GUI-based terminal emulators); the "Fonts/Console" page, for dealing with fonts on the console / in Virtual Terminals; and the "Fonts/Background page", which gives an overview of information which can be helpful in understanding font-related problems. _________________ https://wiki.gentoo.org/wiki/User:Flexibeast |
|
Back to top |
|
|
bugfly n00b
Joined: 17 Nov 2024 Posts: 4
|
Posted: Mon Nov 18, 2024 11:27 am Post subject: |
|
|
Banana wrote: | Hello and welcome.
At first make sure you have read https://wiki.gentoo.org/wiki/UTF-8
Also please tell us the output of emerge --info and which application you use to display this pdf. |
Think you. I found the solution. I need install the media-fonts/symbola::guru package.But there is a new problem, that is, the file that needs to be downloaded for this package can not be found, I think we need to update the download link in the ebuild file. |
|
Back to top |
|
|
bugfly n00b
Joined: 17 Nov 2024 Posts: 4
|
Posted: Mon Nov 18, 2024 11:28 am Post subject: |
|
|
flexibeast wrote: | In general, for font issues, i'd suggest that a better starting point would be the "Fonts" page on the wiki, which also contains concrete suggestions of packages to install for extended Unicode coverage. (Although looking at it now, it could do with some reworking - i'll try to do so.) That page also links to other pages that can be helpful depending on the context, such as the "Fontconfig" page, for configuring fonts in a GUI context (including in GUI-based terminal emulators); the "Fonts/Console" page, for dealing with fonts on the console / in Virtual Terminals; and the "Fonts/Background page", which gives an overview of information which can be helpful in understanding font-related problems. |
Think you. I found the solution. I need install the media-fonts/symbola::guru package.But there is a new problem, that is, the file that needs to be downloaded for this package can not be found, I think we need to update the download link in the ebuild file. |
|
Back to top |
|
|
tholin Apprentice
Joined: 04 Oct 2008 Posts: 205
|
Posted: Mon Nov 18, 2024 12:31 pm Post subject: |
|
|
There's an ugly trick I sometimes use to figure out which fonts have the symbol I need:
1. Install every package in the media-fonts category.
2. Run "fc-list :charset=0x2980" to figure out which of the installed fonts have the charset I need.
3. Uninstall all the unneeded fonts.
If I run fc-list :charset=0x2980 with the fonts on my system, with 0x2980 being the character code for ⦀ according to that pdf, I get this:
/usr/share/fonts/noto/NotoSansMath-Regular.ttf: Noto Sans Math:style=Regular
/usr/share/fonts/misc/6x12.pcf.gz: Misc Fixed:style=SemiCondensed
/usr/share/fonts/misc/6x12.pcf.otb: Misc Fixed:style=SemiCondensed
NotoSansMath comes from media-fonts/noto and 6x12.pcf from media-fonts/font-misc-misc. Noto has basically every symbol but it's enormous as a result. |
|
Back to top |
|
|
Banana Moderator
Joined: 21 May 2004 Posts: 1770 Location: Germany
|
Posted: Mon Nov 18, 2024 1:54 pm Post subject: |
|
|
bugfly wrote: | Banana wrote: | Hello and welcome.
At first make sure you have read https://wiki.gentoo.org/wiki/UTF-8
Also please tell us the output of emerge --info and which application you use to display this pdf. |
Think you. I found the solution. I need install the media-fonts/symbola::guru package.But there is a new problem, that is, the file that needs to be downloaded for this package can not be found, I think we need to update the download link in the ebuild file. |
It looks like the latest version of the ebuild contains an URL which is wrong. If you use the older version, there is an active link, but I'm note sure if this versin will help.
EDIT:
I've opened a PR _________________ Forum Guidelines
PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire |
|
Back to top |
|
|
bugfly n00b
Joined: 17 Nov 2024 Posts: 4
|
Posted: Sat Nov 30, 2024 3:29 am Post subject: |
|
|
tholin wrote: | There's an ugly trick I sometimes use to figure out which fonts have the symbol I need:
1. Install every package in the media-fonts category.
2. Run "fc-list :charset=0x2980" to figure out which of the installed fonts have the charset I need.
3. Uninstall all the unneeded fonts.
If I run fc-list :charset=0x2980 with the fonts on my system, with 0x2980 being the character code for ⦀ according to that pdf, I get this:
/usr/share/fonts/noto/NotoSansMath-Regular.ttf: Noto Sans Math:style=Regular
/usr/share/fonts/misc/6x12.pcf.gz: Misc Fixed:style=SemiCondensed
/usr/share/fonts/misc/6x12.pcf.otb: Misc Fixed:style=SemiCondensed
NotoSansMath comes from media-fonts/noto and 6x12.pcf from media-fonts/font-misc-misc. Noto has basically every symbol but it's enormous as a result. |
Thank you!It's very useful. |
|
Back to top |
|
|
|