Quote:
Originally Posted by Karellen
I am attempting to embed the Quicksand font into an epub3 file, to use on headings and the title page.
https://fonts.google.com/specimen/Quicksand
I note that it is a "Variable" font which contains all the font styles in a single file.
When using it in the epub3 on a Libra2, the styling defaults to "Light" instead of the needed "Bold" and I cannot access any heavier modes.
Is this because the Libra2 does not handle variable fonts?
Surprisingly I couldn't find an answer here on the forum or the fonts wiki page.
|
Not all devices support variable fonts. But to set the bold style, try:
font-weight: 800;
If you want normal weight, try:
font-weight: 400;
And if you want to set a "light" weight, then try:
font-weight: 300;
Maybe there is a font definition that is overwritting your new style. If the above doesn't work, try adding the !important sufix.
Kobo Libra should support variable fonts; try with .kepub extension instead of .epub.