Re: commit: Layout horizontally with screen units.

From: Martin Sevior (msevior@physics.unimelb.edu.au)
Date: Fri Jan 24 2003 - 14:42:51 EST

  • Next message: Patrick Lam: "Re: commit: Layout horizontally with screen units."

    On Fri, 24 Jan 2003, Patrick Lam wrote:

    > On Sat, Jan 25, 2003 at 06:28:22AM +1100, Martin Sevior wrote:
    >
    > > I left that in in case we needed to revert.
    >
    > I think that bonsai/cvs are better at capturing this sort of information
    > than leaving the code looking silly; ifdefs make the code harder to
    > maintain, and it's not like anyone's going to go and fix up all the evil
    > hacks left behind 6 months ago; these things just accumulate until no
    > one remembers why they're there anymore.
    >
    > > In any case I think abiword in this mode is much more user-friendly
    > > than when using layoutunits. Text does not extend past the left margin
    > > and there are no more disappearing runs in full justification.
    >
    > There's something I don't understand about font handling and layout units.
    > I'm going to look into it this weekend and see if I can understand it
    > more. Clearly text should not extend into the margins, but neither should
    > it wrap differently when printing.
    >

    We're up against accmulated rounding errors in

    1. Choosing fonts sizes at low resolution.
    2. Actual font widths on screen can be as small as 4 pixels wide when the
    properlay scaled (from a high resolution device) would be say, 4.3 pixels
    3. Low resolution hinting which shifts scaled fonts in a undefined manner.

    Cheers

    Martin



    This archive was generated by hypermail 2.1.4 : Fri Jan 24 2003 - 14:46:29 EST