Re: font question (was Re: alternate text extension not working in FOP version 2.0)

2015-10-28 Thread Pascal Sancho
Hi, You don't need metric files anymore since v0.95 (or earlier, don't remember exactly). To have both normal, extended, or condensed fonts, you have to name them differently, style attribute is only used to distinguish regular Vs italic. The main improvement in font variations, between v0.2.x

Re: font question (was Re: alternate text extension not working in FOP version 2.0)

2015-10-27 Thread Eva
Hi Chris, I'm in the process of converting fop from version 0.25 to version 2. There are several custom fonts and I had no problem registering custom fonts when I specify style with "normal" or "italic" in font-triplet. However, I've a font with different styles which registered as below where

AFP Font Question

2009-03-04 Thread Chris Bowditch
Hi All, one of my clients is using the PDF and AFP Renderers to produce the same document via different outputs. PDF is for archiving and AFP for Printing. However, currently the output between the 2 is different. The AFP output line breaks differently to the PDF version, with the text

Re: AFP Font Question

2009-03-04 Thread Jeremias Maerki
To a certain degree, it is already possible using the Intermediate Format. You'd generate the IF file using the font metrics for the PDF output but render the IF file to AFP output. The tricky thing is to synchronize the font setups for PDF and AFP (especially the font names) so there won't be any

Re: AFP Font Question

2009-03-04 Thread Chris Bowditch
Jeremias Maerki wrote: Hi Jeremias, thanks for the detailed reply. Comments inline. To a certain degree, it is already possible using the Intermediate Format. You'd generate the IF file using the font metrics for the PDF output but render the IF file to AFP output. The tricky thing is to

Re: AFP Font Question

2009-03-04 Thread Jeremias Maerki
On 04.03.2009 16:31:34 Chris Bowditch wrote: Jeremias Maerki wrote: Hi Jeremias, thanks for the detailed reply. Comments inline. To a certain degree, it is already possible using the Intermediate Format. You'd generate the IF file using the font metrics for the PDF output but render

Font question

2008-10-13 Thread David Gerdt
I'm sure I'm betraying my ignorance here, but can a Type-1 font be used in PCL output? What I'm really after is a single font that I can use across PDF, PCL, and PS output to make sure the rendering is the same. Is this possible? I read the documentation about generating Type-1 font metrics

Re: Font Question

2006-12-14 Thread Simon Pepping
FOP (at least the current version from Subversion) logs configuration info: [INFO] FopFactory - font-base set to: file:/home/simon/programmeren/fop/ etc. When I configure a metrics file which FOP cannot locate, I get an exception: [ERROR] FOP - Exception java.lang.RuntimeException: Cannot load

Font Question

2006-12-13 Thread Kris Wolff
Hi folks, i try very hard to enable a font but without any result. This morning i went to bed and hoped it helps.. but today i stuck in the same place. Font is not working. Maybe you can help me. I am using Fop 0.90 with Tomcat 5.5. on a Mac. I graped a ttf font and build the xml: -- #

Re: Font Question

2006-12-13 Thread s.schwanitz
Hi Kris, try to set the font-base attribute in fo config file. It's right under the root. You might need to specify font-weight and font-style in directly your stylesheet, too so that it exactly matches the config settings. e.g.. fo:block font-family=Calligrapher font-size=72pt

Re: Font Question

2006-12-13 Thread Kris Wolff
Hi, thanx, but this is not working for me. I set the font-base ans strip down the font-tag, checked it, triesd with metrics-url and metrcs file. tryed with the full path, and with /path_to_font and file:/// path_to_font, always replacing to default-font. i recreated the metrix with -enc

Re: Font Question

2006-12-13 Thread Kris Wolff
Ok, font-base does not do anything in my project wonder why. but this works: font metrics-url=/Users/kriswolff/Projects/PHYRE-dtp/build/web/ fonts/calligra.xml kerning=yes embed-url=file:///Users/kriswolff/ Projects/PHYRE-dtp/build/web/fonts/calligra.ttf font-triplet

Re: Font Question

2006-12-13 Thread Kris Wolff
Hi Sabine, thanx a lot, i'll try it this way. do you know any class to render pdf2image? maybe i should try it this way. Kris On Dec 13, 2006, at 2:02 PM, s.schwanitz wrote: Hi, i'm setting the font-base in my java app using fopFactory.setFontBaseURL(etc/fonts/) (using fop trunk); Add