The Embedded Head HTML is just quite a bit wrong, to start. First, in the file you sent, the <style> tag isn’t closed properly (though the screenshot looks better). But beyond that the code isn’t tied to any font-face element, though it isn’t needed either.
For TypeKit, you can just include the <link ...> tag in the Hype font.
However for your CSS Font-Family, you need that to be a font which is actually referenced. schoolbook-italic is not, but schoolbook is. You may need to generate a different .css or name it differently to work with italic. Alternatively you may be able to get away with using the italic in Hype since that just sets the CSS font-style.
I have read it.
It seems the only way to activate different type styles is by toggling these buttons:
Nothing else seems to work.
Nevertheless, I’m not very satisfied with this solution because I can’t be sure if I’m really using the right font or just a faux style.
Agreed - there’s a lot we’d like to improve about the typography panel.
My recommendation for now would be to create a CSS class in the head html that has the attributes you want and designates them as !important. For example:
Then with a text element selected, set the class name in the identity inspector to schoolbookOverride. You’ll probably not want to have any inner html div/span styling on the text otherwise I don’t think it will count for that.
One quick fix for google fonts that come to mind: a toggle/checkbox on google fonts to add the font to the head or not. Much like JS files. Because adding multiple fonts weights adds multiple loads from Google. They are mostly not needed and the font weights don’t require loading the font multiple times.
That would be good… but also allow us to disable inclusion altogether, too. As there are other optimization like seen here… that might be a nice option to choose from.