![]() |
#1 |
momccl
![]() Posts: 7
Karma: 10
Join Date: Jul 2010
Location: southeast
Device: sony ereader, kindle
|
InDesign CS5 to EPUB--greek/coptic in Italic
I am having trouble maintaining the italic formatting on the Greek Times New Roman characters when I export an Indesign book. It exports beautifully for the Kindle, but for some reason does not hold in the EPUB export. I've tried opening the CSS in SIGIL and the span.italic appears to have the correct font-style: italic. I've changed the <span class="italic"> to <i> in the html files and still no change. I've also done this in Dreamweaver and the greek characters are still not italicized. This is a very big deal for many books that I will be working on now. I've also, exported the same book file to .mobi and then used Calibre to see if that would fix it, but nothing I've tried works even after I've unzipped the epub and made changes in the html files. Does anyone have any solutions? This is the only thing holding me up and I've already missed my deadline!!!
![]() |
![]() |
![]() |
![]() |
#2 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
It might be a font problem... Are you embedding fonts? How are you declaring them? Where are you checking the ePUB?
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Literacy = Understanding
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,833
Karma: 59674358
Join Date: Dec 2007
Location: The World of Books
Device: Nook, Nook Tablet
|
It is a mistake in InDesign to use a generic italic or bold character style, like you would use in Microsoft Word. To make the translation to EPUB, it is better, and usually works correctly, if you have a character tag that applies a font-specific italic or bold, such as Palatino Italic rather than simply Italic.
|
![]() |
![]() |
![]() |
#4 |
momccl
![]() Posts: 7
Karma: 10
Join Date: Jul 2010
Location: southeast
Device: sony ereader, kindle
|
Re:
Thanks for your replies!
to jellby--I have also tried using Times New Roman italic character style, but it doesn't work either. to rhadin-- Yes, I am embedding fonts. I've used SIGIL as well as Dreamweaver to edit files and view the CSS. |
![]() |
![]() |
![]() |
#5 | |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
If you are embedding fonts, are you embedding (and declaring) the italic font too? |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
momccl
![]() Posts: 7
Karma: 10
Join Date: Jul 2010
Location: southeast
Device: sony ereader, kindle
|
Quote:
in the CSS: span.italic { font-family: "Times New Roman"; font-weight: normal; font-style: italic; font-size: 0.92em; line-height: 1.20em; text-decoration: none; font-variant: normal; color: #000000; At this point, greek in italics now shows up in ADE, but not on the Sony Reader PRS-600. |
|
![]() |
![]() |
![]() |
#7 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Where and how is the "Times New Roman" family defined? Is it embedded in the ePUB? Is the italic font embedded too?
(If you are going to embed fonts, you'd probably want to embed fonts that are free or allow full embedding in their license) This is what I mean: Code:
@font-face { font-family: "Crom"; src: url("../fonts/Crom_v1.1.ttf") format("truetype"); } @font-face { font-family: "Crom"; font-weight: bold; src: url("../fonts/Crom_v1.1.ttf") format("truetype"); } h1, h2 { font-family: "Crom"; } Note too that, even if you do everything perfect, readers can still have bugs. |
![]() |
![]() |
![]() |
#8 |
momccl
![]() Posts: 7
Karma: 10
Join Date: Jul 2010
Location: southeast
Device: sony ereader, kindle
|
Now, I can see the fonts correctly in ADE, but not on the Sony ReaderPRS-600.
Fonts are declared like this: @font-face { font-family: "Times New Roman"; font-style: normal; font-weight: normal; src:url("Fonts/TIMES.TTF"); } @font-face { font-family: "Times New Roman"; font-style: normal; font-weight: bold; src:url("Fonts/TIMESBD.TTF"); } |
![]() |
![]() |
![]() |
#9 |
momccl
![]() Posts: 7
Karma: 10
Join Date: Jul 2010
Location: southeast
Device: sony ereader, kindle
|
And like this:
@font-face { font-family: "Times New Roman"; font-style: italic; font-weight: normal; src:url("Fonts/TIMESI.TTF"); |
![]() |
![]() |
![]() |
#10 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Do you embed the actual font files? Are those the correct locations (inside the ePUB file)?
|
![]() |
![]() |
![]() |
#11 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 61
Karma: 12096
Join Date: Sep 2010
Location: Tasmania
Device: Sony PRS 650
|
This is really interesting and informative - and if a solution is found I hope it's posted here.
So much to learn! Last edited by Faster; 04-06-2011 at 09:27 PM. |
![]() |
![]() |
![]() |
#12 | |
momccl
![]() Posts: 7
Karma: 10
Join Date: Jul 2010
Location: southeast
Device: sony ereader, kindle
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Export to ePub from InDesign CS5 | gardefjord | ePub | 42 | 10-29-2011 10:42 AM |
Creating ePub files in InDesign CS5 | larlarcook | Workshop | 0 | 12-20-2010 01:30 PM |
EPUB Expert Needed: Cant properly export epub from InDesign | crottmann | ePub | 17 | 08-27-2010 10:23 AM |
ePub for iPad @ Indesign CS5 | Sumeet | Introduce Yourself | 2 | 06-07-2010 10:34 AM |
InDesign and epub | FredD | ePub | 2 | 04-13-2009 08:38 PM |