1. 08 Feb, 2016 1 commit
  2. 07 Feb, 2016 5 commits
  3. 06 Feb, 2016 2 commits
  4. 05 Feb, 2016 3 commits
  5. 03 Feb, 2016 1 commit
  6. 30 Jan, 2016 2 commits
  7. 28 Jan, 2016 4 commits
    • Nikolaus Waxweiler's avatar
      Remove unpatented hinter (3/3). · 1d8d0b4e
      Nikolaus Waxweiler authored
      * include/freetype/config/ftoption.h
      (TT_CONFIG_OPTION_UNPATENTED_HINTING): Remove.
      
      * include/freetype/internal/ftobjs.h (FT_Face_InternalRec): Remove
      `ignore_unpatented_hinter' field.
      Update users.
      (FT_DEBUG_HOOK_UNPATENTED_HINTING): Remove.
      Update users.
      
      * include/freetype/internal/tttypes.h (TT_FaceRec): Remove
      `unpatented_hinting' field.
      Update users.
      
      * src/base/ftpatent.c (_tt_check_patents_in_range,
      _tt_check_patents_in_table, _tt_face_check_patents): Remove.
      (FT_Face_CheckTrueTypePatents, FT_Face_SetUnpatentedHinting):
      Replace code with dummies.
      
      * src/truetype/ttobjs.c (tt_face_init): Remove now defunct code.
      * src/truetype/ttobjs.h (TT_GraphicsState): Remove `both_x_axis'
      field.
      1d8d0b4e
    • Nikolaus Waxweiler's avatar
      Remove unpatented hinter (2/3). · 5b7871be
      Nikolaus Waxweiler authored
      * devel/ftoption.h (TT_CONFIG_OPTION_UNPATENTED_HINTING): Remove.
      5b7871be
    • Nikolaus Waxweiler's avatar
      Remove unpatented hinter (1/3). · 6875093a
      Nikolaus Waxweiler authored
      * src/truetype/ttinterp.c [TT_CONFIG_OPTION_UNPATENTED_HINTING]:
      Remove all code related to this macro.
      6875093a
    • Werner Lemberg's avatar
      [autofit] Add blue-zone support for Kannada script. · 8d810097
      Werner Lemberg authored
      This essentially moves the Kannada script from the `Indic' hinter to
      the `Latin' hinter.
      
      * src/autofit/afblue.dat: Add blue zone data for Kannada.
      
      * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
      
      * src/autofit/afscript.h: Add Kannada standard characters and move
      data out of AF_CONFIG_OPTION_INDIC block.
      
      * src/autofit/afranges.c: Move Kannada data out of
      AF_CONFIG_OPTION_INDIC block.
      
      * src/autofit/afstyles.h: Update Kannada data; in particular, use
      AF_WRITING_SYSTEM_LATIN.
      8d810097
  8. 23 Jan, 2016 2 commits
  9. 21 Jan, 2016 1 commit
  10. 20 Jan, 2016 3 commits
  11. 19 Jan, 2016 3 commits
    • Werner Lemberg's avatar
      [autofit] Fix handling of default script. · ec776596
      Werner Lemberg authored
      Patch taken from ttfautohint, commit
      071ae2c00e0d67f9d19418f4fade1c23d27dc185.
      
      There were two bugs.
      
        - We now use non-standard script tags like `khms' for special
          purposes.  However, HarfBuzz maps such tags to `DFLT', and
          without this commit the associated lookups were incorrectly
          assigned to the non-standard tags.
      
        - Let's assume we have a Bengali font, and the font's `DFLT'
          script tag handles the necessary lookups for Bengali, too.
          Without this commit, the `DFLT' lookups were assigned to
          ttfautohint's default script (usually `latn') before the
          standard lookups for Bengali were handled.
      
          We now have the following order while searching for covered
          glyph indices.
      
            special features of scripts (e.g. `sups' for Cyrillic)
            Unicode mappings of scripts
            remaining features of scripts (especially important for Indic
              scripts)
            default features of default script
      
      * src/autofit/afshaper.c, src/autofit/afshaper.h
      (af_shaper_get_coverage): Add boolean parameter to indicate default
      script.
      Update all callers.
      
      * src/autofit/afglobal.c (af_face_globals_compute_style_coverage):
      Fix search order for coverages.
      ec776596
    • Werner Lemberg's avatar
      Various minor clang fixes. · fc11af1e
      Werner Lemberg authored
      * src/autofit/afcjk.c (af_cjk_metrics_init_widths),
      src/autofit/aflatin.c (af_latin_metrics_init_widths): Initialize
      `ch'.
      
      * src/base/ftcalc.c (FT_MulFix) [FT_LONG64]: Add cast.
      
      * src/base/ftdbgmem.c (ft_mem_table_destroy): Add cast.
      
      * src/base/fthash.c (hash_num_lookup): Add cast.
      
      * src/base/fttrigon.c (ft_trig_downscale) [FT_LONG64]: Fix cast.
      
      * src/gxvalid/gxvcommn.c (gxv_EntryTable_validate): Comment out
      redundant code.
      
      * src/type1/t1driver.c (t1_get_ps_font_value) <PS_DICT_SUBR>: Add
      cast.
      
      * src/type1/t1load.c (parse_subrs): Fix type of `count'.
      fc11af1e
    • Derek B. Noonburg's avatar
      [truetype] Add another tricky font. · 4cdfefd4
      Derek B. Noonburg authored
      * src/truetype/ttobjs.c (TRICK_SFNT_IDS_NUM_FACES): Increase.
      (sfnt_id): Add variant of `DFKaiShu'.
      4cdfefd4
  12. 15 Jan, 2016 2 commits
  13. 14 Jan, 2016 1 commit
  14. 13 Jan, 2016 1 commit
  15. 12 Jan, 2016 5 commits
  16. 10 Jan, 2016 1 commit
    • Jered Gray's avatar
      [cff] Fix usage of `|' operator. · f53bab93
      Jered Gray authored
      * src/cff/cf2intrp.c (cf2_interpT2CharString) [cf2_cmdEXTENDEDNMBR,
      default]: `|' is not guaranteed to be processed from left to right
      by the compiler.  However, the code repeatedly calls
      `cf2_buf_readByte' to get the arguments to `|' ...  Fix this.
      f53bab93
  17. 25 Dec, 2015 1 commit
    • Werner Lemberg's avatar
      [autofit] Make top-to-bottom hinting work in latin auto-hinter. · 2e09812c
      Werner Lemberg authored
      This improves rendering of scripts like Bengali or Devanagari.
      
      * src/autofit/afhints.c (af_axis_hints_new_edge): Add parameter to
      pass top-to-bottom hinting flag.  This makes the function sort edges
      in descending vertical position.
      
      * src/autofit/afhints.c: Updated.
      
      * src/autofit/aflatin.c (af_latin_hints_compute_edges,
      af_latin_hint_edges): Use `top_to_bottom_hinting' flag.
      
      * src/autofit/afcjk.c (af_cjk_hints_compute_edges),
      src/autofit/aflatin2.c (af_latin2_hints_compute_edges): Updated.
      2e09812c
  18. 24 Dec, 2015 1 commit
    • Werner Lemberg's avatar
      [autofit] Add hinting direction to `AF_ScriptClassRec'. · 172db325
      Werner Lemberg authored
      Still unused.
      
      * src/autofit/afglobal.c (SCRIPT): Handle hinting direction.
      
      * src/autofit/aftypes.h (AF_ScriptClassRec): Add
      `top_to_bottom_hinting' field.
      (AF_HINTING_BOTTOM_TO_TOP, AF_HINTING_TOP_TO_BOTTOM): New macros.
      (AF_DEFINE_SCRIPT_CLASS): Updated.
      172db325
  19. 23 Dec, 2015 1 commit
    • Werner Lemberg's avatar
      [autofit] Start implementing hinting direction (up/down, down/up). · b0de5a82
      Werner Lemberg authored
      Right now, it does nothing.
      
      * src/autofit/afscript.h: Add another parameter to `SCRIPT',
      specifying hinting direction.
      
      * src/autofit/afglobal.c, scr/autofit/afglobal.h,
      src/autofit/afpic.c, src/autofit/afranges.h, src/autofit/afshaper.c,
      src/autofit/aftypes.h: Extend `SCRIPT' definitions.
      b0de5a82