Edit

kc3-lang/freetype/src/sfnt

Branch :

  • Browse

    Commit

  • Author : Werner Lemberg
    Date : 2016-11-06 12:37:55
    Hash : 1c6fd994
    Message : [sfnt] Improve FT_LOAD_BITMAP_METRICS_ONLY for `sbix' format. It's unavoidable to call the PNG engine, but to get the metrics it is sufficient to read the PNG image's header only. * src/sfnt/pngshim.c (Load_SBit_Png): Add argument to control the allocation of the glyph slot. * src/sfnt/pngshim.h: Updated. * src/sfnt/ttsbit.c (tt_sbit_decoder_load_png, tt_face_load_sbix_image, tt_face_load_sbit_image): Updated.