Quote:
Originally Posted by rkomar
One of the weaknesses with choosing fonts is that you have to spell the name exactly as the system sees it. Try using the "Configuration->Appearance->Interface font" tool to see that your font is available, and what exact name it appears under (including any spaces). It may not be "LexiaDaMa", but something similar like "Lexia DaMa". Using that exact name (with quotes around it if it contains spaces) for "font-family:" in your .calibre block should cause it to be used. You probably don't need the "@font-face:" blocks at all for system (i.e. non-embedded) fonts.
In the above, I assumed that you copied your fonts to the /mnt/ext1/system/fonts directory already.
|
rkomar, you are absolutely right, the name of the font in the internal system is "Lexia DaMa". So I have tried just tweaking the epub in calibre, adding the line
Code:
font-family: "Lexia DaMa", serif;
in the .calibre block, but it did not work.
So I tried with the "full" version of the code, but removing the "src" line, and it did not work either (and yes, the fonts are where they should be, and indeed they are found even when fonts are not embedded). But perhaps I haven't fully understood your suggestion.