-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libcupsfilters: Let raster driver functions use log function
libcupsfilters contains a lot of functions for raster drivers, to convert raster formats, handle colors with lookup tables (LUTs), ... See cupsfilters/driver.h for the API. These functions, originally designed for the use in CUPS filters, had logged directly to stderr. Now to allow easy use of them in filter functions we have changed all logging to go into a provided filter function and appropriately added parameters to the call schemes of the functions which need it to supply the log function. Also updated the printer drivers rastertopclx and rastertoescpx and also the test programs testcmyk and testdither to use the changed API.
- Loading branch information
1 parent
3b80c89
commit 530783e
Showing
9 changed files
with
330 additions
and
221 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.