Skip to content

Commit

Permalink
ppd-cache.c: Fix IPP tag for pwg-raster-document-resolution-supported
Browse files Browse the repository at this point in the history
Signed-off-by: Sergio Gómez <sergio.g.delreal@gmail.com>
  • Loading branch information
Sergio Gómez committed Jan 14, 2025
1 parent fd9075f commit 63f5c71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cups/ppd-cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit 63f5c71

Please sign in to comment.