Re: Commit (HEAD): fix win32 font mess

From: Dom Lachowicz (domlachowicz@yahoo.com)
Date: Thu Oct 09 2003 - 11:15:55 EDT

  • Next message: Dom Lachowicz: "Re: Commit (HEAD): fix win32 font mess"

    Hi Jordi,

    I think that it is a rounding error. Yes, we should
    look into it, but I don't think it should hold back a
    2.0.1 release. It's not a show-stopper.

    Things we could/should possibly do:

    1) Make sure we keep things in logical units until we
    *definitely* need device units
    2) Use floating point arithmetic (though Plam and I
    have doubts about this)
    3) Make sure that our integer math is "stable". For
    example, consider these kinds of cases:

    (11/10)*10 == 10 vs. (11*10/10) == 11

    There's a 1 pixel rounding error, and we're off by 1
    pixel at "Page Width" zoom. Of course, we need to be
    sure that we don't cause an integer overflow at 4.2
    billion.

    Best regards,
    Dom

    --- Jordi Mas <jmas@softcatala.org> wrote:
    > > I don't understand what you're trying to say here.
    > > Your screenshot also doesn't cover the whole
    > AbiWord
    > > window, so I don't even guess at what you're
    > saying.
    >
    > Hola Dom,
    >
    > OK. I have done four screen shots of Abiword and ond
    > Word with the same
    > document in the ame machine at the same
    > configuration:
    >
    > * Abiword 1.02
    > http://www.softcatala.org/~jmas/abi102.jpg
    >
    > * Abiword 2.00 (the latest) using 100%zoom
    > http://www.softcatala.org/~jmas/abi200.jpg
    >
    > * Abiword 2.00 (the latest) using 100 page width
    > zoom
    >
    http://www.softcatala.org/~jmas/abi200-pagewitdth.jpg
    >
    > * Word (how the same document looks in Word)
    > http://www.softcatala.org/~jmas/word.jpg
    >
    > Can you see the difference between how the document
    > looks in Abiword 1 and
    > Abiword 2? Can you see how the page width does looks
    > rare?
    >
    > Abiword 2.00 shows the document very differently to
    > Abiword 1 or Word. I'm not
    > complaining, I'm just saying that it's visually
    > noticeable for me hoping that
    > it helps to fix the problem.
    >
    > I can make more tests if need it.
    >
    > Thanks,
    >
    > --
    >
    > Jordi Mas i Hernāndez (homepage
    > http://www.softcatala.org/~jmas)
    > http://www.softcatala.org
    >
    >
    >
    >

    __________________________________
    Do you Yahoo!?
    The New Yahoo! Shopping - with improved product search
    http://shopping.yahoo.com



    This archive was generated by hypermail 2.1.4 : Thu Oct 09 2003 - 11:32:05 EDT