Re: RTF output: spaces added after { } \ characters
cbowditch wrote: > > What version of FOP are you using? Can you attach a sample FO File that > can be used to demonstrate the issue? > > Thanks, > > Chris > I'm using FOP 0.95. I've attached a stripped down FO file that illustrates the issue. http://old.nabble.com/file/p27989770/test.fo test.fo When you generate the RTF file you'll notice a space after the { } and \ characters. Here's the command I'm using to generate the RTF file: fop test.fo -rtf testoutput.rtf -- View this message in context: http://old.nabble.com/RTF-output%3A-spaces-added-after-%7B-%7D-%5C-characters-tp27937568p27989770.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
RTF output: spaces added after { } \ characters
Hi Everyone, I'm using FOP to generate RTF output. The problem I'm having is that FOP adds a space after each of the following three characters in RTF output: { } \. In PDF output it does not add spaces after these characters. It seems to only be on these characters, though I haven't done a thorough test of other characters. Does anyone know why FOP might be doing this or if there is a workaround to make it stop adding spaces in RTF output? Thanks, Josh -- View this message in context: http://old.nabble.com/RTF-output%3A-spaces-added-after-%7B-%7D-%5C-characters-tp27937568p27937568.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Font Cascade
Thanks for the input. Sounds like I had a few assumptions wrong about the font cascade. It looks like bug 48481 is pretty close to what I'm having trouble with, so I'll study that a bit more. Two additional questions: 1. How stable is the code in the trunk, and when will it be released as a FOP version? 2. I'm still unsure how deal with font cascades. I've seen numerous examples that have the final three fonts in the cascade as: sans-serif, Symbol, ZapfDingbats. How would Symbol and ZapfDingbats ever be used? Every FOP call would use sans-serif and ignore anything that comes after, right? I'm still really fuzzy about how this works for documents that have English text and something like Greek characters for math equations, for example. The Greek characters would have to come from Symbol, right? So how are they ever used if sans-serif is always used? If anyone can point me to additional resources to read about fonts and FOP I would appreciate it. It sounds like the questions I have are FOP issues and not XSL-FO issues, but maybe there is something in the XSL-FO spec that would clarify some of this as well. Thanks, Josh -- View this message in context: http://old.nabble.com/Font-Cascade-tp27786378p27795905.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Font Cascade
Hi Everyone, I'm trying to output a PDF that has both English and Korean characters, sometimes both within the same paragraph. I was told by a coworker that you could use a "cascade" of fonts like you do in CSS, something like the following: However, this doesn't seem to work. FOP only seems to use the first font listed. If I use the above font-family list it will still print out English characters, but they look odd. If I list Arial first, it will print out English, but not Korean. Does anyone have any suggestions about how to do this? I'm not sure what the point is of listing more than one font when FOP only seems to use the first one listed. Thanks, Josh -- View this message in context: http://old.nabble.com/Font-Cascade-tp27786378p27786378.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org