Re: Unicode labels, fonts for components?



On Mon, 21 Jan 2008 20:40:54 -0800, Roedy Green <see_website@xxxxxxxxxxxxxxxxxxxx> wrote:

But mostly I just want to know how to get my arrow characters to display
properly. :)

You can do a setFont for any font installed. So long as it has
unicode support for the chararters you want, you should be in good
shape.

Well, there are certainly fonts installed (and ubiquitous enough) that include the characters I want. But they seem not to be used by default, and I'm confused by your own advice as to whether I can actually use them or not. See below...

See http://mindprod.com/applet/fontshower.html
to preview what various font capabilities are.

see also http://mindprod.com/jgloss/font.html#LOGICAL

Thanks!

According to this link, the font being used on Windows should be "Lucida Sans". And sure enough, the characters I want are not in that font, in spite of your statement on the page that "these Java logical fonts support many more characters than most fonts". Apparently the arrows are not among the "miscellanous symbols" included :(...in fact, looking at the font, at least according to the Character Map application, the font has relatively few characters in it, and no Chinese characters at all (something your page specifically mentioned as being included).

Interestingly, there's also a "Lucida Sans Unicode" font installed that _does_ have the arrows (but no Chinese characters still).

But: your page also says that I can only use the five Java logical fonts with an AWT control. This conflicts with your statement above, "You can do a setFont for any font installed". Can I actually do that? Or am I, as the web page says, restricted to the five Java fonts?

Pete

p.s. By the way, that page took forever to load in Opera, and never did finish downloading the last of 85 images (the brower's status shows it stuck at "Image: 84/85"). Not sure if you're concerned about that or not.
.



Relevant Pages

  • The font "Arabic Transparent" (artro.ttf) is invalid
    ... This font, when installed, causes WEFT to crash. ... Error code Message Details ... I2100 Characters in a unicode range are present in the font, ...
    (microsoft.public.windowsxp.general)
  • Re: apostrophe with space in Word
    ... Helvetica as known in the computing world didn't get going until Apple included it in the Mac Operating system. ... Because it became so popular, Microsoft decide to add to their font collection, but because it was patented they decide to create their own version. ... So it may help to explain that the Unicode character set now defines about ... important to know the answer to the question "How many glyphs (characters) ...
    (microsoft.public.mac.office.word)
  • Re: Russian language support
    ... Actually in our previous test we didnt do language transition properly ... bytes, or if in Unicode, just a string of 2-byte values, each of which is ... it selects a font to use to display ... TTF fonts in Windows CE map Unicode characters into suitable glyphs. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: How to set menu shortcuts, and fonts?
    ... So instead of appending a shortcut letter in parentheses I used ... In Vista this doesn't work. ... In Vista the title bar and menu bar are in Meiryo and are antialiased even at font size 9. ... (Somehow foreign versions of XP understand a default font of MS Gothic and they use a different font instead, which works if only Italian characters are used in the captions. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Russian language support
    ... The characters in Unicode are just values. ... Whether a given font that you ... A glyph is a drawing ...
    (microsoft.public.windowsce.platbuilder)