xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jorg Heymans <Jorg.Heym...@12snap.com>
Subject Problem converting ttf to svg
Date Tue, 04 Mar 2003 09:45:26 GMT
Hi ,
 
I have successfully converted numerous TTF fonts for our application using
the ttf2svg tool. However there is one font that just doesn't like to be
converted, the output I'm getting is below (options used -testcard -l 0 -h
255). Many of the fonts I converted were modified first to include german
chars by our gfx guys, none of those fonts posed a problem, just this one
does.
 
Has anybody seen this before ? It's as if the tool does not recognize the
characters inside the font. Note that windows font viewer und all MS
applications have no problem using the font, all characters are present
there. I have attached the font in case this helps.
 
Kind Regards
Jorg Heymans
 
===========OUTPUT=============
 
<?xml version="1.0" standalone="no"?> 
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd" > 
<svg width="100%" height="100%">
<defs >
<font horiz-adv-x="904" ><font-face
    font-family="Writers"
    units-per-em="1000"
    panose-1="5 1 4 1 1 1 1 1 1 1"
    ascent="1011"
    descent="-984"
    alphabetic="0" />
<missing-glyph horiz-adv-x="500" d="M63 0V1011H438V0H63ZM125
63H375V949H125V63Z" />
</font>
</defs>
<g style="font-family: 
Writers
; font-size:18;fill:black"> 
<text x="20" y="60">
!&quot;#$%&amp;&apos;()*+,-./0123456789:;&lt;&gt;?</text> 
<text x="20" y="120">@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_</text> 
<text x="20" y="180">`abcdefghijklmnopqrstuvwxyz|{}~</text> 
<text x="20"
y="240">&#x80;&#x81;&#x82;&#x83;&#x84;&#x85;&#x86;&#x87;&#x88;&#x89;&#x8a;&#
x8b;&#x8c;&#x8d;&#x8e;&#x8f;&#x90;&#x91;&#x92;&#x93;&#x94;&#x95;&#x96;&#x97;
&#x98;&#x99;&#x9a;&#x9b;&#x9c;&#x9d;&#x9e;&#x9f;</text>

<text x="20"
y="300">&#xa0;&#xa1;&#xa2;&#xa3;&#xa4;&#xa5;&#xa6;&#xa7;&#xa8;&#xa9;&#xaa;&#
xab;&#xac;&#xad;&#xae;&#xaf;&#xb0;&#xb1;&#xb2;&#xb3;&#xb4;&#xb5;&#xb6;&#xb7;
&#xb8;&#xb9;&#xba;&#xbb;&#xbc;&#xbd;&#xbe;&#xbf;</text>

<text x="20"
y="360">&#xc0;&#xc1;&#xc2;&#xc3;&#xc4;&#xc5;&#xc6;&#xc7;&#xc8;&#xc9;&#xca;&#
xcb;&#xcc;&#xcd;&#xce;&#xcf;&#xd0;&#xd1;&#xd2;&#xd3;&#xd4;&#xd5;&#xd6;&#xd7;
&#xd8;&#xd9;&#xda;&#xdb;&#xdc;&#xdd;&#xde;&#xdf;</text>

<text x="20"
y="420">&#xe0;&#xe1;&#xe2;&#xe3;&#xe4;&#xe5;&#xe6;&#xe7;&#xe8;&#xe9;&#xea;&#
xeb;&#xec;&#xed;&#xee;&#xef;&#xf0;&#xf1;&#xf2;&#xf3;&#xf4;&#xf5;&#xf6;&#xf7;
&#xf8;&#xf9;&#xfa;&#xfb;&#xfc;&#xfd;&#xfe;&#xff;</text>

</g>
</svg>

Mime
View raw message