hi,
I had a similar issue and this is how is solved it :

1. I used a tool called pfaedit (now called fontforge). Try this in google
and you might find it.
2. I then converted all my licensed opent type/ postscript fonts from
adobe into true type fonts using pfaedit. If you have a folder full of
postscript fonts then you can use this script to convert all into truetype

file = $firstfont
while ( file != "" )
   Open(file)
   Generate($fontname + ".ttf")
   file = $nextfont
endloop

3. place all the true type fonts into your /jre/lib/fonts/
4. batik will now be able to use these fonts.

PS : regarding the bold, italic issues, adobe ILL specifies something like
font-family="Aachen-Bold", but batik can only see if it is
font-family="Aachen" font-weight="bold".

Hope this helps !
Ananth


On Mon, 3 May 2004, Ruth, Brice wrote:

> 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.
>
>
>

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

Reply via email to