Re: Wrapping Long Text Without Spaces

2007-04-06 Thread Jeff Vannest
Just FYI: the other known workaround (which fits some scenarios better than inserting ZWSPs) would be to activate hyphenation, and use a ZWSP as hyphenation-character... In that case, FOP will This is new to me, so let me see if I understand: A ZWSP is implicit between characters. For

RE: fop 0.20.5 and chinese pdf

2007-03-15 Thread Jeff Vannest
Arial Unicode MS font should work. Someone else will need to answer the version question. Jeff - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: fop 0.20.5 and chinese pdf

2007-03-15 Thread Jeff Vannest
Yes, embedding is really the only way to go, and yes, the file will be PDF smaller because only the glyphs that are used are embedded, not all glyphs in the font. Jeff - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: out.flush()

2007-03-13 Thread Jeff Vannest
Could you please state which OutputStream implementation are used in your code? SorryI didn't answer your question: java.io.FileOutputStream and java.io.BufferedOutputStream. A code snippet from the servlet appears below. Thanks, Jeff // Setup output OutputStream out = new

R: A minor question

2007-03-12 Thread Jeff Vannest
Is it possible to put this messages into a variable, so that I can access them from my Java-program? Search for redirect standard out java in Google. For example: http://www.jcreator.com/forums/index.php?showtopic=773 Jeff

out.flush()

2007-03-12 Thread Jeff Vannest
Will someone add out.flush() to the embedding example on the FOP website...for example, at http://xmlgraphics.apache.org/fop/0.93/embedding.html? It seems a shame that everyone embedding FOP learns to flush() by trial and error. Thanks! Jeff

Re: out.flush()

2007-03-12 Thread Jeff Vannest
Closing the buffered out without flushing causes the PDF file to be closed before all data is written to it. Originally when I started working with the embedded FOP I had this problem...adding the flush got rid of the problem completely. Another user had the same problem and reported it on 3/6/07

RE: Page break

2007-03-09 Thread Jeff Vannest
I have a module with 4 column.The first column is a product descripion and the third is the price.Then when if the description is break on the new page the prrice is on the same line of the first product description line but i want that the price is dyplayed on the last line of the description

RE: Support for other fonts

2007-03-07 Thread Jeff Vannest
Rico, Can you briefly describe what you mean by the lack of proper support for other fonts in FOP? What do you find lacking? I'm embedding FOP in an Oracle Reports server to support multi-byte languages (Japanese, Chinese, etc.) using the Arial Unicode MS font. While I have not done extensive

RE: Arial Unicode MS-MathML-bitmaps

2007-03-07 Thread Jeff Vannest
when embedding Arial Unicode MS font using TTFReader I had to change the font's name avoiding spaces We've discussed this at length, recently. Apparently, the current FOP code tree has been adjusted for this, although according to the CSS spec, it's not an error. Font names that contain spaces

RE: My little FOP-project

2007-03-07 Thread Jeff Vannest
Thank you, Tom, I find it interesting. I would not refer to a stylesheet as a script, which connotes a procedural set of commands. Stylesheets, HTML, etc, are typically called markup. This is a very minor comment. I need to create a XML stylesheet pretty soon for a project I'm working on, so I

XPath version

2007-03-06 Thread Jeff Vannest
What version of XPath is used in FOP 0.93 when parsing through an XSLT-FO file? Is there a way to control the XPath version being used? I'm trying to use: xsl:if test=upper-case( ../NAME ) = quot;SITE NAMEquot; But I get the error: SystemId Unknown; Line #27; Column #73; Could not find

Re: [SPAM] font-family=Arial Unicode MS in rtf doesn't work

2007-02-21 Thread Jeff Vannest
I don't doubt that you, the FOP developers, are a group of good software professionals and a bunch of nice peaple. But the way you handle FOP as a product development project and relate to the user's of FOP is downright amateurish. And for me irritating, too. It seems most of the

Re: font-family=Arial Unicode MS in rtf doesn't work

