Advanced Search  
Advanced Search


Pages: [1]
Print
Author Topic: Need Google Fonts to support Latin Extended Scripts Fonts  (Read 1653 times)
copierx
Offline Offline

Posts: 2



« on: July 15, 2012, 09:25:34 AM »

Hi,

I need to set google fonts to support  latin extended.

I have already add latin ext. suported fonts to vertex google font file. i can select them from vertex backend. Still not show correctly following fonts.

Like:  ğ,ş,?,?

Thanks in advance.


template : Corporate Response
joomla ver.  : 2.5.6
Logged
hiflyhigh
Offline Offline

Posts: 1



« Reply #1 on: September 28, 2012, 07:46:00 PM »

Hello mate,

try to do next, find this string in your index.php file (in my template it's on line 35)

?php if(($s5_fonts_highlight != "Arial") || ($s5_fonts_highlight != "Helvetica")|| ($s5_fonts_highlight != "Sans-Serif")) { ?>
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=<?php echo $s5_fonts_highlight ?>" />
<?php } ?>

and insert this &subset=latin,latin-ext  just after <?php echo $s5_fonts_highlight ?>

so it should look exactly like this:

?php if(($s5_fonts_highlight != "Arial") || ($s5_fonts_highlight != "Helvetica")|| ($s5_fonts_highlight != "Sans-Serif")) { ?>
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=<?php echo $s5_fonts_highlight ?>&subset=latin,latin-ext" />
<?php } ?>

This little trick worked for me, but maybe good people from Shape5 have more elegant solution .

P.S.
S5  Thank you for great template(s)  Smiley
Logged
Pages: [1]
Print

Jump to:  


Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Page created in 0.044 seconds with 18 queries.