10-29-2016, 03:13 AM | #46 | |
Bookmaker & Cat Slave
Posts: 11,495
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
My point is, if a client has a specific retail target, e.g., iBooks, sure. Or a fxl-mobi, ditto. But for a wide-distribution book? Oh, nooooooooooo, I don't think so, not unless they are adventurous of spirit. :-) Hitch |
|
10-29-2016, 04:26 AM | #47 | |
frumious Bandersnatch
Posts: 7,536
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
|
|
10-31-2016, 12:48 AM | #48 | |
Wizard
Posts: 2,304
Karma: 12587727
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
Although as you mentioned, I suspect the Narrow No-Break Space is even less widely available than just the normal Thin Space. I just used BabelMap to see which fonts have it on my computer: 318 Non-Breaking Space 46 Thin Space 34 Narrow No-Break Space I would be interested in someone with a thousands of fonts (like Hitch) to give a more comprehensive look at ~ how many of these fonts support the rarer spacing characters. Or to do more extensive testing on actual devices. Side Note: For French (France), there are also other Typographical rules with Thin/Non-Breaking/Normal spaces around either side of certain punctuations. This question/answer also goes into some details: https://french.stackexchange.com/que...-the-technolog (Although while doing research, I ran into odd edge cases of: "(?)" + "[?]" still having zero spacing between the three punctuation marks.) Side Note #2: I actually went looking into this and ran across the "Unicode Line-Breaking Algorithm" specs: http://www.unicode.org/reports/tr14/ very interesting stuff. I had assumed (wrongly) that the Unicode Thin Space was already Non-Breaking (like Thin Spaces in LaTeX). I can't seem to think of any cases in English typography where you would use the Thin Space and WANT it to break there (besides Maths)... although maybe I have just been hanging around in the wrong circles. Side Note #2: According to the above link, it seems like there is a large class of characters that could also have specific overrides in Line-Breaking rules dependent on Language/Locale. OR there can also be Program-specific overrides. For example: I plopped this into LibreOffice/Word/InDesign/HTML: Code:
This is a sample sentence with Unicode « Thin Spaces. » This is a sample with Mr. Jones in a sentence. (Thin Space between Mr. + Jones). Test #1: « + THIN SPACE + Thin Test #2: Spaces. + THIN SPACE + » Test #3: Mr. + THIN SPACE + Jones InDesign CC 2015 + Notepad++: Test #1: stayed attached. Test #2: stayed attached. Test #3: stayed attached. Microsoft Word 2010: Test #1: stayed attached. Test #2: stayed attached. Test #3: DID NOT stay attached. LibreOffice + Firefox + Chrome + Sigil Previewer: Test #1: DID NOT stay attached. Test #2: stayed attached. Test #3: DID NOT stay attached. Internet Explorer 11 + Sigil Code View: Test #1: DID NOT stay attached. Test #2: DID NOT stay attached. Test #3: DID NOT stay attached. I suspect ereaders should implement more intelligent types of Line-Breaking override rules as well... although again, I haven't done any extensive testing. (And maybe they tweak the algorithm when you add lang="fr" or "lang="fr-CA"... although I doubt it). :P Side Note #3: I flipped LibreOffice to French, and as you type it Auto-Corrects and inserts a Non-Breaking Space between « ». Nothing besides an ordinary space around the outside edges. Side Note #4: This type of niggling with spacing could also be taken care of at the Font/Kerning/Program/Justification level. Side Note #5: Have fun explaining that stuff to your mom, eggheadbooks1. "You thought there was just one space? There are MILLIONS! One is normal, one is tiny, and one is even tinier. And then there is big, big, and bigger! Oh, and these are only different when you reach the end of line! Oh, and these only stretch when you turn on Justification, but the others MUST STAY THE SAME SIZE!" Normal Human: "All I see is a BLANK spot." You: Last edited by Tex2002ans; 10-31-2016 at 01:22 AM. |
|
10-31-2016, 01:33 AM | #49 | |
Read, don't parrot.
Posts: 224
Karma: 110242
Join Date: Apr 2011
Device: Kindle Fire, Kobo Touch, Aldiko for Android
|
Quote:
Actually, once I read it twice (pun intended) I got the idea, though I think I'd be the normal human at the end saying, "I just see a blank space." Where I could see using the thin non-breaking space would be when you have italics followed by regular punctuation, for example: He asked, "Do you really want to go there?" Too often the italicized word leans too far into the question mark and looks squished. In a print publication one would just increase the distance between the two characters (in this case the e and the ?). How ereaders display similar text would depend on the font and how the device/app handles word spacing in a justified paragraph. |
|
10-31-2016, 02:39 AM | #50 | |
Wizard
Posts: 2,304
Karma: 12587727
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
The Font itself should have Kerning info for the: ! + ”, ? + ”... but not many (?) do. Or intelligent layout systems like LaTeX apply an "italic correction" to handle that problem. Side Note: I could swear Jellby discussed the Keming problem in detail a few years back in the "Where do I Put the font EULA" topic: https://www.mobileread.com/forums/sho...d.php?t=225310 (We all went off on a big tangent discussing Fonts + other fun stuff... or maybe I am just imagining things ). Definitely a sore point are these hard edge cases. A lot of the time in Print that is just where you go in and muck it up with manual fixing... but those types of solutions don't work when the Font + Font Size + tons of other variables can be changed. |
|
Tags |
em value, image scaling, inline image |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
TOC problem - AZW3 and MOBI do not show inline H2 | hrvojej | Conversion | 2 | 06-06-2016 04:29 PM |
Glo Image problem | Andrew Ashling | Kobo Reader | 18 | 12-12-2012 03:24 PM |
Adding a scaleable inline image within a paragraph | ryntau | ePub | 4 | 02-03-2012 12:20 PM |
Creating epub with inline block problem | Gerlyn | ePub | 5 | 12-22-2011 02:59 PM |
HTML to EPUB Inline Text/Image Issue | HoushaSen | Conversion | 2 | 07-02-2011 09:03 PM |