2007-02-20 Thread Jeff Vannest
No, they didn't! My error report was cosed with the remark that in FOP the workaround is quoting. Yeah, but that's not the answer I would expect (ord accept) for such a (technically) minor bug. I've changed my opinion on this issue. The CSS spec on 'font-family' gives this example in section

Re: [SPAM] font-family=Arial Unicode MS in rtf doesn't work

2007-02-20 Thread Jeff Vannest
Yes, we did! :) It was fixed in FOP /Trunk/ (= fix will be in the next release) Excellent! This means that my Altova StyleVision should work either way with the new rev. Is there a way to know when the next rev will be released? Jeff

RE: Need help on PDF generation using XSL-FO

2007-02-08 Thread Jeff Vannest
we have another requirement of disabling the PRINT, SAVE and EDIT options in the PDF. It looks like we can't disable the PRINT option using XSL-FO. Disabling print and edit are handled by PDF security. Why can't you disable print? I have not tried, but it looks like the PDF security

Re: font-family=Arial Unicode MS in rtf doesn't work

2007-02-06 Thread Jeff Vannest
Should be simple enough for someone who wants to get his feet wet... snip FWIW: already did this locally (incl. normalization of sequences of more than one space). It all boils down to an added 35-40 lines of code... As soon as I'm 100% sure that the testcases that now fail, are

RE: font-family=Arial Unicode MS in rtf doesn't work

2007-02-06 Thread Jeff Vannest
To: fop-users@xmlgraphics.apache.org Subject: Re: font-family=Arial Unicode MS in rtf doesn't work Jeff Vannest wrote: Yeah, I'm not sure why anyone would want multiple spaces between words as previously quoted. I can't see how that would be desirable. Line wrapping with indentation done by tools

RE: font-family=Arial Unicode MS in rtf doesn't work

2007-02-05 Thread Jeff Vannest
I've noticed the same going to PDF. For some reason specifying Arial Unicode MS is not honored. I worked around it by using the Arial font-family and mapping the Arial triplets to the ARIALUNI.TTF in the userconfig.xml. Jeff -Original Message- From: Dominic Marcotte [mailto:[EMAIL

RE: font-family=Arial Unicode MS in rtf doesn't work

2007-02-05 Thread Jeff Vannest
Jeremias Maerki wrote: Try font-family='Arial Unicode MS' http://www.w3.org/TR/xsl11/#font-family says: Font family names containing whitespace should be quoted. font-family=Arial Unicode MS is already quoted, right? To my knowledge, all attribute values must be quoted in order to meet most

RE: Use of FO in Internationalization/Globalization

2007-01-30 Thread Jeff Vannest
I'm attempting a globalized implementation using FOP 0.93 embedded into an Oracle AS 10g (9.0.4) pluggable destination in the Oracle Reports server. The critical aspects seem to be: 1) Full Unicode support for international characters 2) Embedding a Unicode font into the PDF I'm

RE: Error: Content is not allowed in prolog

2007-01-30 Thread Jeff Vannest
Oh, man, chagrin. Thank you very much, Jeremias! Jeff -Original Message- From: Jeremias Maerki [mailto:[EMAIL PROTECTED] Sent: Friday, January 26, 2007 9:49 AM To: fop-users@xmlgraphics.apache.org Subject: Re: Error: Content is not allowed in prolog On 26.01.2007 15:42:49 Jeff Vannest

RE: Embedding font triplets w/ a single TTF file

2007-01-30 Thread Jeff Vannest
-Original Message- From: Manuel Mall [mailto:[EMAIL PROTECTED] Sent: Monday, January 29, 2007 8:01 PM To: fop-users@xmlgraphics.apache.org Subject: Re: Embedding font triplets w/ a single TTF file FOP requires a font containing the actual bold (or italic) characters it has no

Error: Content is not allowed in prolog

2007-01-26 Thread Jeff Vannest
I've embedded FOP 0.93 successfully am able to process XML+XSLFO=PDF. However, when I try embed fonts I get this error message: Caught exception: javax.xml.transform.TransformerException: java.lang.RuntimeException: Content is not allowed in prolog. This only occurs when I place the following