03-03-2010, 10:26 AM | #1 |
Member
Posts: 14
Karma: 10
Join Date: Oct 2009
Device: none
|
Esperanto characters?
I have tried various tools for converting from one format to another, such as Calibre and Sigil. I can save in ePub from Open Office but get question marks instead of Esperanto characters, How do I correct that?
|
03-03-2010, 11:00 AM | #2 |
Resident Curmudgeon
Posts: 73,517
Karma: 126422064
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
You could embed a font that has those characters you want.
|
Advert | |
|
03-03-2010, 11:02 AM | #3 |
Evangelist
Posts: 469
Karma: 600816
Join Date: Sep 2009
Device: Kobo Aura HD, Kobo Aura One
|
You need a font that includes the glyphs for these characters. Check the https://www.mobileread.com/forums/showthread.php?t=36361 for information on substituting fonts.
|
03-03-2010, 12:18 PM | #4 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
The problem is probably not the fonts, but the font mapping. Esperanto uses "eastern European" characters which are not in code page 1252, which is what's most commonly used. Works fine in UTF-8, but not in 8-bit character sets unless you use code page 1250 ("central European").
|
03-03-2010, 12:29 PM | #5 |
Member
Posts: 14
Karma: 10
Join Date: Oct 2009
Device: none
|
Esperanto characters?
Hi there and thanks for trying to help but as a novice I'm not sure where I should embed the fonts or even where to get them! I do have EO fonts in windows on my computer. I guess I get them from there so I need to know where to embed. Sorry if I seem ignorant but I don't do much of this.
|
Advert | |
|
03-03-2010, 07:33 PM | #6 |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
I think OpenOffice will use UTF-8 by default for its standard ODT output. So you could try saving in ODT and then converting to ePub using Calibre.
Assuming this isn't enough to get it working with (say) Adobe Digital Editions then you need to embed a Unicode font in the ePub. Practically any Unicode font should support Esperanto. You can test your font by reading the ePub using FBReader (which allows user-specified fonts) and selecting the font from its gear wheel icon and the Styles tag. Once you know it works, I think Sigil can embed a font for you. Any of the GPL licenced fonts at Unicode typefaces should be suitable. |
03-04-2010, 05:44 AM | #7 | |
Member
Posts: 14
Karma: 10
Join Date: Oct 2009
Device: none
|
Quote:
Last edited by pensaro1; 03-04-2010 at 06:36 AM. |
|
03-04-2010, 11:49 AM | #8 |
Wizard
Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
|
An ePub must be in UTF-8. Some readers are more forgiving and don't follow the spec closely, but ADE may well complain. Frankly, I think the best thing is for you to make a short ePub and upload it so we can see what's going on.
No, copy-protecting the ODT will not copy-protect the ePub and will probably just cause more problems. Forget about copy-protection unless you have $$$$$$ to spend on a content server for a DRM-scheme that's already cracked. |
03-04-2010, 05:30 PM | #9 |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
|
03-05-2010, 07:53 AM | #10 | |
Member
Posts: 14
Karma: 10
Join Date: Oct 2009
Device: none
|
Quote:
|
|
03-05-2010, 08:11 AM | #11 |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
If there are no copyright issues, just attach the epub to a post.
I don't think there is any doubt that the problem is with the default Adobe Digital Editions font. If you want to solve this problem for all devices (i.e. have your ePub work everywhere) then you need to embed a font in the ePub. If you just want to read on your own Reader, then it may be possible to copy a font to the device and slightly modify the ePub's CSS to use that font without actually embedding it. Any Unicode font that is licensed to allow embedding will likely do, see Unicode typefaces and look in the table for a named license type (GPL, OFL, ...). I think all you need is Latin Extended-A, so any of these fonts will work. Last edited by wallcraft; 03-05-2010 at 08:17 AM. |
03-05-2010, 01:48 PM | #12 |
Member
Posts: 14
Karma: 10
Join Date: Oct 2009
Device: none
|
I have come to the conclusion that the problem is with ADE but for what its worth I am attaching the 2 files I created. Perhaps I'll follow this up with Adobe but its not now so important. I will also check out the fonts as suggested. Thanks to everyone for advice.
|
03-05-2010, 06:59 PM | #13 |
Wizard
Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
|
The problem lies with the plugin you're using to create the epubs.
Firstly, it's not creating a valid structure with all the necessary components. Secondly, it's doing something screwy with the encoding that is stopping ADE from recognising it (I noticed the xhtml was endoded without its BOM, which may be part of the issue). I recreated the epub in Sigil and the characters show fine in ADE. My advice is to ditch this plugin and use something else, Sigil or Atlantis. |
03-05-2010, 09:37 PM | #14 | |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
Quote:
Code:
@font-face { font-family: "Charis"; font-style: normal; font-weight: normal; src:url(../fonts/font004.ttf); } @font-face { font-family: "Charis"; font-style: normal; font-weight: bold; src:url(../fonts/font001.ttf); } @font-face { font-family: "Charis"; font-style: italic; font-weight: normal; src:url(../fonts/font003.ttf); } @font-face { font-family: "Charis"; font-style: italic; font-weight: bold; src:url(../fonts/font002.ttf); } body { font-family: "Charis" } |
|
03-06-2010, 02:54 AM | #15 |
Wizard
Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
|
The characters in question are not included in ADE's encoding set (as specified in appendix D of http://www.adobe.com/devnet/pdf/pdfs/PDFReference16.pdf), so you have to embed a font for the glyphs. The problem is that despite embedding a font in the epub he posted the characters still don't show up, even though the font is being used. The plugin's output is mangled in some way that is confusing ADE.
Given that the plugin is also messing up some other things (there's no ncx file and the opf is missing required metadata entries) I don't think it's worth using. |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Simple Esperanto ePub conversion script? | amuzulo | ePub | 10 | 03-06-2010 02:54 PM |
Esperanto characters | pensaro1 | Other formats | 5 | 10-17-2009 08:40 AM |
Children Andersen, Hans Christian: Fabeloj (Esperanto), v1, 1 Septembro 2008 | Kravejs | Other Books | 0 | 09-02-2008 08:00 AM |
Romance Baghy, Julio: La verda koro (Esperanto), v1, 31 Augusto 2008 | Kravejs | Kindle Books (offline) | 0 | 09-01-2008 02:26 PM |
Romance Privat, Edmond: Karlo (Esperanto), v1, 31 August 2008 | Kravejs | Kindle Books (offline) | 0 | 09-01-2008 02:19 PM |