December 6th, 2007 • 10:43 am
Depending on the font face and size setting that you are using, Pages’ text rendering engine can suffer from some rather problematic behaviours. Here is one that I encountered this morning.
I had a paragraph of left-aligned text in Times New Roman size 11 pt in a Pages document and I was typing text near the end of a line in the paragraph:
It just so happened that the last word that I had just typed (“site”) was almost perfectly aligned with the edge of the right margin, as can be seen in the picture above.
So then I just hit the Space bar once to insert a space and was about to type the next word when I noticed something strange:
Pages had indeed inserted the space, but for some reason the blinking “I-beam” cursor was still located right after the final “e” of “site.” Not notincing that the space was there and thinking I had just not hit the Space bar properly, I hit it again. And again. And again. Nothing seemed to happen. What was going on here?
That’s when I realized that there was indeed a single space (the pale blue dot) after the final “e” of “site,” but that for some reason Pages was drawing the “I-beam” cursor at the wrong place.
And indeed if I continued typing more text, Pages continued on the next line and everything appeared to be fine.
But then I went back to this situation that I had just encountered and tried to explore it more closely. And here’s what I saw. This is the situation when the I-beam cursor is just after the “e” of “site,” without a trailing space:
And here’s exactly what I get after pressing Space once in this situation:
Pages has inserted a space, but the I-beam cursor is still right after the “e” of “site.” Yet it behaves as if it were after the space, i.e. if I press Delete then, Pages deletes the trailing space and leaves the I-beam cursor in the same spot, which is now its actual location.
Even more strange, if I press the Space key repeatedly in order to insert several space characters, Pages does seem to insert them, but only in some invisible, off-screen domain. The multiple spaces do not appear either at the end of this line or at the beginning of the next. But they are registered somewhere, because I then press the Delete key, I have to press it multiple times, i.e. the exact same number of times I have pressed the Space key, in order to delete all these invisible space characters.
It is very weird. You should be able to reproduce this yourself with the following Pages document:
Just open this document, place your insertion point (I-beam cursor) at the very end, right after the “e” of “site,” and try to type one or more space characters. You should be able to see what I see.
Needless to say, I am submitting this as a bug report via Bug Reporter right away.