You are not logged in.
Hey,
I can't get any otb font to show anywhere in any program. I've installed a few otb fonts from the AUR (terminus-font-td1-otbm gohufont-otb, cozette-otb), but none of them work.
I've tried to set the font in GTK applications (gedit, gnome-terminal), there when I look for the font, I see a white entry that I can click (I guess, since the name is supposed to be rendered in the given, it doesn't show up there either, hence the "white" entry), but then, everything disappears in my terminal/gedit editor.
I tried to set these fonts in emacs as well, to no avail.
I know pango support for bdf and pcf bitmap fonts as been removed, and it's written everywhere that otb is the one format than now should work.
I don't know how I can debug this further, and I can't seem to find anyone in my situation.
Thanks for any pointers,
Last edited by Tib05 (2021-02-14 17:34:15)
Offline
pacman -Qs 'freetype|fontconf|harf'Is the problem limited to gtk or does it extend to eg. Qt clients as well?
Offline
local/fontconfig 2:2.13.91+48+gfcb0420-2
Library for configuring and customizing font access
local/freetype2 2.10.4-1
Font rasterization library
local/harfbuzz 2.7.4-1
OpenType text shaping engine
local/harfbuzz-icu 2.7.4-1
OpenType text shaping engine (ICU integration)
local/lib32-fontconfig 2:2.13.91+48+gfcb0420-2
Library for configuring and customizing font access (32-bit)
local/lib32-freetype2 2.10.4-1
Font rasterization library (32-bit)
local/lib32-harfbuzz 2.7.4-1
OpenType text shaping engine (32-bit)
local/lib32-libxft 2.3.3-1
FreeType-based font drawing library for X (32-bit)
local/libxft 2.3.3-2
FreeType-based font drawing library for XIt "seems" to be working in Qt4, in the sense that I can start qtconfig-qt4, select my otb fonts, which preview correctly. When I set them, the entire qtconfig-qt4 window is using the otb font. However, when I close it, it segfaults when I want to reopen it. I've got to delete "~/.config/Trolltech.conf" for it to reopen again.
I mean, qt4 at least comes further than GTK and emacs. But where I really want to get the otb fonts to work is emacs.
Offline
Do you have a coredump for the crashing Qt client? (in doubt run it in gdb, https://wiki.archlinux.org/index.php/De … ing_Traces )
Offline
Yes, I could produce this:
Thread 1 (Thread 0x7ffff6596780 (LWP 95644) "qtconfig-qt4"):
#0 0x00007ffff7988225 in QFontEngineFT::averageCharWidth() const () at /usr/lib/libQtGui.so.4
#1 0x00007ffff78c97fb in QFontMetrics::averageCharWidth() const () at /usr/lib/libQtGui.so.4
#2 0x00007ffff7a8f48d in () at /usr/lib/libQtGui.so.4
#3 0x00007ffff7a8f819 in QLabel::minimumSizeHint() const () at /usr/lib/libQtGui.so.4
#4 0x00007ffff7a8f8e6 in QLabel::sizeHint() const () at /usr/lib/libQtGui.so.4
#5 0x00007ffff76d6fd2 in QWidgetItemV2::updateCacheIfNecessary() const () at /usr/lib/libQtGui.so.4
#6 0x00007ffff76d731e in QWidgetItemV2::maximumSize() const () at /usr/lib/libQtGui.so.4
#7 0x00007ffff76b5fc1 in () at /usr/lib/libQtGui.so.4
#8 0x00007ffff76b69a8 in QBoxLayout::sizeHint() const () at /usr/lib/libQtGui.so.4
#9 0x00007ffff76d32a7 in QLayout::totalSizeHint() const () at /usr/lib/libQtGui.so.4
#10 0x00007ffff76d6fd2 in QWidgetItemV2::updateCacheIfNecessary() const () at /usr/lib/libQtGui.so.4
#11 0x00007ffff76d72ce in QWidgetItemV2::minimumSize() const () at /usr/lib/libQtGui.so.4
#12 0x00007ffff76cbc7e in () at /usr/lib/libQtGui.so.4
#13 0x00007ffff76ccf01 in () at /usr/lib/libQtGui.so.4
#14 0x00007ffff76ce814 in QGridLayout::setGeometry(QRect const&) () at /usr/lib/libQtGui.so.4
#15 0x00007ffff76d3098 in QLayoutPrivate::doResize(QSize const&) () at /usr/lib/libQtGui.so.4
#16 0x00007ffff76d4315 in QLayout::activate() () at /usr/lib/libQtGui.so.4
#17 0x00007ffff76f9434 in QWidget::setVisible(bool) () at /usr/lib/libQtGui.so.4
#18 0x00007ffff76de2ec in QStackedLayout::setCurrentIndex(int) () at /usr/lib/libQtGui.so.4
#19 0x00007ffff76deb63 in QStackedLayout::insertWidget(int, QWidget*) () at /usr/lib/libQtGui.so.4
#20 0x00007ffff7aee127 in QTabWidget::insertTab(int, QWidget*, QIcon const&, QString const&) () at /usr/lib/libQtGui.so.4
#21 0x00007ffff7aee1f9 in QTabWidget::insertTab(int, QWidget*, QString const&) () at /usr/lib/libQtGui.so.4
#22 0x0000555555570af6 in ()
#23 0x00005555555674ca in ()
#24 0x00005555555622c6 in ()
#25 0x00007ffff6dc4b25 in __libc_start_main () at /usr/lib/libc.so.6
#26 0x000055555556258e in ()I'm not sure how I can give more information since qtconfig-qt4 is compiled without debugging symbols. Should I try to supply the core dump in itself?
Oh I just noticed, it says "Floating point exception (core dumped)" actually.
Offline
Did you rebuild Qt4 after recent freetype updates?
What about Qt5 clients?
Offline
No I haven't.
It seems that I solved it now. I'm not sure what was the exact the culprit, but I think removing the folder
~/.config/fontconfig solved it.
I might have had a janky setting there or something.
Anyway, thanks a lot seth.
Offline