I am experiencing the very same issue on a fresh installation of Kubuntu
21.04. fc-list shows that Fantasque Sans has been installed in multiple
styles, stylistic sets and font formats:

$ fc-list | grep -i fantasque
/usr/share/fonts/truetype/fantasque-sans/LargeLineHeight-NoLoopK/TTF/FantasqueSansMono-Regular.ttf:
 Fantasque Sans Mono:style=Regular
/usr/share/fonts/opentype/fantasque-sans/NoLoopK/OTF/FantasqueSansMono-Bold.otf:
 Fantasque Sans Mono:style=Bold
/usr/share/fonts/opentype/fantasque-sans/LargeLineHeight/OTF/FantasqueSansMono-Italic.otf:
 Fantasque Sans Mono:style=Italic
/usr/share/fonts/woff/fantasque-sans/FantasqueSansMono-Bold.woff: Fantasque 
Sans Mono:style=Bold
/usr/share/fonts/truetype/fantasque-sans/LargeLineHeight-NoLoopK/TTF/FantasqueSansMono-Bold.ttf:
 Fantasque Sans Mono:style=Bold
/usr/share/fonts/opentype/fantasque-sans/Normal/OTF/FantasqueSansMono-Bold.otf: 
Fantasque Sans Mono:style=Bold
/usr/share/fonts/opentype/fantasque-sans/LargeLineHeight-NoLoopK/OTF/FantasqueSansMono-Regular.otf:
 Fantasque Sans Mono:style=Regular
/usr/share/fonts/woff/fantasque-sans/FantasqueSansMono-Regular.woff: Fantasque 
Sans Mono:style=Regular
/usr/share/fonts/opentype/fantasque-sans/NoLoopK/OTF/FantasqueSansMono-Italic.otf:
 Fantasque Sans Mono:style=Italic
/usr/share/fonts/woff/fantasque-sans/FantasqueSansMono-BoldItalic.woff: 
Fantasque Sans Mono:style=Bold Italic
/usr/share/fonts/truetype/fantasque-sans/NoLoopK/TTF/FantasqueSansMono-Bold.ttf:
 Fantasque Sans Mono:style=Bold
/usr/share/fonts/truetype/fantasque-sans/Normal/TTF/FantasqueSansMono-BoldItalic.ttf:
 Fantasque Sans Mono:style=Bold Italic
/usr/share/fonts/opentype/fantasque-sans/NoLoopK/OTF/FantasqueSansMono-BoldItalic.otf:
 Fantasque Sans Mono:style=Bold Italic
/usr/share/fonts/truetype/fantasque-sans/NoLoopK/TTF/FantasqueSansMono-Regular.ttf:
 Fantasque Sans Mono:style=Regular
/usr/share/fonts/truetype/fantasque-sans/LargeLineHeight/TTF/FantasqueSansMono-Regular.ttf:
 Fantasque Sans Mono:style=Regular
/usr/share/fonts/truetype/fantasque-sans/NoLoopK/TTF/FantasqueSansMono-BoldItalic.ttf:
 Fantasque Sans Mono:style=Bold Italic
/usr/share/fonts/truetype/fantasque-sans/LargeLineHeight/TTF/FantasqueSansMono-BoldItalic.ttf:
 Fantasque Sans Mono:style=Bold Italic
/usr/share/fonts/opentype/fantasque-sans/LargeLineHeight/OTF/FantasqueSansMono-BoldItalic.otf:
 Fantasque Sans Mono:style=Bold Italic
/usr/share/fonts/opentype/fantasque-sans/Normal/OTF/FantasqueSansMono-BoldItalic.otf:
 Fantasque Sans Mono:style=Bold Italic
/usr/share/fonts/truetype/fantasque-sans/LargeLineHeight-NoLoopK/TTF/FantasqueSansMono-Italic.ttf:
 Fantasque Sans Mono:style=Italic
/usr/share/fonts/opentype/fantasque-sans/LargeLineHeight/OTF/FantasqueSansMono-Regular.otf:
 Fantasque Sans Mono:style=Regular
