Inserting Unicode thin space changes line height

Thanks to participants to this forum, I found yesterday a very efficient way to create a shortkey in order to insert thin spaces in a text I am writing with Pages.


As I am starting to do it, however, I am confronted with another issue, that is not related to the way I do it, but to the Unicode insertion itself.


Let's summarize the issue.


If I insert - through whatever way, for instance by using PopChar - a normal space, breakable (code 0020) or non breakable (code 00A0), everything goes fine and result is exactly what one could expect.


However, when I insert a thin space (code 2009), or another similar shorter space (code 2002, 2003, 2004, etc...), the line height changes, and it is optically noticeable: exactly as it used to happen with some older word processors when introducing an exponent, a wider space is introduced between the line where I insert the thin space and the line above, and one sees the line slightly changing position when it is done (like going down a little bit).


If I would need to insert only a few isolated thin spaces, it would not be a real issue. But since I need to insert many of them, it is a real problem.


Interestingly, the problem only occurs with the insertion of a special space size. And while it happens both with Pages and Word, it does not happen with Mellel.


Of course, I have made sure that PopChar is set to the same font as the one I am using in my text, and not to Lucida Grande - but to no avail.


This presents a serious problem. What can I do? Is there any way to solve that?


If you own both PopChar and Pages, or insert Unicode through any other way, you should be able to reproduce the problem. Try to insert a thin space (code 2009) in the middle of a multiline text, and you will see.


If I would have known earlier, I would have typed my text with Mellel - I had considered it, but didn't do it because I needed to insert pictures with legends below, and this can more easily be done with Pages. Too bad: now I have a 120 page long text I am revising, I need to insert thin spaces at many places around the text for typographical reasons (it is a text in French), and I am stuck with an irritating problem. It will still take me three days to revise my text, and after that I will insert the thin spaces through a few bulk changes where it is typographically required, but I am wondering if this will be possible without creating irregular line spacing, which would be ugly.


Any suggestion to solve the problem most welcome! A solution had been found to solve my first question yesterday, so I still feel hopeful for an answer to this one too!

MacPro 2.8 GHz, Mac OS X (10.6.6)

Posted on Oct 4, 2011 1:40 PM

Reply
4 replies

Oct 4, 2011 1:55 PM in response to Tribulatio

I just want to share an hypothesis: maybe actually the thin space just does not exist in several fonts, and thus automatically Lucida Grande is used, which could explain the problem? Just an hypothesis, that came to my mind when I made a test with Nisus Writer Pro on a text written with Book Antiqua: at the time of inserting the thin space, I got a warning that the character does not exist in Book Antiqua, and would be substituted with Lucida Grande. Maybe a wrong track, but I just wanted to share this observation, in case it can help to find a solution.

Oct 4, 2011 2:59 PM in response to Tribulatio

Tribulatio wrote:


maybe actually the thin space just does not exist in several fonts, and thus automatically Lucida Grande is used, which could explain the problem?


That is exactly right. To see which fonts do have the thin space, do Edit > Special Characters, View = Code Tables, Tab = Unicode, range = 00002000 General Punctuation, select 2009 and look below in the Font Variation pane.


I am puzzled why Mellel would not have the same problem, will need to check that...Perhaps because it is especially designed for bilingual texts using different fonts.


PS In Pages, have you tried the options at the bottom of Inpector > Text > Text > Spacing > Line to see if Exactly or one of the others helps?

Oct 4, 2011 3:36 PM in response to Tom Gewecke

Indeed. It works with some fonts - I had not idea it was possible to find a list of font variation panels providing such details, thank you very much for the explanation. Thus I am limited to a few fonts, but at least there are a few working.


AND: your remark about text spacing set to "exactly": IT is GENIAL! It just works! If text spacing is set to "exactly" instead of "multiple", the problem is solved, I can insert the thin space without having the change in line height, whatever the font.


I am impressed by your knowledge: you have solved another problem that had taken me hours without solving it! (And this probably explains also why it works fine with Mellel.)


You have been helpful once again, many thanks!


By the way, I have attempted to create alternate keyboard with Ukelele for testing the Hair Space (200A) and Narrow No Break (202F), I thought I had succeeded, since it worked initially, but apparently it is no longer the case. Probably a mistake I did at some point. I had thought I had understood how to do it, but obviously my feeling of success was premature!

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Inserting Unicode thin space changes line height

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.