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.
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!
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.
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!