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.
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
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
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
, 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
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
,
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
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
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
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
, 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
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
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
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
@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
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
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 dont need to create
xml font matrics. So now I just added the following lines in my font
configuration xml file as follows:
font
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
]
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
[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
, 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
@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
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
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
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
-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
/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
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
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
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
/
/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
/
/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
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
/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
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
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
- 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
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
, 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
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
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
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
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
(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
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:
: 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
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...
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
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
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
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
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
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
53 matches
Mail list logo