]> granicus.if.org Git - graphviz/commit
LASi plugin: support newer Pango font variants
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 26 Apr 2022 00:11:27 +0000 (17:11 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 1 May 2022 02:34:22 +0000 (19:34 -0700)
commit222b019260418667a6441b8b064376abc96626ff
tree538ddcc5841156a27e2bcb77fb0feb43c9b2b36f
parente02dcc534fd4046b71d3ad96bc72b6b5bbe8f82a
LASi plugin: support newer Pango font variants

Similar to 89edf3fe0ac0378b7d1297a0ca349a15bade3980, this introduces support for
newer versions of Pango. Without this, strict compilation with -Werror in the
CMake build fails when building against Pango ≥ 1.50. The only LASi font
variants are `NORMAL_VARIANT` and `SMALLCAPS`, so mapping Pango to LASi
equivalents is limited to being a coarse-grained lossy conversion.

Github: #2234
plugin/lasi/gvrender_lasi.cpp