Questions tagged [fontconfig]
Use this tag for questions involving the freedesktop fontconfig library.
148
questions
1
vote
0
answers
32
views
Is it possible to limit the accessible fonts for some GUI (GTK) program?
Because of different reasons, it is useful to limit particular program from accessing all installed in the system fonts.
For example, some programs works very slow when big amount of fonts are ...
0
votes
0
answers
31
views
How to let text editors (or Gtk text view component) respect my font settings for leading whitespace for correct indentation?
In the MATE desktop environment (Debian Linux 12), the width of the rendered leading spaces seems to be different according to different languages, in rich text like components. Including the text ...
0
votes
0
answers
30
views
Set fontconfig to override font for specific Unicode code block
I'm trying to configure the font to be used when displaying Glagolitic characters (U+2C00 to U+2C5F). The default font is FreeSerif, which is not legible at small sizes. I need the characters to be ...
2
votes
2
answers
161
views
Default monospace font in Qt applications
In the file ~/.config/fontconfig/fonts.conf i have set monospace to DejaVuSansMono:
<alias>
<family>monospace</family>
<prefer><family>DejaVuSansMono</family>&...
1
vote
0
answers
87
views
Browsers use monospace font for the ui (tabs, settings etc.)
After updating my system (Arch linux x64) and installing some font packages, (I'm unsure what exactly caused this issue) all of my browsers (chromium, firefox, librewolf) started using the default ...
0
votes
0
answers
37
views
Why are nerdfont icons differently sized in the same line?
I'm trying since quite a while to figure out, why these icons (see picture) are different in size. The status bar is dwmblocks by suckless (including simple bashscripts for the infos in the line) and ...
1
vote
0
answers
84
views
Terminus (or any other bitmap font) blurry on HiDPI
I'm using an UHD screen and have everything set to be 2x scaled (Cinnamon DE, Arch Linux).
I would like to use a bitmap font that is not anti-aliased, i. e. pixelated, for my terminal emulator (gnome-...
1
vote
0
answers
66
views
why pattern syntax is different on fc-list with other fontconfig command like fc-match
I just find the syntax of pattern in fc-list is different with other fontconfig command like fc-match and fc-pattern
For fc-list, I have to add ":" in order to list all sans font
hongy19@WSL ...
2
votes
0
answers
30
views
Am I reading the font information incorrectly, or does this font not support a character?
I list here an installed font that supports the character 05D0:
$ fc-list :charset=05d0 | tail -n1/usr/share/fonts/truetype/noto/NotoSansHebrew-Bold.ttf: Noto Sans Hebrew:style=Bold
I then list the ...
0
votes
0
answers
60
views
How can I disable a specific font style using fontconfig?
I installed the Iosevka font as a TrueType Collection. I would like to disable all the "Oblique" styles, similar to how you can disable a specific font style using Font Book in macOS. Is ...
3
votes
1
answer
879
views
Manually install fontconfig, without root, for Java
While installing Jenkins on a server without root access, I get the following:
AWT is not properly configured on this server. Perhaps you need to
run your container with "-Djava.awt.headless=...
0
votes
0
answers
165
views
How do you maintain/configure fonts or icons properly in Linux?
What I've understood with fonts and icons is that when the fonts are installed, and when the fonts used are explicitly specified by the application, the fonts will be correct.
However, with most of ...
1
vote
0
answers
45
views
Why can't set font according to language?
OS and desktop environment info:
uname -a
Linux debian 5.10.0-18-amd64 #1 SMP Debian 5.10.140-1 (2022-09-02) x86_64 GNU/Linux
sudo dpkg -s lxde | grep Version
Version: 11
sudo dpkg -s lxappearance | ...
0
votes
0
answers
201
views
How to specify Noto Sans CJK SC to render chinese character in my os?
OS and desktop environment info:
uname -a
Linux debian 5.10.0-18-amd64 #1 SMP Debian 5.10.140-1 (2022-09-02) x86_64 GNU/Linux
sudo dpkg -s lxde | grep Version
Version: 11
sudo dpkg -s lxappearance | ...
0
votes
1
answer
215
views
How can I determine which fallback font is being used for a given character?
I'm using LibreOffice (7.4.1.2) on Devuan (Daedalus). I've set the right-to-left language group font to some font, let's say it's font family Foo in size 12, regular; and I type a few glyphs in Hebrew ...
2
votes
0
answers
376
views
fontconfig fallback font for emoji doesn't work until I blacklist all other fonts
I want to use UbuntuMono Nerd Font as my main terminal font but render emoji characters using Noto Color Emoji. I have configured LXTerminal to use font UbuntuMono Nerd Font.
I can see the primary and ...
2
votes
1
answer
363
views
How to override terminal font-family for specific glyph?
I have set Source Code Pro as my default monospace font and Noto Color Emoji for emojis, set in fontconfig as follows:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ...
2
votes
1
answer
2k
views
Why do I see a black-and-white emoji in console with Noto Color Emoji font installed?
I have installed Noto Color Emoji font on my system (e.g. Arch: noto-fonts-emoji), but I still see this black-and-white version in the terminal (Konsole):
However, I expected the color one as ...
1
vote
4
answers
485
views
How to know the font name of displayed characters? (X11/Xft)
I want to know the font name of displayed characters on any X application. Of course, I can know the font name by comparing the displayed characters with each font characters, but it takes a very long ...
2
votes
1
answer
590
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 ...
2
votes
0
answers
176
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
1
answer
444
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*...
1
vote
2
answers
117
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
...
1
vote
1
answer
946
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
230
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
636
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
16
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
101
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
784
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
459
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
98
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
365
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
vote
0
answers
708
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
1k
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. ...
2
votes
1
answer
816
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
313
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
461
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
550
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
404
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 ...
7
votes
5
answers
27k
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
486
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
0
answers
761
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
2k
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
3k
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
270
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
688
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 ...
2
votes
0
answers
501
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
2k
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
2k
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
1
answer
2k
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) ...