• Show log

    Commit

  • Hash : 441b3f38
    Author : Werner Lemberg
    Date : 2014-07-13T02:28:14

    [truetype] Improve handling of buggy `prep' tables.
    
    In case of an error in the `prep' table, no longer try to execute it
    again and again.  This makes FreeType handle endless loops in buggy
    fonts much faster.
    
    * src/truetype/ttobjs.h (TT_SizeRec): The fields `bytecode_ready'
    and `cvt_ready' are now negative if not initialized yet, otherwise
    they indicate the error code of the last run.
    
    * src/truetype/ttobjs.c (tt_size_run_fpgm, tt_size_run_prep,
    tt_size_done_bytecode, tt_size_init_bytecode,
    tt_size_ready_bytecode, tt_size_init, tt_size_done, tt_size_reset):
    Updated.
    
    * src/truetype/ttgload.c (tt_loader_init): Updated.
    * src/truetype/ttinterp.c (TT_RunIns): Force reexecution of `fpgm'
    and `prep' only if we are in the `glyf' table.
    

  • 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