• Show log

    Commit

  • Hash : 7b73cb07
    Author : Alexei Podtelezhnikov
    Date : 2018-05-24T22:38:24

    [smooth] Formalize Harmony LCD rendering.
    
    This generalizes magic outline shifts that make Harmony LCD
    rendering work in terms of precise two-dimensional RGB subpixel
    positions. These coordinates are now set in time of the `smooth'
    module initialization and later used to shift a glyph outline for
    rendering. FT_RENDER_MODE_LCD and FT_RENDER_MODE_LCD_V use the same
    coordinates. The letter, however, rotates them before using.
    The LCD bitmap padding is also calculated using these coordinates.
    
    * include/freetype/internal/ftobjs.h (FT_LibraryRec): New array field
    `lcd_geometry'.
    * src/base/ftlcdfil.c (ft_lcd_padding): Reworked.
    * src/base/ftobjs.c (ft_glyphslot_preset_bitmap): Updated accordingly.
    
    * src/smooth/ftsmooth.c [!FT_CONFIG_OPTION_SUBPIXEL_RENDERING]
    (ft_smooth_init): Initialize `lcd_geometry'.
    (ft_smooth_render_generic): Formalize outline shifts.
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/freetype.git
    Git SSH git@git.kmx.io:kc3-lang/freetype.git
    Public access ? public
    Description
    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg thodg_l
    Tags