1. 17 7月, 2013 1 次提交
  2. 12 7月, 2013 1 次提交
  3. 08 7月, 2013 1 次提交
    • B
      [uniscribe] Fix buffer allocation · 29b596ac
      Behdad Esfahbod 提交于
      Email from Jonathan Kew:
      
      My cygwin build kept aborting on certain test words when run with the
      uniscribe backend. Turned out this was caused by a bug in the allocation
      of scratch buffers in hb-uniscribe.cc.
      
      Commit 2a17f956 introduced a new line
      
        ALLOCATE_ARRAY (SCRIPT_VISATTR, vis_attr, glyphs_size);
      
      but it failed to account for this in the computation of glyphs_size
      (the number of glyphs for which scratch buffer space is available),
      with the result that the vis_clusters array ends up overrunning the
      end of the scratch buffer and clobbering the beginning of the buffer's
      info[].
      
      AFAICS, the vis_attr array is not actually used, so the simple fix is
      to remove the line that allocates it. (If/when we -do- need to use
      vis_attr for something, we'll need to add another term to the earlier
      calculation of glyphs_size.)
      
      With this patch, the uniscribe backend runs reliably again.
      
      JK
      29b596ac
  4. 27 6月, 2013 3 次提交
  5. 22 6月, 2013 2 次提交
  6. 14 6月, 2013 1 次提交
    • B
      If variation selector is not consumed by cmap, pass it on to GSUB · 79d1007a
      Behdad Esfahbod 提交于
      This changes the semantics of get_glyph() callback and expect that
      callbacks return false if the requested variant is not available, and
      then we will call them back with variation_selector=0 and will retain
      the glyph for the selector in the glyph stream.
      
      Apparently most Mongolian fonts implement the Mongolian Variation
      Selectors using GSUB, not cmap.
      
      https://bugs.freedesktop.org/show_bug.cgi?id=65258
      
      Note that this doesn't fix the Mongolian shaping yet, because the way
      that's implemented is that the, say, 'init' feature ligates the letter
      and the variation-selector.  However, since currently the variation
      selector doesn't have the 'init' mask on, it will not be matched...
      79d1007a
  7. 11 6月, 2013 3 次提交
  8. 07 6月, 2013 2 次提交
    • B
      Fix PKG_CHECK_MODULES usage · 270cfd7a
      Behdad Esfahbod 提交于
      Bug 65246 - Fix build without graphite2
      
      If we don't provide ACTION-IF-NOT-FOUND, configure aborts if it can't
      find the libraries.  We handle that ourselves so we don't want the
      macro to abort.
      270cfd7a
    • B
      Minor · 2fd0e027
      Behdad Esfahbod 提交于
      2fd0e027
  9. 04 6月, 2013 4 次提交
  10. 31 5月, 2013 1 次提交
  11. 30 5月, 2013 1 次提交
  12. 29 5月, 2013 8 次提交
  13. 28 5月, 2013 12 次提交