Hi Jeremias, I tried the merge to trunk and except for the log changes file there were no conflicts. I assume you don't mind if I proceed with the merge by launching a vote next week (unless you want to do it yourself).
Attached is an FOP file (and the resulting PDF generated using the new Batik jar) with an SVG with CMYK. Luis On Tue, Jul 29, 2014 at 8:16 AM, Jeremias Maerki <d...@jeremias-maerki.ch> wrote: > Hi Luis > > I'm terribly sorry for the late answer. I've just downloaded the e-mails > from this account which I haven't done for more than a month. > > Basically, I think it's fine to merge that back into trunk. I'm still > maintaining private branches of FOP and Batik which add OSGi support and > the Batik one is based on the color branch. I've never gotten around to > make the push back into official repositories especially since those API > changes in FOP that I didn't agree with. I've made some additional > changes to my Batik branch which is mostly just cosmetics but I've also > merged most of the changes from the foreignObject branch in there > because I needed to embed XHTML in SVG. And I've made little changes to > URI/URL resolution. So looking at my change log, I think I didn't have > to do any changes to the color support since I've last worked on that > (official) branch. > > HTH, > Jeremias Maerki > > > On 02.07.2014 01:42:21 Luis Bernardo wrote: > > > > Hi Jeremias, > > > > I recently discovered the batik svgcolor12 branch that you created and > > worked on. I tested support for CMYK color (with a simple example) and > > it worked well, so I am keen to see this merged to trunk. What is the > > status of the branch (and implementation)? > > > > Thanks, > > Luis > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: batik-dev-unsubscr...@xmlgraphics.apache.org > For additional commands, e-mail: batik-dev-h...@xmlgraphics.apache.org > >
<?xml version="1.0" encoding="UTF-8"?> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:svg="http://www.w3.org/2000/svg"> <fo:layout-master-set> <fo:simple-page-master margin="1in" master-name="page" page-height="11in" page-width="8.5in"> <fo:region-body/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="page"> <fo:flow flow-name="xsl-region-body"> <fo:block font-size="0"> <fo:instream-foreign-object content-height="auto" content-width="auto"> <svg:svg height="300" version="1.1" viewBox="0 0 300 300" width="300" x="0" y="0"> <svg:g> <!-- sea green --> <svg:rect height="50" style="fill:rgb(46,139,87)" width="150" x="0" y="0"/> <svg:text font-size="16" font-weight="bold" style="fill:#ffffff" x="10" y="30">Sea Green RGB</svg:text> <svg:rect height="50" style="fill:rgb(46,139,87) device-cmyk(0.669, 0.000, 0.374, 0.455)" width="150" x="150" y="0"/> <svg:text font-size="16" font-weight="bold" style="fill:#ffffff" x="160" y="30">Sea Green CMYK</svg:text> <!-- indigo --> <svg:rect height="50" style="fill:rgb(75,0,130)" width="150" x="0" y="50"/> <svg:text font-size="16" font-weight="bold" style="fill:#ffffff" x="10" y="80">Indigo RGB</svg:text> <svg:rect height="50" style="fill:rgb(75,0,139) device-cmyk(0.423, 1.000, 0.000, 0.490)" width="150" x="150" y="50"/> <svg:text font-size="16" font-weight="bold" style="fill:#ffffff" x="160" y="80">Indigo CMYK</svg:text> <!-- firebrick --> <svg:rect height="50" style="fill:rgb(178,34,34)" width="150" x="0" y="100"/> <svg:text font-size="16" font-weight="bold" style="fill:#ffffff" x="10" y="130">Firebrick RGB</svg:text> <svg:rect height="50" style="fill:rgb(178,34,34) device-cmyk(0.000, 0.809, 0.809, 0.302)" width="150" x="150" y="100"/> <svg:text font-size="16" font-weight="bold" style="fill:#ffffff" x="160" y="130">Firebrick CMYK</svg:text> <!-- royal blue --> <svg:rect height="50" style="fill:rgb(65,105,225)" width="150" x="0" y="150"/> <svg:text font-size="16" font-weight="bold" style="fill:#ffffff" x="10" y="180">Royal Blue RGB</svg:text> <svg:rect height="50" style="fill:rgb(65,105,225) device-cmyk(0.711, 0.533, 0.000, 0.118)" width="150" x="150" y="150"/> <svg:text font-size="16" font-weight="bold" style="fill:#ffffff" x="160" y="180">Royal Blue CMYK</svg:text> <!-- sienna --> <svg:rect height="50" style="fill:rgb(160,82,45)" width="150" x="0" y="200"/> <svg:text font-size="16" font-weight="bold" style="fill:#ffffff" x="10" y="230">Sienna RGB</svg:text> <svg:rect height="50" style="fill:rgb(160,82,45) device-cmyk(0.000, 0.488, 0.719, 0.373)" width="150" x="150" y="200"/> <svg:text font-size="16" font-weight="bold" style="fill:#ffffff" x="160" y="230">Sienna CMYK</svg:text> <!-- light coral --> <svg:rect height="50" style="fill:rgb(240,128,128)" width="150" x="0" y="250"/> <svg:text font-size="16" font-weight="bold" style="fill:#ffffff" x="10" y="280">Light Coral RGB</svg:text> <svg:rect height="50" style="fill:rgb(240,128,128) device-cmyk(0.000, 0.467, 0.467, 0.059)" width="150" x="150" y="250"/> <svg:text font-size="16" font-weight="bold" style="fill:#ffffff" x="160" y="280">Light Coral CMYK</svg:text> </svg:g> </svg:svg> </fo:instream-foreign-object> </fo:block> </fo:flow> </fo:page-sequence> </fo:root>
svg-cmyk-colors.pdf
Description: Adobe PDF document
--------------------------------------------------------------------- To unsubscribe, e-mail: batik-dev-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: batik-dev-h...@xmlgraphics.apache.org