[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[gef-dev] Scaling fonts in draw2d Graphics
|
- From: "Tomas Pinos" <tomas.pinos@xxxxxxxx>
- Date: Thu, 17 Oct 2002 10:44:03 +0200
- Delivered-to: gef-dev@eclipse.org
Hi,
I'm currently implementing scaling (~ zooming) for our diagram editor and
I'd like to ask how to handle the fonts. Randy tried to discuss some
"advanced" features like greeking, I have rather basic question.
How to scale a font?
Now I read the font data, scale the font height and create a new font with
the scaled height (if I haven't done it already). Is it possible to do this
for any font? If not, how else should I proceed?
Thanks,
Tomas