From: Sergio Gómez Date: Tue, 14 Jan 2025 23:03:15 +0000 (-0500) Subject: ppd-cache.c: Fix IPP tag for pwg-raster-document-resolution-supported X-Git-Tag: v2.4.12~30^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63f5c71f0bd4ec1692162e153f033c120417c6af;p=thirdparty%2Fcups.git ppd-cache.c: Fix IPP tag for pwg-raster-document-resolution-supported Signed-off-by: Sergio Gómez --- diff --git a/cups/ppd-cache.c b/cups/ppd-cache.c index a3198a7951..5d61f7c9f5 100644 --- a/cups/ppd-cache.c +++ b/cups/ppd-cache.c @@ -3544,7 +3544,7 @@ _ppdCreateFromIPP2( is_apple = ippContainsString(attr, "image/urf") && (ippFindAttribute(supported, "urf-supported", IPP_TAG_KEYWORD) != NULL); is_pdf = ippContainsString(attr, "application/pdf"); is_pwg = ippContainsString(attr, "image/pwg-raster") && !is_apple && - (ippFindAttribute(supported, "pwg-raster-document-resolution-supported", IPP_TAG_KEYWORD) != NULL) && + (ippFindAttribute(supported, "pwg-raster-document-resolution-supported", IPP_TAG_RESOLUTION) != NULL) && (ippFindAttribute(supported, "pwg-raster-document-type-supported", IPP_TAG_KEYWORD) != NULL); if (ippContainsString(attr, "image/jpeg"))