Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#72212 - [cantarell-fonts] Regular width font missing after upgrade

Attached to Project: Arch Linux
Opened by Areg (mintsoup) - Wednesday, 22 September 2021, 20:25 GMT
Last edited by Andreas Radke (AndyRTR) - Friday, 24 September 2021, 20:08 GMT
Task Type Bug Report
Category Packages: Extra
Status Assigned
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 1
Private No


The updated package seems to be missing the regular width font. I noticed this in emacs when I couldn't set the font's weight to regular, instead only light and bold worked.

Additional info:

Steps to reproduce:
1) Upgrade cantarell-fonts to the latest version
2) Open Emacs
3) Try to use Cantarell regular font
4) Notice it either renders it as light or bold
This task depends upon

Comment by Jan Alexander Steffens (heftig) - Sunday, 26 September 2021, 18:56 GMT
Cantarell works fine for me. I do not use Emacs, though.

~> fc-list | grep Cantarell
/usr/share/fonts/cantarell/Cantarell-VF.otf: Cantarell:style=Bold
/usr/share/fonts/cantarell/Cantarell-VF.otf: Cantarell:style=Light
/usr/share/fonts/cantarell/Cantarell-VF.otf: Cantarell:style=Regular
/usr/share/fonts/cantarell/Cantarell-VF.otf: Cantarell
/usr/share/fonts/cantarell/Cantarell-VF.otf: Cantarell:style=Extra Bold
/usr/share/fonts/cantarell/Cantarell-VF.otf: Cantarell:style=Thin
Comment by Sajjad Heydari (MCSH) - Wednesday, 29 September 2021, 12:35 GMT
This is happening to me on Gnome as well. It shows up in the tweaks font menu but the title fonts is missing.
Comment by Jan Alexander Steffens (heftig) - Wednesday, 29 September 2021, 12:55 GMT
What is title fonts?
Comment by Sajjad Heydari (MCSH) - Wednesday, 29 September 2021, 12:58 GMT
They are set to "Cantarell regular 11"
Comment by Jan Alexander Steffens (heftig) - Wednesday, 29 September 2021, 12:58 GMT
If you just updated, make sure to reboot so the font caches aren't broken.
Comment by Hp.Gisler (hpgisler) - Wednesday, 29 September 2021, 14:11 GMT
I second the bug-report. Since the update to cantarell-fonts 1:0.303-1 the normal :weight is not shown anymore in EMACS (org-mode headers):

'(variable-pitch ((t (:family "Cantarell" :weight normal)))))

--> renders the font in org-mode headers (probably) 'Light'.

Note: I've rebooted the machine - issue remains.
Comment by Areg (mintsoup) - Sunday, 10 October 2021, 16:49 GMT
I checked the files of the package and the new version only has the -VF.otf file, not the -Regular.otf, -Bold.otf, etc ones. Also, I noticed Emacs doesn't render Cantarell Italic either, but renders for example NotoSans Italic fine. What's going on here? Why is only Emacs misbehaving? Isn't fetching fonts the responsibility of system-wide libraries?
Comment by Jan Alexander Steffens (heftig) - Sunday, 10 October 2021, 17:21 GMT
Yeah, we only packaged VF because upstream requested to either package the classic fonts *or* the variable font. The VF is more powerful as it not just contains all the classic weights but can also interpolate between them.

I think Cantarell used to have an italic face at first release, but that got removed quite a while ago when it was revamped.
Comment by Anton Lazarev (antonok) - Wednesday, 27 October 2021, 18:04 GMT
I've also been experiencing this issue; when launching Chromium after compiling from source, any regular-weight UI fonts (which are all Cantarell) are invisible/zero-width.
Comment by Jan Alexander Steffens (heftig) - Monday, 01 November 2021, 21:53 GMT
adobe-source-sans-fonts contains the regular "Source Sans 3" and the variable "Source Sans 3 VF". Is the latter font affected as well?
Comment by Areg (mintsoup) - Thursday, 11 November 2021, 10:38 GMT
Source Sans 3 VF works fine for me - all the weights seem ok. Does that mean there's something wrong with this font? Considering antonok had problems with chromium rendering Cantarell too, I think it's more likely something's wrong with this font.