|
Many thanks! I've also taken the approach now of converting the
OpenType fonts to TrueType fonts, using FontLab - which unfortunately
cost a bit of money, but the results are quite good. Also, with this conversion, I am able to take an OpenType font such as 'HelveticaLTStd-Bold' and have FontLab create a TrueType font of the same name, and Batik is able to properly use the font, without resorting to 'font-weight="bold"' It would be so nice if Illustrator, or a tool that could read Illustrator files, could embed the fonts as actual SVG fonts - or - Batik could read CEF fonts, as the open-source freetype library apparently can. Regards, Brice Ruth ananth balasubramanyam wrote: 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 truetypefile = $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: |
- Open-Type fonts with Batik? Ruth, Brice
- Re: Open-Type fonts with Batik? ananth balasubramanyam
- Re: Open-Type fonts with Batik? Ruth, Brice
- Re: Open-Type fonts with Batik? ananth balasubramanyam
- Re: Open-Type fonts with Batik? Ruth, Brice
- Re: Open-Type fonts with Bati... ananth balasubramanyam
- Re: Open-Type fonts with ... Ruth, Brice
- Re: Open-Type fonts with ... Ruth, Brice
