Some Google Fonts missing

Posted in: Newsmag
Post count: 5

I am trying to use of of these two because of their thai language support

https://www.google.com/fonts#UsePlace:use/Collection:Kanit
https://www.google.com/fonts#UsePlace:use/Collection:Prompt

but they are not available from the dropdown list.

Post count: 23312

Hello chrisada,

Unfortunately, we cannot have all existing fonts, sorry! If you want to have these types of fonts please notice that you will have to add them manually in Theme panel, according to this topic here -> https://forum.tagdiv.com/topic/custom-font-2/

Hope this helps!

Thanks for your understanding!

Post count: 5

Sorry, but that is not the right answer at all!

We are talking about Google Fonts here, not custom fonts. The way that these fonts get included in the theme is just by having a list of them, not by actually shipping them as part of the theme.

After some digging, I found the list in \include\wp_booster\td_fonts.php which looks like this:

//google fonts
static $font_names_google_list = array (
1 => ‘ABeeZee’,
2 => ‘Abel’,
3 => ‘Abril Fatface’,
4 => ‘Aclonica’,
5 => ‘Acme’,

728 => ‘Tenali Ramakrishna’,
729 => ‘Tillana’,
730 => ‘Timmana’,
731 => ‘Vesper Libre’,
732 => ‘Yantramanav’
);

All I had to do is add the 2 fonts I wanted as item 733 and 734, and they are available to be selected in the drop-down list. I can then select them as with other Google Fonts, and they work without a hitch.

Post count: 5

I believe the theme probably want to include all the available Google Fonts, of which there are 802 now. (It was probably 732 when the theme was first developed.

It is such a simple thing to do, so I hope we see it in following updates.

Post count: 23312

Hello chrisada,

Please notice that, at this moment, these are the Google Fonts which are available in our theme. Perhaps, in future updates, we will improve this list through adding another google fonts but we cannot say for sure if this will be implemented or not because it depends on developer’s decisions.

Thanks for your understanding!

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newsmag’ is closed to new topics and replies.