Re: Custom TT Fonts not embedded gives garbage

2003-07-30 Thread Ralf Steppacher
Thanks a lot for your help! I will embedd the font for now. Ralf - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Custom TT Fonts not embedded gives garbage

2003-07-28 Thread Ralf Steppacher
[quote] -enc ansi With this option you create a WinAnsi encoded font. The default is to create a CID keyed font. If you're not going to use characters outside the pdfencoding range (almost the same as iso-8889-1) you can add this option. [quote] The problem is that I need J

Re: Custom TT Fonts not embedded gives garbage

2003-07-28 Thread Ralf Steppacher
In the meantime, if you like, try cutting some of the jumbled text from your PDF and pasting it into another application. Is the underlying text 1) correct, 2) the same as appears in the PDF, or 3) something else? The last one is true. If I copy and paste to an other application I get only blanks.

Re: Custom TT Fonts not embedded gives garbage

2003-07-25 Thread Ralf Steppacher
Please be more specific about "garbage". Are you getting all "#" characters? Are ASCII characters working and nothing else, or is nothing coming through correctly? Can you see any patterns (like an "a" always comes out as a "w")? In my case I get random characters. E.g. where it should say "Report

Custom TT Fonts not embedded gives garbage

2003-07-25 Thread Ralf Steppacher
Hello list, I have a problem using custom true type fonts that I do not want to embed into a PDF file. If I do not embed the font acroread displays only garbage. The font is standard Arial and is definitively installed, the metric file was generated on the very same machine that is used to crea

Re: How to Center a text in a table cell?

2002-06-28 Thread Ralf Steppacher
> I don't know how I can center a text verticaly in a cell table. Centered HTH Ralf

Re: Generating an Index or Table of Contents

2002-06-27 Thread Ralf Steppacher
Hello Paul. > Does anyone have any ideas on how one might generate an index at the > back of a document based on entries contained within the pages of the > document. These index entries would need to know the page number of > source of the entry. Have a look at fo:page-number-citation. You need al

Re: vertical fo:leader problem

2002-06-25 Thread Ralf Steppacher
> Could some one help me??? I am trying to get the vertical lines... > fo:leader. when i use the fo:leader it always gives me a horizontal > line. Anyone has got any clue??? Try to specify a leader-pattern: HTH Ralf

Re: Hyphenation

