From: Zdenek Dohnal Date: Wed, 15 Jan 2025 12:17:29 +0000 (+0100) Subject: ppd-cache.c: Fix IPP tag for pwg-raster-document-resolution-supported X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac6276a6f4b3960134904a6acd1226d966ea46c5;p=thirdparty%2Fcups.git ppd-cache.c: Fix IPP tag for pwg-raster-document-resolution-supported resolution-supported has IPP_TAG_RESOLUTION --- diff --git a/cups/ppd-cache.c b/cups/ppd-cache.c index 1a918257b8..155efa1bed 100644 --- a/cups/ppd-cache.c +++ b/cups/ppd-cache.c @@ -3510,7 +3510,7 @@ _ppdCreateFromIPP(char *buffer, /* I - Filename buffer */ 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"))