• Show log

    Commit

  • Hash : a4117fbd
    Author : Behdad Esfahbod
    Date : 2015-01-14T19:07:54

    [autofit] Reuse slot glyph loader.
    
    No need to create a new glyph loader; we can reuse the one from
    `slot->internal->loader'.  It's hard to tell why it was written that
    way originally, but new code looks sound and correct to me, and
    avoids lots of allocations.
    
    * src/autofit/afloader.c (af_loader_init): Change return type to
    `void'.
    Don't call `FT_GlyphLoader_New'.
    (af_loader_reset): Don't call `FT_GlyphLoader_Rewind'.
    (af_loader_load_g): Update code to use `internal->loader', which
    doesn't need copying of data.
    
    * src/autofit/afloader.h (AF_LoaderRec): Remove `gloader' member.
    Update prototype.
    
    * src/autofit/afmodule.c (af_autofitter_load_glyph): Updated.
    

  • 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