1. 03 Jun, 2019 3 commits
  2. 27 May, 2019 1 commit
  3. 25 May, 2019 1 commit
    • Matthias Clasen's avatar
      Replace PangoScript by GUnicodeScript · 3e754def
      Matthias Clasen authored
      This commit replaces the PangoScript enum by a
      typedef to GUnicodeScript, and preserves the old
      enum values as defines.
      
      This depends on adding an enum type for GUnicodeScript
      in gobject.
      3e754def
  4. 13 Mar, 2019 1 commit
  5. 20 Nov, 2018 1 commit
  6. 28 Aug, 2018 1 commit
  7. 09 May, 2018 1 commit
  8. 30 Mar, 2018 2 commits
    • Chun-wei Fan's avatar
      tests/markup-parse.c: Fix build on Visual Studio · 08649ce1
      Chun-wei Fan authored
      Visual Studio does not ship with a unistd.h, so include the proper
      header on Windows when unistd.h is not found on Windows.
      08649ce1
    • Chun-wei Fan's avatar
      meson: Check for HarfBuzz and FontConfig for PangoFT2 · 55afeeca
      Chun-wei Fan authored
      It is possible that we can have the following situations, at least on
      Windows:
      -FreeType present, FontConfig missing
      -Cairo-FT present, with no FontConfig support.
      
      As gen-script-for-lang requires FontConfig, and PangoFT2 depends on
      HarfBuzz, FontConfig and Freetype, we need to check for them before we
      build PangoFT2, and so that we could include PangoFT2 support in
      PangoCairo.
      
      The tests and pango-view have an optional dependency on PangoFT2, so we
      need to also check whether we built PangoFT2 before we try to build
      things related to PangoFT2.
      
      For the tools, since gen-script-for-lang.c depends on FontConfig, check
      for it as well before we build it.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=783274
      55afeeca
  9. 03 Jan, 2018 3 commits
  10. 20 Nov, 2017 1 commit
  11. 15 Nov, 2017 2 commits
  12. 27 Oct, 2017 1 commit
  13. 17 Aug, 2017 1 commit
  14. 15 Aug, 2017 2 commits
    • 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
    • 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
  15. 08 Aug, 2017 2 commits
  16. 31 Jul, 2017 3 commits
  17. 29 Jul, 2017 1 commit
  18. 19 May, 2017 4 commits
    • Emmanuele Bassi's avatar
      meson: Install tests and additional data · 386939f9
      Emmanuele Bassi authored
      386939f9
    • Nirbheek Chauhan's avatar
      09623d50
    • Emmanuele Bassi's avatar
      build: Add Meson build system · 5d3af9bf
      Emmanuele Bassi authored
      Meson is a meta build system that is:
      
        - fast
        - simpler to understand and use
        - portable to multiple platforms through different backends
        - well integrated with the GNOME platform
        - well maintained
      
      Using Meson allows us to build Pango much more quickly, and on all the
      platforms we currently target, without any loss of functionality,
      compared to Autotools.
      
      Some timing comparisons with hot ccache for both build systems:
      
        * autogen.sh:                         * meson
          real	0m11.149s                 real          0m2.525s
          user	0m8.153s                  user	        0m1.609s
          sys	        0m2.363s                  sys	        0m1.206s
        * make -j$(($(nproc) + 2))            * ninja
          real	0m9.186s                  real	        0m3.387s
          user	0m16.295s                 user	        0m6.887s
          sys	        0m5.337s                  sys	        0m1.318s
        --------------------------------------------------------------
        * autotools                           * meson + ninja
          real	0m27.669s                 real	        0m5.772s
          user	0m45.622s                 user	        0m8.465s
          sys	        0m10.698s                 sys	        0m2.357s
      
      System: Intel Core i7-7500U, SSD, 16GB of RAM
      5d3af9bf
    • Emmanuele Bassi's avatar
      tests: Use the appropriate extension for the C++ test · 4819027c
      Emmanuele Bassi authored
      While `.C` is a valid GCC extension for C++ files, it only works for
      case sensitive file systems. Let's use `.cpp`, like the rest of the
      planet does.
      4819027c
  19. 04 Oct, 2015 1 commit
  20. 01 Sep, 2015 2 commits
  21. 22 Aug, 2015 1 commit
  22. 18 Aug, 2015 1 commit
  23. 15 Aug, 2015 2 commits
  24. 08 Aug, 2015 2 commits