I need to do simple color separation. Blue ink goes on one page, red ink goes on another.
So given the line: [Blue]You [/Blue][Red]are my [/Red][Blue]Sunshine[/Blue] I need to print one page with: "You Sunshine" and one page with: " are my " With XSL:FO, the natural way to do this would be to something like: [Page 1] <fo:block><fo:inline visibility="hidden">You are my </fo:inline><fo:inline color="#ff0000">sunshine.</fo:inline></fo:block> [Page 2] <fo:block><fo:inline color="#0000ff">You are my </fo:inline><fo:inline visibility="hidden">sunshine.</fo:inline></fo:block> But in FOP, the visibility property isn't supported. Is my only recourse to do something like this? [Page 1] fo:block-container top="1.2343278in" left="1in" color="#ff0000"><fo:block><fo:inline>You are my</fo:inline></fo:block></fo:block-container> [Page 2] <fo:block-container top="3.7382423in" left="1in" color="#0000ff><fo:block><fo:inline>sunshine</fo:inline></fo:block></fo:block-container> That's pretty ugly and requires my calculating width and kerning using the XML metric file. Any other suggestions? -Adam PS: Whoever is responsible for maintaining the fop page. http://xml.apache.org/fop/fonts.html#custom specifies the avalon framework classpath as lib/avalon-framework.jar, when the install is actually avalon-framework-cvs-20020806.jar. Not a hard problem for a user to solve, but you might include a note. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
