Re: Special characters
Re: Special characters
- Subject: Re: Special characters
- From: Aki Inoue <email@hidden>
- Date: Thu, 10 Nov 2005 16:11:00 -0800
You can enter 'x' + U+0300 from the Character Palette.
Yes, I mistyped. It is U+0305.
However, I'm not sure you'd be able to use combining marks to form
all what you need. Therefore, I think the best thing to do is to
just create an image (e.g. vector-based PDF that you could scale)
and display that next to your field.
Cocoa can handle all combining characters in U+0300 ~ U+03FF range
with majority of letter characters in Unicode.
Aki
On Nov 10, 2005, at 5:38 PM, Neil Baylis wrote:
I hope I can explain this adequately..
In my UI, I have some text fields that present statistical values
to the
user. E.g., mean, standard deviation, etc. Next to each field is a
text
label that explains what the field represents. It's just static text,
doesn't change.
How do I put a special symbol in that label? I looked in the special
characters menu, but it only has a limited set. E.g., is there a
way I could
put an x-bar symbol in there to represent the statistical mean?
Usually,
this is represented by a lower case x with a bar above it.
I just looked into the Mathematical Symbols category when viewing
All Characters in the palette and it doesn't have what you're
looking for either.
For the specific case of statistical mean, you can get clever and
use a Latin small-letter x followed by the combining overline
character:
U+0078 U+0305
I just tried this out (I added those characters to my .strings
file) and it does show up correctly using the System font (Lucida
Grande).
However, I'm not sure you'd be able to use combining marks to form
all what you need. Therefore, I think the best thing to do is to
just create an image (e.g. vector-based PDF that you could scale)
and display that next to your field.
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden