1. 19 2月, 2016 1 次提交
  2. 03 2月, 2016 2 次提交
    • C
      build: Build the DirectWrite sources if requested · c6792854
      Chun-wei Fan 提交于
      This adds to the autotools build system so that the (experimental)
      DirectWrite support for HarfBuzz is built (and dist'ed).
      c6792854
    • C
      build: Support Visual Studio builds using NMake · d7b6636e
      Chun-wei Fan 提交于
      This adds a set of NMake Makefiles that can be used to build HarfBuzz, from
      the standard basic build building the minimal HarfBuzz DLL (consisting
      of OpenType, fallback and Uniscribe support only), to a full fledged build
      consisting of GLib and FreeType support, as well as building the utilities,
      the test programs in src/ and test/api, and HarfBuzz-ICU and
      HarfBuzz-GObject, and up to building the introspection files.  This means a
      flexible build mechanism is supported here, so anything that is supported
      for a Windows build (code-wise), should all be supported by this build
      system.
      
      As in an earlier commit, the source listings are shared with the autotools
      builds with the various Makefile.sources in src/, src/hb-ucdn and util/, and
      this set of NMake Makefiles will transform these lists into the form they
      want.
      
      In the current form, all the test programs in test/api pass, and this has
      been checked successfully with 'make -j8 distcheck'.
      d7b6636e
  3. 11 1月, 2016 1 次提交
  4. 27 11月, 2015 1 次提交
  5. 25 11月, 2015 1 次提交
  6. 19 11月, 2015 1 次提交
  7. 06 11月, 2015 1 次提交
  8. 16 10月, 2015 1 次提交
  9. 13 10月, 2015 1 次提交
  10. 01 10月, 2015 1 次提交
  11. 02 9月, 2015 1 次提交
  12. 01 9月, 2015 1 次提交
  13. 19 8月, 2015 1 次提交
  14. 11 8月, 2015 1 次提交
  15. 27 7月, 2015 3 次提交
  16. 19 6月, 2015 1 次提交
  17. 10 4月, 2015 1 次提交
    • B
      [utils] Add hb-fc-list · fe97b65a
      Behdad Esfahbod 提交于
      This is a tool that lists all fonts that can render a given string.
      It uses hb_shape() to do so, and as such is aware of HarfBuzz's
      normalizer.
      fe97b65a
  18. 21 3月, 2015 1 次提交
  19. 05 3月, 2015 1 次提交
  20. 24 1月, 2015 1 次提交
  21. 29 12月, 2014 3 次提交
    • B
      [ft] Add hb_ft_face_create_referenced() and hb_ft_font_create_referenced() · 350f3a02
      Behdad Esfahbod 提交于
      When I originally wrote hb-ft, FreeType objects did not support reference
      counting.  As such, hb_ft_face_create() and hb_ft_font_create() had a
      "destroy" callback and client was responsible for making sure FT_Face is
      kept around as long as the hb-font/face are alive.
      
      However, since this was not clearly documented, some clienets didn't
      correctly did that.  In particular, some clients assumed that it's safe
      to destroy FT_Face and then hb_face_t.  This, indeed, used to work, until
      45fd9424, which make face destroy access
      font tables.
      
      Now, I fixed that issue in 395b3590 since
      the access was not needed, but the problem remains that not all clients
      handle this correctly.  See:
      
        https://bugs.freedesktop.org/show_bug.cgi?id=86300
      
      Fortunately, FT_Reference_Face() was added to FreeType in 2010, and so we
      can use it now.  Originally I wanted to change hb_ft_face_create() and
      hb_ft_font_create() to reference the face if destroy==NULL was passed in.
      That would improve pretty much all clients, with little undesired effects.
      Except that FreeType itself, when compiled with HarfBuzz support, calls
      hb_ft_font_create() with destroy==NULL and saves the resulting hb-font on
      the ft-face (why does it not free it immediately?).  Making hb-face
      reference ft-face causes a cycling reference there.  At least, that's my
      current understanding.
      
      At any rate, a cleaner approach, even if it means all clients will need a
      change, is to introduce brand new API.  Which this commit does.
      
      Some comments added to hb-ft.h, hoping to make future clients make better
      choices.
      
      Fixes https://bugs.freedesktop.org/show_bug.cgi?id=75299
      350f3a02
    • B
      Remove redundant check for FT_Face_GetCharVariantIndex · 9a3b7488
      Behdad Esfahbod 提交于
      We require FreeType >= 2.8.3.  This symbol was introduced earlier
      than that.
      9a3b7488
    • B
      Fix FreeType version check · 1226b2e9
      Behdad Esfahbod 提交于
      1226b2e9
  22. 18 12月, 2014 1 次提交
  23. 21 11月, 2014 1 次提交
  24. 14 8月, 2014 1 次提交
  25. 03 8月, 2014 1 次提交
  26. 23 7月, 2014 1 次提交
  27. 18 7月, 2014 1 次提交
  28. 17 7月, 2014 1 次提交
  29. 10 7月, 2014 1 次提交
  30. 10 6月, 2014 1 次提交
  31. 07 6月, 2014 1 次提交
  32. 30 5月, 2014 1 次提交
  33. 29 4月, 2014 1 次提交
  34. 11 4月, 2014 1 次提交
  35. 22 3月, 2014 1 次提交