Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ppd-cache.c: Use 0.5mm for delta when comparing sizes
@szlt5 found out libppd does not use the same delta as CUPS, which causes filters to use first size from the array, because the similar size according PWG (which recommends max delta 0.5mm) is not matched as useable. Related to OpenPrinting#29, but not fixing the original issue.
- Loading branch information
7ec5075
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zdohnal Thanks, but there is another macro
_PPD_PWG_EQUIVALENT
in theppd-ipp.c
7ec5075
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zdohnal both the OpenPrinting#29 and mine can be fixed after update the macro
_PPD_PWG_EQUIVALENT
in theppd-ipp.c
. I have tested them.