Ignore:
Timestamp:
Jan 17, 2009, 10:45:05 AM (12 years ago)
Author:
Eugene Romanenko
Message:

PDF plugin: freetype library updated to version 2.3.8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/poppler/freetype2/src/base/ftlcdfil.c

    r251 r262  
    55/*    FreeType API for color filtering of subpixel bitmap glyphs (body).   */
    66/*                                                                         */
    7 /*  Copyright 2006, 2008 by                                                */
     7/*  Copyright 2006, 2008, 2009 by                                          */
    88/*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
    99/*                                                                         */
     
    267267
    268268
    269   FT_EXPORT( FT_Error )
     269  FT_EXPORT_DEF( FT_Error )
    270270  FT_Library_SetLcdFilter( FT_Library     library,
    271271                           FT_LcdFilter   filter )
     
    297297#elif defined( FT_FORCE_LIGHT_LCD_FILTER )
    298298
    299       memcpy( library->lcd_weights, light_filter, 5 );
     299      ft_memcpy( library->lcd_weights, light_filter, 5 );
    300300      library->lcd_filter_func = _ft_lcd_filter_fir;
    301301      library->lcd_extra       = 2;
     
    303303#else
    304304
    305       memcpy( library->lcd_weights, default_filter, 5 );
     305      ft_memcpy( library->lcd_weights, default_filter, 5 );
    306306      library->lcd_filter_func = _ft_lcd_filter_fir;
    307307      library->lcd_extra       = 2;
     
    312312
    313313    case FT_LCD_FILTER_LIGHT:
    314       memcpy( library->lcd_weights, light_filter, 5 );
     314      ft_memcpy( library->lcd_weights, light_filter, 5 );
    315315      library->lcd_filter_func = _ft_lcd_filter_fir;
    316316      library->lcd_extra       = 2;
     
    336336#else /* !FT_CONFIG_OPTION_SUBPIXEL_RENDERING */
    337337
    338   FT_EXPORT( FT_Error )
     338  FT_EXPORT_DEF( FT_Error )
    339339  FT_Library_SetLcdFilter( FT_Library    library,
    340340                           FT_LcdFilter  filter )
Note: See TracChangeset for help on using the changeset viewer.