[wp-trac] [WordPress Trac] #64114: Several themes include `eot` versions of the Genericons font

WordPress Trac noreply at wordpress.org
Mon Oct 20 04:42:43 UTC 2025


#64114: Several themes include `eot` versions of the Genericons font
---------------------------+-----------------------------
 Reporter:  peterwilsoncc  |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Bundled Theme  |    Version:
 Severity:  normal         |   Keywords:
  Focuses:  performance    |
---------------------------+-----------------------------
 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:


 {{{#!css
 @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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64114>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list