[Uml-devel] Fonts and Zooming

Luis De la Parra Blum lparrab at gmx.net
Wed Feb 19 13:45:11 UTC 2003


On Wednesday 19 February 2003 13:26, Mathias Meyer wrote:
> Hey guys,
>
> I'm working with current CVS version (1.2-alpha) for now and the first
> thing that came just popped into my eyes were those nasty fonts when the
> canvasview is zoomed. CVS log of umlview.cpp agrees with that, but isn't

I guess I'll have to take the blame for that one...
I'm not sure why this happens, but I guess what the CanvasView does, is just 
to draw normal and then apply the transformation matrix to the rendered 
picture before dumping the image into screen.
The only way to fix it that I can think of, is to zoom manually.. ie, do our 
own transformations for drawing the rectangles, lines and such things, and 
then setting the font to an appropiate size before drawing.... 
that of course is easier said that done.

luis




More information about the umbrello-devel mailing list