summaryrefslogtreecommitdiff
path: root/src/xftinit.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2020-04-03 17:43:04 -0700
committerKeith Packard <keithp@keithp.com>2020-04-03 17:43:04 -0700
commit26a3a497409279d74827f374e65ae4b8d3c1f1f7 (patch)
tree519fdd1f87c45e0fb4dc8d21643e6b56c7b2f7b2 /src/xftinit.c
parent972fa05c3df73fd3c99c409c0ac2225a58f76d09 (diff)
downloadxorg-lib-libXft-26a3a497409279d74827f374e65ae4b8d3c1f1f7.tar.gz
Skip 'render' pattern elements with invalid type
Fontconfig no longer supports the FcNameRegisterObjectTypes API, which means that any Xft custom fields cannot be specified in a fontconfig name as those will always be set to FcTypeUnknown in the pattern. The only one of those we care about is XFT_RENDER, which was used to disable the Render extension, something most apps probably don't need to support in names anyways. Allow the call requesting this value to return FcResultTypeMismatch and pretend that XFT_RENDER is missing from the pattern. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/xftinit.c')
0 files changed, 0 insertions, 0 deletions