Make DeviceGray the default color as it should be
parent
0ce9a29f83
commit
b6c63bedc6
|
@ -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),
|
||||||
|
|
Loading…
Reference in New Issue