Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

Questions tagged [fontconfig]

Use this tag for questions involving the [freedesktop fontconfig](https://www.freedesktop.org/wiki/Software/fontconfig/) library

0
votes
1answer
22 views

How to easy setup reliable font with modern symbols and emoji support on void-linux?

I was a Ubuntu Desktop user from long years. I changed for void-linux because the Unity desktop env does not fit well with i3 and I want a more personalized desktop settings. The setup works well, ...
0
votes
0answers
21 views

Error message trying to compile old Pango

I am currently trying to install and old version of Pango. I tried two versions, 10.5 and 1.1.1 and they say similar things. Pango 1.1.1 says: I tried to run configure in two different versions of ...
2
votes
1answer
416 views

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?
0
votes
0answers
26 views

fc-match serif, monospace, and sans only selects Hack-Regular.ttf

I've installed Arch today, and KDE Plasma along with it. Unfortunately firefox only uses the 'Hack-Regular.ttf' font. Here is output of some fc-match commands: $ fc-match sans-serif Hack-Regular.ttf:...
2
votes
0answers
122 views

What does invalid cache file in /var/cache/fontconfig mean?

I was running - $ sudo fc-cache -fv when I got this output - /var/cache/fontconfig: invalid cache file: 54a8ef1a9100c0b4081d409cc341e1e8-le64.cache-7 What does it mean and are there any means to ...
1
vote
0answers
47 views

fc-match does not match bold correctly

For some reason fc-match does not like to match bold fonts: $ fc-match monospace DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book" $ fc-match monospace:bold DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book" $...
2
votes
1answer
93 views

mpv not using embedded fonts for subtitles

How it is supposed to look. How it looks. I can see in mpv's log that it does call for Murga, the right font embedded in the mkv file, but it ends up falling back to BitstreamVeraSans-Roman. [sub/...
0
votes
0answers
18 views

fontconfig: how to configure proggycleanTT font properly

Windows10 / proggycleantt / no bold / size 12 Above picture is captured from windows 10 that on wsl. If I use proggycleanTT on linux - Archlinux, it's default to something that doesn't look like ...
1
vote
1answer
34 views

Locating font files

There's a utility called fc-list in the fontconfig library, that's good for listing installed fonts. It detected a few hundred system fonts. I ended up using find to locate all files with common ...
0
votes
0answers
46 views

GUI fonts not rendering correctly/unreadable in OpenBox,Xorg,Debian but commandline ok

I have just installed Debian 8 (Jessie) and with it revived an old PowerPC, which so far has been a very, say, educational but rewarding experience. Unfortunately, my fonts don't seem to work and ...
0
votes
1answer
32 views

Fontconfig finds a font during scanning, but does not enter it into the cache

On a CentOS 7 installation I have a number of font files in /usr/share/fonts. Some of them have been correctly recognised by fontconfig and show up in fc-list, but others quite simply refuse to be ...
1
vote
2answers
164 views

XTerm*faceName in .Xresources are not reflected

I've tried customizing zsh's prompt with change the font but during it, xterm become not to reflect the XTerm*faceName in~/.Xresources. Here is my dot files: ~/.xinitrc #!/bin/sh # /etc/X11/...
2
votes
1answer
87 views

Dependency error installing fontconfig-dbgsym under Ubuntu 18.04

I am trying to install fontconfig-dbgsym under Ubuntu 18.04 inside Docker, running on Docker for Mac. I use the following Dockerfile: FROM ubuntu:18.04 ENV DEBIAN_FRONTEND=noninteractive RUN apt-get ...
0
votes
1answer
157 views

Broken fonts after upgrading Firefox ESR to latest Firefox

I'm facing font issue after updating Firefox ESR to latest Firefox on Debian Stretch. Following top voted comment on this Reddit question I set up unstable repository, removed firefox-esr and ...
1
vote
1answer
302 views

Downgrading libfontconfig1 causing Fontconfig error

During the building of dwm, I was prompted that X11/Xft/Xft.h cannot be found and apt-get can't install it because libfontconfig1 is 2.13.0-5 while 2.11.0 is required. So I downgraded the ...
-1
votes
1answer
120 views

fc-list is empty

Some time ago I deleted a lot of packages from a VPS that seemed to be needed only for visual programs (I got the list from some other question here, I don't remember where exactly). Now I'm running ...
8
votes
1answer
141 views

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 ...
3
votes
1answer
43 views

Firefox curly quotes broken in Helvetica, but not most other fonts and not in other apps?

In Firefox only (LibreOffice and Chromium work fine), and starting fairly recently, I've noticed Helvetica is rendering weirdly. Curly quotes are broken, but straight ones are not. Some further ...
3
votes
1answer
145 views

Removing fonts from fontconfig <match> results

I'd like to remove a few fonts from the fontconfig match results for firefox. I know there's <rejectfont>, but it removes the font completely and for everyone, like it doesn't exist in the ...
0
votes
2answers
272 views

Install xorg-x11-font-utils for opensuse

how do i install the package xorg-x11-font-utils for opensuse? I need it for microsoft fonts from here https://downloads.sourceforge.net/project/mscorefonts2/rpms/msttcore-fonts-installer-2.6-1.noarch....
1
vote
1answer
292 views

How to deal with undocumented Arch Linux update failures?

I've been using Arch for about 3-4 months now and I've never actually had to deal with an upgrade error. Yesterday when I ran sudo pacman -Syu I got :: Starting full system upgrade... resolving ...
4
votes
1answer
2k views

How to fix Fontconfig error: failed reading config file

On Debian testing, whenever I run a browser from the terminal, I get four lines of the following error: Fontconfig error: failed reading config file This doesn't seem to cause any problems in any ...
0
votes
1answer
48 views

Konsole and other applications render FontBureau's “Input Mono” as proportional

In KDE's Konsole, when using a custom build of FontBureau's "Input Mono" font, things are rendered as though the fonts are proportional. This causes no end of problems, as Konsole isn't prepared to ...
2
votes
2answers
730 views

Firefox Quantum on Debian stretch font rendering problems

I install firefox «Quantum» 60.0.2 (64bits) on Debian GNU/Linux Stretch via snap, follow this and I have big font rendering problems with this version of Firefox. a screen cap of Jupyter Notebook ...
0
votes
0answers
194 views

Fonts appear in fc-match and fc-list but not in gnome-terminal preferences

I installed https://github.com/powerline/fonts on my computer so that I could use the agnoster theme in oh-my-zsh. I went to change the font on my computer, and couldn't find it. To make sure I wasn't ...
1
vote
1answer
133 views

Fontconfig question about font substitution order

Let me ask using an example. A web browser or other application may declare or set to use Arial font. Then the actual user content in the application is in Chinese. My system has Arial font and other ...
1
vote
1answer
1k views

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/<directory>: skipping, looped directory detected ...
-1
votes
1answer
771 views

Fontconfig error when running Octave

Every time I run Oct, it outputs this error: Fontconfig warning: "/etc/fonts/fonts.conf", line 5: unknown element "its:rules" Fontconfig warning: "/etc/fonts/fonts.conf", line 6: unknown element "its:...
1
vote
1answer
277 views

Firefox changed its fonts on all sites without me doing anything and I am unable to change it back

Without me doing anything, firefox changed the fonts (the degree of change is differenet for different sites) to something else (please see image) and I am unable to change it back. This is a clean ...
0
votes
0answers
218 views

Is there some sort of system-wide font replacement table in Linux?

I have a problem with the Arial font that I have installed together with Wine. It's causing a strange behavior while editing annotations in the Linux version of Foxit PDF Reader. If I remove this font,...
0
votes
0answers
550 views

Is it possible to make Ubuntu Chrome to render fonts exactly like OSX Chrome?

I have a visual difference snapshot test suit running on my local machine (OSX), while my remote build system (Jenkins) uses an Ubuntu 16.04 slave. The fonts render differently on Ubuntu (hence my ...
1
vote
0answers
358 views

Xft:cannot enable font hinting

I cannot enable font hinting in programs which (as far as I understand) do not use the global fontconfig settings. I first thought it was related only to urxvt. urxvt -fn "xft:Consolas:pixelsize=15:...
2
votes
0answers
397 views

Why is font not listed by fc-list after running fc-cache on font

Im working on a linux blackbox system, uname -a gives Linux 0247 3.3.4-ROMROOT-NT1 #1 Fri Nov 17 14:46:03 JST 2017 armv7l GNU/Linux There is only one font on the system /usr/lib/fonts/ipag.ttf ...
2
votes
1answer
292 views

Conky i3bar not recognizing spaces

I redid my i3bar recently with conky. This morning when I woke up the there were un-recognized characters symbols in my bar (where there are spaces in my conkyrc file). Nothing has really changed to ...
0
votes
1answer
282 views

Arial is substituting with Segoe UI

Here are screenshots of Evince's Properties->Fonts tab within the same documents: It's said that Arial is substituting with Segoe UI, but Arial Bold is still Arial Bold. Output of fc-match and fc-...
0
votes
0answers
192 views

FreeBSD-11 Installing a font results in invisible text in LibreOffice

I installed a freeware .ttf font on my FreeBSD-11.1 workstation where I use Mate as the GDM. The font was installed by copying the .ttf file to /usr/local/share/fonts/TTF and running fc-cache -vf. ...
0
votes
0answers
111 views

Fontconfig error causes SEGFAULT in skype

One day running old 4.3 skype in openSUSE Tumbleweed accidentally got error: > skype Fontconfig error: "/etc/fonts/conf.d/10-hinting-slight.conf", line 13: mismatched tag Segmentation fault (...
0
votes
0answers
463 views

Fontconfig problem only with one program (qt5)

I have very strange problem. One single program (xnviewmp) recently stopped to display any texts in the UI. The graphic part of the UI works. The OS is Manjaro Linux (Arch) with XFCE. The program ...
0
votes
1answer
393 views

Adding a custom font to fontconfig [closed]

TL;DR: How do i add a custom font (NarkissNew-Light_MFW) to fontconfig through SSH? I am trying to use the wkhtmltopdf utility to convert some HTML with Hebrew in it to PDF. I had some trouble ...
5
votes
1answer
708 views

How do I alias one of the weights of a font family with fontconfig?

I have the font Fira Code installed on my computer but I can't target its bold variant using fontconfig in the same way I do with its other variants. Here's what fc-match gives me: $ fc-match "Fira ...
3
votes
1answer
413 views

How to match multiple font names with a single <match> element?

If I want Arial when Helvetica or DejaVu Sans are requested, this configuration works fine: <match target="pattern"> <test name="family"><string>Helvetica</string></test&...
1
vote
1answer
5k views

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 ...
8
votes
1answer
3k views

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?
1
vote
0answers
126 views

Getting web safe fonts working on LinuxMint

Is there any way to get all the web safe fonts working on Linux Mint? Right now all these fonts look the same on my OS It'd would be great if someone could point me out a pack of fonts that I can ...
5
votes
2answers
460 views

Is there an Easy Way to Add Fonts?

After losing my beloved 5+ year Gentoo install to a hardware failure, I've gone to FreeBSD. I felt this was the next logical step in my exploration and use of source based operating systems. In ...
2
votes
1answer
2k views

fc-cache and fc-list

I'm using XeLaTeX which is based on fontconfig. The problem is about fc-cache and fc-list. The problem is the following: I noticed that in the folder /usr/share/texmf-dist/fonts/opentype/public/lm I ...
11
votes
2answers
659 views

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 ...
0
votes
1answer
765 views

Installing font in AIX and Listing out already installed fonts in AIX

1) How can I install fonts in AIX? Below are the fonts I want to install: MS Sans Serif Arial Times New Roman Courier New 2) How can I list out installed fonts in AIX? OS Level: bash-4.3$ ...
5
votes
1answer
3k views

How does fontconfig actually work? [closed]

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 ...
0
votes
1answer
659 views

How does font work on Arch Linux?

My system is Arch Linux with KDE desktop environment. I have come to an understanding that there are two different set of fonts in my system. One set is for the virtual console without 'X Window ...