Subject: Re: commit: Fixed the last of the screen artifacts. (fwd)
From: Thomas Fletcher (thomasf@qnx.com)
Date: Fri Jun 01 2001 - 09:47:02 CDT
On Fri, 1 Jun 2001, Patrick Lam wrote:
>
> Fixed the last of on screen dirt. The only remaining dirt comes from bogus
> fonts like Times-New-Roman italic "f" which extends left underneath the
> previous character.
>
> Martin
Excuse me, but I think that this represents a serious mind
set problem. There is absolutely nothing "bogus" about
the fact that some characters and their ligatures may
extend above/below other characters.
The bogus factor is the mind set that AbiWord was created
with in that all characters are a fixed width, and as a
result you end up with very bad clipping when text is
highlighted and things are not always properly re-drawn
because the engine doesn't have enough information to
properly redraw.
Each character (at a minimum) should have a metric
associated with it that indicates 1) A base width which
can be used for highlighting 2) An extention before and
after this base width which is used to properly re-draw
characters which might be affected by any draw operations.
Thomas
-------------------------------------------------------------
Thomas (toe-mah) Fletcher QNX Software Systems
thomasf@qnx.com Neutrino Development Group
(613)-591-0931 http://www.qnx.com/~thomasf
This archive was generated by hypermail 2b25 : Fri Jun 01 2001 - 09:45:29 CDT