relative paths for bulk font configuration?

2017-10-02 Thread Ron Van den Branden
Hi, I have a simple question: when bulk-configuring fonts with the element inside a FOP configuration file, this only seems to work with absolute paths. Yet, when embedding fonts individually with the element, the value for the @embed-url attribute is interpreted relative to the setting.

Re: struggling with "bulk font configuration"

2017-09-13 Thread Szeak (Register Man)
Hi, Yes, nice example. ... and i always prefer referring fonts by it's family name. When they are registered as bulk, you may need refer by font-triplet's name attribute, but i also prefer to use the real family name in font-triplet

Re: struggling with "bulk font configuration"

2017-09-13 Thread Ron Van den Branden
Hi Szeak, Thanks for the pointers. Let me clarify: I knew how to register individual fonts in a config file and refer to them in an XSL-FO file, but it wasn't clear how to refer to bulk-registered fonts. Some further digging has made me find the answer, so if it can help others, I'll try to

Re: struggling with "bulk font configuration"

2017-09-13 Thread Szeak (Register Man)
ew fonts requires both expanding the FOP configuration file and the "font-family" list in the XSL-FO files. Hence, I'm trying to find a more flexible solution, and I'm trying out the "bulk font configuration", documented at https://xmlgraphics.a

struggling with "bulk font configuration"

2017-09-12 Thread Ron Van den Branden
, and I'm trying out the "bulk font configuration", documented at https://xmlgraphics.apache.org/fop/2.2/fonts.html#bulk. I don't know if I'm misinterpreting this "bulk font configuration" as a means to register a lot of fonts without having to define them separately, so they

Re: Font Configuration

2011-03-11 Thread Chris Bowditch
object reference in afp file. How base14 attribute in afp font configuration help in? The base14-font attribute tells FOP to use metrics that are inbuilt in the FOP.jar for the named font. The metrics are sufficient for FOP to place the text and add a font reference to the generated AFP. However

Re: Font Configuration

2011-03-10 Thread Chris Bowditch
, I need some help for afp-font configuration. Currently my fo uses 2 fonts, TimeRoman-10-Normal and TimesRoman-10-Bold. I am using default fop configuration. When I generate afp file, I get the codepages (T1V10500) character sets (C0N2 and C0N4) as external

RE: Font Configuration

2011-03-10 Thread Dhulia, Sandeep
font configuration help in? Thanks Regards, Sandeep From: Chris Bowditch [bowditch_ch...@hotmail.com] Sent: Thursday, March 10, 2011 5:44 PM To: fop-users@xmlgraphics.apache.org Subject: Re: Font Configuration On 09/03/2011 15:00, Sandeep Dhulia wrote: Hi

Font Configuration

2011-03-09 Thread Sandeep Dhulia
Hi Guys, I need some help for afp-font configuration. Currently my fo uses 2 fonts, TimeRoman-10-Normal and TimesRoman-10-Bold. I am using default fop configuration. When I generate afp file, I get the codepages (T1V10500) character sets (C0N2 and C0N4) as external resource referenced

Re: Font Configuration

2011-03-09 Thread Peter Hancock
help for afp-font configuration.  Currently my fo uses 2 fonts, TimeRoman-10-Normal and TimesRoman-10-Bold. I am using default fop configuration. When I generate afp file, I get the codepages (T1V10500) character sets (C0N2 and C0N4) as external resource referenced in afp file. It seems

Re: Font Configuration

