Questions tagged [fontconfig]

Use this tag for questions involving the freedesktop fontconfig library.

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

Same font, same name, two different file formats. Which one does Fontconfig use?

I downloaded the Cozette font, which includes CozetteVector.ttf and CozetteVector.otf. I copied both of these files to ~/.local/share/fonts and ran fc-cache -v ~/.local/share/fonts. Now when I run fc-...
0
votes
0answers
52 views

Font used to display specific characters in gnome-terminal

I want to find out which font (i.e. the .ttf or .otf file name) is used for displaying a specific unicode character in my gnome-terminal (in order to setup my editor to use the same fonts). How can ...
1
vote
2answers
3k views

How do I change terminal font size in kali 2020.2

I've just installed the kali 2020.2 with kali-linux-2020.2-installer-amd64.iso in VMware 15.1.0. And I choose the default desktop environment "xfce". Everything looks good except when I open ...
0
votes
0answers
27 views

Is there a way to change default chinese fonts in en_US lanugage system?

I'm using DWM as my window manager and my favorite font is Source Code Pro. So I set it as my DWM's font. However, I always have some Chinese characters to display. But the Chinese character is so ...
1
vote
0answers
13 views

Avoid font duplication when using TeXLive

Speaking of Debian, that's what I use, there are quite a number of fonts files that are installed by texlive-fonts-extra, e.g., the number of Open Type font files is $ dpkg -L texlive-fonts-extra | ...
0
votes
0answers
63 views

How to wildcard family and size in fontconfig, fc-match

I thought I had at least a conceptual understanding of fontconfig matching from reading man fonts.conf. But fc-match keeps behaving in ways that don't correspond to that supposed understanding. My ...
0
votes
0answers
23 views

set characters variant in inline definition of fonts-conf for dwm/st

I'm looking for some advice to set multiple characters variants of the Iosevka monospaced font in an inline definition : "Iosevka:pixelsize=14:antialias=true:autohint=true" I thought about ...
0
votes
1answer
244 views

How to fix missing fonts problem in debian (parrot os)

I have a problem with my Parrot OS machine that is using KDE. This is GIMP an image editing software. But like you see it misses some fonts so it displays these strange characters. GIMP is not the ...
0
votes
1answer
212 views

Setting the default style of a font in fonts.conf

I'm trying to set the default style of a font in fonts.conf because for whatever reason the bold version always gets matched: $ fc-match monospace LigaOperatorMonoSSm-Bold.otf: "Liga Operator Mono ...
0
votes
0answers
42 views

Font selection with paps

How do I select a font with paps? I have found out that I can use paps --font="monospace 8", but nothing else that I've tried has worked. In the paps man page there is mention of fc-match, but that ...
1
vote
0answers
128 views

Unable to apply fonts in emonbar with fontconfig running Arch

I am running a new install of Arch linux, trying to set up lemonbar. I would like to use the JoyPixels font for emoticons, in both lemonbar and my terminal (st). I've installed fontconfig and ...
4
votes
1answer
116 views

weird unicode behaviour

I'm using Arch Linux and one thing I just can't seem to get right is the Unicode fonts. I'll give you an example of what goes wrong. Here's a screenshot of gucharmap: The selected glyph in the top ...
1
vote
0answers
119 views

Fontconfig: specify which bold font to use

I have an embedded application where I use the Ubuntu font (together with Qt and fontconfig). I’d like to use Ubuntu Light for regular text, and Ubuntu Regular for Bold text. Short of editing both ...
1
vote
1answer
167 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
272 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
264 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 ...
2
votes
1answer
396 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
701 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 ...
1
vote
0answers
704 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 ...
1
vote
0answers
15 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 ...
2
votes
1answer
172 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
159 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. "...
1
vote
1answer
1k 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
821 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
1answer
529 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
130 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 ...
7
votes
1answer
13k 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?
2
votes
0answers
668 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 ...
5
votes
1answer
441 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
779 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
64 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
189 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 ...
2
votes
2answers
835 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
196 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
722 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
727 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
566 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
1k 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
120 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
472 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
642 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
583 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
4k 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
88 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
283 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
344 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
3k 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 ...
0
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
425 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 ...