Ignore:
Timestamp:
Jan 18, 2007, 5:32:59 PM (15 years ago)
Author:
Eugene Romanenko
Message:

freetype update to version 2.3.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/poppler/freetype2/include/freetype/ftlcdfil.h

    r165 r182  
    66/*    (specification).                                                     */
    77/*                                                                         */
    8 /*  Copyright 2006 by                                                      */
     8/*  Copyright 2006, 2007 by                                                */
    99/*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
    1010/*                                                                         */
     
    2626
    2727FT_BEGIN_HEADER
     28
     29  /***************************************************************************
     30   *
     31   * @section:
     32   *   lcd_filtering
     33   *
     34   * @title:
     35   *   LCD Filtering
     36   *
     37   * @abstract:
     38   *   Reduce color fringes of LCD-optimized bitmaps.
     39   *
     40   * @description:
     41   *   The @FT_Library_SetLcdFilter API can be used to specify a low-pass
     42   *   filter which is then applied to LCD-optimized bitmaps generated
     43   *   through @FT_Render_Glyph.  This is useful to reduce color fringes
     44   *   which would occur with unfiltered rendering.
     45   *
     46   *   Note that no filter is active by default, and that this function is
     47   *   *not* implemented in default builds of the library.  You need to
     48   *   #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING in your `ftoption.h' file
     49   *   in order to activate it.
     50   */
    2851
    2952
     
    4871   *     The light filter is a variant that produces less blurriness at the
    4972   *     cost of slightly more color fringes than the default one.  It might
    50    *     be better than the default one, depending on the monitor, personal
    51    *     vision, and taste.
     73   *     be better, depending on taste, your monitor, or your personal vision.
    5274   *
    5375   *   FT_LCD_FILTER_LEGACY ::
    5476   *     This filter corresponds to the original libXft color filter.  It
    5577   *     provides high contrast output but can exhibit really bad color
    56    *     fringes if glyphs are not extremely well hinted to the pixel grid. 
     78   *     fringes if glyphs are not extremely well hinted to the pixel grid.
    5779   *     In other words, it only works well if the TrueType bytecode
    5880   *     interpreter is enabled *and* high-quality hinted fonts are used.
     
    6082   *     This filter is only provided for comparison purposes, and might be
    6183   *     disabled or stay unsupported in the future.
     84   *
     85   * @since:
     86   *   2.3.0
    6287   */
    6388  typedef enum
     
    106131   *   configuration macro FT_CONFIG_OPTION_SUBPIXEL_RENDERING is not
    107132   *   defined in your build of the library, which should correspond to all
    108    *   default builds of the library.
     133   *   default builds of FreeType.
    109134   *
    110135   *   The filter affects glyph bitmaps rendered through @FT_Render_Glyph,
     
    124149   *   the filter.
    125150   *
     151   * @since:
     152   *   2.3.0
    126153   */
    127154  FT_EXPORT( FT_Error )
Note: See TracChangeset for help on using the changeset viewer.