On Mar 28, 2007, at 17:23 UTC, Kirk Gray wrote:

> Interesting.  What font are you using?  Does it do the same in other 
> fonts?

I was using the system font.  But I would expect it to work in any font
on OS X, given the automatic font substitution.

> I ask because, by definition, an em-space for any given font should  
> be the same width as the letter 'm' in that font.  (And an en-space  
> should be the same width as the letter 'n'.)

It's just a little bit longer than a letter "m", but of course that's
much better than the space character, which is about half as wide.

And I see that it is somewhat font-dependent; copying some of that text
and pasting it into a Firefox field (which is theoretically monospaced)
produces an indent almost as wide as two m's.

> Also by definition, an em-space, en-space and simple space should all
> be the same width in a mono-spaced font.

Right.  Apparently the monospaced font I'm using doesn't have that
chararcter, so OS X is substituting one from another font, which comes
out a bit wider.

> So I'm asking, is this behavior a font thing (based on the font  
> you're using) or a RealBasic thing?

It's certainly not a REALbasic thing, which is simply drawing the
characters as the OS draws them.  It's an OS thing.  But if it works on
all the major OSes, then I'm fine with that.

Best,
- Joe

--
Joe Strout -- [EMAIL PROTECTED]
Verified Express, LLC     "Making the Internet a Better Place"
http://www.verex.com/

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to