WordPress.org

Ready to get started?Download WordPress

Forums

WP Google Fonts
Suggestion: limit glyphs to reduce size (1 post)

  1. Ron L
    Member
    Posted 1 year ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.