Commit -- fix for WYSIWYG printing and display


Subject: Commit -- fix for WYSIWYG printing and display
From: Bruce Pearson (BruceP@wn.com.au)
Date: Fri Jan 07 2000 - 04:12:12 CST


Fix so documents are printed as they are displayed on screen.
Also documents have the same line breaks and page breaks at different zooms.

These are bugs http://www.abisource.com/bugzilla/show_bug.cgi?id=319 and
http://www.abisource.com/bugzilla/show_bug.cgi?id=524;

NOTE: This requires that the fonts used a fully scalable. In WIN32 this
required that only TrueType fonts are used. eg. In some sample documents
'courier' font is specified. On WIN32 this was actually causing a raster
font to be used which causes problems because raster fonts cannot be scaled
to all sizes. This may also be an issue on other platforms.

The basic approach used is:

        Calculate line breaks and page breaks at a fixed resolution. In this case
1440 DPI.
        Display lines and runs at device resolution.

CVS: ----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: src/af/gr/win/gr_Win32Graphics.cpp
CVS: src/af/gr/win/gr_Win32Graphics.h src/af/gr/win/gr_Win32Image.h
CVS: src/af/gr/xp/gr_Graphics.cpp src/af/gr/xp/gr_Graphics.h
CVS: src/af/gr/xp/gr_Image.cpp src/af/gr/xp/gr_Image.h
CVS: src/af/util/xp/ut_units.cpp src/af/util/xp/ut_units.h
CVS: src/text/fmt/xp/fb_LineBreaker.cpp
CVS: src/text/fmt/xp/fg_GraphicRaster.cpp
CVS: src/text/fmt/xp/fl_BlockLayout.cpp
CVS: src/text/fmt/xp/fl_BlockLayout.h
CVS: src/text/fmt/xp/fl_DocLayout.cpp
CVS: src/text/fmt/xp/fl_DocLayout.h
CVS: src/text/fmt/xp/fl_SectionLayout.cpp
CVS: src/text/fmt/xp/fl_SectionLayout.h
CVS: src/text/fmt/xp/fp_Column.cpp src/text/fmt/xp/fp_Column.h
CVS: src/text/fmt/xp/fp_FmtMarkRun.cpp src/text/fmt/xp/fp_Line.cpp
CVS: src/text/fmt/xp/fp_Line.h src/text/fmt/xp/fp_Page.cpp
CVS: src/text/fmt/xp/fp_Page.h src/text/fmt/xp/fp_Run.cpp
CVS: src/text/fmt/xp/fp_Run.h src/text/fmt/xp/fp_TextRun.cpp
CVS: src/text/fmt/xp/fp_TextRun.h src/wp/ap/win/ap_Win32App.cpp
CVS: src/wp/ap/xp/ap_Dialog_Break.cpp
CVS: ----------------------------------------------------------------------



This archive was generated by hypermail 2b25 : Fri Jan 07 2000 - 04:14:46 CST