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

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 10-19-2012, 01:42 PM   #46
Man Eating Duck
Addict
Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.
 
Posts: 253
Karma: 69784
Join Date: May 2006
Location: Oslo, Norway
Device: Kobo Aura, Sony PRS-650
Quote:
Originally Posted by Jellby View Post
I don't understand this... do you mean you are entering the "ff" ligatures explictly (using the Unicode code points for them)? That's strongly not recommended, you should write "ff" as two separate letters, and let the renderer/font use the ligature if possible and available.
Of course not, it's probably the doing of Indesign's font-mangling and ADE trying to render ligatures anyway. I get it with some other fonts that I tested as well, while ADE 1.7.2 displays everything fine. The problem is easily fixed by replacing the font files with non-destroyed ones.

Last edited by Man Eating Duck; 10-19-2012 at 01:53 PM.
Man Eating Duck is offline   Reply With Quote
Old 10-20-2012, 02:44 AM   #47
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,193
Karma: 4800739
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
After seeing the result, it looks like InDesign removes the ligature from the font, but keeps the information that there's a ligature... As far as I know, ADE will only render a ligature if it exists in the font, i.e., if it is defined there; so the font output by InDesign has the definition of the ligature, but the glyph is blank (which is a stupid bug, if you ask me). A possible workaround, if you somehow want to keep the mangled font, would be to include the explicit ligature characters somewhere in the book (possibly where they are not visible), hopefully that will force InDesign to include the ligatures in the mangled font, but you'd need to check all available ligatures.

ADE 1.7 probably works fine because it doesn't try to render ligatures at all.
Jellby is offline   Reply With Quote
 
Enthusiast
Old 10-20-2012, 07:11 AM   #48
Man Eating Duck
Addict
Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.
 
Posts: 253
Karma: 69784
Join Date: May 2006
Location: Oslo, Norway
Device: Kobo Aura, Sony PRS-650
Quote:
Originally Posted by Jellby View Post
After seeing the result, it looks like InDesign removes the ligature from the font, but keeps the information that there's a ligature... As far as I know, ADE will only render a ligature if it exists in the font, i.e., if it is defined there; so the font output by InDesign has the definition of the ligature, but the glyph is blank (which is a stupid bug, if you ask me). A possible workaround, if you somehow want to keep the mangled font, would be to include the explicit ligature characters somewhere in the book (possibly where they are not visible), hopefully that will force InDesign to include the ligatures in the mangled font, but you'd need to check all available ligatures.

ADE 1.7 probably works fine because it doesn't try to render ligatures at all.
Yup, I believe that's spot-on, it would not be the first stupid bug in their epub export

I think the safest option is to replace the font, but I'll test your workaround out of curiosity when I get back to work Monday. Indesign CS 4 had a bug where it wouldn't include the font at all if it wasn't defined in a paragraph style, so we for instance included an empty paragraph styled with italic. This is probably a similar issue, although ADE 2.0 should've handled it gracefully.
Man Eating Duck is offline   Reply With Quote
Old 10-20-2012, 07:32 AM   #49
Man Eating Duck
Addict
Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.
 
Posts: 253
Karma: 69784
Join Date: May 2006
Location: Oslo, Norway
Device: Kobo Aura, Sony PRS-650
Quote:
Originally Posted by theducks View Post
You must be really old
All the metal type I set in High School was variable (OK about 4 distinct) widths. Ligatures as shown above, tuck adjacent characters in under the previous. (saving space ?)
@theducks: Actually I've never set any type, but working as a techie in a publishing house tends to make these kinds of facts seep in. Being incurably curious doesn't help

I know that types had different widths (m and l, for instance), but are you saying that the same type, ie an 'f', came in different widths? I still don't understand how you could make something like the ligature below width separate types?

Man Eating Duck is offline   Reply With Quote
Old 10-20-2012, 08:39 AM   #50
pdurrant
The Ghost Mouse
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 32,154
Karma: 88613766
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
Quote:
Originally Posted by Man Eating Duck View Post
@ElMiko:As Jellby said, only the typographic ligatures are likely to cause issues.

