1. 18 Apr, 2019 7 commits
    • Chun-wei Fan's avatar
      MSVC builds: Add instructions on building with Font Tweaking support · e25c74c0
      Chun-wei Fan authored
      This tells people how the Font Tweaking support that was added for
      GTK+-3.24.x can be enabled with the Visual Studio projects, which is
      otherwise not enabled by default.
    • Chun-wei Fan's avatar
      MSVC builds: Add a .bat script to regenerate demos.h.win32 · cd4479fb
      Chun-wei Fan authored
      This adds a batch script which in turn calls the geninclude.pl.in PERL
      script in demos/gtk-demo to re-generate demos.h.win32 with or without
      the font features demo program by whether the "font" argument is
      Note that the extra space character just before the first set FONT_MSG
      line is intentional.
      The complete batch script is generated upon 'make dist' so that the demo
      listings can be as updated as possible.
    • Chun-wei Fan's avatar
      meson: Enable font tweaking on Windows without PangoFT · 8183f333
      Chun-wei Fan authored
      We just need HarfBuzz and FreeType to enable the font tweaking on
      Windows, but we can still enable PangoFT support if that is found.
    • Chun-wei Fan's avatar
      demos/font_features.c: Support PangoWin32 Font as well · ec7b712b
      Chun-wei Fan authored
      Also support PangoWin32 fonts for the font features demo, which will
      enable running on Windows even if PangoFT support is not enabled or is
      Check for PangoWin32 as well in configure to see whether the font
      features demo will be built.  If either PangoFT2 or PangoWin32 is found
      along with HarfBuzz, build the font features demo.
    • Chun-wei Fan's avatar
      gtk/gtkfontchooserwidget.c: Support PangoWin32 fonts as well · a9bcfc73
      Chun-wei Fan authored
      The current font tweaking support here actually assumes that
      PangoFCFonts are used, which is not the case on Windows unless one
      specifically uses the FontConfig backend (set PANGOCAIRO_BACKEND=fc).
      This means that if GTK+ is build with HarfBuzz and PangoFT support
      enabled, the attempting to run the font tweaking support code on Windows
      will crash unless the FontConfig Pango backend is used.
      Use the utility code that we just added to support turning the
      PangoWin32Font into a FT_Face, so that we can load it using HarfBuzz,
      which is necessary before Pango is updated to use HarfBuzz for shaping
      on all supported backends at least.  This will also allow the font
      tweaking page to at least display properly even if GTK+ is not built
      with PangoFT support.
      Note that for the font tweaking updates to be applied, PangoWin32 needs
      to be updated as well, but at least for the GTK+ front this will pave
      the foundation for this.
    • Chun-wei Fan's avatar
      gtk: Add utility source to convert from PangoFont to FT_Face · 4ae9d7fc
      Chun-wei Fan authored
      ...when we are not using PangoFT2, so that we can continue using
      HarfBuzz to query the OpenType tags for use with font tweaking, at least
      before Pango uses HarfBuzz to shape on all platforms.
    • Chun-wei Fan's avatar
      state-record.c: Include header for write()/close() · 983e82b7
      Chun-wei Fan authored
      Avoid an "implicit declaration of ..." warning/error for using
  2. 17 Apr, 2019 1 commit
  3. 16 Apr, 2019 2 commits
  4. 15 Apr, 2019 2 commits
  5. 14 Apr, 2019 1 commit
  6. 13 Apr, 2019 2 commits
  7. 12 Apr, 2019 5 commits
  8. 11 Apr, 2019 20 commits