with the following command :
java -jar /Users/yvon/Sites/SVG/batik-1.6/batik-ttf2svg.jar\
 /Library/Fonts/Chalkboard.ttf -ascii -id ChalkboardFont \
 -o Chalkboard.svg -testcard

y get :

java.lang.Exception: Cannot find a suitable cmap table
        at
org.apache.batik.svggen.font.SVGFont.writeFontAsSVGFragment(Unknown
Source)
        at org.apache.batik.svggen.font.SVGFont.main(Unknown Source)
        at org.apache.batik.apps.ttf2svg.Main.main(Unknown Source)
Cannot find a suitable cmap table
usage: java org.apache.batik.svggen.font.SVGFont <ttf-path> [-l
<range-begin>]
[-h <range-end>] [-autorange] [-ascii] [-id <id>] [-o <output-path>]
[-testcard]


if use to force ascii :

java -jar /Users/yvon/Sites/SVG/batik-1.6/batik-ttf2svg.jar
/Library/Fonts/Chalkboard.ttf -ascii -id ChalkboardFont -o
Chalkboard.svg -testcard

outputs is 0 meabibg ecerythings wents allright, that's us show by a
rasterize
afterwards.

however they are much more than ascii chars : all the diacritics are ok
in
uppercase but in lowercase they are represented by rectangles.

obviously i've verify that this font "Chalkboard.ttf" as glyphs for all
the
lower caase diacriics.

i'm running over MacOS the latest, my java being : java -version 
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-93)
Java HotSpot(TM) Client VM (build 1.5.0_06-55, mixed mode, sharing)




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

Reply via email to