Open mjarkk opened 4 years ago
For .woff
files, it looks like there needs to be a change to the .desktop
file adding font/woff
to the MimeType
list, and the same change needs to be made to the .thumbnailer
file in order for thumbnails to generate. I've opened a merge request upstream for this: https://gitlab.gnome.org/GNOME/gnome-font-viewer/-/merge_requests/15
GNOME Fonts does not appear to support .woff2
fonts at all. I see this message when I try to open a .woff2
file:
If you have a .woff2
file that you are able to open in GNOME Fonts, could you provide the output of mimetype [filename]
?
It seems like i was somewhat wrong here.
So i got the fonts from base64 data without any information about the actual font format.
I just named them .woff
but the files where un recognized by gnome so i renamed them to .woff2
and still no luck.
When i manually selected gnome fonts both the file formats opened fine so i kinda expected that the font format for .woff
and .woff2
overlap.
But it seems like gnome fonts checks the minetype and i now can confirm that these files where all font/woff
not woff2
Distribution (run
cat /etc/os-release
): NAME="Pop!_OS" VERSION="20.04 LTS" ID=pop ID_LIKE="ubuntu debian" PRETTY_NAME="Pop!_OS 20.04 LTS" VERSION_ID="20.04" HOME_URL="https://pop.system76.com" SUPPORT_URL="https://support.system76.com" BUG_REPORT_URL="https://github.com/pop-os/pop/issues" PRIVACY_POLICY_URL="https://system76.com/privacy" VERSION_CODENAME=focal UBUNTU_CODENAME=focal LOGO=distributor-logo-pop-osRelated Application and/or Package Version (run
apt policy $PACKAGE NAME
): NoneIssue/Bug Description: if clicked on a file with a
.woff
or.woff2
file extension in gnome files an error message shows up with no software found to open this file format.If i right click on the file and select Open With Other Application the fonts viewer doesn't show up, i need to click on view all applications and from there i can click on the fonts program.
I find this a bit wired because the fonts program is the default program for
.ttf
files so why not for.woff
and why is the program not under the "Recommended Applications"Steps to reproduce (if you know):
0. Have a fresh install version of Pop OS
Expected behavior:
When i click on a
.woff(2)
file opens in the fonts program just like with.ttf
files.Other Notes:
None