Hi,
I am not quite sure, but we ran into a similiar problem some weeks
ago, when we switched from an XP system to a Solaris box.
In our case the problem was, that we had no running X server on the
Solaris machine.
hth,
tom
Patrick Hess
<[EMAIL PROTECTED] An: "[EMAIL PROTECTED]" <[EMAIL
PROTECTED]>
.de> Kopie: (Blindkopie: Thomas
Zirnsack/DS/GFK/DE)
Thema: SVG problem after move to
production server
05.12.2003 15:24
Bitte antworten
an users
Hi all,
I got a problem after deploying my current cocoon application to the
production server. Before I was developing on Windows 2000 with JDK
1.4.1, Tomcat 4.1.21 and Cocoon 2.1.2 which does what I expect :)
After moving the production server (Debian Woody) with the same
Tomcat/JDK version including fonts does not work as expected. Only
difference beside the OS is that tomcat is running on a headless jvm.
In my development version this SVG snippet works fine and includes the
font a expected:
<svg ...>
<defs>
<style type="text/css">
<![CDATA[
@font-face {
font-family: 'Composite';
src: url('svg/comp.svg#Composite') format(svg);
}
@font-face {
font-family: 'Arial';
src: url('svg/arial.svg#Arial') format(svg);
}
]]>
</style>
</defs>
...
</svg>
This DOES NOT work (for me) on the linux enviroment and I wonder why...
Including the font directly to the SVG file works in both environments:
<svg ...>
<svg width="100%" height="100%">
<defs>
<font horiz-adv-x=...>
...
</font>
</defs>
</svg>
...
</svg>
Has anybody a usefull hint for me why this happends? As a workaround a
included the fonts to the main SVG (images) but that's not what I want
to have for the future.
Thanks for reading this and have a nice weekend ;)
--
Patrick Hess
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]