freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] Downscaling of rendered bitmaps?


From: Werner LEMBERG
Subject: Re: [ft-devel] Downscaling of rendered bitmaps?
Date: Sat, 12 Mar 2016 08:03:30 +0100 (CET)

> So Werner and me have been discussing a possible TARGET_MEDIUM in
> secret and he pointed out that the often fitted-to-full-pixels
> TrueType fonts could simply be rendered as overscaled bitmaps and
> scaled down to get a "slight" to "medium" look.

Mhmm, it's not *that* simple, I think, since you should somehow assure
that, say, the ascender height gets aligned to an integer value if
possible.

> ft_smooth_render_generic() can produce bitmaps 3x the y-size when I
> set vmul to true, but do I assume correctly that I need to *write* a
> function to scale it back down?

Yes, AFAIK, since you can't use a colour filter in the non-LCD
direction.


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]