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

nilason noreply at github.com
Thu Jul 15 11:17:55 PDT 2021


  Branch: refs/heads/releasebranch_7_8
  Home:   https://github.com/OSGeo/grass
  Commit: 5a97bbe77fa3a6492c6c837a0a2debb421b7cfc5
      https://github.com/OSGeo/grass/commit/5a97bbe77fa3a6492c6c837a0a2debb421b7cfc5
  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