Here are a couple of screenshots displaying the problem, my workaround is to replace the Indesign-embedded fonts with healthy ones and disable obfuscations, I've actually made a tiny cmd script to do that. The working version with a healthy font is on the right, you can also see that ligatures are rendered correctly in that one.
How interesting the Adobe have fallen into the trap while subsetting a font for an ebook that was raised and resolved in a few hours on a recent thread here discussing how best to implement font subsetting for ebooks. (The correct solution being. that all ligatures or swash characters that only contain characters included in the book's text should be included in the subset. Because it's impossible to tell which ones the renderer might want to use.)
pdurrant is offline   Reply With Quote
Old 10-20-2012, 10:27 AM   #51
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,841
Karma: 5654321
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by Man Eating Duck View Post
@theducks: Actually I've never set any type, but working as a techie in a publishing house tends to make these kinds of facts seep in. Being incurably curious doesn't help

I know that types had different widths (m and l, for instance), but are you saying that the same type, ie an 'f', came in different widths? I still don't understand how you could make something like the ligature below width separate types?
No, different lcharacters had different widths, just as you stated.
(I set both Hot and Cold type in High school. I was going to learn plate making, but I graduated )
theducks is online now   Reply With Quote
Old 10-22-2012, 10:31 AM   #52
Man Eating Duck
Addict
Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.
 
Posts: 253
Karma: 69784
Join Date: May 2006
Location: Oslo, Norway
Device: Kobo Aura, Sony PRS-650
Quote:
Originally Posted by Jellby View Post
A possible workaround, if you somehow want to keep the mangled font, would be to include the explicit ligature characters somewhere in the book (possibly where they are not visible), hopefully that will force InDesign to include the ligatures in the mangled font, but you'd need to check all available ligatures.
Including the actual ligature glyphs in a separate paragraph seems to work. I'm still not trusting the Indesign-generated fonts completely though, who knows what other problems might surface
Man Eating Duck is offline   Reply With Quote
Old 10-23-2012, 09:18 AM   #53
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,193
Karma: 4800739
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Be sure to include all existing ligatures that do not have a standad Unicode codepoint: ct, Th, fj...
Jellby is offline   Reply With Quote
Old 10-23-2012, 09:48 AM   #54
Man Eating Duck
Addict
Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.
 
Posts: 253
Karma: 69784
Join Date: May 2006
Location: Oslo, Norway
Device: Kobo Aura, Sony PRS-650
Quote:
Originally Posted by Jellby View Post
Be sure to include all existing ligatures that do not have a standad Unicode codepoint: ct, Th, fj...
Ah, so they would also have to be included if they are part of the font? This question might not make sense (I'm not used to editing fonts), but is there a simple way of seeing which ligatures exist in a font, even if they don't have a Unicode point? Alternatively, is there a comprehensive list somewhere I could use as a starting point?

Thanks a lot for your assistance, by the way
Man Eating Duck is offline   Reply With Quote
Old 10-23-2012, 12:39 PM   #55
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,193
Karma: 4800739
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by Man Eating Duck View Post
is there a simple way of seeing which ligatures exist in a font, even if they don't have a Unicode point? Alternatively, is there a comprehensive list somewhere I could use as a starting point?
I don't think there's any comprehensive list... a font can define its own ligatures, I could (if I create a font) even decide that "two" should look like "2", i.e., I would define a ligature of t+w+o, and copy the glyph for "2" there, and then "artwork" would look "ar2rk".

For checking which ligatures are actually defined, I don't know if there's a better method, but I'd open the font in FontForge and look at the ligature tables. But FontForge is not very intuitive (and I'm no expert).
Jellby is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
epub code snippets (html / css) zelda_pinwheel ePub 179 10-05-2012 06:37 PM
Importing css in html files shotsky Conversion 6 07-14-2012 05:34 PM
HTML/CSS for (German) s p a c e d o u t emphasis frabjous Workshop 21 05-16-2011 04:52 PM
Small html/css bug twaits Calibre 5 01-12-2010 10:26 AM
HTML and CSS for Dummies weedfreak Sigil 17 01-07-2010 09:34 PM


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


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