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

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRiver Story

Notices

Reply
 
Thread Tools Search this Thread
Old 03-20-2010, 06:45 PM   #1
radub
Junior Member
radub began at the beginning.
 
radub's Avatar
 
Posts: 6
Karma: 10
Join Date: Mar 2010
Device: iRiver Story
iRiver Story: Epub with diacritics

Hello all,
I have some .rtf files which contain diacritics. Since the iRiver can't use them, I converted them to epub with Calibre 0.6.45 (under Linux). The Ebook Viewer shows the diacritics correctly for both the rtf and the epub, and I can also see them in another Linux software that displays epubs called Okular. But on the iRiver the diacritics are replaced by question marks.
Any advice on how to fix this? I can see diacritics on the iRiver, but not where needed.
radub is offline   Reply With Quote
Old 03-20-2010, 07:09 PM   #2
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
This is most likely due to the default font used by mobile Adobe Digital Editions. Almost all vendors are using Adobe's provided font, and it does not include many glyphs.

On some devices it is possible to provide your own fonts for mobile ADE (with a small addition to each ePub's CSS), but I don't recall reading about anyone doing this for the iRiver. The other option is to embed a font in the ePub. For a recent discussion of this, see Esperanto characters?
wallcraft is offline   Reply With Quote
Old 03-20-2010, 08:29 PM   #3
radub
Junior Member
radub began at the beginning.
 
radub's Avatar
 
Posts: 6
Karma: 10
Join Date: Mar 2010
Device: iRiver Story
I've read that, then I went here, but it didn't worked. Next thing is to embed fonts into the epub, but Calibre doesn't do that yet, and this method isn't practical for hundreds of books (if it works, that is...)
I'll try this tomorrow.
radub is offline   Reply With Quote
Old 03-20-2010, 09:01 PM   #4
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 radub View Post
I've read that, then I went here, but it didn't worked.
For this to work you need to know what to use in place of the Sony's "Data/" on the iRiver. On the Hanlin V3/V5 it is "abook/" and on the Nook it is "sdcard/". All these are related to how the internal memory or SD card are normally named on the device, but to find the right name for mobile ADE requires luck and detective work.
wallcraft is offline   Reply With Quote
Old 03-20-2010, 09:33 PM   #5
radub
Junior Member
radub began at the beginning.
 
radub's Avatar
 
Posts: 6
Karma: 10
Join Date: Mar 2010
Device: iRiver Story
Well, the iRiver has a "font" directory on its internal storage (when mounted), but I have no idea what's the real path for it. iRiver runs Linux, I'll try to loopmount a firmware and see where is that folder...
Also: Calibre didn't embedded my custom css! I had to embed it by hand.
Is this css sane, in your opinion?
Code:
@font-face {
  font-family: "Biolinum";
  font-weight: regular;
  font-style: regular;
  src: url(res:///font/Biolinum.ttf);
}

body {
  font-family: "Biolinum", default;
}

Last edited by radub; 03-20-2010 at 09:34 PM. Reason: typo
radub is offline   Reply With Quote
Old 03-21-2010, 12:57 AM   #6
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
For embedding fonts in the ePub, see How to embed fonts in ePub after Calibre. Note that it does not require the "res:///", because the fonts are located relative to the CSS file within the ePub.

It might be possible to reference the system font directory, but it is more useful to reference a font directory that is user accessible. On the Bookeen Opus (for example) both might be possible, see Fonts directory for Calibre -> External CSS. It is using "mnt/fat/" as the location for the internal memory (accessible by the user, i.e. where the ebooks go). Every device seems to use a different file location convention, and which locations are legal after "res:" depends on how mobile ADE is configured by the vendor.
wallcraft is offline   Reply With Quote
Old 03-23-2010, 04:13 PM   #7
radub
Junior Member
radub began at the beginning.
 
radub's Avatar
 
Posts: 6
Karma: 10
Join Date: Mar 2010
Device: iRiver Story
Ok, here's something funny: I looked inside the firmware and found 2 fonts. Guess what, both have my much-needed diacritics! But why they don't display them, is a mystery to me.
I'd just like to say that I made my troublesome epub from a rtf file, would the encoding of the rtf be an issue? The .rtf is ansi-1252, not utf-8. Maybe the iRiver can't read ansi? When Calibre converts to epub, does it keep the encoding of the source?
radub is offline   Reply With Quote
Reply

Tags
calibre, diacritics, epub, iriver story, rtf

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Iriver Story Valio iRiver Story 191 10-14-2011 04:22 AM
My iRiver Story sceadugenga Which one should I buy? 4 08-19-2010 04:35 PM
ePub doc created with Calibre is not showing polish characters in iRiver Story mareksuski Calibre 10 03-11-2010 08:39 AM
Iriver Story Epub cyrillic problem peppers Calibre 1 03-09-2010 05:46 PM
iriver story or ? scribblenauts Which one should I buy? 1 01-05-2010 09:28 AM


All times are GMT -4. The time now is 08:37 PM.


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