Re: bugger fonts still won't work desperate...

2002-01-28 Thread Thierry Gounelle

Hi Jochen,
The metrics files are loaded using URI syntax, so either you specify a relative path 
like
font metrics-file=codegen/arial.xml ...
or a fully qualified path like
font metrics-file=file:///d:/fop/codegen/arial.xml ...

It's a bit confusing because you can specify d:/fop/codegen/Arial.ttf for the font 
but you are obliged to put the file:/// in front of the metrics file
path.

Hope it helps.
regards, thierry

[EMAIL PROTECTED] wrote:

 Ok here is the deal. I   adapted the userconfigfile like this:

 fonts
 font metrics-file=d:\fop\codegen\arial.xml kerning=yes embed-file
 =d:\fop\codegen\Arial.ttf
   font-triplet name=Arial style=normal weight=normal/
 /font
 font metrics-file=d:\fop\codegen\arialb.xml kerning=yes embed-file
 =d:\fop\codegen\Arialb.ttf
   font-triplet name=Arial style=normal weight=bold/
 /font
 font metrics-file=d:\fop\codegen\ariali.xml kerning=yes embed-file
 =d:\fop\codegen\Ariali.ttf
   font-triplet name=Arial style=italic weight=normal/
 /font
 font metrics-file=d:\fop\codegen\arialbi.xml kerning=yes
 embed-file=d:\fop\codegen\Arialbi.ttf
   font-triplet name=Arial style=italic weight=bold/
 /font
 font metrics-file=d:\fop\codegen\arialn.xml kerning=yes embed-file
 =d:\fop\codegen\Arianl.ttf
   font-triplet name=Arialn style=normal weight=normal/
 /font
   /fonts

 in the dir d:\fop\codegen i pasted the the generated xml-files and the
 ttf files

 but he still doesn't recognize the fonts when i render to pdf...

 what do i do wrong?

 how can i resolve it?

 Jochen Maes
 EDP departement
 Programmeur

 KBC-Securities
 Havenlaan 16
 1080 Brussel

 Tel : 02/429.96.81
 Fax : 02/429.17.48
 E-mail : [EMAIL PROTECTED]

 
**

 This message is for the named person's use only. It may contain
 confidential, proprietary or legally privileged information. You must not,
 directly or indirectly, use, disclose, distribute, print, or copy any part
 of this message if you are not the intended recipient. KBC Securities
 reserves the right to monitor all e-mail communications through its
 networks. Any views expressed in this message are those of the individual
 sender, except where the message states otherwise and the sender is
 authorised to state them to be the views of any such entity.
 
**

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: bugger fonts still won't work desperate...

2002-01-28 Thread Jochen . Maes


thank you it worked...



Jochen Maes
EDP departement
Programmeur

KBC-Securities
Havenlaan 16
1080 Brussel

Tel : 02/429.96.81
Fax : 02/429.17.48
E-mail : [EMAIL PROTECTED]

**

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. You must not,
directly or indirectly, use, disclose, distribute, print, or copy any part
of this message if you are not the intended recipient. KBC Securities
reserves the right to monitor all e-mail communications through its
networks. Any views expressed in this message are those of the individual
sender, except where the message states otherwise and the sender is
authorised to state them to be the views of any such entity.
**


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: bugger fonts still won't work desperate...

2002-01-28 Thread Maneshi Tuli


continue to this question,

my question , if i declare this thing in userconfig,
does the usercinfig has only this thing or , something else also ,
becaz i define my font after that my pdf start gining problems in printing

plz help me ,  i have to chane my code in production
thanks


 Message History 



From: [EMAIL PROTECTED] on 01/28/2002 09:10 AM CET

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:
Subject:  bugger fonts still won't work desperate...


Ok here is the deal. I   adapted the userconfigfile like this:

fonts
font metrics-file=d:\fop\codegen\arial.xml kerning=yes embed-file
=d:\fop\codegen\Arial.ttf
  font-triplet name=Arial style=normal weight=normal/
/font
font metrics-file=d:\fop\codegen\arialb.xml kerning=yes embed-file
=d:\fop\codegen\Arialb.ttf
  font-triplet name=Arial style=normal weight=bold/
/font
font metrics-file=d:\fop\codegen\ariali.xml kerning=yes embed-file
=d:\fop\codegen\Ariali.ttf
  font-triplet name=Arial style=italic weight=normal/
