1. 19 Aug, 2017 1 commit
  2. 17 Aug, 2017 2 commits
  3. 15 Aug, 2017 5 commits
    • Matthias Clasen's avatar
      1.40.10 · fe68dd17
      Matthias Clasen authored
      fe68dd17
    • Matthias Clasen's avatar
      Fix backspace-deletes-character for Emoji · 0328707e
      Matthias Clasen authored
      We want to delete the entire cluster if it is an Emoji.
      To do so, look at prev_GB_type to find Emoji.
      
      This fixes backspacing for sequences like
      "man health worker" or "family: man, woman, boy, girl".
      0328707e
    • Matthias Clasen's avatar
      break: Stop lumping ZWJ with Extend · 287d6ecd
      Matthias Clasen authored
      ZWJ is treated as its own class in TR29, and us lumping
      them together and then manually checking wc == 0x200d in
      various places was causing us to inadvertedly inserting
      grapheme breaks in the middle of Emoji ZWJ sequences
      where they are not suppose to be.
      
      Add test cases to verify this.
      287d6ecd
    • Matthias Clasen's avatar
      break.c: Fix indentation a bit · 8e9d5884
      Matthias Clasen authored
      Messed up whitespace makes this unwieldy function
      even harder to read.
      8e9d5884
    • John Ralls's avatar
      CoreText: Remove absolute size and scaling to screen resolution. · 8ab2cc19
      John Ralls authored
      Cairo's CGFont backend already handles scaling fonts to the display
      resolution, so scaling to the screen screen resolution in Pango's
      CoreText backend generates double-sized text on a Retina display.
      
      The layout test depended on providing a (bogus) resolution of 96DPI and
      scaling the font to it in order to obtain the "expected" layout
      results. This is replaced by adjusting the font size in test-layout.c
      if Pango is compiled for CoreText.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=782393
      8ab2cc19
  4. 14 Aug, 2017 1 commit
  5. 12 Aug, 2017 2 commits
  6. 11 Aug, 2017 2 commits
    • Behdad Esfahbod's avatar
      Update emoji data to version 5 · b34be4f4
      Behdad Esfahbod authored
      b34be4f4
    • Behdad Esfahbod's avatar
      Simplify hb_buffer_set_flags() · f0cb1dde
      Behdad Esfahbod authored
      From a 2014 HarfBuzz commit:
      
      commit 763e5466c0a03a7c27020e1e2598e488612529a7
      Author: Behdad Esfahbod <behdad@behdad.org>
      Date:   Sat Aug 2 16:17:44 2014 -0400
      
          Make it easier to use HB_BUFFER_FLAG_BOT/EOT
      
          Previously, we expected users to provide BOT/EOT flags when the
          text *segment* was at paragraph boundaries.  This meant that for
          clients that provide full paragraph to HarfBuzz (eg. Pango), they
          had code like this:
      
            hb_buffer_set_flags (hb_buffer,
                                 (item_offset == 0 ? HB_BUFFER_FLAG_BOT : 0) |
                                 (item_offset + item_length == paragraph_length ?
                                  HB_BUFFER_FLAG_EOT : 0));
      
            hb_buffer_add_utf8 (hb_buffer,
                                paragraph_text, paragraph_length,
                                item_offset, item_length);
      
          After this change such clients can simply say:
      
            hb_buffer_set_flags (hb_buffer,
                                 HB_BUFFER_FLAG_BOT | HB_BUFFER_FLAG_EOT);
      
            hb_buffer_add_utf8 (hb_buffer,
                                paragraph_text, paragraph_length,
                                item_offset, item_length);
      
          Ie, HarfBuzz itself checks whether the segment is at the beginning/end
          of the paragraph.  Clients that only pass item-at-a-time to HarfBuzz
          continue not setting any flags whatsoever.
      
          Another way to put it is: if there's pre-context text in the buffer,
          HarfBuzz ignores the BOT flag.  If there's post-context, it ignores
          EOT flag.
      f0cb1dde
  7. 08 Aug, 2017 6 commits
  8. 07 Aug, 2017 1 commit
  9. 06 Aug, 2017 1 commit
  10. 01 Aug, 2017 2 commits
  11. 31 Jul, 2017 8 commits
  12. 29 Jul, 2017 3 commits
  13. 26 Jul, 2017 1 commit
  14. 18 Jul, 2017 4 commits
  15. 30 Jun, 2017 1 commit