, October 05, 2007 2:09 PM
To: Dave Williss
Cc: freetype@nongnu.org
Subject: Re: [ft] FreeType artefact
there is no best value to distribute, because ideally, the opacity
levels given in a
FreeType pixmap must be interpreted as linear color space coefficients.
which means
that the distribution depends
there is no best value to distribute, because ideally, the opacity
levels given in a
FreeType pixmap must be interpreted as linear color space coefficients.
which means
that the distribution depends on the background and text colors you're going
to use.
To be more precise to do gamma-correct
That brings up a good question.
It's been a while since I poked around in our code that uses FreeType,
but as I recall, we render to grayscale bitmaps and use the gray levels
as an alpha value to combine the requested color with the existing
image. I've never been 100% happy with the way it
I uploaded new image, so maybe it's easier to diagnose:
http://66.232.119.162/img/fontbug.PNG Artefact appear only if draw
text over background. If white background then no problems.
Aah, we are getting nearer. It seems that the algorithm you use to
draw on a coloured background needs some
I call 2 functions to draw text: [...]
For detailed studying I need something which compiles out of the box,
and which doesn't use a graphics system. Please use the `example1.c'
file from the FreeType tutorial as a template.
Werner
___
Hi,
I use FreeType in my application (Windows XP). It seems to work well at
begining, but after few minutes of using the software text become very low
quality. You can see bad and good text here:
http://66.232.119.162/img/fontbug.PNG
Please advice what's wrong? Same code produce different text
I use FreeType in my application (Windows XP). It seems to work well
at begining, but after few minutes of using the software text become
very low quality. You can see bad and good text here:
http://66.232.119.162/img/fontbug.PNG Please advice what's wrong?
Same code produce different text
It looks to me like the text was rendered at the smaller size and then
later zoomed up using a nearest-neighbor algorithm. I would look at the
rescaling of the bitmap.
Buu Hao Tran wrote:
Hi,
I use FreeType in my application (Windows XP). It seems to work well
at begining, but after few