Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 09-03-2015, 08:14 AM   #1
Phssthpok
Age improves with wine.
Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.
 
Posts: 558
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
Zero-width non joiner vs. zero width space?

If I have a list of items separated by slashes, first/second/third, I want to be able to allow line breaks after a slash. The zero-width space and zero-width non-joiner characters both seem like good candidates.

According to the Unicode spec, the zero-width space "is not a visible separation, but it may expand in passages that are fully justified." However, it seems that the same is true of the ZWNJ as well (at least on the Kindle), which also shows up as a visible space between characters in justified text.

Is this another Kindle rendering bug, or is it normal behaviour? If it's normal behaviour, is there something else I could use that it guaranteed never to be expanded into a space in justified text (i.e. a "soft line break" character)?
Phssthpok is offline   Reply With Quote
Old 09-03-2015, 10:39 AM   #2
theducks
Well trained by Cats
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: 29,813
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A

This is not a Calibre question.
This in not a Calibre Editor question. The Editor is simply a tool to put a batch of characters into a valid e-book format.

It is a generic (uni)Coding question. (The question was not 'How do I insert" or 'The Editor does not show this correctly')

It will stay here for now. At least until someone else determines what Format/Writing forum it really belongs in.

I suspect from the wording, the closest MR fit is Kindle format.

Please don't blame the tools for device feature deficiencies.
theducks is online now   Reply With Quote
Advert
Old 09-06-2015, 03:36 AM   #3
Phssthpok
Age improves with wine.
Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.
 
Posts: 558
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
Yeah, I couldn't figure out where to ask this either. I thought this was a good place because lots of people ask things like "how do I centre a paragraph" and other HTML formatting stuff. I asked here because I am editing a book and trying to find the right way to achieve a particular formatting effect -- namely, a "soft line break" that will not be expanded into a visible space within a line of text.
Phssthpok is offline   Reply With Quote
Old 09-06-2015, 03:45 AM   #4
Phssthpok
Age improves with wine.
Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.
 
Posts: 558
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
BTW: further testing seems to confirm that this is indeed a Kindle rendering bug. So I will continue to format things using &zwnj's and try to find a Kindle-specific forum where I might be able to get a sensible answer.
Phssthpok is offline   Reply With Quote
Reply

Tags
unicode characters


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bug with zero-width space Unicode Peter Ahlstrom Sigil 8 02-28-2014 03:34 AM
Page width question volpo Calibre 2 05-24-2013 04:32 PM
Full width images. jayleavitt Sigil 6 04-06-2013 12:27 AM
Page Width kobo2010 Kobo Reader 4 05-10-2010 08:14 PM
Using the width attribute crutledge Workshop 8 07-06-2009 05:10 AM


All times are GMT -4. The time now is 09:29 AM.


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