You are not logged in.
Pages: 1
So i downloaded the ttf-droid because i heard the Droid Sans font is good, but now how do i use it? preferably in terminal cus i might make a script later.
Last edited by ArchUserBTW69 (2022-09-16 13:46:41)
Offline
https://wiki.archlinux.org/title/Font_c … figuration for the config file format/location
https://wiki.archlinux.org/title/Font_c … back_fonts for configuring fallback fonts
if you don't want this globally then look at the documentation of your terminal emulator for how it sets up/configures fonts.
Last edited by V1del (2022-09-15 18:49:37)
Offline
https://wiki.archlinux.org/title/Font_c … figuration for the config file format/location
https://wiki.archlinux.org/title/Font_c … back_fonts for configuring fallback fontsif you don't want this globally then look at the documentation of your terminal emulator for how it sets up/configures fonts.
Im very sorry but i still dont know how to do it after reading the wiki, what am i supposed to put inside the config file?
Offline
Start by copying the font files into ~/.local/share/fonts.
By the way, in a terminal you typically want to use a monospace font instead of a sans font.
Last edited by tucuxi (2022-09-15 19:09:09)
Offline
Start by copying the font files into ~/.local/share/fonts.
By the way, in a terminal you typically want to use a monospace font instead of a sans font.
Ok i made the ~/.local/share/fonts and copied everything from /usr/share/fonts to here, not sure if i did it right
Offline
I would not copy everything from /usr/share/fonts to ~/.local/share/fonts, because those files are owned by pacman packages. You should only put the droid font files into your .local/share/fonts directory. fontconfig should automatically pick up that location. Try fc-list and look for the droid font files in the output.
Last edited by tucuxi (2022-09-15 19:36:55)
Offline
I would not copy everything from /usr/share/fonts to ~/.local/share/fonts, because those files are owned by pacman packages. You should only put the droid font files into your .local/share/fonts directory. fontconfig should automatically pick up that location. Try fc-list and look for the droid font files in the output.
Oh yes i see it, now how do i activate it?
Offline
Try fc-list and look for the droid font files in the output.
Offline
Try fc-list and look for the droid font files in the output.
Yep i see it, how do i activate it?
Offline
Assuming the OP installed https://archlinux.org/packages/community/any/ttf-droid/ he should copy/move exactly nothing at all.
If he got the font from somewhere else, he should ditch that and use the repo package.
@ArchUserBTW69
https://wiki.archlinux.org/title/Font_c … ault_fonts has some examples, ignore all the language specific stuff, the second arabic example has a usable pattern for your local font config which should go somewhere into ~/.config/fontconfig/conf.d/
Offline
Assuming the OP installed https://archlinux.org/packages/community/any/ttf-droid/ he should copy/move exactly nothing at all.
If he got the font from somewhere else, he should ditch that and use the repo package.@ArchUserBTW69
https://wiki.archlinux.org/title/Font_c … ault_fonts has some examples, ignore all the language specific stuff, the second arabic example has a usable pattern for your local font config which should go somewhere into ~/.config/fontconfig/conf.d/
like this? https://pastebin.com/qj2EbUHw
Offline
Like do you not intend to use the serif and monospace variants as well?
Offline
Like do you not intend to use the serif and monospace variants as well?
Sorry had to go sleep last night, i want to use the sans-serif for most of the things and monospace for terminal
so i should just put this https://pastebin.com/qj2EbUHw inside the fonts.d/font.conf and it will automatically start using those two?
Last edited by ArchUserBTW69 (2022-09-16 13:27:35)
Offline
What do you think could be the worst outcome if you try?
Offline
What do you think could be the worst outcome if you try?
Ok i just did that and restarted my pc, and im not sure if anything changed. Anyway to check what current font im using?
Last edited by ArchUserBTW69 (2022-09-16 13:38:51)
Offline
By the way, in a terminal you typically want to use a monospace font instead of a sans font.
Droid Sans Mono would be the one used. It's a bit of a semantic issue that monospace fonts are generally categorized differently from sans-serif fonts, but strictly speaking, most monospaced fonts (every one I know) lacks serifs; so "monospace" is mostly a subset of "sans-serif". This is seen in the naming of some such as Droid Sans Mono and DejaVu Sans Mono.
But yes, for the terminal, make sure a monospaced variety of a font is used.
Last edited by Trilby (2022-09-16 13:51:03)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
tucuxi wrote:By the way, in a terminal you typically want to use a monospace font instead of a sans font.
Droid Sans Mono would be the one used. It's a bit of a symantic issue that monospace fonts are generally categorized differently from sans-serif fonts, but strictly speaking, most monospaced fonts (every one I know) lacks serifs; so "monospace" is mostly a subset of "sans-serif". This is seen in the naming of some such as Droid Sans Mono and DejaVu Sans Mono.
But yes, for the terminal, make sure a monospaced variety of a font is used.
Nice when i typed fc-match this was the output
DroidSans.ttf: "Droid Sans" "Regular"
Thank you very much!
Offline
Also check "fc-match monospace" and then please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Edit: too late
Thanks.
Last edited by seth (2022-09-16 13:48:17)
Offline
Also check "fc-match monospace"
Yep
DroidSansMono.ttf: "Droid Sans Mono" "Regular"
Offline
Pages: 1