2002-06-24 Thread Ralf Steppacher
I will post my LineArea.java as soon as I have it cleaned up a bit. :-) Here it is. The problem concerning additional space is solved, too. Ralf /* * $Id: LineArea.java,v 1.53.2.5 2002/02/11 00:43:45 chrisg Exp $ * Copyright (C) 2001 The Apache Software Foundation. All rights reserved. * For det

Re: FOP build fails

2002-06-21 Thread Ralf Steppacher
I try to build FOP 0.20.3 via the build.bat script on win2k, jdk1.4.0_01 but the the build fails because some xml files can not be found. This *should* be fixed with Fop 0.20.4rc (I would be happy if you could test it) Yes it is. But acutal compilation fails with [javac] Compiling 717 source

Re: Hyphenation

2002-06-21 Thread Ralf Steppacher
Is there a way to enforce TeX's behavior? Not prepackaged. You are invited to hack around in the files in layout/hyphenation. OK, I did: It is all in org.apache.fop.layout.LineArea.java. I altered the hyphenation strategie as follows: If there is a hyphen in a word and the character data before th

Re: FOP build fails

2002-06-20 Thread Ralf Steppacher
right. Thanks again. Ralf Oleg Tkachenko wrote: Ralf Steppacher wrote: I try to build FOP 0.20.3 via the build.bat script on win2k, jdk1.4.0_01 but the the build fails because some xml files can not be found. Try to build using jdk 1.3.X.

FOP build fails

2002-06-20 Thread Ralf Steppacher
Hi, I try to build FOP 0.20.3 via the build.bat script on win2k, jdk1.4.0_01 but the the build fails because some xml files can not be found. Z:\steppacher\Downloads\FOP\fop-0.20.3\build.xml:512: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: File "file:///Z:/steppach

Hyphenation

2002-06-19 Thread Ralf Steppacher
example. Is there a way to enforce TeX's behavior? TIA Ralf Steppacher

Re: page-number-citation and break-before

2002-06-14 Thread Ralf Steppacher
I encountered a problem using a break-before="page" in a block that is referenced by a page-number-citation in my TOC. [..] This is a bug. Use as a workaround. Thanks! That works fine. (bonus points for describing what mechanisms are broken by this approach) I am sorry, but could you elaborat

page-number-citation and break-before

2002-06-13 Thread Ralf Steppacher
there some deeper reasons why the page number can not be calculated in the case of the last page enforced by a break-before? Thanks in advance. Ralf Steppacher

Re: Block and page changing

2002-06-11 Thread Ralf Steppacher
Hello Kurt. I couldn't figure what value I have to give it... Legal values are "auto", "always" and an integer value. Integer 'Imposes a keep-together condition with strength of the given in the appropriate context.' [http://www.w3.org/TR/xsl/slice7.html#keep-together] HTH Ralf

Re: wrong namespace??

2002-05-31 Thread Ralf Steppacher
I´ve copied your xsl and tried doing a transformation... unfortunately i´m still getting the same error... Have you tried to do the transformation on the command line? How does the code you use look like? Ralf

Re: wrong namespace??

2002-05-31 Thread Ralf Steppacher
Esteban Gonzalez wrote: This is the error javax.xml.transform.TransformerConfigurationException: stylesheet requires attribute: version at org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(Transformer And this is the XSL styleSheet [..] I pruned your stylesheet and transform

Re: wrong namespace??

2002-05-31 Thread Ralf Steppacher
- Original Message - From: "Ralf Steppacher" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 31, 2002 4:46 AM Subject: Re: wrong namespace?? > xmlns:xsl="http://www.w3.org/1999/XSL/Transform";> > > http://www.w3.org/1999/XSL/Transform&

Re: wrong namespace??

2002-05-31 Thread Ralf Steppacher
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform";> > > http://www.w3.org/1999/XSL/Transform"; > xmlns:fo="http://www.w3.org/1999/XSL/Format"; version="1.0"> > > wich one is right?... If you write a stylesheet that contains formatting objects you have to include both the Transform and Format nam

Re: Image source

2002-05-28 Thread Ralf Steppacher
i would like to know is how can i tell xsl that i want an image whose name is in a xml tag? For example: in the xml... nameOfImage.jpg ... in the xsl... ... You could do something like:

Re: Border a row?

2002-05-15 Thread Ralf Steppacher
I'm trying to border a row in a table by using following properties : N/A ... But, It doesn't work ? What I miss? Did you set border-collapse="collapse" or border-collapse="collapse-with-precedence" for your table? If you have not, border properties can

Re: Attribute's effect in nested fo:inline

2002-05-14 Thread Ralf Steppacher
I am using FOP 0.20.2. I am having a problem while applying 'text-decoration' and 'vertical-align' attributes to a nested fo:inline. I have some text content in the inner fo:inline where the effect of the above attributes is not being seen, when they are specified in the outer fo:inline. If content

Re: page-masters for different 1st page

2002-05-14 Thread Ralf Steppacher
From what I can gleam from the examples all this allows me to do is have different margins for the first page. My first page needs to have different content in the region-after only for the first page. Is there a way of doing this? You are nearly there... You can name your region-after within the

Re: what are the other third party softwares needed ?

2002-05-10 Thread Ralf Steppacher
Yes, this list would not be half that usefull without his contributions. Ralf Peter B. West wrote: > Seconded. > > Peter > > [EMAIL PROTECTED] wrote: > >> P.S: A special thanks to J.Pietschmann for all his time and help >> with various topics.

Re: Basic-link problem in JSPs

2002-05-07 Thread Ralf Steppacher
First of all: Thank you very much for your help! >> >> >> > > This is the real problem. You probably noticed that the link area is > not the whole page number, in particular with multiple digit page > numbers. Yes, that is right. I will follow your advise and use the headline text as link area

Re: Basic-link problem in JSPs

2002-05-06 Thread Ralf Steppacher
Can you post a trimmed down version of your source XML and the style sheet which demonstrates the problem? I attached the XML source and the FO file as it is dumped for debugging purpose from my code. The stylesheet is still a bit lengthy (main style sheet is allInOne2FO_short). The link should b

Re: Blank pages

2002-05-04 Thread Ralf Steppacher
I wasn't precise enough in my first posting. Next try... >> I wonder how I can procude legal empty pages (and then suppress >> them)? > > Forced blank pages are mainly created by page count constraints, for > example a break-before="odd-page" will insert a page break [..]. My empty page results fro

Blank pages

2002-05-03 Thread Ralf Steppacher
Hi all. I wonder how I can procude legal empty pages (and then suppress them)? Defining only a single conditional-page-master-reference for not-blank pages in a repeatable-page-master-alternatives results in a NullPointerException when FOP encounters an empty page. With a c-p-m-r for blank pages

Re: Problem after generating PDF

2002-05-03 Thread Ralf Steppacher
[..] Driver driver = new Driver(); driver.setRenderer(Driver.RENDER_PDF); InputHandler inputHandler = new XSLTInputHandler(xmlFile, xslFile); XMLReader parser = inputHandler.getParser(); / changes start here / FileOutputStream fos = FileOutputStream( outFile ); driver.se

Re: Basic-link problem in JSPs

2002-05-03 Thread Ralf Steppacher
>>> Are you, by any chance, using disable-output-escaping somewhere? >> >> Yes, [..]. > > XSLT doesn't del with tags, it uses a tree of nodes for input and > output.[..] > >> Behaviour does not change if I comment out the two lines (that do >> not work with embedded fop either). > > If you delete t

Re: Basic-link problem in JSPs

2002-05-02 Thread Ralf Steppacher
The problem: When I generate the PDF with the JSP my fo:basic-links don't make it into the PDF. If I dump the FO DOM tree to a file and use fop from the commandline the links are present in the PDF. Are you, by any chance, using disable-output-escaping somewhere? Yes, but somewhere else in the st

Basic-link problem in JSPs

2002-04-30 Thread Ralf Steppacher
Hi all. I transform a xml file and add FO vocabulary, generating a PDF with fop afterwards. Now that I got it work using xalan and fop from the command line I embedded both into a JSP and a bean following the example code from docs/examples/embedding. The problem: When I generate the PDF with th

Re: Spaces and precedence

2002-04-26 Thread Ralf Steppacher
Hi. Here is the (pruned) FO I get as an result of my xsl transformation. What I wanted to do was suppress additional space between two headlines that directly follow each other. 7.Leistungsspektrum 7.1 Einzelplatzscanner Block one := A Blo

Re: multiple page table

2002-04-24 Thread Ralf Steppacher
> I have a table that spans several pages in my document. I want to > have the table header repeated on every page that the table spans. > How is it done? Use a fo:table-header. http://www.w3.org/TR/xsl/slice6.html#fo_table-header Ralf

Spaces and precedence

2002-04-17 Thread Ralf Steppacher
Hi all. I have a short question about spaces and precedences: What I want is to suppress additional space if one headline directly follows another. To achieve this I wrote the template with FOs below but it does not work (I played a bit with attributes and values and could not find any other wo