1. 26 9月, 2012 1 次提交
    • B
      [buffer] Save pre/post textual context · 05207a79
      Behdad Esfahbod 提交于
      To be used for a variety of purposes.  We save up to five characters
      in each direction.  No public API changes, everything is taken care
      of already.  All clients need to do is to call hb_buffer_add_utf* with
      the full text + segment info (or at least some context) instead of
      just passing in the segment.
      
      Various operations (hb_buffer_reset, hb_buffer_set_length,
      hb_buffer_add*) automatically reset the relevant contexts.
      05207a79
  2. 25 9月, 2012 4 次提交
  3. 07 9月, 2012 1 次提交
  4. 01 9月, 2012 2 次提交
    • B
      [Indic] Implement dotted-circle insertion for broken clusters · b85800f9
      Behdad Esfahbod 提交于
      No panic, we reeally insert dotted circle when it's absolutely broken.
      
      Fixes most of the dotted-circle cases against Uniscribe. (for Devanagari
      fixes 80% of them, for Khmer 70%; the rest look like Uniscribe being
      really bogus...)
      
      I had to make a decision.  Apparently Uniscribe adds one dotted circle
      to each broken character.  I tried that, but that goes wrong easily with
      split matras.  So I made it add only one dotted circle to an entire
      broken syllable tail.  As in: "if there was a dotted circle here, this
      would have formed a correct cluster."  That works better for split
      stuff, and I like it more.
      b85800f9
    • B
      Minor · 1be368e9
      Behdad Esfahbod 提交于
      1be368e9
  5. 30 8月, 2012 1 次提交
  6. 12 8月, 2012 1 次提交
  7. 02 8月, 2012 1 次提交
  8. 01 8月, 2012 1 次提交
  9. 27 7月, 2012 1 次提交
  10. 20 7月, 2012 1 次提交
  11. 18 7月, 2012 1 次提交
  12. 09 6月, 2012 8 次提交
  13. 08 6月, 2012 1 次提交
  14. 06 6月, 2012 4 次提交
  15. 24 4月, 2012 1 次提交
  16. 10 4月, 2012 1 次提交
  17. 08 4月, 2012 1 次提交
  18. 19 1月, 2012 1 次提交
  19. 26 8月, 2011 1 次提交
  20. 20 8月, 2011 1 次提交
  21. 15 8月, 2011 1 次提交
  22. 09 8月, 2011 2 次提交
  23. 07 8月, 2011 1 次提交
  24. 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