Meanwhile, I've been working a lot with the NOOK Color and noticed that it was mangling my headlines, putting hyphens in even though I don't want them, and even cutting off the end of words sometimes. This despite using the standard CSS hyphen controls that I explained in this article here in February.
The standard CSS for controlling hyphens is not currently supported by NOOK Color, but thankfully, there was a guy from B&N on Mobile Read who offered a solution. Non-standard CSS, but a solution nonetheless. He says you can add:
adobe-text-layout: optimizeSpeed;
in order to force NOOK Color to use an older RMSDK which has a text engine which doesn't do hyphenation.
I added it to the rules for the headers in my book and it worked like a charm:
And it doesn't seem to have a deleterious affect in iBooks (or indeed, any effect at all):
We wait with baited breath for the announcement of your latest offering!
ReplyDeleteThank you for this info Liz. Thank you, Thank you, and did I say Thank you? My hair should begin to grow back in now.
ReplyDeleteA Struggling Self-Publisher (but struggling less each day).
Is there a resource that has more adobe-specific CSS like this?
ReplyDeleteAnd, UGH :)
I wouldn't mind the hyphenation so much, but it hypehnates wherever it damn well pleases; I have a client who has "Bartlett" in his title name, and it hyphenates "Bartle-tt." ??? Between Nook (ADE) and Apple, it's enough to make you leap out a window. --Hitch aka booknook.biz
ReplyDeleteSo this also fixes the following situation:
ReplyDeleteThe word "[W]ith" was breaking on the ']', so that "[W]" would be at the end of one line and "ith" at the beginning of the next. This CSS also keeps that break from happening. Looks like it's more than just hyphenation that was in the new update.
This property is better suited for hyphenation control:
ReplyDeleteadobe-hyphenate: none | explicit | auto
You should be able to set it on individual spans if you want to disable hyphenation. adobe-text-layout: optimizeSpeed uses lower quality typography and it is not recommended.
hrmmm there's also the mozilla implementation of the css hyphen property... I'm not sure what the Nook's ebook reader is implemented with, obviously not webkit, possibly mozilla? ... worth a try:
ReplyDelete-moz-hyphens: none;
Scratch my previous comment about hyphens and nook touch. Things work fine.
ReplyDelete@sorotokin, @chris:
ReplyDeleteThe "adobe-hyphenate: none | explicit | auto" doesn't work in NookColor at ALL; and the speed-optimize doesn't work with anything other than plain text; in headers, if you have tried to use anything at all for initial caps, or any small tags, the lines break constantly. As NookColor doesn't support the small-cap font-variant, it's a giant PITA. This RMSDK release has been nothing but agita.
You are a lifesaver, as usual! Thanks!
ReplyDelete