freetype-devel
[Top][All Lists]
Advanced

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

[ft-devel] GETINFO opcode extension


From: Werner LEMBERG
Subject: [ft-devel] GETINFO opcode extension
Date: Sat, 02 Dec 2006 08:41:47 +0100 (CET)

Here some more information on the extended functionality of GETINFO,
as provided by Greg Hitchcock from Microsoft -- apparently the first
change in the bytecode instruction set since 10 years or so.  Well,
the changes aren't really new because ClearType exists already for
some time, but I haven't seen those flags documented before.


    Werner

======================================================================


GETINFO

arg bits   return bits   meaning

 0         0-7           value 37 is MS rasterizer 1.8, value 38 is MS
                         rasterizer 1.9 (the latter hasn't been
                         released yet I think)
1-5        8-12          unchanged
 6         13            set to 1 if ClearType is enabled, otherwise
                         zero (for MS rasterizer v.1.6+ or MS
                         rasterizer >= v.1.8)
 7         14            set to 1 if ClearType widths are compatible
                         with mono- and grayscale widths.  Zero if
                         the widths are the natural ClearType widths
                         (for MS rasterizer >= v.1.8)
 8         15            set to 1 if ClearType symmetrical smoothing
                         is being used (for MS rasterizer >= v.1.8)
 9         16            set to 1 if ClearType is processing the LCD
                         stripes in BGR order.  Otherwise zero,
                         indicating RGB order (for MS rasterizer >=
                         v.1.8)




reply via email to

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