Bug 361070

Summary: No icon for .woff and wrong icon for .eot font files.
Product: [Plasma] Breeze Reporter: Uri Herrera <uri_herrera>
Component: IconsAssignee: visual-bugs-null
Status: CONFIRMED ---    
Severity: normal CC: justin.zobel, kainz.a, kde, lewatoto, mail
Priority: NOR Flags: uri_herrera: Usability+
Version First Reported In: master   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
URL: http://i.imgur.com/HzywHxR.png
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Uri Herrera 2016-03-28 03:12:11 UTC
Dolphin doesn't display an icon for .woff files and uses an unrelated icon for .eot files. I filed it against Dolphin but this happens in every other application.

.woff font files mimetype is application/font-woff
.eot font files mimetype is: application/vnd.ms-fontobject

Using the file names for .woff files:
1. application-font-woff 
2. application-x-font-woff 

Don't load an icon. 

And using this for e.ot files:
1. application-vnd.ms-fontobject

Doesn't change the icon either.


Reproducible: Always

Steps to Reproduce:
1. Open Dolphin.
2. Got to a folder with .woff and .eot font files in it.
3.

Actual Results:  
.woff font files don't have an icon.
.eot font files use application-octet-stream.

Expected Results:  
Font files would use an icon.

Like I mentioned I've tried changing the names of files in the mimetypes folder to those above but nothing changes. Dolphin does seem to recognize .woff files as it displays information in the status bar about the file but it says unknown for .eot files.
Comment 1 Julian Steinmann 2018-04-17 14:36:02 UTC
Can confirm this with Dolphin 17.12.3.
Comment 2 Justin Zobel 2021-03-13 00:19:59 UTC
I've just downloaded https://filesamples.com/samples/font/woff/OpenSans-Regular.woff and the issue seems to be resolved for that filetype.

However, the eot file still doesn't show an icon.
Comment 3 lewatoto 2023-04-07 04:29:52 UTC
It seems that eot fonts are only supported in IE (https://caniuse.com/eot) and since this one has already been discontinued, I don't think it's necessary to add the icon for this mimetype, but if necessary I could link to the one used for the other fonts.