Skip to main content

Questions tagged [fontconfig]

Use this tag for questions involving the freedesktop fontconfig library.

Filter by
Sorted by
Tagged with
9 votes
1 answer
320 views

How does Linux find the bold variant of a given font?

There is a monospace font family I like called IBM Plex Mono. It comes with several font weights beyond just normal and bold, namely: Thin ExtraLight Light Regular Medium SemiBold Bold Now, I have ...
Max's user avatar
  • 193
1 vote
0 answers
22 views

-fa 'Cascadia Code' → "xterm: no absolute path found for shell"

I have recently installed Cascadia Code (because I love its "4") and I can use it in XTerm $ xrdb -merge XTerm*faceName: Cascadia Code ^D $ but, otoh, if I try using the command line $ ...
gboffi's user avatar
  • 1,454
0 votes
1 answer
30 views

How to make TeX Live fonts available?

I am running Debian and I have installed the package texlive-fonts-extra which contains the Adobe font SourceCodePro: # dpkg -S /usr/share/texlive/texmf-dist/fonts/opentype/adobe/sourcecodepro texlive-...
ceving's user avatar
  • 3,619
0 votes
0 answers
27 views

How to fix a grainy font on RedHat Linux 8?

The fonts on my machine look grainy and pixelated. I have the default settings for RHEL 8, with the Window Title/Document/Interface Fonts all set to Cantarell Bold with size 13. I've tried changing ...
Tanmay Bhore 's user avatar
0 votes
0 answers
17 views

Kernel support for displaying fonts with rotations and reflections (with or without Unicode support)

I am posting to this group because I was wondering whether the Linux kernel can be extended to support the feature of displaying fonts with reflections and rotations, whether these are stored as part ...
Joselin Jocklingson's user avatar
0 votes
1 answer
39 views

invalid cache files in ~/.cache/fontconfig

I created a folder in ~/.local/share/fonts for a font. The folder has many .ttf files. I used fc-cache -v and I got errors about invalid cache files in ~/.cache/fontconfig. The font seems to have been ...
userrandrand's user avatar
0 votes
1 answer
77 views

How to understand fontconfig output: "Pattern has 38 elts (size 48)"

When running with verbose output, and sometime even without, the first thing fontconfig writes about any font is a line like the following: Pattern has 38 elts (size 48) What do these numbers ...
Mads Skjern's user avatar
1 vote
0 answers
42 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 ...
johnfound's user avatar
  • 263
0 votes
0 answers
53 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 ...
Lenik's user avatar
  • 563
1 vote
0 answers
68 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 ...
smrdoje's user avatar
  • 11
2 votes
2 answers
677 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>&...
August Karlstrom's user avatar
2 votes
0 answers
274 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 ...
Confuze's user avatar
  • 21
1 vote
0 answers
213 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-...
Lyxodius's user avatar
  • 111
1 vote
0 answers
212 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 ...
hongy19's user avatar
  • 11
2 votes
0 answers
39 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 ...
dotancohen's user avatar
  • 16.1k
4 votes
1 answer
4k 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=...
Frankie's user avatar
  • 241
0 votes
0 answers
250 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 ...
zettomon's user avatar
1 vote
0 answers
61 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 | ...
newview's user avatar
  • 205
0 votes
1 answer
479 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 ...
einpoklum's user avatar
  • 9,653
2 votes
0 answers
610 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 ...
Squiffy's user avatar
  • 21
3 votes
1 answer
619 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 ...
paulodiovani's user avatar
2 votes
1 answer
3k 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 ...
gertvdijk's user avatar
  • 14k
1 vote
4 answers
1k 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 ...
user356126's user avatar
2 votes
1 answer
1k 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 ...
Artem S. Tashkinov's user avatar
2 votes
0 answers
262 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 ...
EdiD's user avatar
  • 342
1 vote
1 answer
526 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*...
Enlico's user avatar
  • 1,677
1 vote
2 answers
165 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 ...
Yozachar's user avatar
  • 151
2 votes
1 answer
2k 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&...
weisbrja's user avatar
  • 241
0 votes
0 answers
306 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: ...
Garid Z.'s user avatar
  • 552
0 votes
1 answer
815 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 ...
Rero's user avatar
  • 1
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 ...
salsan's user avatar
  • 111
0 votes
0 answers
188 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 ...
user297850's user avatar
0 votes
2 answers
1k 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 ...
imsamuka's user avatar
1 vote
1 answer
554 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 ...
ArchBug's user avatar
  • 15
0 votes
0 answers
106 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 ...
flan's user avatar
  • 1
0 votes
1 answer
486 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 : ...
Abderrahmene's user avatar
1 vote
0 answers
802 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 ...
ewen-goisot's user avatar
0 votes
1 answer
2k 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. ...
Wowocado's user avatar
3 votes
1 answer
1k 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 ...
cheesesticks's user avatar
0 votes
1 answer
427 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 ...
Bagalaw's user avatar
  • 945
0 votes
0 answers
518 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 ...
Mathieu Marques's user avatar
5 votes
2 answers
798 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. ...
shadowtalker's user avatar
  • 1,358
1 vote
0 answers
490 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 ...
dmw64's user avatar
  • 123
7 votes
5 answers
34k 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 ...
y4ung's user avatar
  • 83
0 votes
0 answers
657 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 ...
qiuweikang's user avatar
1 vote
0 answers
930 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 ...
q.undertow's user avatar
0 votes
1 answer
3k 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 ...
TheG0df2ther YT's user avatar
0 votes
2 answers
4k 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 ...
malte-v's user avatar
  • 101
1 vote
0 answers
291 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 ...
SamRPhillips's user avatar
4 votes
1 answer
802 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 ...
sevbesau's user avatar