Quartz / Chartbuilder

A front-end charting application that facilitates easy creation of simple beautiful charts
http://quartz.github.io/Chartbuilder
MIT License
2.1k stars 354 forks source link

export as true grays for print #272

Closed shmcminn closed 6 years ago

shmcminn commented 6 years ago

Request/question if this is possible - is there a way to set the "gray" colors so that when they export they have a color scheme like:

C:0 M:0 Y:0 K: {XX%}

For those of us who use these in newsprint, this prevents problems when the color printer tries to print gray additively and the alignment is slightly off.

yanofsky commented 6 years ago

Hey Sean, are you talking about the SVG or the PNG export?

shmcminn commented 6 years ago

We would use this in the SVG export

yanofsky commented 6 years ago

Depending on your production workflow, the solution might just be to add cmyk specs to the stylesheet. SVG supports cmyk with version 2.0.

Unfortunately if you're using Adobe Illustrator you're going to be out of luck. Illustrator opens and saves SVG in RGB seemingly always and ignores the cmyk based css.

You might be best off scripting a solution inside of whatever software you're using in production.