Ticket: #68839 Status: CLOSED Average Speed: 4.1 Days
public
Cancel

“Latin-ext subset support”

  • Mikolaj@zacharow.info Zacharow
    Hi. I need to add subset "latin-ext" to fonts - how can I do this? Mikolaj

    11:56 on July 1, 2013

  • BillyKid

    Hi,

    sorry for such late response. right now only option is to slightly modify theme code. Edit file functions.php and serch for code which looks like this (lines 1584, 1585, 1586)

    foreach( $google_fonts as $google_font ) {
    			echo '<link href="http://fonts.googleapis.com/css?family=' . str_replace(' ' ,'+' , $google_font) . '" rel="stylesheet" type="text/css">' . "\n"; 
    }

    and replace it with this one:

    foreach( $google_fonts as $google_font ) {
    			echo '<link href="http://fonts.googleapis.com/css?family=' . str_replace(' ' ,'+' , $google_font) . '&subset=latin,latin-ext" rel="stylesheet" type="text/css">' . "\n"; 
    }

    ther is string added &subset=latin,latin-ext which indicates which subsets should be added. You can change it to &subset=latin-ext if only this subset is needed. 

    Hope this helps You.

    BR

    11:56 on July 5, 2013

Updating...