Questions tagged [fontconfig]
Use this tag for questions involving the freedesktop fontconfig library.
132
questions
0
votes
0
answers
24
views
Bad font antialiasing for Qt6 applications
Environment:
OS: Fedora 36
DE: XFCE
Font: Windows Tahoma
Font config
$XDG_CURRENT_DESKTOP=XFCE
Qt6-6.2.3-2.fc36
Problem: Qt6 applications seemingly do not use my fontconfig settings (which are used ...
0
votes
1
answer
22
views
xorg-server and font loading
A .ttf (or more specificaly some characters from Unifont.ttf) fail to load directly for a script that runs on .xprofile,running fc-list > fc-list.log on .xprofile before the script in question ...
1
vote
0
answers
71
views
Rejectfont problem
In ~/.config/fontconfig/fonts.conf there is a rule excluding fonts from loading with firefox but given .fonts folder is blacklisted not only for firefox but for all others applications. Is there a way ...
1
vote
2
answers
133
views
Showing 𝐒, 𝐽, and 𝑁 in the terminal
How can I make 𝐒(U+1d412), 𝐽(U+1d43d), and 𝑁(U+1d441), which I can display clearly in my browser, show in the terminal?
I use Urxvt on Archlinux.
The ~/.Xdefaults file has this content:
URxvt*...
0
votes
1
answer
33
views
Disparity in rendering Malayalam glyph
Migrating from https://github.com/rsms/inter/issues/436
This is the correct rendering of the word prominence in Malayalam. പ്രാധാന്യം.
And this is how it renders on:
Arch Linux
Where
Screenshot
...
0
votes
0
answers
121
views
Setting default font size with fontconfig
I want to replace every font with a monospace font, which already works. However, I could not figure out how to specify a default font size. Here is my configuration file:
<?xml version="1.0&...
0
votes
0
answers
83
views
increase font size of content in apps in debian with gnome
A font in all apps on GNOME look smaller than rest of the fonts on screen. I have enabled "Large Text" under "Accessibility" in settings and also increased the size of all fonts in ...
0
votes
0
answers
70
views
How to change /dev/tty1 console font without sudo privilege from ssh?
On /dev/tty1 display I can run and change font with:
setfont /etc/console-setup/cached_Uni2-TerminusBoldVGA16.psf.gz -C /dev/tty1
But when I run command above, from ssh without sudo: results
putfont: ...
0
votes
1
answer
226
views
How do I make .bdf Format Bitmap Font work
I'm using an Arch-based Linux distro.
Recently I started a New Ricing for my BSPWM. This time I want to use a bitmap font.
Well I would like a font with glyphs, so I chose Siji.
Previously I used some ...
1
vote
0
answers
12
views
Detect path of font on Debian [duplicate]
I want know from name of font, the relative path on the system
I know with fc-list show list of all fonts with relative path, but exist a command to show me only a font I need ?
I tried fc-match but ...
0
votes
0
answers
39
views
Regarding controlling the font/size of character in terminal
At present, I am using the linux system with the following version,
bash-4.2$ lsb_release -idrc
Distributor ID: RedHatEnterpriseWorkstation
Description: Red Hat Enterprise Linux Workstation release ...
0
votes
2
answers
321
views
Set every font with spacing=100 as 'monospace'
Many of the fonts, including those from the package manager (currently running a Arch System) don't include the generic family as "serif", "monospace" and "cursive". So I ...
0
votes
1
answer
184
views
arch linux xfce4 terminal font type gets wired after install some software
I'm using arch linux and started to install some software after xfce4 desktop. However, My font "Monospace Regular" suddenly became thin and flat after some software installed (I don't know ...
0
votes
0
answers
45
views
Texmaker open file interface garbled
I have a problem when using Texmaker. When I use Texmaker to open a file, its user interfaces garbled.
My OS is archlinux. I have tried system update and software reinstallation. It doesn't help.
I ...
0
votes
1
answer
69
views
Support for non-english fonts in arch linux
I'm having a bit of trouble setting the font for non-english text (arabic to be specific), i tried creating a file named 98-user.conf and copying it in /etc/fonts/conf.d/98-user.conf, the output of : ...
-1
votes
1
answer
55
views
Does fontconfig use Ant naming pattern for glob'bing?
If there's a foo font I manually downloaded with many directories in it, is it a correct way to include all of them?
<fontconfig>
<selectfont>
<rejectfont>
&...
1
vote
0
answers
374
views
How to forbid an (emoji) font only for one software?
Context :
I'm using Luke Smith's version of st (suckless-terminal) with Monoid font for most Unicode symbols,
and I noticed it usually crash when it sees some emojis, like U1F970, st tries to load a ...
0
votes
1
answer
621
views
Chromium apps doesn't follow system font settings in Manjaro KDE
I have changed my font settings for both qt and gtk but chromium based apps like chrome, vs code and slack seems to be not following font settings. Here is a screenshot of the problem I'm having. ...
0
votes
1
answer
72
views
Browser's Mechanism of font choosing on Linux Systems
Actually, I think my question is too basic, but, even after performing a deep search on internet, I still didn't understand how a browser selects a particular font for rendering a particular script on ...
0
votes
1
answer
145
views
lcdfilter setting ignored by fontconfig
I want to use the LCD filter setting from https://wiki.archlinux.org/index.php/font_configuration#LCD_filter. The file already exists:
$ cat /etc/fonts/conf.d/11-lcdfilter-default.conf
<?xml ...
0
votes
0
answers
277
views
Font size issue and screen tearing on Arch with Nvidia
I have followed instructions on how to setup font configuration as well as Nvidia drivers and their configuration.
What is causing very small fonts in most of my applications?
Below are the specifics ...
4
votes
2
answers
231
views
Same font, same name, two different file formats. Which one does Fontconfig use?
Original question
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. ...
1
vote
0
answers
227
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 ...
4
votes
4
answers
16k
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
0
answers
195
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 ...
0
votes
0
answers
425
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
1
answer
1k
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
2
answers
1k
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 ...
1
vote
0
answers
223
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
1
answer
300
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
0
answers
344
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
1
answer
1k
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 ...
2
votes
1
answer
1k
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 ...
3
votes
1
answer
1k
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
1
answer
2k
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
0
answers
2k
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
0
answers
17
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 ...
3
votes
1
answer
621
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
0
answers
361
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
1
answer
2k
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
2
answers
1k
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
1
answer
897
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
0
answers
332
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 ...
9
votes
1
answer
20k
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?
3
votes
0
answers
858
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
1
answer
783
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"
$...
3
votes
1
answer
1k
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
1
answer
144
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 ...
1
vote
1
answer
336
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 ...
3
votes
2
answers
2k
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/...