2 misc patches

Subject: 2 misc patches
From: Nils Barth (nils_barth@post.harvard.edu)
Date: Thu Aug 16 2001 - 10:20:11 CDT

The first of these patches fixes a transposition error in the code
(I kept getting an assert when exporting to LaTeX or KWord, since we
don't have importers for these -- this was the reason)
[oh, and it adds a FIXME doc somewhere else]

The second of these patches adds a LOT of page sizes -- basically all
the metric page sizes (4A, 2A, A0-A10, 4B, 2B, B0-B10, C0-C10).
Also, B4 had the wrong dimensions in our code; this fixes it.

However, it
at present, since the `File->Page Setup...' dialog can't deal with
this many page sizes, at least not on GNOME.
This is because it presents them as simply a popup menu, which doesn't
work if you have 40-50 page sizes: in the case of GNOME, the menu
doesn't fit on the screen, at least with my settings, and the menu
doesn't scroll.
In any case, with this many page sizes, we need to rework the UI a
little, since a flat list becomes a little overwhelming.
I'd suggest something like MS Word's current (?) font list:
a scroll box, together with most common page sizes at the top.
The `most common' page sizes could be either:
recently used page sizes
locale-specific common page sizes
Maybe best would be `recently used', but seed the list with
locale-specific ones:
For the US, I'd suggest `Letter, Legal, (some common envelope sizes)';
for the rest of the world, I'd suggest `A4, B5, (some common envelopes: C5?)'


This archive was generated by hypermail 2b25 : Thu Aug 16 2001 - 10:10:49 CDT