View previous topic :: View next topic |
Author |
Message |
Wadewilson n00b
Joined: 09 Nov 2022 Posts: 46
|
Posted: Thu Apr 25, 2024 3:51 pm Post subject: [SOLVED] Unable to configure font |
|
|
I want to use nerd font in gentoo. I know it can be installed via zh-overlay or some custom repository, but these custom repos are having forced updated to the master branch and that is pushed as an update to me. So, I cannot always verify what that change was added to the custom repo.
The gentoo wiki suggests that we place the font .ttf or .otf files in the location specified.
Quote: | ls -la ~/.local/share/fonts/ |
Code: | .rw-r--r-- 2.3M greninja 21 Apr 21:26 JetBrainsMonoNerdFont-Regular.ttf |
I ran fc-cache after I copied the font, but the change is not reflected.
This is how my terminal font looks like.
I fixed this my using the correct font in the dwm header file. But in other applications I do not see this font. Even though I have explicitly selected the font in Firefox, vscodium, etc., it is not reflected.
This is how the font on firefox looks like.
Quote: | eselect fontconfig list |
Code: | Available fontconfig .conf files (* is enabled):
[1] 05-reset-dirs-sample.conf
[2] 09-autohint-if-no-hinting.conf
[3] 10-autohint.conf
[4] 10-hinting-full.conf
[5] 10-hinting-medium.conf
[6] 10-hinting-none.conf
[7] 10-hinting-slight.conf *
[8] 10-no-antialias.conf
[9] 10-scale-bitmap-fonts.conf *
[10] 10-sub-pixel-bgr.conf
[11] 10-sub-pixel-none.conf
[12] 10-sub-pixel-rgb.conf *
[13] 10-sub-pixel-vbgr.conf
[14] 10-sub-pixel-vrgb.conf
[15] 10-unhinted.conf
[16] 10-yes-antialias.conf *
[17] 11-lcdfilter-default.conf *
[18] 11-lcdfilter-legacy.conf
[19] 11-lcdfilter-light.conf
[20] 11-lcdfilter-none.conf
[21] 20-unhint-small-dejavu-sans-mono.conf
[22] 20-unhint-small-dejavu-sans.conf
[23] 20-unhint-small-dejavu-serif.conf
[24] 20-unhint-small-vera.conf *
[25] 25-unhint-nonlatin.conf
[26] 30-metric-aliases.conf *
[27] 35-lang-normalize.conf
[28] 40-nonlatin.conf *
[29] 45-generic.conf *
[30] 45-latin.conf *
[31] 48-spacing.conf *
[32] 49-sansserif.conf *
[33] 50-user.conf *
[34] 51-local.conf *
[35] 57-dejavu-sans-mono.conf
[36] 57-dejavu-sans.conf
[37] 57-dejavu-serif.conf
[38] 60-generic.conf *
[39] 60-latin.conf *
[40] 61-urw-bookman.conf
[41] 61-urw-c059.conf
[42] 61-urw-d050000l.conf
[43] 61-urw-fallback-backwards.conf
[44] 61-urw-fallback-generics.conf
[45] 61-urw-fallback-specifics.conf
[46] 61-urw-gothic.conf
[47] 61-urw-nimbus-mono-ps.conf
[48] 61-urw-nimbus-roman.conf
[49] 61-urw-nimbus-sans.conf
[50] 61-urw-p052.conf
[51] 61-urw-standard-symbols-ps.conf
[52] 61-urw-z003.conf
[53] 65-fonts-persian.conf *
[54] 65-khmer.conf
[55] 65-nonlatin.conf *
[56] 69-unifont.conf *
[57] 70-no-bitmaps.conf
[58] 70-yes-bitmaps.conf
[59] 75-noto-emoji-fallback.conf *
[60] 80-delicious.conf *
[61] 90-synthetic.conf *
|
Code: | /usr/share/fonts/urw-fonts/URWGothic-DemiOblique.ttf: URW Gothic:style=Demi Oblique
/usr/share/fonts/dejavu/DejaVuSerif-Bold.ttf: DejaVu Serif:style=Bold
/usr/share/fonts/urw-fonts/NimbusSans-BoldItalic.t1: Nimbus Sans:style=Bold Italic
/usr/share/fonts/dejavu/DejaVuSerif-Italic.ttf: DejaVu Serif:style=Italic
/usr/share/fonts/urw-fonts/NimbusRoman-BoldItalic.ttf: Nimbus Roman:style=Bold Italic
/usr/share/fonts/urw-fonts/D050000L.ttf: D050000L:style=Regular
/usr/share/fonts/urw-fonts/C059-BdIta.otf: C059:style=Bold Italic
/usr/share/fonts/urw-fonts/URWGothic-Book.ttf: URW Gothic:style=Book
/usr/share/fonts/noto-emoji/NotoColorEmoji.ttf: Noto Color Emoji:style=Regular
/usr/share/fonts/urw-fonts/URWGothic-BookOblique.otf: URW Gothic:style=Book Oblique
/usr/share/fonts/urw-fonts/NimbusSans-Bold.otf: Nimbus Sans:style=Bold
/usr/share/fonts/dejavu/DejaVuSansMono-BoldOblique.ttf: DejaVu Sans Mono:style=Bold Oblique
/usr/share/fonts/urw-fonts/URWBookman-Demi.t1: URW Bookman:style=Demi
/usr/share/fonts/urw-fonts/URWGothic-Book.t1: URW Gothic:style=Book
/usr/share/fonts/urw-fonts/C059-Italic.ttf: C059:style=Italic
/usr/share/fonts/urw-fonts/NimbusSans-Italic.t1: Nimbus Sans:style=Italic
/usr/share/fonts/dejavu/DejaVuSansCondensed-Oblique.ttf: DejaVu Sans,DejaVu Sans Condensed:style=Condensed Oblique,Oblique
/usr/share/fonts/dejavu/DejaVuSansCondensed-Bold.ttf: DejaVu Sans,DejaVu Sans Condensed:style=Condensed Bold,Bold
/usr/share/fonts/urw-fonts/URWGothic-Book.otf: URW Gothic:style=Book
/usr/share/fonts/urw-fonts/D050000L.t1: D050000L:style=Regular
/usr/share/fonts/dejavu/DejaVuSansMono.ttf: DejaVu Sans Mono:style=Book
/usr/share/fonts/urw-fonts/URWGothic-DemiOblique.t1: URW Gothic:style=Demi Oblique
/usr/share/fonts/urw-fonts/NimbusRoman-Italic.ttf: Nimbus Roman:style=Italic
/usr/share/fonts/urw-fonts/NimbusSansNarrow-BoldOblique.otf: Nimbus Sans Narrow:style=Bold Oblique
/usr/share/fonts/urw-fonts/C059-Italic.otf: C059:style=Italic
/usr/share/fonts/urw-fonts/URWGothic-BookOblique.ttf: URW Gothic:style=Book Oblique
/usr/share/fonts/urw-fonts/NimbusSans-Regular.otf: Nimbus Sans:style=Regular
/usr/share/fonts/urw-fonts/NimbusSansNarrow-Regular.ttf: Nimbus Sans Narrow:style=Regular
/usr/share/fonts/urw-fonts/NimbusMonoPS-Italic.ttf: Nimbus Mono PS:style=Italic
/usr/share/fonts/urw-fonts/URWBookman-LightItalic.otf: URW Bookman:style=Light Italic
/usr/share/fonts/dejavu/DejaVuSansMono-Bold.ttf: DejaVu Sans Mono:style=Bold
/usr/share/fonts/urw-fonts/NimbusRoman-Regular.otf: Nimbus Roman:style=Regular
/usr/share/fonts/urw-fonts/URWBookman-Light.t1: URW Bookman:style=Light
/usr/share/fonts/urw-fonts/C059-Roman.otf: C059:style=Roman
/usr/share/fonts/urw-fonts/NimbusSans-Italic.otf: Nimbus Sans:style=Italic
/usr/share/fonts/urw-fonts/StandardSymbolsPS.otf: Standard Symbols PS:style=Regular
/usr/share/fonts/urw-fonts/P052-BoldItalic.ttf: P052:style=Bold Italic
/usr/share/fonts/urw-fonts/P052-Italic.ttf: P052:style=Italic
/usr/share/fonts/urw-fonts/NimbusMonoPS-Bold.otf: Nimbus Mono PS:style=Bold
/usr/share/fonts/dejavu/DejaVuSans.ttf: DejaVu Sans:style=Book
/usr/share/fonts/urw-fonts/NimbusRoman-BoldItalic.otf: Nimbus Roman:style=Bold Italic
/usr/share/fonts/urw-fonts/URWBookman-Demi.otf: URW Bookman:style=Demi
/usr/share/fonts/urw-fonts/NimbusSans-Bold.t1: Nimbus Sans:style=Bold
/usr/share/fonts/urw-fonts/NimbusMonoPS-Bold.t1: Nimbus Mono PS:style=Bold
/usr/share/fonts/urw-fonts/C059-Roman.t1: C059:style=Roman
/usr/share/fonts/urw-fonts/P052-Italic.otf: P052:style=Italic
/usr/share/fonts/urw-fonts/NimbusSans-Italic.ttf: Nimbus Sans:style=Italic
/usr/share/fonts/urw-fonts/NimbusRoman-BoldItalic.t1: Nimbus Roman:style=Bold Italic
/usr/share/fonts/urw-fonts/NimbusMonoPS-Regular.t1: Nimbus Mono PS:style=Regular
/usr/share/fonts/urw-fonts/NimbusSansNarrow-Oblique.ttf: Nimbus Sans Narrow:style=Oblique
/usr/share/fonts/urw-fonts/NimbusSansNarrow-Regular.t1: Nimbus Sans Narrow:style=Regular
/usr/share/fonts/urw-fonts/NimbusSansNarrow-Oblique.t1: Nimbus Sans Narrow:style=Oblique
/usr/share/fonts/urw-fonts/C059-BdIta.ttf: C059:style=Bold Italic
/home/greninja/.local/share/fonts/JetBrainsMonoNerdFont-Regular.ttf: JetBrainsMono Nerd Font,JetBrainsMono NF:style=Regular
/usr/share/fonts/urw-fonts/NimbusRoman-Italic.t1: Nimbus Roman:style=Italic
/usr/share/fonts/dejavu/DejaVuSerifCondensed-BoldItalic.ttf: DejaVu Serif,DejaVu Serif Condensed:style=Condensed Bold Italic,Bold Italic
/usr/share/fonts/urw-fonts/P052-BoldItalic.otf: P052:style=Bold Italic
/usr/share/fonts/urw-fonts/URWBookman-Demi.ttf: URW Bookman:style=Demi
/usr/share/fonts/urw-fonts/Z003-MediumItalic.t1: Z003:style=Medium Italic
/usr/share/fonts/urw-fonts/P052-Roman.t1: P052:style=Roman
/usr/share/fonts/urw-fonts/P052-Roman.otf: P052:style=Roman
/usr/share/fonts/dejavu/DejaVuMathTeXGyre.ttf: DejaVu Math TeX Gyre:style=Regular
/usr/share/fonts/urw-fonts/NimbusSansNarrow-Bold.otf: Nimbus Sans Narrow:style=Bold
/usr/share/fonts/urw-fonts/NimbusMonoPS-BoldItalic.ttf: Nimbus Mono PS:style=Bold Italic
/usr/share/fonts/dejavu/DejaVuSerifCondensed-Bold.ttf: DejaVu Serif,DejaVu Serif Condensed:style=Condensed Bold,Bold
/usr/share/fonts/urw-fonts/URWGothic-Demi.otf: URW Gothic:style=Demi
/usr/share/fonts/urw-fonts/NimbusMonoPS-Italic.t1: Nimbus Mono PS:style=Italic
/usr/share/fonts/urw-fonts/NimbusMonoPS-Regular.otf: Nimbus Mono PS:style=Regular
/usr/share/fonts/urw-fonts/C059-Bold.t1: C059:style=Bold
/usr/share/fonts/urw-fonts/NimbusRoman-Bold.t1: Nimbus Roman:style=Bold
/usr/share/fonts/urw-fonts/URWBookman-DemiItalic.otf: URW Bookman:style=Demi Italic
/usr/share/fonts/urw-fonts/P052-Italic.t1: P052:style=Italic
/usr/share/fonts/urw-fonts/URWGothic-DemiOblique.otf: URW Gothic:style=Demi Oblique
/usr/share/fonts/urw-fonts/URWGothic-Demi.ttf: URW Gothic:style=Demi
/usr/share/fonts/urw-fonts/NimbusSansNarrow-Bold.t1: Nimbus Sans Narrow:style=Bold
/usr/share/fonts/dejavu/DejaVuSerif.ttf: DejaVu Serif:style=Book
/usr/share/fonts/urw-fonts/NimbusRoman-Regular.ttf: Nimbus Roman:style=Regular
/usr/share/fonts/urw-fonts/URWGothic-Demi.t1: URW Gothic:style=Demi
/usr/share/fonts/dejavu/DejaVuSansMono-Oblique.ttf: DejaVu Sans Mono:style=Oblique
/usr/share/fonts/urw-fonts/P052-Roman.ttf: P052:style=Roman
/usr/share/fonts/urw-fonts/NimbusSansNarrow-Regular.otf: Nimbus Sans Narrow:style=Regular
/usr/share/fonts/urw-fonts/NimbusRoman-Bold.otf: Nimbus Roman:style=Bold
/usr/share/fonts/urw-fonts/NimbusSansNarrow-Bold.ttf: Nimbus Sans Narrow:style=Bold
/usr/share/fonts/dejavu/DejaVuSans-Bold.ttf: DejaVu Sans:style=Bold
/usr/share/fonts/urw-fonts/StandardSymbolsPS.ttf: Standard Symbols PS:style=Regular
/usr/share/fonts/urw-fonts/URWBookman-LightItalic.ttf: URW Bookman:style=Light Italic
/usr/share/fonts/urw-fonts/NimbusSans-BoldItalic.otf: Nimbus Sans:style=Bold Italic
/usr/share/fonts/urw-fonts/URWBookman-DemiItalic.t1: URW Bookman:style=Demi Italic
/usr/share/fonts/urw-fonts/NimbusMonoPS-Italic.otf: Nimbus Mono PS:style=Italic
/usr/share/fonts/dejavu/DejaVuSerifCondensed.ttf: DejaVu Serif,DejaVu Serif Condensed:style=Condensed,Book
/usr/share/fonts/urw-fonts/P052-Bold.t1: P052:style=Bold
/usr/share/fonts/urw-fonts/P052-Bold.ttf: P052:style=Bold
/usr/share/fonts/urw-fonts/URWBookman-LightItalic.t1: URW Bookman:style=Light Italic
/usr/share/fonts/dejavu/DejaVuSerifCondensed-Italic.ttf: DejaVu Serif,DejaVu Serif Condensed:style=Condensed Italic,Italic
/usr/share/fonts/urw-fonts/NimbusSans-BoldItalic.ttf: Nimbus Sans:style=Bold Italic
/usr/share/fonts/urw-fonts/NimbusRoman-Regular.t1: Nimbus Roman:style=Regular
/usr/share/fonts/urw-fonts/NimbusSansNarrow-Oblique.otf: Nimbus Sans Narrow:style=Oblique
/usr/share/fonts/urw-fonts/Z003-MediumItalic.ttf: Z003:style=Medium Italic
/usr/share/fonts/urw-fonts/NimbusMonoPS-Bold.ttf: Nimbus Mono PS:style=Bold
/usr/share/fonts/urw-fonts/StandardSymbolsPS.t1: Standard Symbols PS:style=Regular
/usr/share/fonts/urw-fonts/URWBookman-Light.ttf: URW Bookman:style=Light
/usr/share/fonts/urw-fonts/P052-Bold.otf: P052:style=Bold
/usr/share/fonts/urw-fonts/P052-BoldItalic.t1: P052:style=Bold Italic
/usr/share/fonts/dejavu/DejaVuSansCondensed.ttf: DejaVu Sans,DejaVu Sans Condensed:style=Condensed,Book
/usr/share/fonts/urw-fonts/C059-BdIta.t1: C059:style=Bold Italic
/usr/share/fonts/dejavu/DejaVuSerif-BoldItalic.ttf: DejaVu Serif:style=Bold Italic
/usr/share/fonts/dejavu/DejaVuSans-ExtraLight.ttf: DejaVu Sans,DejaVu Sans Light:style=ExtraLight
/usr/share/fonts/urw-fonts/NimbusRoman-Italic.otf: Nimbus Roman:style=Italic
/usr/share/fonts/urw-fonts/C059-Bold.otf: C059:style=Bold
/usr/share/fonts/urw-fonts/NimbusSansNarrow-BoldOblique.ttf: Nimbus Sans Narrow:style=Bold Oblique
/usr/share/fonts/urw-fonts/URWGothic-BookOblique.t1: URW Gothic:style=Book Oblique
/usr/share/fonts/urw-fonts/C059-Italic.t1: C059:style=Italic
/usr/share/fonts/urw-fonts/NimbusSans-Regular.ttf: Nimbus Sans:style=Regular
/usr/share/fonts/urw-fonts/NimbusMonoPS-BoldItalic.otf: Nimbus Mono PS:style=Bold Italic
/usr/share/fonts/urw-fonts/Z003-MediumItalic.otf: Z003:style=Medium Italic
/usr/share/fonts/dejavu/DejaVuSansCondensed-BoldOblique.ttf: DejaVu Sans,DejaVu Sans Condensed:style=Condensed Bold Oblique,Bold Oblique
/usr/share/fonts/urw-fonts/NimbusSansNarrow-BoldOblique.t1: Nimbus Sans Narrow:style=Bold Oblique
/usr/share/fonts/urw-fonts/URWBookman-Light.otf: URW Bookman:style=Light
/usr/share/fonts/urw-fonts/C059-Roman.ttf: C059:style=Roman
/usr/share/fonts/urw-fonts/NimbusMonoPS-BoldItalic.t1: Nimbus Mono PS:style=Bold Italic
/usr/share/fonts/urw-fonts/NimbusSans-Regular.t1: Nimbus Sans:style=Regular
/usr/share/fonts/urw-fonts/URWBookman-DemiItalic.ttf: URW Bookman:style=Demi Italic
/usr/share/fonts/dejavu/DejaVuSans-Oblique.ttf: DejaVu Sans:style=Oblique
/usr/share/fonts/urw-fonts/C059-Bold.ttf: C059:style=Bold
/usr/share/fonts/urw-fonts/NimbusSans-Bold.ttf: Nimbus Sans:style=Bold
/usr/share/fonts/urw-fonts/D050000L.otf: D050000L:style=Regular
/usr/share/fonts/urw-fonts/NimbusRoman-Bold.ttf: Nimbus Roman:style=Bold
/usr/share/fonts/dejavu/DejaVuSans-BoldOblique.ttf: DejaVu Sans:style=Bold Oblique
/usr/share/fonts/urw-fonts/NimbusMonoPS-Regular.ttf: Nimbus Mono PS:style=Regular
|
Quote: | eix-installed -a | grep fonts |
Code: | media-fonts/dejavu-2.37
media-fonts/encodings-1.1.0
media-fonts/font-util-1.4.1
media-fonts/noto-emoji-20231130-r1
media-fonts/urw-fonts-20230503-r1
virtual/ttf-fonts-1-r2
|
How do I make sure that font in .ttf file is used across all apps uniformly?
Last edited by Wadewilson on Sun Apr 28, 2024 4:39 pm; edited 2 times in total |
|
Back to top |
|
|
CooSee Veteran
Joined: 20 Nov 2004 Posts: 1468 Location: Earth
|
|
Back to top |
|
|
Wadewilson n00b
Joined: 09 Nov 2022 Posts: 46
|
Posted: Sun Apr 28, 2024 4:37 pm Post subject: |
|
|
Thanks, @CooSee, for this wiki link. |
|
Back to top |
|
|
CooSee Veteran
Joined: 20 Nov 2004 Posts: 1468 Location: Earth
|
Posted: Mon Apr 29, 2024 7:37 pm Post subject: |
|
|
you're welcome !
have fun with Gentoo.
_________________ " Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier " |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|