From: Martin Sevior (msevior@seviorpc.ph.unimelb.edu.au)
Date: Wed Sep 10 2003 - 23:51:15 EDT
CVS:
----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: af/gr/win/gr_Win32CharWidths.cpp
CVS: af/gr/win/gr_Win32Graphics.cpp af/gr/win/gr_Win32Graphics.h
CVS: af/xap/win/xap_Win32FrameImpl.cpp
CVS:
----------------------------------------------------------------------
Fix for windows line breaking. Now runs always break at the same point
no matter what the zoom.
Windows developers please test printing with this. I can't test
printing.
The fix is to embed the size of the unzoomed font in the windows
graphics class, then calculate all font widths from a magnified version
of the font.
This guarantees the same charwidths at all zooms.
The next thing to fix is height of fonts. Right now these are calculated
from the zoomed fonts so they screwed up at different zooms.
Martin
This archive was generated by hypermail 2.1.4 : Wed Sep 10 2003 - 23:02:42 EDT