2011-03-09 Thread Sandeep Dhulia
, Mar 9, 2011 at 1:38 PM, Sandeep Dhulia sdhu...@gmail.com wrote: Hi Guys, I need some help for afp-font configuration. Currently my fo uses 2 fonts, TimeRoman-10-Normal and TimesRoman-10-Bold. I am using default fop configuration. When I generate afp file, I get the codepages (T1V10500

Re: font configuration in fop

2010-11-08 Thread mehdi houshmand
PM To: fop-users@xmlgraphics.apache.org Subject: Re: font configuration in fop Hi SriKrishnan, Just to add, I forgot to mention, you're also using the the wrong character to denote folders / is a Unix/Linux folder separator, in windows command line you have to use \. So your final command

RE: font configuration in fop

2010-11-08 Thread SriKrishnan
Hi Mehdi, Here I have attached the font Thanks, Srikrishnan -Original Message- From: mehdi houshmand [mailto:med1...@gmail.com] Sent: Monday, November 08, 2010 1:44 PM To: fop-users@xmlgraphics.apache.org Subject: Re: font configuration in fop Hi SriKrishnan, Could you send the font

Re: font configuration in fop

2010-11-08 Thread mehdi houshmand
To: fop-users@xmlgraphics.apache.org Subject: Re: font configuration in fop Hi SriKrishnan, Could you send the font file? Thanks Mehdi On 8 November 2010 03:13, SriKrishnan srikrish...@techset.co.uk wrote: Hi Mehdi, Thanks for your guidance. I have changed the syntax errors I done as per

RE: font configuration in fop

2010-11-08 Thread SriKrishnan
@xmlgraphics.apache.org Subject: Re: font configuration in fop Hi SriKrishnan, You also need to include the xmlgraphics-commons JAR file to your class path, it's in the FOP directory in [FOP]/lib folder. Just to add, when you execute the command you'll see that Open-Type Compact Font Format aren't supported

Re: font configuration in fop

2010-11-08 Thread mehdi houshmand
Message- From: mehdi houshmand [mailto:med1...@gmail.com] Sent: Monday, November 08, 2010 2:35 PM To: fop-users@xmlgraphics.apache.org Subject: Re: font configuration in fop Hi SriKrishnan, You also need to include the xmlgraphics-commons JAR file to your class path, it's in the FOP

RE: font configuration in fop

2010-11-08 Thread SriKrishnan
Hi Mehdi, Sorry I forgot that, yes as per the syntax we are not used fop at the time of creating font file. I came to know from Document that in newer version, we don’t need to create xml font matrics. So now I just added the following lines in my font configuration xml file as follows: font

Re: font configuration in fop

2010-11-08 Thread mehdi houshmand
now I just added the following lines in my font configuration xml file as follows: font kerning=yes embed-url=C:\Advent\3b2fonts\TrueTypeFonts\ARIALN.TTF  font-triplet name=ArialN style=normal weight=normal/  font-triplet name=ArialNTT style=normal weight=normal/ /font font kerning=yes

RE: font configuration in fop

2010-11-08 Thread SriKrishnan
] Sent: Monday, November 08, 2010 3:46 PM To: fop-users@xmlgraphics.apache.org Subject: Re: font configuration in fop Hi SriKrishnan, Yes the XML font matrix is deprecated, it's probably something I should have said before but it's all in the wiki so I presumed you looked in there first

Re: font configuration in fop

2010-11-08 Thread mehdi houshmand
[mailto:med1...@gmail.com] Sent: Monday, November 08, 2010 3:46 PM To: fop-users@xmlgraphics.apache.org Subject: Re: font configuration in fop Hi SriKrishnan, Yes the XML font matrix is deprecated, it's probably something I should have said before but it's all in the wiki so I presumed you looked

Re: font configuration in fop

2010-11-08 Thread Vincent Hennebert
, SriKrishnan wrote: Hi Mehdi, Here I have attached the font Thanks, Srikrishnan -Original Message- From: mehdi houshmand [mailto:med1...@gmail.com] Sent: Monday, November 08, 2010 1:44 PM To: fop-users@xmlgraphics.apache.org Subject: Re: font configuration in fop Hi

RE: font configuration in fop

2010-11-08 Thread SriKrishnan
@xmlgraphics.apache.org Subject: Re: font configuration in fop Hi SriKrishnan, I'm not sure what you're trying to do, could you explain what you're expecting to happen? You've specified embed-url for the tnr font, thereby specifying that you want to embed this font into your pdf file. Mehdi On 8 November

RE: font configuration in fop

2010-11-07 Thread SriKrishnan
Thanks, Srikrishnan -Original Message- From: mehdi houshmand [mailto:med1...@gmail.com] Sent: Thursday, November 04, 2010 7:08 PM To: fop-users@xmlgraphics.apache.org Subject: Re: font configuration in fop Hi SriKrishnan, Just to add, I forgot to mention, you're also using the the wrong

font configuration in fop

2010-11-04 Thread SriKrishnan
Hi All, I want to configure Goudy font in my fop. I tried something like below as per mentioned in the Documentation: D:\xslfojava -cp C:/fop-1.0/build/fop.jar;C:/fop-1.0/lib/avalon-framework-4.2.0.jar;C:/f op-1.0/lib/commans-logging-1.0.4.jar;C:/fop-1.0/lib/commons-io-1.3.1.jar

Re: font configuration in fop

2010-11-04 Thread mehdi houshmand
Hi SriKrishnan, Ok there are a couple things here firstly you've misspelled commons-logging-1.0.4.jar, you've also misspelled the directory of your font file, it starts with a (a whitespace character), which I don't believe is a legal directory name in Windows. Thanks Mehdi On 4 November

RE: font configuration in fop

2010-11-04 Thread Chen Yang
-commons-1. 4.jar org.apache.fop.fonts.apps.TTFReader /usr/share/fonts/simhei/simhei.ttf /usr/share/fonts/simhei/simhei.xml Chen From: SriKrishnan [mailto:srikrish...@techset.co.uk] Sent: November-04-10 6:11 AM To: fop-users@xmlgraphics.apache.org Subject: font configuration in fop Hi

