Includes FreeType code to do 4×4 oversampling
ÿþI f i n d 4 × 4 o v e r s a m p l i n g t o b e e v e n
b e t t e r t h a n F r e e T y p e a n t i a l i a s i n g .
" 4 × 4 o v e r s a m p l i n g w i l l r e n d e r a f u l l
p i x e l e v e n w h e n t i n y p a r t s o f i t a r e
o u t s i d e o f t h e o u t l i n e .
" 4 × 4 o v e r s a m p l i n g d o e s n o t h a v e t h e
p o s i t i o n a l u n c e r t a i n t y o f a r e a
m a t c h i n g , t h e r e f o r e m u l t i p l e o f t h e
s a m e o u t l i n e o n t o p o f e a c h o t h e r d o
n o t l o s e s m o o t h n e s s , a n d i t i s p o s s i b l e
t o s t a c k r e n d e r e d g l y p h s s e a m l e s s l y .
" 4 × 4 o v e r s a m p l i n g h a s t h e s a m e
r a s t e r i z e r a s t h e b i l e v e l r e n d e r e r ,
m a k i n g f o r c o n s i s t e n t r e n d e r i n g , a n d
h a s t h e e x a c t s a m e f e a t u r e s s u c h a s
d r o p o u t c o n t r o l .
" 4 × 4 o v e r s a m p l i n g i s a c c u r a t e
a n t i - a l i a s i n g t o w h a t i s u s e d i n a
s t a n d a r d T r u e T y p e r e n d e r e r , t h e c l a s s i c
G D I r e n d e r e r .
H o w t o d o 4 × 4 o v e r s a m p l i n g ?
" C r e a t e h i n t e d o u t l i n e , l i k e i n
b i l e v e l r e n d e r i n g b u t w i t h a g r a y s c a l e
G E T I N F O
" S c a l e t h e o u t l i n e f o u r t i m e s
h o r i z o n t a l l y a n d f o u r t i m e s v e r t i c a l l y
" R e n d e r b i l e v e l r e n d e r i n g
H o w t o r e p r e s e n t 4 × 4 o v e r s a m p l i n g i n
F r e e T y p e ?
F T _ U I n t i n t e r p r e t e r _ v e r s i o n =
T T _ I N T E R P R E T E R _ V E R S I O N _ 3 5 ;
F T _ P r o p e r t y _ S e t ( l i b r a r y ,
"