On 10/11/10 14:53, Sven Neumann wrote:
Add font attributes to control the hinting algorithm used by the
FreeType font provider:

   DFFA_AUTOHINTING forces use of the auto-hinter over the font's
   native hinter.

   DFFA_LIGHT selects a lighter hinting algorithm for non-monochrome
   modes. It generates glyphs which are more fuzzy but better resemble
   its original shape. It implies use of the auto-hinter.
---
  include/directfb.h                           |    6 +++++-
  interfaces/IDirectFBFont/idirectfbfont_ft2.c |   15 +++++++++++++--
  2 files changed, 18 insertions(+), 3 deletions(-)

diff --git a/include/directfb.h b/include/directfb.h
index 6b34abd..07ef0bc 100644
--- a/include/directfb.h
+++ b/include/directfb.h
@@ -1027,7 +1027,11 @@ typedef enum {
       DFFA_NOBITMAP       = 0x00000020,  /* ignore bitmap strikes; for
                                             bitmap-only fonts this flag is
                                             ignored */
-     DFFA_OUTLINED       = 0x00000040
+     DFFA_OUTLINED       = 0x00000040,
+     DFFA_AUTOHINTING    = 0x00000080,  /* prefer auto-hinter over the font's
+                                           native hinter */

Ok.

+     DFFA_LIGHT          = 0x00000100,  /* use a lighter hinting algorithm for
+                                           non-monochrome modes */

What's this exactly?

--
Best regards,
  Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to