03-20-2010, 05:45 PM | #1 |
Junior Member
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. |
03-20-2010, 06:09 PM | #2 |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
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? |
Advert | |
|
03-20-2010, 07:29 PM | #3 |
Junior Member
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. |
03-20-2010, 08:01 PM | #4 | |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
Quote:
|
|
03-20-2010, 08:33 PM | #5 |
Junior Member
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 08:34 PM. Reason: typo |
Advert | |
|
03-20-2010, 11:57 PM | #6 |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
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. |
03-23-2010, 03:13 PM | #7 |
Junior Member
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? |
Tags |
calibre, diacritics, epub, iriver story, rtf |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Iriver Story | Valio | iRiver Story | 193 | 04-17-2016 10:15 AM |
My iRiver Story | sceadugenga | Which one should I buy? | 4 | 08-19-2010 03:35 PM |
ePub doc created with Calibre is not showing polish characters in iRiver Story | mareksuski | Calibre | 10 | 03-11-2010 07:39 AM |
Iriver Story Epub cyrillic problem | peppers | Calibre | 1 | 03-09-2010 04:46 PM |
iriver story or ? | scribblenauts | Which one should I buy? | 1 | 01-05-2010 08:28 AM |