Questions tagged [fontconfig]

Use this tag for questions involving the freedesktop fontconfig library.

Filter by
Sorted by
Tagged with
0
votes
1answer
38 views

How to override default font alias precedence

For cursive fonts I have both the URW Z003 and Écolier Court fonts installed. I want to use Écolier Court, but fc-match cursive shows that Z0003 is being chosen. I can't remove the Z003 font package ...
0
votes
0answers
67 views

Firefox fallback font

I'm migrating from a Chromium based browser to Firefox. The goal is to set all missing fonts' fallback to what is set for sans-serif (for the sake of this post and better visibility it's now Ubuntu). ...
1
vote
1answer
21 views

Fonts too large. Where are all the places display scaling or dpi could be specified?

I have more than one desktop computer running Arch Linux KDE. All were initially configured the same. Now one of them now has a scaled up display. I have not found the setting that is responsible for ...
1
vote
1answer
91 views

fontconfig overriding normal weight and style of fonts

I want to override the weight or Normal style of a font. With the following config I can override the Regular weight/style to Medium but the Normal style (which also has the same weight as Regular) ...
0
votes
1answer
135 views

How to set terminus font as default in Arch linux

I am using dwm, no desktop environment package installed. I love using Terminus font in the terminal. Can I set my default font as Terminus, so that gui applications gets it automatically. I tried ...
0
votes
0answers
164 views

Fontconfig issues

A while ago, I posted a message about strange activity on my computer. Since, I did find a couple of new symptoms which seem to point to fontconfig and friends (fc-cache). I considered this sufficient ...
0
votes
0answers
17 views

Enforcing system fontconfig in intellij

This question might not be specific to arch, but I'm currently running intellij on arch and have the following system fontconfig: <?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"...
1
vote
0answers
14 views

xdiskusage marks fontconfig cache using 4 GB

even though xdiskusage marks fontconfig cache to be using using 4 GB, I can't find any file (even hidden ones) which exceeds 1MB, and there are only about 20-odd files in that directory. Is this an ...
1
vote
0answers
31 views

Reject all fonts from a directory except one with fontconfig

I'm trying to disable noto fonts for most other languages except a few using fontconfig. It used rejectfont and glob element to disable all. Then used acceptfont element but couldn't activate it. I'...
1
vote
0answers
36 views

How to increase font vertical spacing by using fonts.conf file?

I'm noticed in NetBeans in Windows 10 - if I set editor font to "Courier New" - line spacing is normal. Then if font is set to "DialogInput" - line spacing is about 1:2, easier to read/work. "...
0
votes
1answer
204 views

How to set default system font in CentOS?

I want to change system font used by applications globally (or per user) in CentOS. How to do that? Perhaps I should modify ~/.config/fontconfig/fonts.conf file? I would like to set Tahoma font for ...
2
votes
2answers
338 views

Configuring font rendering on CentOS - exactly like in WinXP

My goal is to configure Courier New font on CentOS7 to look like in Windows XP (XP just for example, not using it). Font configure file at ~/.config/fontconfig/fonts.conf: <?xml version='1.0'?> ...
0
votes
0answers
42 views

Substituting the Bold weight in fontconfig

I want to reassign the bold face of a font family with the medium face of the same family. I have this in my fontconfig local.conf and whilst some Linux apps honour the rules, it doesn't seem to work ...
0
votes
0answers
38 views

How can I fix duplicate fonts after I ran fc-cache?

I messed up. I ran some commands that I didn't understand, and now my font list contains several duplicate entries. sudo dpkg-reconfigure fontconfig-config followed by Enter, Enter, ↑, Enter (...
0
votes
1answer
241 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
57 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 ...
6
votes
1answer
6k 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
144 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
442 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 ...
3
votes
0answers
245 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
368 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/...
1
vote
1answer
46 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
1answer
141 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
421 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
146 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 ...
-1
votes
1answer
564 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
480 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
351 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
575 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 ...
2
votes
1answer
100 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
350 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
445 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
478 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 ...
6
votes
2answers
3k 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
73 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 ...
3
votes
2answers
1k 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 ...
1
vote
0answers
263 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
240 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 ...
2
votes
1answer
2k 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
1k 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
393 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
377 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
843 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
564 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
580 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
353 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
399 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
226 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
132 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
630 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 ...