• 0
Sign in to follow this  
Followers 0

Google fonts Latin Extended


Question

Posted · Report post

Hello I need google fonts with latin extended 

I tried the hooks, unfortunately does not work

add_filter( 'pagelines_gfont_baseurl', 'make_latinext' );
function make_latinext() {
return '//fonts.googleapis.com/css?v2&subset=latin,latin-ext&family=';
}

 Can you help me please find the right solution?

Share this post


Link to post
Share on other sites

8 answers to this question

  • 0

Posted · Report post

Hi, Can't you just manually install the font ?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi, Can't you just manually install the font ?

it's not exactly comfortable solution, I believe of this problem will also address other users DMS
especially this not solve the problem with the custom fonts in sections

Share this post


Link to post
Share on other sites
  • 0

Posted (edited) · Report post

my temporary solution to the problem:
 
in => dms/editor/editor.typography.php
 
row 49 
from
printf( "<link id='master_font_import' rel='stylesheet' type='text/css' href='//fonts.googleapis.com/css?family=%s'>\n", $gcss );

to
printf( "<link id='master_font_import' rel='stylesheet' type='text/css' href='//fonts.googleapis.com/css?family=%s&subset=latin-ext'>\n", $gcss );

Edited by Donnie Darko

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Editing core files violates your license.  Don't do that. It's not supported.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Editing core files violates your license.  Don't do that. It's not supported.

ok ...so find a working solution for me...

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

ok ...so find a working solution for me...

by the way I wrote it's a temporary solution

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

I understand it's a temporary solution, and Danny provided you with a proper solution that doesn't violate your license, which prohibits editing of core files even temporarily. 

 

If you have a particular font you're trying to use, let us know and we can ask our developers to add it with the next update.  They're pretty good about that.

1 person likes this

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0