Quote:
Originally Posted by odt2epub
Setting @font-family in CSS to specific properties like Arial or Verdana had no effect on my test output. It seems that only generic families sans and sans-serif are supported. Can anyone confirm that? It would be hugely dissapointing though...
|
That's the only safe way of doing it. ADE is used on dedicated devices that generally only come with basic fonts. If you want to use a specific font for a certain book then embedding it is the best solution.
The input should really avoid making assumptions about fonts and stick to the 'sans' and 'serif' generic options if nothing is embedded (even for desktop machines, you can't assume that all variants of Linux will recognise Arial, for instance). If you're looking to code a way to to convert documents which haven't followed this rule, then it's probably enough just to set up a table to covert the 'web-safe' font names (Arial, Times, Verdana, etc) to their generic alternatives.