Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 03-23-2010, 04:52 PM   #1
odt2epub
Member
odt2epub began at the beginning.
 
Posts: 14
Karma: 20
Join Date: Jan 2010
Location: Copenhagen, Denmark
Device: Sony PRS-505
Fonts in Adobe Digital Editions

Hey,

does anyone know what fonts ADE supports out of the box?

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

If this is true, what do you do in this situation? Is embedding fonts the only solution?

Knowing a specific font family, I could at least specify serif or sans-serif as a fallback value. But the process is automated, and how can one tell by the font's name whether it's sans or serif?
odt2epub is offline   Reply With Quote
Old 03-23-2010, 06:42 PM   #2
dmapr
Addict
dmapr composes epic poetry in binary.dmapr composes epic poetry in binary.dmapr composes epic poetry in binary.dmapr composes epic poetry in binary.dmapr composes epic poetry in binary.dmapr composes epic poetry in binary.dmapr composes epic poetry in binary.dmapr composes epic poetry in binary.dmapr composes epic poetry in binary.dmapr composes epic poetry in binary.dmapr composes epic poetry in binary.
 
Posts: 262
Karma: 90958
Join Date: Sep 2009
Device: PRS-950, Kobo Aura HD
You may want to read http://www.mobileread.com/forums/showthread.php?t=36361 for an alternative to font embedding.
dmapr is offline   Reply With Quote
 
Advertisement
Old 03-23-2010, 08:19 PM   #3
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,979
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3 and Fire
Quote:
Originally Posted by odt2epub View Post
It seems that only generic families sans and sans-serif are supported. Can anyone confirm that?
Yes. The default is serif and the only alternatives are sans-serif and monospace. These are all Adobe provided fonts, that don't have wide unicode coverage. As dmapr says, you can redefine the defaults on a PRS-505 by modifying the firmware - or just access user-provided fonts (placed on the device by the user) via each ebook's CSS.

Some fonts have serif and sans serif variants, which shows up in the font name. So far as I know, there is no way to otherwise tell if a font is serif or sans serif. This is really a continuum anyway, from the plainest sans serif to the fanciest serif.
wallcraft is offline   Reply With Quote
Old 03-23-2010, 08:24 PM   #4
odt2epub
Member
odt2epub began at the beginning.
 
Posts: 14
Karma: 20
Join Date: Jan 2010
Location: Copenhagen, Denmark
Device: Sony PRS-505
Thanks.

I'm working with ODT as the source format, and XHTML as the intermediate one, so it seems I've found solution for my case, but it's not universal:
http://xml.openoffice.org/servlets/R...dev&msgNo=3357
odt2epub is offline   Reply With Quote
Old 03-24-2010, 02:54 AM   #5
charleski
Wizard
charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.
 
Posts: 1,188
Karma: 727236
Join Date: Sep 2009
Device: PRS-505
Quote:
Originally Posted by odt2epub View Post
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.
charleski is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Downloading Adobe Ebook pdf files crashes Adobe Digital Editions .... Zevs Sony Reader 2 09-17-2010 01:25 PM
help adobe digital editions jolfc Sony Reader 1 03-16-2010 02:24 AM
New verions of Adobe Digital Editions - Digital Editions 1.7.2 kennyc ePub 0 02-12-2010 07:21 AM
Adobe has new hope for e-books with Adobe Digital Editions Alexander Turcic News 82 01-05-2010 08:14 PM
Adobe Digital Editions raiderkilo Reading and Management 3 11-13-2009 03:07 AM


All times are GMT -4. The time now is 06:29 AM.


MobileRead.com is a privately owned, operated and funded community.