Package: mgp Version: 1.11b-2 Severity: wishlist Tags: patch In mgp, I've always noticed how vertical space couldn't be reduced. With 1.11 (as opposed to 1.09), it was still worse, and I couldn't fit my source code in the page any more, as a lot of blank space was wasted. Actually, I would even like to have negative vgaps sometimes.
Sticking to the rule that programs shouldn't dictate policy, I think the following patch should be applied, as forcing a minimum vgap (equivalent to "vgap 30" or so in most cases). I left the final "+= 2", although it has no reason to exist, only because I noticed it only after I re-previewed all my slides. I think I'll remove it as well sooner or later. Unfortunately, this change is incompatible, as all presentations will shrink vertically whenever the code tried to set a vgap smaller than the (unknown) default. But presentations use to get broken across releases, unfortunately. This is a serious bug in my view, but I marked it as wishlist because it's incompatible witht he current behaviour. --- mgp-1.11b-2-orig/draw.c 2004-09-07 18:57:42.000000000 +0200 +++ mgp-1.11b-vgap/draw.c 2005-12-20 00:44:05.000000000 +0100 @@ -1049,12 +1049,8 @@ * we should ignore height of images to calculate line gap. * suggested by Toru Terao */ - if (VERT_GAP(char_size[caching]) < state->max_linedescent) - state->ypos += state->max_linedescent; - else - state->ypos += VERT_GAP(char_size[caching]); - - state->ypos += 2; + state->ypos += VERT_GAP(char_size[caching]); + state->ypos += 2; /* Why? */ } #define min(x, y) (x < y ? x: y) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]