06-21-2018, 11:21 PM | #1 |
Enthusiast
Posts: 43
Karma: 100000
Join Date: Jun 2018
Device: none
|
All text slanted (set in certain embedded fonts)
Hi there, I've been trying to figure this out by myself, thought I had it but nay.
The issue first arose with Linux Libertine ( http://libertine-fonts.org/download/ ), in the Calibre viewer all text set in Linux Libertine was slanted (all passages, with no overrides, regardeless wether they were set to font-style normal or italic... on top of that they were oblique or slanted). When the same EPUB was opened in ADE the result was terrible (i's were missing their dots, and j's were missing entirely). The Epub in question was created through Indesign CC. I then used an OTF version and everything was solved. Now I used Baskervald ( http://arkandis.tuxfamily.org/adffonts.html ) for another project. Had the exact same problem, but it already is an OTF, so... ¿any ideas? On the up side, when opened in ADE the Epub shows as it should. Thanks in advance. |
06-22-2018, 01:01 AM | #2 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Post a sample epub showing the problem.
|
Advert | |
|
06-22-2018, 08:28 AM | #3 |
Enthusiast
Posts: 43
Karma: 100000
Join Date: Jun 2018
Device: none
|
Long time fan here
I will do so as soon as possible (I only have internet access in my mobile right now, though I'll see if I can use it as a hotspot). In addition: I suspect it has something to do with Indesign's font subsetting (at least my googling suggested as much). Update: Just tried replacing the subsetted file with the original file. Problem solved... But I still want to know what is it that Calibre interpretes as "this font must be slanted". I've found this to be a somewhat common issue with embedded fonts in Sigil and Calibre. I'll upload the font, the subsetted font and the subsetted exported font ASAP. |
06-22-2018, 08:37 AM | #4 |
Enthusiast
Posts: 43
Karma: 100000
Join Date: Jun 2018
Device: none
|
*****
Last edited by Land_Outcast; 06-22-2018 at 08:44 AM. |
06-22-2018, 08:43 AM | #5 |
Enthusiast
Posts: 43
Karma: 100000
Join Date: Jun 2018
Device: none
|
Here they are.
|
Advert | |
|
06-23-2018, 01:18 AM | #6 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
It doesn't have anything to do with calibre. Font interpretation in the view components of both sigil and calibre is done by Qt WebKit. You'd have to ask the Qt developers why that happens. Also since WebKit is used by lots of ebook renderers, it's probably not a good idea to use the font subsetting in Indesign. Instead use the font subset tool in the calibre editor or the calibre Polish books tool
|
06-23-2018, 03:48 AM | #7 |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
|
06-23-2018, 08:07 AM | #8 | |
Enthusiast
Posts: 43
Karma: 100000
Join Date: Jun 2018
Device: none
|
@kovidgoyal: I'll head over to Qt and see if someone there can shed light on this.
And thanks for this: Quote:
As far as I've investigated, Indesign does not offer embedding without subsetting, so perhaps the most efficient way is embedding them with Indesign, then swapping for the complete fonts with Calibre, and then polishing. @DoctorOhh: Certainly, the subsetted one isn't a valid font file. On the other hand, the exported subsetted is recognized by my system as a valid font file (albeit it looks off, by which I mean the specimen shows everything set in Arial, as if there were no glyphs available). |
|
06-23-2018, 08:50 AM | #9 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibre is capable of embedding fonts as well, so you can do both steps after exporting.
|
07-02-2018, 03:50 PM | #10 |
Enthusiast
Posts: 43
Karma: 100000
Join Date: Jun 2018
Device: none
|
Well, embedding said font with Calibre (without subsetting) yields the same results: all text is slanted.
When the font is embedded (be it through Indesign or Calibre, subsetted or not) the resulting text is slanted. When the reader retrieves the font from elsewhere, it is not. Last edited by Land_Outcast; 07-02-2018 at 05:11 PM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Embedded fonts | Hendrixxxxxxxx | Sigil | 8 | 01-25-2016 03:35 AM |
Embedded fonts | frogette | ePub | 2 | 08-01-2014 02:23 PM |
Glo Kobo fonts naming conventions and embedded fonts | roger64 | Kobo Reader | 0 | 05-09-2013 06:30 AM |
Troubleshooting PW embedded fonts? | morrow | Amazon Kindle | 12 | 11-15-2012 07:17 PM |
Embedded fonts, Calibre, and choice of fonts | AlexBell | ePub | 8 | 05-30-2010 06:00 AM |