/font
font metrics-file=d:\fop\codegen\arialbi.xml kerning=yes
embed-file=d:\fop\codegen\Arialbi.ttf
  font-triplet name=Arial style=italic weight=bold/
/font
font metrics-file=d:\fop\codegen\arialn.xml kerning=yes embed-file
=d:\fop\codegen\Arianl.ttf
  font-triplet name=Arialn style=normal weight=normal/
/font
  /fonts


in the dir d:\fop\codegen i pasted the the generated xml-files and the
ttf files

but he still doesn't recognize the fonts when i render to pdf...

what do i do wrong?

how can i resolve it?



Jochen Maes
EDP departement
Programmeur

KBC-Securities
Havenlaan 16
1080 Brussel

Tel : 02/429.96.81
Fax : 02/429.17.48
E-mail : [EMAIL PROTECTED]

**

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. You must not,
directly or indirectly, use, disclose, distribute, print, or copy any part
of this message if you are not the intended recipient. KBC Securities
reserves the right to monitor all e-mail communications through its
networks. Any views expressed in this message are those of the individual
sender, except where the message states otherwise and the sender is
authorised to state them to be the views of any such entity.
**


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]






--

This e-mail may contain confidential and/or privileged information. If you are not the 
intended recipient (or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail. Any unauthorized copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: bugger fonts still won't work desperate...

2002-01-28 Thread Jochen . Maes


How do you call FOP? java? commandline?
anyway what i see in java that is that Fop starts reading the userconfig
(if i implemented it) and then starts parsing...

so you should define your userconfig file first i think



Jochen Maes
EDP departement
Programmeur

KBC-Securities
Havenlaan 16
1080 Brussel

Tel : 02/429.96.81
Fax : 02/429.17.48
E-mail : [EMAIL PROTECTED]

**

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. You must not,
directly or indirectly, use, disclose, distribute, print, or copy any part
of this message if you are not the intended recipient. KBC Securities
reserves the right to monitor all e-mail communications through its
networks. Any views expressed in this message are those of the individual
sender, except where the message states otherwise and the sender is
authorised to state them to be the views of any such entity.
**


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: bugger fonts still won't work desperate...

2002-01-28 Thread Manuel Moons

Someone else in Belgium working with FOP I see,

Jochen, I think your problem is very simple.  You have created the 
userconfig.xml file (call it whatever you want) and now before instantiating 
your driver you have to create a new Options object using this 
userconfig.xml file.  Otherwise you will still be using the default 
config.xml file.

Greetings Manuel
[EMAIL PROTECTED]



From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: bugger fonts still won't work desperate...
Date: Mon, 28 Jan 2002 16:53:55 +0100


How do you call FOP? java? commandline?
anyway what i see in java that is that Fop starts reading the userconfig
(if i implemented it) and then starts parsing...

so you should define your userconfig file first i think



Jochen Maes
EDP departement
Programmeur

KBC-Securities
Havenlaan 16
1080 Brussel

Tel : 02/429.96.81
Fax : 02/429.17.48
E-mail : [EMAIL PROTECTED]

**

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. You must not,
directly or indirectly, use, disclose, distribute, print, or copy any part
of this message if you are not the intended recipient. KBC Securities
reserves the right to monitor all e-mail communications through its
networks. Any views expressed in this message are those of the individual
sender, except where the message states otherwise and the sender is
authorised to state them to be the views of any such entity.
**


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



_
Chat on line met vrienden en probeer MSN Messenger uit: 
http://messenger.msn.nl


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: bugger fonts still won't work desperate...

2002-01-28 Thread Jochen . Maes


thanks,

bedankt

merci...

And indeed, someone else in Belgium works with FOP. I think it's a great
tool.
but i'm a newbie in tha FOP business and still have a lot to figure out.


If i ever can be off your assistence

Jochen



Jochen Maes
EDP departement
Programmeur

KBC-Securities
Havenlaan 16
1080 Brussel

Tel : 02/429.96.81
Fax : 02/429.17.48
E-mail : [EMAIL PROTECTED]

**

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. You must not,
directly or indirectly, use, disclose, distribute, print, or copy any part
of this message if you are not the intended recipient. KBC Securities
reserves the right to monitor all e-mail communications through its
networks. Any views expressed in this message are those of the individual
sender, except where the message states otherwise and the sender is
authorised to state them to be the views of any such entity.
**


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]