/usr/share/fonts/truetype/fantasque-sans/NoLoopK/TTF/FantasqueSansMono-Italic.ttf:
 Fantasque Sans Mono:style=Italic
/usr/share/fonts/opentype/fantasque-sans/LargeLineHeight-NoLoopK/OTF/FantasqueSansMono-Bold.otf:
 Fantasque Sans Mono:style=Bold
/usr/share/fonts/opentype/fantasque-sans/LargeLineHeight-NoLoopK/OTF/FantasqueSansMono-Italic.otf:
 Fantasque Sans Mono:style=Italic
/usr/share/fonts/truetype/fantasque-sans/LargeLineHeight/TTF/FantasqueSansMono-Bold.ttf:
 Fantasque Sans Mono:style=Bold
/usr/share/fonts/woff/fantasque-sans/FantasqueSansMono-Italic.woff: Fantasque 
Sans Mono:style=Italic
/usr/share/fonts/truetype/fantasque-sans/Normal/TTF/FantasqueSansMono-Regular.ttf:
 Fantasque Sans Mono:style=Regular
/usr/share/fonts/truetype/fantasque-sans/LargeLineHeight/TTF/FantasqueSansMono-Italic.ttf:
 Fantasque Sans Mono:style=Italic
/usr/share/fonts/opentype/fantasque-sans/Normal/OTF/FantasqueSansMono-Italic.otf:
 Fantasque Sans Mono:style=Italic
/usr/share/fonts/opentype/fantasque-sans/LargeLineHeight-NoLoopK/OTF/FantasqueSansMono-BoldItalic.otf:
 Fantasque Sans Mono:style=Bold Italic
/usr/share/fonts/truetype/fantasque-sans/Normal/TTF/FantasqueSansMono-Italic.ttf:
 Fantasque Sans Mono:style=Italic
/usr/share/fonts/truetype/fantasque-sans/Normal/TTF/FantasqueSansMono-Bold.ttf: 
Fantasque Sans Mono:style=Bold
/usr/share/fonts/opentype/fantasque-sans/LargeLineHeight/OTF/FantasqueSansMono-Bold.otf:
 Fantasque Sans Mono:style=Bold
/usr/share/fonts/opentype/fantasque-sans/NoLoopK/OTF/FantasqueSansMono-Regular.otf:
 Fantasque Sans Mono:style=Regular
/usr/share/fonts/truetype/fantasque-sans/LargeLineHeight-NoLoopK/TTF/FantasqueSansMono-BoldItalic.ttf:
 Fantasque Sans Mono:style=Bold Italic
/usr/share/fonts/opentype/fantasque-sans/Normal/OTF/FantasqueSansMono-Regular.otf:
 Fantasque Sans Mono:style=Regular

It also turns out, that the font works in some applications like the
systemsettings application or alacritty (installed via Snap) but not in
others like rofi or termite (built from source).

Might it be that some of these files are broken, so that programs using
one font format work fine but others only see the broken font?
Alternatively, the font files themselves could be in order, but the font
configuration pushes a version (maybe woff?) that is not universally
understood by all programs?

As a workaround, I have uninstalled the package and built the font from
source, installing it locally into my account:

$ fc-list | grep -i fantasque
/home/adaephon/.fonts/FantasqueSansMono-Regular.ttf: Fantasque Sans 
Mono:style=Regular
/home/adaephon/.fonts/FantasqueSansMono-Bold.ttf: Fantasque Sans Mono:style=Bold
/home/adaephon/.fonts/FantasqueSansMono-BoldItalic.ttf: Fantasque Sans 
Mono:style=Bold Italic
/home/adaephon/.fonts/FantasqueSansMono-Italic.ttf: Fantasque Sans 
Mono:style=Italic

This not only results in a much shorter list of fonts, but also seems to
work for all applications I have tested until now.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1941615

Title:
  fonts-fantasque-sans font displays numeric codes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fonts-fantasque-sans/+bug/1941615/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to