]> git.ipfire.org Git - thirdparty/cups.git/commit
Add missing registered media sizes to PWG mapping table 501/head
authorBenjamin Gordon <bmgordon@chromium.org>
Wed, 19 Oct 2022 03:19:30 +0000 (21:19 -0600)
committerBenjamin Gordon <bmgordon@chromium.org>
Wed, 19 Oct 2022 14:46:28 +0000 (08:46 -0600)
commit3410e50dc03aa82ccf2849b347ddc8db71dc35f5
treedaf56a8904b81c22901e598fc038b425785f1662
parentdc8a269ac45c01e6c64aaf6bf6cfa7bfcdbaf445
Add missing registered media sizes to PWG mapping table

A number of sizes that were added to ipp-registrations.xml after the
initial PWG 5101.1-2002 document are not currently mapped.  When these
sizes are mapped through a generated IPP Everywhere PPD and back to IPP
media size names, they get changed into auto-generated self-describing
names instead of the official registered names.

This change adds all the non-duplicate missing names.  Most of them
don't have official MediaOptions keywords, so the PPD names are mapped
to dimensions.  With the updated mapping table, all of these sizes can
roundtrip correctly.

This also fixes a missing unit and an incorrect name in two existing
mappings for oe photo sizes.

These entries were not added due to being duplicates of existing sizes:

* iso_id-3_88x125mm duplicates iso_b7_88x125mm.
* oe_photo-s10r_10x15in duplicates na_10x15_10x15in.
* prc_3_125x176mm duplicates iso_b6_125x176mm.
* om_postfix_114x229mm duplicates iso_c6c5_114x229mm.
* prc_10_324x458mm duplicates iso_c3_324x458mm.
* prc_5_110x220mm duplicates iso_dl_110x220mm.

Signed-off-by: Benjamin Gordon <bmgordon@chromium.org>
cups/pwg-media.c