1. 07 Jun, 2015 1 commit
    • Werner Lemberg's avatar
      * Version 2.6 released. · fe5bd931
      Werner Lemberg authored
      =======================
      
      Tag sources with `VER-2-6'.
      
      * README: Updated.
      * src/*.1: Updated.
      
      * Makefile: Omit a zero patch level in computation of `version'.
      fe5bd931
  2. 06 Jun, 2015 1 commit
    • Werner Lemberg's avatar
      [ftgrid] Key `D' now toggles display of point numbers. · 8cf5fb03
      Werner Lemberg authored
      * src/ftgrid.c: Include FT_TRIGONOMETRY_H.
      (GridStatusRec): Add field `do_dotnumbers'.
      (grid_status_init): Updated.
      (grid_status_draw_outline): Implement point number display.
      (event_help): Updated.
      (Process_Event): Handle `D' key.
      (main): Updated.
      8cf5fb03
  3. 29 Apr, 2015 1 commit
  4. 22 Apr, 2015 1 commit
  5. 21 Apr, 2015 3 commits
    • Werner Lemberg's avatar
      [ftview] Key `w' now toggles warper (if compiled-in). · d56e28a9
      Werner Lemberg authored
      * src/ftview.c (status): Add `warping' field.
      (event_help): Updated.
      (event_warping_change): New function.
      (Process_Event): Handle `w' key.
      (write_header, main): Updated.
      d56e28a9
    • Werner Lemberg's avatar
      [ftgrid] Key `w' now toggles warper (if compiled-in). · 20369083
      Werner Lemberg authored
      This replaces the no longer existing debugging hook with a generic
      solution that uses the `warping' auto-hinter module property.
      
      * src/ftgrid.c (_af_debug_disable_warper): Removed.
      (GridStatusRec): s/do_warp/warping/.
      (grid_status_init, grid_status_draw_outline, event_help): Updated.
      (event_warping_change): New function.
      (Process_Event): Handle `w', not `W', and use
      `event_warping_change'.
      (main): Updated.
      20369083
    • Werner Lemberg's avatar
      [ftdiff] Key `w' now toggles warper (if compiled-in). · 5fef1bea
      Werner Lemberg authored
      * src/ftdiff.c (render_mode_names): Updated.
      (ColumnStateRec): Add `warping' field.
      (render_state_init, render_state_draw, event_help): Updated.
      (process_event): Handle `w' key.
      5fef1bea
  6. 19 Apr, 2015 1 commit
    • Werner Lemberg's avatar
      [ftdiff] Correctly reload face after changing hinting engine. · c14af4cf
      Werner Lemberg authored
      In most cases, calling `FT_Property_Set' acts globally on the
      FT_Library object.
      
      * src/ftdiff.c (RenderStateRec): Remove `need_rescale', since we
      always rescale now after reloading the face.
      Update all users.
      (render_state_set_face_index): New function.
      (render_state_set_file): Remove `idx' argument.  Instead, (re)load
      font with index `state->face_index'.
      (render_state_draw): Call `render_state_set_file'.
      (event_change_face_index): New function.
      (process_event): s/render_state_set_file/event_change_face_index/.
      (main): Updated.
      c14af4cf
  7. 18 Apr, 2015 1 commit
  8. 16 Apr, 2015 4 commits
  9. 14 Apr, 2015 4 commits
    • Werner Lemberg's avatar
      [ftgrid] Fix memory leak. · f70de1ee
      Werner Lemberg authored
      * src/ftgrid.c (event_font_change): Free `status.mm' before calling
      `FT_Get_MM_Var' (again).
      f70de1ee
    • Werner Lemberg's avatar
      [ftgrid] Show proper names for GX axes. · e73a6f14
      Werner Lemberg authored
      * src/ftgrid.c: Include `aux.h', FT_SFNT_NAMES_H, and
      FT_TRUETYPE_IDS_H.
      (GridStatusRec): Add `axis_name' array.
      (event_font_change): Set GX axis name if possible.
      (write_header): Use `axis_name' if non-NULL.
      (main): Add clean-up code for `axis_name' array.
      e73a6f14
    • Werner Lemberg's avatar
      [aux] Add functions for outputting strings. · 5509b1df
      Werner Lemberg authored
      * src/aux.c (hexdigit): New static array.
      (put_ascii_string, put_ascii_string_size, put_unicode_be16_string,
      put_unicode_be16_string_size): New functions.
      (put_ascii, put_unicode_be16): Use new functions to implement it.
      
      * src/aux.h: Updated.
      5509b1df
    • Werner Lemberg's avatar
      Move some output functions to a separate file. · 6244571e
      Werner Lemberg authored
      * src/aux.c, src/aux.h: New files, holding `put_ascii' and
      `put_unicode_be16' from...
      * src/ftdump.c: ... this file, which now includes `aux.h'.
      
      * Makefile (COMMON_OBJ): Add `aux.c'.
      Fix rule.
      6244571e
  10. 13 Apr, 2015 1 commit
  11. 11 Apr, 2015 1 commit
  12. 05 Apr, 2015 1 commit
    • Werner Lemberg's avatar
      [ftdump] Simplify code. · 4e0417ba
      Werner Lemberg authored
      * src/ftdump.c (put_unicode_be16_as_utf8): Fold into...
      (put_unicode_b316): This function, with an additional argument.
      Update all callers.
      4e0417ba
  13. 03 Apr, 2015 2 commits
    • Werner Lemberg's avatar
      [ftdump] Remove dead code. · a4ad003a
      Werner Lemberg authored
      * src/ftdump.c (debug, trace_level): Remove.
      (usage): Remove #ifdef'ed code.
      (main): Don't handle obsolete options `-d' and `-l'.
      Remove #ifdef'ed code.
      a4ad003a
    • Werner Lemberg's avatar
      [ftdump] Add option `-u' to emit data in UTF-8 encoding. · 8726b3c6
      Werner Lemberg authored
      * src/ftdump.c (utf8): New global variable.
      (usage): Updated.
      (put_unicode_be16): Only emit characters < 0x80 as-is.
      (put_unicode_be_as_utf8): New function.
      (Print_Sfnt_Names, Print_MM_Axes): Use it.
      (main): Handle new option `-u'.
      
      * src/ftdump.1: Updated.
      8726b3c6
  14. 02 Apr, 2015 1 commit
    • Werner Lemberg's avatar
      [ftmulti] Make the first six axes accessible. · 2b1baf51
      Werner Lemberg authored
      We now use keys F1-F6 and 1-6.  F7 and F8 get its original function
      back (this is, adjusting the glyph index by 10).
      
      * src/ftmulti.c (MAX_MM_AXES): New macro.  Replaces `T1_MAX_MM_AXIS'
      everywhere.
      (Render_All): Adjust vertical position depending on number of axes.
      (Help): Updated.
      (Process_Event): Handle new keys.
      (main): Use two lines for axes if we have more than three.
      2b1baf51
  15. 01 Apr, 2015 1 commit
  16. 30 Mar, 2015 1 commit
  17. 29 Mar, 2015 2 commits
    • Werner Lemberg's avatar
      [ftgrid, ftmulti]: Handle GX fonts with more than 4 axes. · 3ef4cf18
      Werner Lemberg authored
      ftgrid now handles up to 32 axes, while ftmulti will ignore all axes
      but the first four.
      
      * src/ftgrid.c (MAX_MM_AXES): New macro.
      (GridStatusRec): New field `used_num_axis'.
      (event_axis_change, event_font_change, Process_Event): Use it.
      
      * src/ftmulti.c (used_num_axis): New global variable.
      (Process_Event, main): Use it.
      3ef4cf18
    • Werner Lemberg's avatar
      [ftdump] Display info about MM axes. · 0b5e4ddb
      Werner Lemberg authored
      * src/ftdump.c: Include FT_MULTIPLE_MASTERS_H.
      (Print_MM_Axes): New function.
      (main): Use it.
      0b5e4ddb
  18. 19 Mar, 2015 1 commit
    • Werner Lemberg's avatar
      [ftdump] Various minor improvements. · 114292d1
      Werner Lemberg authored
      * src/ftdump.c (name_id): Handle WWS entries also.
      Return NULL for not pre-defined entries.
      (put_ascii): Display characters >= 0x80 as hex escape sequence.
      (Print_Sfnt_Names): Improve output.
      114292d1
  19. 11 Mar, 2015 1 commit
  20. 07 Mar, 2015 4 commits
  21. 06 Mar, 2015 3 commits
  22. 05 Mar, 2015 2 commits
  23. 04 Mar, 2015 2 commits