[GRASS-git] [OSGeo/grass] 1e9323: libcairodriver: enable Cairo with and without Font...

nilason noreply at github.com
Thu Jul 15 11:09:31 PDT 2021


  Branch: refs/heads/master
  Home:   https://github.com/OSGeo/grass
  Commit: 1e9323e15b73456921f2e11d4d653000fcc6de4e
      https://github.com/OSGeo/grass/commit/1e9323e15b73456921f2e11d4d653000fcc6de4e
  Author: nilason <n_larsson at yahoo.com>
  Date:   2021-07-15 (Thu, 15 Jul 2021)

  Changed paths:
    M lib/cairodriver/text.c

  Log Message:
  -----------
  libcairodriver: enable Cairo with and without Fontconfig (#1697)

Changes with Cairo 1.10, lead to three different situations to account to regarding
Fontconfig support:

- Cairo <1.10 has Fontconfig as a requirement (no CAIRO_HAS_FC_FONT)
- Cairo => 1.10 compiled with Fontconfig (CAIRO_HAS_FC_FONT is defined)
- Cairo => 1.10 compiled without Fontconfig (CAIRO_HAS_FC_FONT is not defined)

This updates to take all cases into consideration.




More information about the grass-commit mailing list