[wp-trac] [WordPress Trac] #26072: Bundle the Open Sans font

WordPress Trac noreply at wordpress.org
Mon Dec 2 00:22:37 UTC 2013


#26072: Bundle the Open Sans font
----------------------------+--------------------
 Reporter:  johnbillion     |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  high            |   Milestone:  3.8
Component:  Administration  |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:  ui-focus        |
----------------------------+--------------------

Comment (by dd32):

 Unfortunately, as much as I don't want to rely upon a 3rd party, there
 really isn't any viable option of including Open Sans in core while
 supporting all languages and browsers.
 Fonts (other than SVG) are not designed to have different character
 subsets conditionally served, they're designed for best compression
 assuming they'll never be modified after being built.
 Since we can't just load every subset of the font (due to file size /
 loading times, and some browsers not supporting large files), we'd have to
 include a bunch of permutations of the various files in core.. that'd
 significantly increase the package size past acceptable limits.

 Even with the Google font loading in core right now, it's not ideal for
 non-English character sets, a translation has to specifically state which
 character sets to load - that's not something which should be left to a
 translation.. but it's the best we've got..

 So really.. Web fonts are cool, but unless it's being used as something
 like Dashicons, supporting every browser & language isn't really possible
 for a web application (without relying upon a 3rd party) and they should
 probably look and work with what fonts systems provide them with..

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26072#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list