1. 28 6月, 2018 1 次提交
  2. 27 6月, 2018 4 次提交
  3. 26 6月, 2018 3 次提交
  4. 25 6月, 2018 2 次提交
  5. 23 6月, 2018 1 次提交
    • B
      In Coverage iterator, bail out if table smells · b2a18791
      Behdad Esfahbod 提交于
      In particular, if CoverageFormat2 has unsorted ranges, bail out.
      Otherwise, 64k ranges of each 64k glyphs can DoS closure() method.
      
      We can do the same for CoverageFormat1, but that one does not expose
      the quadratic behavior, so, fine.
      b2a18791
  6. 19 6月, 2018 1 次提交
    • E
      Support pipe and friends on hb_blob_create_from_file (#1061) · 941f2b85
      Ebrahim Byagowi 提交于
      With this hb-view/hb-shape support pipes and possibly socket and named pipe
      also, anything fails just on mmap.
      
      We can later do the same for Windows also.
      
      This however reveals two issues, the fact most of our bots don't have HAVE_MMAP and using
      this instead the other fread/fopen reader can make failure on CI. I should look at them separately
      this change however is very low risk I believe.
      941f2b85
  7. 18 6月, 2018 1 次提交
  8. 17 6月, 2018 2 次提交
    • E
      Verbose fail when something is wrong with hb-shape/hb-view input font file (#1059) · c53697d3
      Ebrahim Byagowi 提交于
      This checks if the blob isn't empty and uses `hb_face_count`
      to see if the font file passes the simple font file sanitization
      so can detect if the input is actually a font and checks also
      whether input font-index is out of range.
      c53697d3
    • E
      Fix reading fonts from stdin (#1060) · aa0c5df4
      Ebrahim Byagowi 提交于
      We were passing the font path directly to freetype so rendering
      was broken when we are getting the font from stdin.
      
      This fixes it by using FT_New_Memory_Face instead.
      
      This fixes:
      * build/util/hb-view /dev/stdin text < font.ttf
      * build/util/hb-view - text < font.ttf
      * cat font.ttf | build/util/hb-view - text
      
      but doesn't work on
      * cat font.ttf | build/util/hb-view /dev/stdin text
      
      which I will try to fix separately.
      aa0c5df4
  9. 13 6月, 2018 4 次提交
  10. 12 6月, 2018 7 次提交
  11. 11 6月, 2018 2 次提交
  12. 10 6月, 2018 1 次提交
  13. 09 6月, 2018 6 次提交
  14. 07 6月, 2018 5 次提交