Opened 3 months ago
Closed 3 months ago
#64114 closed defect (bug) (duplicate)
Several themes include `eot` versions of the Genericons font
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | |
| Component: | Bundled Theme | Keywords: | |
| Focuses: | performance | Cc: |
Description
The Twenty -thirteen, -fourteen, -fifteen and -sixteen themes each include the Genericons font.
In each of these themes the @font-face definition is split out in to two with something similar to the following, depending on the age of the theme:
@font-face { font-family: "Genericons"; src: url("./Genericons.eot"); src: url("./Genericons.eot?") format("embedded-opentype"); font-weight: normal; font-style: normal; } @font-face { font-family: "Genericons"; src: url("data:application/x-font-woff;charset=utf-8;base64,[...SNIP...]") format("woff"), url("./Genericons.ttf") format("truetype"), url("./Genericons.svg#Genericons") format("svg"); font-weight: normal; font-style: normal; }
In Firefox 144/macOS, this causes the font to be downloaded twice, once as an EOT and once using the inline WOFF file snipped from the code above.
As the EOT font is used to support Internet Explorer 8 and earlier, it can be safely removed without affecting the rendering of the font for anyone using a browser released in the last 14 years.
Change History (3)
Note: See
TracTickets for help on using
tickets.
Already have a ticket and possible patch: #62128