Re: font configuration in fop

2010-11-04 Thread mehdi houshmand
/xmlgraphics-commons-1.4.jar org.apache.fop.fonts.apps.TTFReader /usr/share/fonts/simhei/simhei.ttf /usr/share/fonts/simhei/simhei.xml Chen From: SriKrishnan [mailto:srikrish...@techset.co.uk] Sent: November-04-10 6:11 AM To: fop-users@xmlgraphics.apache.org Subject: font configuration

Re: FOP Font Configuration in Linux

2010-10-13 Thread Glenn Adams
in context: http://old.nabble.com/FOP-Font-Configuration-in-Linux-tp29932761p29949592.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org

Re: FOP Font Configuration in Linux

2010-10-13 Thread pathum
in context: http://old.nabble.com/FOP-Font-Configuration-in-Linux-tp29932761p29949592.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org

Re: FOP Font Configuration in Linux

2010-10-12 Thread Rob Sargent
I can't speak to the use of auto-detect, but you either need to generalize the font choise (sanserif?) or ensure arial is available where ever you run your app. On 10/11/2010 08:44 PM, pathum wrote: Then do you want me to activate auto-detect/ feature to load the fonts? So no need of

FOP Font Configuration in Linux

2010-10-11 Thread pathum
/ /fonts What my concern is that, I need to migrate this to linux environment and in that how could i set up the base, metrics path and the embed url? Any help will be really appreciated! -- View this message in context: http://old.nabble.com/FOP-Font-Configuration

FOP Font Configuration in Linux

2010-10-11 Thread pathum
/ /fonts What my concern is that, I need to migrate this to linux environment and in that how could i set up the base, metrics path and the embed url? Any help will be really appreciated! -- View this message in context: http://old.nabble.com/FOP-Font-Configuration

Re: FOP Font Configuration in Linux

2010-10-11 Thread Rob Sargent
The fonts on a linux box are usually found at /usr/share/fonts. Most distros have a package for the MS fonts (ttf-mscorefonts or somesuch) though I don't see it on my SUSE default supplier :( You might get away with copying the files named in your config directly into /usr/share/fonts/truetype

Re: FOP Font Configuration in Linux

2010-10-11 Thread pathum
/FOP-Font-Configuration-in-Linux-tp29932761p29939692.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

Re: font configuration

2009-08-21 Thread Ming Yu
19, 2009 2:25:51 PM Subject: Re: font configuration On 17 Aug 2009, at 14:55, Ming Yu wrote: Hi Ming Thanks for the reply. Here is the strange thing. When I put the order as font=16pt bold arial, the FO engine gives this warning: WARNING: Font 'bold arial,normal,400' not found. Substituting

Re: font configuration

2009-08-19 Thread Andreas Delmelle
On 17 Aug 2009, at 14:55, Ming Yu wrote: Hi Ming Thanks for the reply. Here is the strange thing. When I put the order as font=16pt bold arial, the FO engine gives this warning: WARNING: Font 'bold arial,normal,400' not found. Substituting with 'any,normal,400'. When I put the order as

Re: [!! SPAM] Re: Re: font configuration

2009-08-18 Thread Chris Bowditch
- Original Message From: Chris Bowditch bowditch_ch...@hotmail.com To: fop-users@xmlgraphics.apache.org Sent: Monday, August 17, 2009 11:37:14 AM Subject: Re: [!! SPAM] Re: font configuration Ming Yu wrote: Thanks for the reply. Yes, I just configured my fop.xconf file by removing

Re: font configuration

2009-08-17 Thread Ming Yu
to run it but I got errors. Do you know how I can get the arial.xml file? Thanks a lot! Ming - Original Message From: Andreas Delmelle andreas.delme...@telenet.be To: fop-users@xmlgraphics.apache.org Sent: Friday, August 14, 2009 3:18:03 PM Subject: Re: font configuration On 14 Aug

Re: [!! SPAM] Re: font configuration

2009-08-17 Thread Chris Bowditch
, 2009 3:18:03 PM Subject: Re: font configuration On 14 Aug 2009, at 20:43, Ming Yu wrote: Thanks a lot for the reply. I checked my version and found out that it's 0.94. So, I upgraded to 0.95. Now the SEVERE error changes to a warning: WARNING: Font 'bold Arial,normal,400' not found

Re: font configuration

2009-08-17 Thread Ming Yu
to make the bold (or the font-weight) work in the shorthand representation? Thanks a lot! Ming - Original Message From: Chris Bowditch bowditch_ch...@hotmail.com To: fop-users@xmlgraphics.apache.org Sent: Monday, August 17, 2009 9:22:41 AM Subject: Re: [!! SPAM] Re: font configuration

