Re: Unicode labels, fonts for components?



On Mon, 21 Jan 2008 21:09:45 -0800, "Peter Duniho"
<NpOeStPeAdM@xxxxxxxxxxxxxxxx> wrote, quoted or indirectly quoted
someone who said :

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

I explain all this at http://mindprod.com/jgloss/font.html

the rules are different for
AWT components
AWT drawString
Swing

Then there is the matter of whether you can have anti-aliasing.

Most people use Swing nowadays where you have the most flexibility
with Fonts.
--
Roedy Green, Canadian Mind Products
The Java Glossary, http://mindprod.com
.



Relevant Pages

  • Re: Unicode labels, fonts for components?
    ... with an AWT control. ... Or am I, as the web page says, restricted to the five Java fonts? ... Label l = new Label; ... Windows. ...
    (comp.lang.java.programmer)
  • Re: Yet another limitation of Peered AWT components
    ... > I thought perhaps the problem was that Windows peers could only handle ... > 8-bit fonts, but that does not appear to be the case. ... Maybe it's a gentle incentive from Sun not to use AWT and use Swing instead? ... Prev by Date: ...
    (comp.lang.java.programmer)