Make DeviceGray the default color as it should be

pull/129/head
Quentin Pradet 2018-03-06 11:24:07 +04:00
parent 0ce9a29f83
commit b6c63bedc6
No known key found for this signature in database
GPG Key ID: 89964D54095F813B
1 changed files with 1 additions and 1 deletions

View File

@ -23,12 +23,12 @@ class PDFColorSpace(object):
PREDEFINED_COLORSPACE = collections.OrderedDict() PREDEFINED_COLORSPACE = collections.OrderedDict()
for (name, n) in [ for (name, n) in [
('DeviceGray', 1), # default value first
('CalRGB', 3), ('CalRGB', 3),
('CalGray', 1), ('CalGray', 1),
('Lab', 3), ('Lab', 3),
('DeviceRGB', 3), ('DeviceRGB', 3),
('DeviceCMYK', 4), ('DeviceCMYK', 4),
('DeviceGray', 1),
('Separation', 1), ('Separation', 1),
('Indexed', 1), ('Indexed', 1),
('Pattern', 1), ('Pattern', 1),