1. 09 8月, 2011 1 次提交
  2. 08 8月, 2011 1 次提交
  3. 07 8月, 2011 1 次提交
  4. 06 8月, 2011 4 次提交
  5. 05 8月, 2011 2 次提交
    • B
      [API] Changes to main shape API · 02aeca98
      Behdad Esfahbod 提交于
      hb_shape() now accepts a shaper_options and a shaper_list argument.
      Both can be set to NULL to emulate previous API.  And in most situations
      they are expected to be set to NULL.
      
      hb_shape() also returns a boolean for now.  If shaper_list is NULL, the
      return value can be ignored.
      
      shaper_options is ignored for now, but otherwise it should be a
      NULL-terminated list of strings.
      
      shaper_list is a NULL-terminated list of strings.  Currently recognized
      strings are "ot" for native OpenType Layout implementation, "uniscribe"
      for the Uniscribe backend, and "fallback" for the non-complex backend
      (that will be implemented shortly).  The fallback backend never fails.
      
      The env var HB_SHAPER_LIST is also parsed and honored.  It's a
      colon-separated list of shaper names.  The fallback shaper is invoked if
      none of the env-listed shapers succeed.
      
      New API hb_buffer_guess_properties() added.
      02aeca98
    • B
      Remove C++ guards from source files · c605bbbb
      Behdad Esfahbod 提交于
      Where causing issues for people with MSVC.
      c605bbbb
  6. 08 7月, 2011 2 次提交
    • B
      [API] Add compose() and decompose() unicode funcs, rename other ones · c4641723
      Behdad Esfahbod 提交于
      Add compose() and decompose() unicode funcs.  These implement
      pair-wise canonical composition/decomposition.
      
      The glib/icu implementations are lacking for now.  We are adding
      API for this to glib, but I cannot find any useful API in ICU.
      May end of implementing these in-house.
      
      Changed all unicode_funcs callback names to remove the "_get" part.
      Eg, hb_unicode_get_script_func_t is now hb_unicode_script_func_t,
      and hb_unicode_get_script() is hb_unicode_script() now.
      c4641723
    • B
      Humm, undo some shuffling · 891c4755
      Behdad Esfahbod 提交于
      In preparation for adding more advanced unicode funcs.
      891c4755
  7. 14 5月, 2011 1 次提交
  8. 06 5月, 2011 1 次提交
    • B
      [API] Add hb_language_get_default() · 34fb5521
      Behdad Esfahbod 提交于
      It uses locale information to detect default language.  It's used by
      hb_shape() whenever language is not set on the buffer.
      
      Not sure how to properly test it in the test suite.  Tested by observing
      that with DejaVu Sans we select the proper local glyph version for U+431
      under Serbian locale.  See http://www.pango.org/ScriptGallery
      34fb5521
  9. 03 5月, 2011 1 次提交
  10. 22 4月, 2011 1 次提交
  11. 21 4月, 2011 2 次提交
  12. 20 4月, 2011 2 次提交
  13. 19 4月, 2011 1 次提交
  14. 16 4月, 2011 1 次提交
  15. 17 3月, 2011 1 次提交
    • B
      Let hb_shape() guess script and direction... · 3286fc0e
      Behdad Esfahbod 提交于
      - Rename HB_SCRIPT_INVALID_CODE to HB_SCRIPT_INVALID
      
      - Add HB_DIRECTION_INVALID
      
      - Make hb_script_get_horizontal_direction() public
      
      - Make hb_shape() guess script from buffer text (first non-common
        non-inherit script) if buffer script is set to HB_SCRIPT_INVALID (this
        is NOT the default.)
      
      - Make hb_shape() guess direction from buffer script if buffer direction
      is set to HB_DIRECTION_INVALID (this is NOT the default.)
      
      - Make hb-view.c set INVALID script and direction on the buffer.
      
      The above changes are meant to make hb-view fairly useful for uni-script
      uni-direction text.  The guessing behavior however is NOT the default of
      hb_shape() and must be asked for explicitly.  This is intended, because
      the guess is not a suitable substitute to full-fledged bidi and script
      segmentation.  It's just a testing tool.
      3286fc0e
  16. 24 7月, 2010 1 次提交
  17. 27 5月, 2010 1 次提交
  18. 26 5月, 2010 1 次提交
  19. 22 5月, 2010 1 次提交
  20. 21 5月, 2010 2 次提交
  21. 15 5月, 2010 10 次提交
  22. 13 5月, 2010 1 次提交
  23. 04 5月, 2010 1 次提交