You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Jacob Bager <li...@sur-mokka.dk> on 2003/05/15 13:05:13 UTC
Type 1 fonts.
hi ... Im having a problem with some type-1 fonts, on Cocoon.
I made my setup like this :
/usr/tomcat4/webapps/cocoon is 'root'.
'root'/fop-fonts/ ---> my fonts dir.
in my sitemap.xml i have this :
<map:serializer mime-type="application/pdf" name="fo2pdf"
src="org.apache.cocoon.serialization.FOPSerializer">
<user-config>/var/tomcat4/webapps/cocoon/userconfig.xml</user-config>
</map:serializer>
in userconfig.xml i have this :
<font metrics-file="/var/tomcat4/webapps/cocoon/fop-fonts/joanna.xml"
kerning="yes"
embed-file="/var/tomcat4/webapps/cocoon/fop-fonts/Joanna/JOR_____.PFB">
<font-triplet name="JoannaMT" style="normal" weight="normal">
</font>
when i test the fop with a simple file, i get
UnnamedSelector: ComponentSelector could not find the component for hint
[fo2pdf]
what did i miss?
please help..
------------------------------------------------------------
Jacob Bager
lister@sur-mokka.dk
Developer
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: Type 1 fonts.
Posted by Jeremias Maerki <de...@greenmail.ch>.
Hmm, that's an error from Excalibur ComponentManager (Avalon stuff). I
guess you'd better ask this question again on cocoon-users, but....
...the error message could hint at the fact that Cocoon either couldn't
find "fo2pdf" or that the initialization of "fo2pdf" has failed (and
therefore the component isn't available). Have a look at your Cocoon's
log file a bit further up. Maybe there's another error message
indicating that something went wrong during initialization of "fo2pdf".
On 15.05.2003 13:05:13 Jacob Bager wrote:
> hi ... Im having a problem with some type-1 fonts, on Cocoon.
>
> I made my setup like this :
>
> /usr/tomcat4/webapps/cocoon is 'root'.
>
> 'root'/fop-fonts/ ---> my fonts dir.
>
> in my sitemap.xml i have this :
>
> <map:serializer mime-type="application/pdf" name="fo2pdf"
> src="org.apache.cocoon.serialization.FOPSerializer">
>
> <user-config>/var/tomcat4/webapps/cocoon/userconfig.xml</user-config>
> </map:serializer>
>
> in userconfig.xml i have this :
>
> <font metrics-file="/var/tomcat4/webapps/cocoon/fop-fonts/joanna.xml"
> kerning="yes"
> embed-file="/var/tomcat4/webapps/cocoon/fop-fonts/Joanna/JOR_____.PFB">
> <font-triplet name="JoannaMT" style="normal" weight="normal">
> </font>
>
> when i test the fop with a simple file, i get
>
> UnnamedSelector: ComponentSelector could not find the component for hint
> [fo2pdf]
>
>
> what did i miss?
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org