[lazarus] Work being done

Marc Weustink Marc.Weustink at cuperus.nl
Thu Feb 17 06:57:55 EST 2000


+ From: Alexander Mehlhorn (AHM) [mailto:support at tritontools.com]

+ So is there any way to find out how they handled the fonts
+ and worked around the drawing problem or is the real problem
+ something else ?

Nope, I just did a check yesterday and mwEdit does 2 nasty things:

1 - For every line of source they (re)create 4 (or 5) fonts.

2 - They render all lines alltough only say 22 lines can be drawn.

+ According to the description of the creating of a font everytime
+ the style changes I could imagine a very slow process.

It is !

+ The highlighter: I have not seen the source of the current
+ one but I am wondering if all methods are declared as virtual
+ instead of dynamic ...

I can't remember, I only know that I didn't get a warm feeling when I saw
the code ;-)

+ If the font is not the problem then something else has to be.

For now I'll go for the font and I'm thinking of a way to add a kind of a
fontcache into the CreateFont API

Marc






More information about the Lazarus mailing list