Solved: renderers section needed in config file (was: Re: problem with custom fonts: Font,400,normal not found)

2007-11-29 Thread Diana Walther
Jeremias Maerki wrote: The triplet associates the name, style and weight with a particular font. You can associate multiple triplets with one font. So if you use Frutiger45Light in the triplet, you have to use Frutiger45Light in the FO, not Frutiger 45 Light. You could, for example, do this:

Re: problem with custom fonts: Font,400,normal not found

2007-11-26 Thread Jeremias Maerki
Most probably, the problem you experience is simply to do the missing spaces in the font-triplet. You specified Frutiger45Light in the configuration, but Frutiger 45 Light in the FO. More details below. On 24.11.2007 17:03:15 Diana Walther wrote: Hi there, I've got trouble using customized

problem with custom fonts: Font,400,normal not found

2007-11-24 Thread Diana Walther
Hi there, I've got trouble using customized fonts with FOP 0.94 on a Windows XP machine. My java version is: 1.6.02. I know the problem has been discussed before. However, none of the suggestions given here or in other mailing lists or forums worked for me. My problem: --- I get an

Re: Problem with custom fonts

2007-04-19 Thread Chris Bowditch
Daniel Noll wrote: Thomas Zastrow wrote: I agree. I didn't thought of bundling FOP directly with the fonts. Instead, they could be put on another webpage and the user can download them optional. It was just an idea, as it was some labour to build the metrics for my preferred fonts ;-) I

Re: Problem with custom fonts

2007-04-19 Thread Daniel Noll
Chris Bowditch wrote: I thought the command was basically the same for all fonts, except where .ttc collections were involved. I was (and still am) considering writing some magic code which autocreates the metrics when a new font is discovered. No need ;) such code already exists in FOP

Re: Problem with custom fonts

2007-04-18 Thread Daniel Noll
Thomas Zastrow wrote: I agree. I didn't thought of bundling FOP directly with the fonts. Instead, they could be put on another webpage and the user can download them optional. It was just an idea, as it was some labour to build the metrics for my preferred fonts ;-) I thought the command was

Re: Problem with custom fonts

2007-04-17 Thread Thomas Zastrow
Vincent Hennebert wrote: snip / OK, I added font-base./font-base to the fop.xconf. But the result is the same ... btw., I'm not sure which directory is meant with .? Errm, if I'm correct then the . is to be interpreted as relative to the source document... Actually it

Re: Problem with custom fonts

2007-04-16 Thread Vincent Hennebert
Hi, Andreas L Delmelle a écrit : On Apr 14, 2007, at 20:55, Thomas Zastrow wrote: Andreas L Delmelle wrote: On Apr 14, 2007, at 17:41, Thomas Zastrow wrote: snip / The files LinLibertine.xml and LinLibertineU-Re-2.2.5.ttf are in the root-directory of the FOP (version 0.93). The base-tag

Problem with custom fonts

2007-04-14 Thread Thomas Zastrow
Hi there, I try to use another TTF font with the FOP. As described here: http://xmlgraphics.apache.org/fop/0.93/fonts.html, I build the metric file which seems to have worked without problems (LinLibertine.xml). Now, I added the following to the font-section of conf/fop.xconf: font

Re: Problem with custom fonts

2007-04-14 Thread Andreas L Delmelle
On Apr 14, 2007, at 17:41, Thomas Zastrow wrote: snip / The files LinLibertine.xml and LinLibertineU-Re-2.2.5.ttf are in the root-directory of the FOP (version 0.93). The base-tag in the config-file is untouched, it is still base./base Keep in mind that they are influenced by font-base. I

Re: Problem with custom fonts

2007-04-14 Thread Thomas Zastrow
Andreas L Delmelle wrote: On Apr 14, 2007, at 17:41, Thomas Zastrow wrote: snip / The files LinLibertine.xml and LinLibertineU-Re-2.2.5.ttf are in the root-directory of the FOP (version 0.93). The base-tag in the config-file is untouched, it is still base./base Keep in mind that they are

Re: Problem with custom fonts

2007-04-14 Thread Andreas L Delmelle
On Apr 14, 2007, at 20:55, Thomas Zastrow wrote: Andreas L Delmelle wrote: On Apr 14, 2007, at 17:41, Thomas Zastrow wrote: snip / The files LinLibertine.xml and LinLibertineU-Re-2.2.5.ttf are in the root-directory of the FOP (version 0.93). The base-tag in the config-file is untouched, it

Re: Problem with custom fonts

2007-04-14 Thread Thomas Zastrow
Andreas L Delmelle wrote: On Apr 14, 2007, at 20:55, Thomas Zastrow wrote: Andreas L Delmelle wrote: On Apr 14, 2007, at 17:41, Thomas Zastrow wrote: snip / The files LinLibertine.xml and LinLibertineU-Re-2.2.5.ttf are in the root-directory of the FOP (version 0.93). The base-tag in the

Re: Problem with custom fonts

2007-04-14 Thread Andreas L Delmelle
On Apr 14, 2007, at 23:12, Thomas Zastrow wrote: Andreas L Delmelle wrote: In any case, now that you mention it, it does seem to lean towards bad practice to use a relative url as base-url for anything... :/ snip / I solved the problem: I used absolute paths, which is - in my oppinion

Re: Problem using custom fonts (0.93)

2007-01-21 Thread Daniel Noll
Pascal Sancho wrote: Hi, The XSL-FO REC 1.0 says: Font family names containing whitespace should be quoted. If quoting is omitted, any whitespace characters before and after the font name are ignored and any sequence of whitespace characters inside the font name is converted to a single space.

Re: Problem using custom fonts (0.93)

2007-01-19 Thread Vincent Hennebert
Daniel Noll a écrit : Manuel Mall wrote: On Friday 19 January 2007 14:08, Daniel Noll wrote: Hi all... Daniel, could you try and use a font name not including spaces, e.g. ArialUnicodeMS. I am suspicious that the font family name property parser may take 'Arial Unicode MS' as a

Problem using custom fonts (0.93)

2007-01-18 Thread Daniel Noll
Hi all... After upgrading to FOP 0.93 I'm having issues getting custom fonts working. I've properly updated my configuration to the new schema for the config file: fop version=1.0 renderers renderer mime=application/pdf fonts font metrics-url=arial-unicode.xml

Re: Problem using custom fonts (0.93)

2007-01-18 Thread Manuel Mall
On Friday 19 January 2007 14:08, Daniel Noll wrote: Hi all... Daniel, could you try and use a font name not including spaces, e.g. ArialUnicodeMS. I am suspicious that the font family name property parser may take 'Arial Unicode MS' as a specification of 3 font alternatives and not as a

Re: Problem using custom fonts (0.93)

2007-01-18 Thread Daniel Noll
Manuel Mall wrote: On Friday 19 January 2007 14:08, Daniel Noll wrote: Hi all... Daniel, could you try and use a font name not including spaces, e.g. ArialUnicodeMS. I am suspicious that the font family name property parser may take 'Arial Unicode MS' as a specification of 3 font