Re: [!! SPAM] Re: font configuration

2009-08-17 Thread Chris Bowditch
Ming Yu wrote: Thanks for the reply. Yes, I just configured my fop.xconf file by removing the metrics-url attribute and the Arial font works. But I still cannot make the bold work. Whenever I put bold into the font=, either warning or SEVERE message will appear. Arial and Arial Bold are

Re: [!! SPAM] Re: font configuration

2009-08-17 Thread Ming Yu
Bowditch bowditch_ch...@hotmail.com To: fop-users@xmlgraphics.apache.org Sent: Monday, August 17, 2009 11:37:14 AM Subject: Re: [!! SPAM] Re: font configuration Ming Yu wrote: Thanks for the reply. Yes, I just configured my fop.xconf file by removing the metrics-url attribute and the Arial font

font configuration

2009-08-14 Thread Ming Yu
bold; property:'font') Because neither font nor border-bottom is a valid attribute, I have to define them somewhere. Is it in the font configuration file? I used this to set my font configuration file location in java: fopFactory.setFontBaseURL(file:///C:/xslfoFont/fo.xconf); But I don't

Re: [!! SPAM] font configuration

2009-08-14 Thread Chris Bowditch
(No conversion defined bold; property:'font') Because neither font nor border-bottom is a valid attribute, I have to define them somewhere. Is it in the font configuration file? I used this to set my font configuration file location in java: font and border-bottom are shorthand properties. To use

Re: font configuration

2009-08-14 Thread Andreas Delmelle
On 14 Aug 2009, at 14:21, Ming Yu wrote: Hi Ming Hi, I'm trying to make an existing stylesheet to work with my xml file. But it has lines like this: fo:block font=bold 8pt arial and fo:table-cell border-bottom=. 6pt solid black, etc. When I compile, the engine complains: SEVERE:

Re: font configuration

2009-08-14 Thread Ming Yu
: font configuration On 14 Aug 2009, at 14:21, Ming Yu wrote: Hi Ming Hi, I'm trying to make an existing stylesheet to work with my xml file. But it has lines like this: fo:block font=bold 8pt arial and fo:table-cell border-bottom=.6pt solid black, etc. When I compile, the engine

Re: font configuration

2009-08-14 Thread Andreas Delmelle
On 14 Aug 2009, at 20:43, Ming Yu wrote: Thanks a lot for the reply. I checked my version and found out that it's 0.94. So, I upgraded to 0.95. Now the SEVERE error changes to a warning: WARNING: Font 'bold Arial,normal,400' not found. Substituting with 'any,normal,400'. Strange...

font configuration

2007-10-22 Thread Steve Ebersole
Following http://xmlgraphics.apache.org/fop/0.94/fonts.html, http://xmlgraphics.apache.org/fop/0.94/configuration.html and http://xmlgraphics.apache.org/fop/0.94/embedding.html#config-internal, I could not see a mechanism for programatically telling FOP about fonts. Can anyone show me how this

Re: font configuration

2007-10-22 Thread Andreas L Delmelle
On Oct 22, 2007, at 18:13, Steve Ebersole wrote: Hi Steve Following http://xmlgraphics.apache.org/fop/0.94/fonts.html, http://xmlgraphics.apache.org/fop/0.94/fonts.html#register tells you how to make sure FOP recognizes/picks up your custom fonts: by adding the necessary entries in your

Re: font configuration

2007-10-22 Thread Adrian Cumiskey
Hi Steve, I think the best way for you to achieve this is to extend the RendererConfigurator implementing class for the renderer you wish to programmatically change the fonts for. You will then need to update the instance reference to your new class in the getConfigurator() method in the

Re: font configuration

2007-10-22 Thread Steve Ebersole
That pointed me to the class org.apache.fop.render.DefaultFontResolver, implementing org.apache.fop.fonts.FontResolver. Is there a way to specify the FontResolver to use? That would be nice and clean, imho. If not, yikes. I'll have to look through this code... On Monday 22 October 2007

Fop 0.94 Font-Configuration Relative Paths

2007-08-28 Thread Matthias Müller
Hi, is there a guide/example how to register fonts with the new FOP 0.94 ? there is no more an tag to specify the font repository. all i found is this description about the new auto-detection function: http://issues.apache.org/bugzilla/show_bug.cgi?id=41831#c0 it uses absolute paths but i

Re: Fop 0.94 Font-Configuration Relative Paths

2007-08-28 Thread Adrian Cumiskey
Hi Matthias, As far as I know, none of the base urls should be relative paths (see http://xmlgraphics.apache.org/fop/0.94/configuration.html#general-elements). For a guide to font registration with 0.94, see http://xmlgraphics.apache.org/fop/0.94/fonts.html#register. Adrian. Matthias