WordPress.org

Support

Support » Plugins and Hacks » Suggestion: limit glyphs to reduce size

Suggestion: limit glyphs to reduce size

  • Hi,

    I love your plugin. Great UI. I just wanted to suggest something for future versions.

    Fonts are generally a decent size to load, usually around 50k. One thing that I learned about Google fonts is that you can limit the glyphs that you load by appending certain syntax (see below). Numbers and letters are good enough, especially if the font is only going to be used for headings. I don’t have the exact numbers, but it cuts the file size by a decent amoutn, without having to give up much.

    <link href='http://fonts.googleapis.com/css?family=Gochi+Hand&text=1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz%20' rel='stylesheet' type='text/css'>

    http://wordpress.org/extend/plugins/wp-google-fonts/

  • The topic ‘Suggestion: limit glyphs to reduce size’ is closed to new replies.