Questions tagged [fontconfig]

Use this tag for questions involving the freedesktop fontconfig library.

Use this tag for questions involving the freedesktop fontconfig library.

149 questions
32
votes
1 answer

Command to list all monospace fonts known to fontconfig

I'd like to have a list of all the monospace fonts that fontconfig knows of, which command do I have to use?
gboffi
  • 1,220
  • 1
  • 14
  • 30
18
votes
4 answers

Package "fontconfig" not found despite having installed libfontconfig1-dev

Whilst attempting to compile poppler from source I get the error Package "fontconfig" not found. I have found a lot of other resources advertising that this can be fixed by installing both pkg-config and libfontconfig1-dev to get the libraries, but…
M1ke
  • 539
  • 1
  • 4
  • 11
17
votes
1 answer

How does fontconfig actually work?

I am new to the Linux environment, and I have started research on fonts. I have read that fontconfig is the library which actually deals with the font management in Linux. So for this sake I have downloaded the fontconfig source code and I have…
Ammar Ul Hassan
  • 305
  • 1
  • 3
  • 10
17
votes
3 answers

Changing monospace fonts system-wide

By default, the monospace font for my distribution (Trisquel) is Font A. I would like to change it to font B. Some time ago, I managed to make a partial change to Font C, but I have since forgotten this method and cannot reproduce it. The trouble is…
Lee Sleek
  • 291
  • 1
  • 2
  • 9
16
votes
1 answer

Question about fc-cache output

When I run the command sudo fc-cache -rv , there are several directories in which the output line is something like this: /usr/share/fonts/: skipping, looped directory detected What does that mean? And how do I fix it?
Moth
  • 317
  • 1
  • 2
  • 6
16
votes
1 answer

How do I figure out which font file is chosen for a system generic font alias?

In Fedora 22, in KDE (plasma) System Settings -> Font -> Fonts, the setting for "General" is "Sans Serif 10", for "Fixed width" is "Monospace 10", for "small" is "Sans Serif 8", for "Toolbar" is "Sans Serif 9", for "Menu" is "Sans Serif 10", and for…
user1902689
  • 1,178
  • 3
  • 12
  • 23
16
votes
5 answers

Gallery of installed fonts

I want to view the fonts that are installed on my system. Specifically, I want the client-side (fontconfig) fonts, not the old-style X11 bitmap fonts on the server (for which xfontsel does an adequate job). I guess what I'm looking for would be…
Gilles 'SO- stop being evil'
  • 807,993
  • 194
  • 1,674
  • 2,175
15
votes
2 answers

How to make Firefox honour my configuration to disable font hinting for a single font?

I am using Debian GNU/Linux version 8 with LXDE. Regarding fonts, I have my system configured to use anti‐aliasing, subpixel rendering, and full hinting. However, I want to disable hinting for Liberation Serif, but it does not work in Firefox.…
10
votes
1 answer

Forcing font size based on language in .fonts.conf

I can specify the default font family used to display a particular language in X by editing .fonts.conf in my user directory (or editing the global /etc/fonts/fonts.conf). However, I've not been able to force a particular font size in the same…
SigueSigueBen
  • 1,290
  • 12
  • 14
10
votes
1 answer

Reload settings in /etc/fonts/conf.d

I am tweaking some font settings in Arch Linux. I have created a new .conf file in /etc/fonts/conf.avail/ and symlinked it into /etc/fonts/conf.d. I would now like to test the changes. I have tried running fc-cache -rv and restarting the terminal.…
Matthew Piziak
  • 362
  • 1
  • 3
  • 17
9
votes
1 answer

fontconfig warning: "/etc/fonts/fonts.conf", line 100: unknown "element blank"

Getting this error on my vps server: fontconfig warning: "/etc/fonts/fonts.conf", line 100: unknown element "blank" This is the file: https://pastebin.com/VqcSgJ9x How to fix it?
Ned St
  • 91
  • 1
  • 1
  • 3
9
votes
1 answer

Why is Xft ignoring font settings?

As you can see below, my Xft settings match exactly my fontconfig settings: $ xrdb -query | grep -i xft Xft.antialias: 1 Xft.autohint: 1 Xft.dpi: 96 Xft.hinting: 1 Xft.hintstyle: hintmedium Xft.lcdfilter: lcddefault Xft.rgba: none $…
Ernest A
  • 1,833
  • 4
  • 20
  • 28
9
votes
1 answer

Use a specific font for emojis

i’d like to use the pretty Segoe UI Symbol emoji. I installed the font by copying it over from my windows install, and awesomely enough, my system falls back to it for all emoji that my main font doesn’t have. But all (black and white) emoji…
flying sheep
  • 235
  • 2
  • 8
8
votes
1 answer

Changing font family for characters of a certain language/script using fontconfig?

I am on Arch Linux, Deepin Desktop. I am using Noto Serif as my standard font, but I don't like its Arabic characters. So my goal is to use another font just for arabic characters. Here is what I have tried. I created a new configuration file in…
Omar Emara
  • 253
  • 3
  • 8
8
votes
2 answers

Per-screen font config?

Is there a way to have different fontconfig settings per screen ? I have two 1080p monitors, however one is 13" and the other 27". I would like antialiased fonts on the small monitor, and non-antialiased fonts on the big monitor.
1
2 3
9 10