I've been doing some
googling and found that supposedly, JDK 1.4 supports OpenType fonts. I have an
SVG file with CEF fonts exported from Ilustrator CS (the most recent version of
Illustrator) and I'm desperately trying to figure out how to get Batik to render
the fonts properly, without success so far. My understanding is that the CEF
fonts are merely a wrapper of the original font, which in my case is an OpenType
font (actually, a few). Now, they're all pretty basic fonts at this point -
nothing extravagant, mainly variations of Helvetica, if I'm not mistaken. I've
taken the OTF files and placed them in my JDK's jre/lib/fonts directory - and
this has had no noticeable effect on how batik works, the fonts still don't
appear to render correctly (bold, light, etc.). I'm not sure if the fonts are
being picked up because the JDK isn't able to understand the OTF files, or if
the fonts need to be referenced differently than they are, in the Illustrator
generated SVG.
If I could figure out a way
of converting the OTF file to a True Type font, I'd be happy to use Batik's
ttf2svg converter, but I've found nothing of the sort available (short of
FontLab, which runs about $500+).
Has anyone else struggled
with this? I really need to be able to accurately render files created in
Illustrator CS, somehow, someway.
Any advice is
appreciated!
Respectfully,
Brice D. Ruth
Sr. IT Analyst
Fiskars Brands, Inc.
