]> git.ipfire.org Git - thirdparty/cups-filters.git/commitdiff
libcupsfilters: Updated comment about human-readable strings in PPD Generator
authorTill Kamppeter <till.kamppeter@gmail.com>
Tue, 5 Apr 2022 15:01:02 +0000 (17:01 +0200)
committerTill Kamppeter <till.kamppeter@gmail.com>
Tue, 5 Apr 2022 15:01:02 +0000 (17:01 +0200)
There is a longer comment about how to obtain and handle
human-readable strings and translations in the PPD file generator for
driverless printing, right before the source code of the PPD file
generator.

This comment tells that there are no human-readable strings for the
manual color space and depth choices in the ColorModel option wheras
IPP has only simple bi-level/grayscale/color choices and the exact
color space and depth the filters are supposed to select automatically
according to job and printer.

This part of the comment got already obsolete a few days later when I
made the filters auto-selecting color space and depth via the newly
introduced cupsRasterPrepareHeader() and cupsRasterSetColorSpace()
functions.

Now I discovered this forgotten comment and removed the obsolete part.

cupsfilters/ppdgenerator.c

index 3d676ed8bfd49b50c850e614946d391daca55333..eaf4a603523c7a742dca47f99bc74a4cf4807ad5 100644 (file)
@@ -1388,21 +1388,11 @@ cfGenerateSizes(ipp_t *response,
  * attributes-natural-language attribute and then request an appropriate
  * language version of the files if available. The printer-specific
  * strings are downloaded from the printer following the URI in the
- * printer-strings-uri attribute and are in the slected language.
+ * printer-strings-uri attribute and are in the selected language.
  *
- * There are no human-readable strings in these files for the non-IPP
- * choices of the print color mode, for 16 bit color depth, Adobe RGB,
- * and "device" modes as advertised for Apple Raster (urf-supported)
- * and PWG Raster (pwg-raster-document-type-supported). These color
- * spaces are supposed to not be selected manually by the user but the
- * filters should instead detect the color space and depth of the input
- * file and automatically select the best color space and depth for the
- * output to the printer. As the filters do not currently do that we
- * we are allowing the manual selection as a workaround.
- *
- * It is not clear whether these issues (translated PPDs and color space
- * selection) will get fixed in the PPD generator as the need of PPDs
- * in CUPS can go away soon.
+ * It is not clear whether PPD translation will get fixed in the PPD
+ * generator as the need of PPDs in CUPS will go away with version
+ * 3.x.
  *
  * See also:
  *