On Fri, 1 Jun 2001, Thomas Fletcher wrote:

> 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.
> 

Ok I agree with you and Dom. I have an idea for a work around that should
fix 99% of the character dirt left by such fonts.

I'll try it out.

Cheers


Martin



Reply via email to