You are not logged in.
Hello Community,
I know that recent library changes (Pango? Harfbuzz?) caused a series of issues: Terminus was renamed to xos4 Terminus, then bitmap font rendering was dropped for fonts other than in OTB format, but currently I think I have another issue...
I use Terminator, where Terminus is my font of choice. Recently after upgrade this font is selectable, but does not render at all:
https://timobai.pl/img/missing_terminus.png
As you can see it can be selected, but is invisible. Same thing happens in actual terminal. QTerminal works fine.
And now the weird part - font is rendering when I disable anti-aliasingenable hinting (see below).
[madman_xxx@mxdesktop ~]$ pacman -Qs 'freetype|fontconf|harf|terminus|pango'
local/cogl 1.22.8-2
An object oriented GL/GLES Abstraction/Utility Layer
local/fontconfig 2:2.14.0-1
Library for configuring and customizing font access
local/freetype2 2.12.0-1
Font rasterization library
local/harfbuzz 4.2.0-1
OpenType text shaping engine
local/harfbuzz-icu 4.2.0-1
OpenType text shaping engine - ICU integration
local/libxft 2.3.4-1
FreeType-based font drawing library for X
local/pango 1:1.50.6-1
A library for layout and rendering of text
local/pangomm 2.46.2-1
C++ bindings for Pango
local/terminus-font 4.49.1-2
Monospace bitmap font (for X11 and console)Any information on how to fix it would be appreciated. Thanks.
Mod Edit - Replaced oversized image with link.
CoC - Pasting pictures and code
Last edited by madman_xxx (2022-04-05 21:55:55)
Offline
Possible mitigation?
<match target="font">
<test name="family" qual="any">
<string>Terminus</string>
</test>
<edit name="antialias" mode="assign">
<bool>false</bool>
</edit>
</match>gtk font choosers show me two versions of terminus - one is blind and I assume that's the pcf's …
What if you move away /usr/share/fonts/misc/ter-*pcf.gz and update the font cache?
Offline
The proposed workaround (to disable anti-aliasing for this font family) worked. Touching .pcf files made no difference, because in terminator (GTK) I can only select .otb fonts anyway.
I found a similar post here and that led me to some experimenting. What I found out: bitmap font invisibility depends on hinting, not on anti-aliasing. If hinting is set to [none], glyphs are invisible. Any other option - [slight], [full] - works
Because there are two workarounds presented here I'm marking this post as solved, however these are not the solutions for the underlying problem. Not even sure which component might be the culprit... Any ideas?
Last edited by madman_xxx (2022-04-06 08:02:33)
Offline
BCI or autohinter?
https://wiki.archlinux.org/title/Font_c … on#Hinting
Scaling issue?
https://wiki.archlinux.org/title/Font_c … tmap_fonts ?
Offline