Re: Unicode labels, fonts for components?
- From: "Peter Duniho" <NpOeStPeAdM@xxxxxxxxxxxxxxxx>
- Date: Mon, 21 Jan 2008 21:09:45 -0800
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.
.
- Follow-Ups:
- Re: Unicode labels, fonts for components?
- From: Roedy Green
- Re: Unicode labels, fonts for components?
- From: Peter Duniho
- Re: Unicode labels, fonts for components?
- References:
- Unicode labels, fonts for components?
- From: Peter Duniho
- Re: Unicode labels, fonts for components?
- From: Roedy Green
- Unicode labels, fonts for components?
- Prev by Date: Re: check my lotto programs - Lew
- Next by Date: Re: Unicode labels, fonts for components?
- Previous by thread: Re: Unicode labels, fonts for components?
- Next by thread: Re: Unicode labels, fonts for components?
- Index(es):
Relevant Pages
|