You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Andreas Neumann <ne...@karto.baug.ethz.ch> on 2003/09/22 01:33:07 UTC

Batik 1.5 and MacOSX10.2.6 startup problems

Hi Brendan, Thomas and other MacOSX Batik Users!

I read your thread (july 2003) on the Batik Mailinglist on trying to get
Squiggle running under MacOSX10.2.6. I ran into exactly the same problem?

I read that the installed fonts could be the problem?

Have you figured out which fonts could cause the problem?

Here is my configuration:
Batik 1.5
MacOSX10.2.6
Java 1.4.1_01

The error output is as follows:
-----------
[Andreas-Neumanns-Computer:~/svg/batik-1.5] an% java -version
java version "1.4.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-69.1)
Java HotSpot(TM) Client VM (build 1.4.1_01-24, mixed mode)
[Andreas-Neumanns-Computer:~/svg/batik-1.5] an% java -jar batik-squiggle.jar
2003-09-20 19:40:16.776 java[1602] Font GB18030Bitmap: in
_readBasicMetricsForSize, claims 0 max advance but is fixed-pitch.
2003-09-20 19:40:17.513 java[1602] Warning: Font LucidaSans-TypewriterBold
claims fixed-pitch with 0 max advance!
2003-09-20 19:40:18.240 java[1602] Warning: Font LucidaSans-TypewriterBold
claims fixed-pitch with 0 max advance!
java.lang.ExceptionInInitializerError
        at
org.apache.batik.gvt.renderer.StrokingTextPainter.createModifiedACIForFontMatching(Unknown
Source)
        at org.apache.batik.gvt.renderer.StrokingTextPainter.getTextRuns(Unknown
Source)
        at org.apache.batik.gvt.renderer.StrokingTextPainter.getOutline(Unknown
Source)
        at
org.apache.batik.gvt.renderer.BasicTextPainter.getGeometryBounds(Unknown Source)
        at org.apache.batik.gvt.TextNode.getGeometryBounds(Unknown Source)
        at
org.apache.batik.gvt.AbstractGraphicsNode.getTransformedGeometryBounds(Unknown
Source)
        at org.apache.batik.gvt.CompositeGraphicsNode.getGeometryBounds(Unknown
Source)
        at org.apache.batik.bridge.SVGUtilities.convertRegion(Unknown Source)
        at org.apache.batik.bridge.SVGUtilities.convertFilterChainRegion(Unknown
Source)
        at org.apache.batik.bridge.SVGFilterElementBridge.createFilter(Unknown
Source)
        at org.apache.batik.bridge.CSSUtilities.convertFilter(Unknown Source)
        at
org.apache.batik.bridge.AbstractGraphicsNodeBridge.buildGraphicsNode(Unknown Source)
        at org.apache.batik.bridge.SVGUseElementBridge.buildGraphicsNode(Unknown
Source)
        at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
        at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
        at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
        at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
        at org.apache.batik.bridge.GVTBuilder.build(Unknown Source)
        at
org.apache.batik.bridge.SVGUseElementBridge.buildCompositeGraphicsNode(Unknown
Source)
        at
org.apache.batik.bridge.SVGUseElementBridge.createGraphicsNode(Unknown Source)
        at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
        at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
        at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
        at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
        at org.apache.batik.bridge.GVTBuilder.build(Unknown Source)
        at
org.apache.batik.bridge.SVGUseElementBridge.buildCompositeGraphicsNode(Unknown
Source)
        at
org.apache.batik.bridge.SVGUseElementBridge.createGraphicsNode(Unknown Source)
        at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
        at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
        at org.apache.batik.bridge.GVTBuilder.build(Unknown Source)
        at org.apache.batik.swing.svg.GVTTreeBuilder.run(Unknown Source)
Caused by: java.lang.NullPointerException
        at
sun.java2d.SunGraphicsEnvironment.getAvailableFontFamilyNames(SunGraphicsEnvironment.java:327)
        at
sun.java2d.SunGraphicsEnvironment.getAvailableFontFamilyNames(SunGraphicsEnvironment.java:359)
        at org.apache.batik.gvt.font.FontFamilyResolver.<clinit>(Unknown Source)
        ... 31 more

--------------

Here is my current font list:
[Andreas-Neumanns-Computer:/Library/Fonts] an% ls -l
total 174760
-rw-r--r--  1 an    admin     36876 Sep 11 11:59 AdobeFnt07.lst
-rw-rw-r--  1 root  admin     77760 Jul 15  2002 AlBayan.ttf
-rw-rw-r--  1 root  admin     77664 Jul 15  2002 AlBayanBold.ttf
-rw-rw-r--  1 root  admin    534828 Dec 20  2002 AmericanTypewriter.dfont
-rw-rw-r--  1 root  admin   8937785 Jul 17  2002 Apple LiSung Light.dfont
-rw-rw-r--  1 root  admin  12097654 Jul 14  2002 AppleMyungjo.dfont
-rw-rw-r--  1 root  admin         0 Feb 25  2003 Arial
-rw-rw-r--  1 root  admin         0 Feb 25  2003 Arial Black
-rw-rw-r--  1 root  admin         0 Feb 25  2003 Arial Narrow
-rw-rw-r--  1 root  admin         0 Feb 25  2003 Arial Rounded Bold
-rw-rw-r--  1 root  admin     35068 Jul 15  2002 ArialHB.ttf
-rw-rw-r--  1 root  admin     34476 Jul 15  2002 ArialHBBold.ttf
-rwxrwxrwx  1 an    staff         0 Feb 28  2000 AvantGarde BkDm BT
-rwxrwxrwx  1 an    staff         0 Oct 22  1993 AvantGarde Md BT
-rw-rw-r--  1 root  admin     39548 Jul 15  2002 Ayuthaya.ttf
-rw-rw-r--  1 root  admin     88808 Jul 15  2002 Baghdad.ttf
-rw-rw-r--  1 root  admin    426925 Dec 20  2002 Baskerville.dfont
-rw-rw-r--  1 root  admin   1612931 Jul 17  2002 Beijing.dfont
-rw-rw-r--  1 root  admin  13984710 Jul 17  2002 BiauKai.dfont
-rw-rw-r--  1 root  admin    140361 Dec 20  2002 BigCaslon.dfont
-rw-rw-r--  1 root  admin         0 Feb 25  2003 Brush Script
-rw-rw-r--  1 root  admin     76828 Jul 15  2002 CharcoalCY.dfont
-rw-rw-r--  1 root  admin    310951 Dec 20  2002 Cochin.dfont
-rw-rw-r--  1 root  admin         0 Feb 25  2003 Comic Sans MS
-rwxrwxrwx  1 an    staff         0 Mar  5  2002 CommonBullets
-rw-rw-r--  1 root  admin    240790 Dec 20  2002 Copperplate.dfont
-rw-rw-r--  1 root  admin     39160 Jul 15  2002 Corsiva.ttf
-rw-rw-r--  1 root  admin     40924 Jul 15  2002 CorsivaBold.ttf
-rw-rw-r--  1 root  admin         0 Feb 25  2003 Courier New
-rw-rw-r--  1 root  admin     68560 Jul 15  2002 DecoTypeNaskh.ttf
-rw-rw-r--  1 root  admin    184024 Jul 15  2002 DevanagariMTBold.ttf
-rw-rw-r--  1 root  admin    383766 Dec 20  2002 Didot.dfont
-rw-rw-r--  1 root  admin   6725596 Jul 17  2002 Fang Song.dfont
-rw-r-----  1 an    admin     39184 Sep 16 12:20 Frut000.ttf
-rw-rw-r--  1 root  admin    314508 Dec 20  2002 Futura.dfont
-rw-r-----  1 an    admin    185680 Sep 16 12:18 Gara.ttf
-rw-r-----  1 an    admin    186744 Sep 16 12:18 Garabd.ttf
-rw-r-----  1 an    admin    176916 Sep 16 12:18 Garait.ttf
-rw-rw-r--  1 root  admin     92444 Jul 15  2002 Geeza.ttf
-rw-rw-r--  1 root  admin    116689 Jul 15  2002 GenevaCY.dfont
-rw-rw-r--  1 root  admin         0 Feb 25  2003 Georgia
-rw-rw-r--  1 root  admin    344604 Dec 20  2002 GillSans.dfont
-rw-rw-r--  1 root  admin    197316 Jul 15  2002 GujaratiMT.ttf
-rw-rw-r--  1 root  admin    185936 Jul 15  2002 GujaratiMTBold.ttf
-rw-rw-r--  1 root  admin     60900 Jul 15  2002 Gurmukhi.ttf
-rw-rw-r--  1 root  admin    308517 Jul 15  2002 HelveticaCY.dfont
-rw-rw-r--  1 root  admin    709029 Dec 20  2002 HelveticaNeue.dfont
-rw-rw-r--  1 root  admin    108351 Dec 20  2002 Herculanum.dfont
-rwxrwxrwx  1 an    staff         0 Nov 10  1993 Kabel Bk BT
-rwxrwxrwx  1 an    staff         0 Nov 10  1993 Kabel Ult BT
-rw-rw-r--  1 root  admin   7941608 Jul 17  2002 Kai.dfont
-rw-rw-r--  1 root  admin     30120 Jul 15  2002 Krungthep.ttf
-rw-rw-r--  1 root  admin     74132 Jul 15  2002 KufiStandarGK.ttf
-rw-rw-r--  1 root  admin    230806 Dec 20  2002 MarkerFelt.dfont
-rw-rw-r--  1 root  admin     73036 Jul 15  2002 MonacoCY.dfont
-rw-rw-r--  1 root  admin   7107888 Jul 17  2002 NISC18030.ttf
-rw-rw-r--  1 root  admin     86976 Jul 15  2002 Nadeem.ttf
-rw-rw-r--  1 root  admin     44288 Jul 15  2002 NewPeninimMTBold.ttf
-rw-rw-r--  1 root  admin     46312 Jul 15  2002 NewPeninimMTBoldInclined.ttf
-rw-rw-r--  1 root  admin     40612 Jul 15  2002 NewPeninimMTInclined.ttf
-rw-rw-r--  1 root  admin    567275 Dec 20  2002 Optima.dfont
-rw-rw-r--  1 root  admin    133874 Dec 20  2002 Papyrus.dfont
-rw-rw-r--  1 root  admin     28348 Jul 15  2002 Raanana.ttf
-rw-rw-r--  1 root  admin     27584 Jul 15  2002 RaananaBold.ttf
-rw-rw-r--  1 root  admin     30312 Jul 15  2002 Sathu.ttf
-rw-rw-r--  1 root  admin   7908742 Jul 14  2002 Seoul.dfont
-rw-rw-r--  1 root  admin     34796 Jul 15  2002 Silom.ttf
-rw-rw-r--  1 root  admin    476288 Dec 20  2002 Skia.dfont
-rw-rw-r--  1 root  admin   7207478 Jul 17  2002 Song.dfont
-rwxrwxrwx  1 an    staff         0 Apr 11  1996 Souvenir LtDm BT
-rwxrwxrwx  1 an    staff         0 Mar 29  1999 TT GoudyOlSt RmBd BT
-rwxrwxrwx  1 an    staff         0 Mar 29  1999 TT Humanst521 RmBd BT
-rwxrwxrwx  1 an    staff         0 Mar 30  1999 TT Staccato222 BT
-rwxrwxrwx  1 an    staff         0 Mar 30  1999 TT TypoUpright BT
-rw-rw-r--  1 root  admin   2586277 Jul 17  2002 Taipei.dfont
-rw-rw-r--  1 root  admin     37732 Jul 15  2002 Thonburi.ttf
-rw-rw-r--  1 root  admin         0 Feb 25  2003 Times New Roman
-rw-rw-r--  1 root  admin    374671 Jul 15  2002 TimesCY.dfont
-rw-rw-r--  1 root  admin         0 Feb 25  2003 Trebuchet MS
-rwxr-xr--  1 an    admin     53888 Sep 16 12:17 UNIVCD.TTF
-rwxr-xr--  1 an    admin     54264 Sep 16 12:17 UNIVCDB.TTF
-rwxr-xr--  1 an    admin     57676 Sep 16 12:17 UNIVCDBI.TTF
-rwxr-xr--  1 an    admin     56468 Sep 16 12:17 UNIVCDI.TTF
-rwxr-xr--  1 an    admin     53304 Sep 16 12:18 UNIVER.TTF
-rwxr-xr--  1 an    admin     55308 Sep 16 12:17 UNIVERB.TTF
-rwxr-xr--  1 an    admin     56864 Sep 16 12:17 UNIVERBI.TTF
-rwxr-xr--  1 an    admin     56984 Sep 16 12:17 UNIVERI.TTF
-rw-rw-r--  1 root  admin         0 Feb 25  2003 Verdana
-rw-rw-r--  1 root  admin         0 Feb 25  2003 Webdings
-rw-rw-r--  1 root  admin    524186 Dec 20  2002 Zapfino.dfont
-rwxr-xr--  1 an    admin      7996 Sep 16 12:17 cave_signatures.ttf
-rwxr-xr--  1 an    admin     35872 Sep 16 12:18 hum777b.ttf
-rwxr-xr--  1 an    admin     37880 Sep 16 12:17 hum777bi.ttf
-rwxr-xr--  1 an    admin     37140 Sep 16 12:18 hum777i.ttf
-rwxr-xr--  1 an    admin     36584 Sep 16 12:18 hum777k.ttf
-rwxr-xr--  1 an    admin     37844 Sep 16 12:18 hum777ki.ttf
-rwxr-xr--  1 an    admin     34428 Sep 16 12:18 hum777l.ttf
-rwxr-xr--  1 an    admin     35808 Sep 16 12:18 hum777li.ttf
-rwxr-xr--  1 an    admin     35340 Sep 16 12:17 hum777n.ttf
-rwxr-xr--  1 an    admin      4640 Sep 16 12:17 topographische_signaturen.ttf
[Andreas-Neumanns-Computer:/Library/Fonts] an% 

----------

any idea what could be wrong? I have to admit that I don't know anything about
Fonts on MacOSX, since I just recently switched from Linux/Windows to MacOSX and
am pretty new on Mac ...

Thanks for any hint,
Andreas

--     
He who asks is a fool for five minutes,
but he who does not ask remains a fool forever.
-- Chinese Proverb 
    
----------------------------------------------     
Andreas Neumann - Department of Cartography     
Swiss Federal Institute of Technology (ETH)     
ETH Hoenggerberg, CH-8093  Zurich, Switzerland     
Phone: ++41-1-633 3031, Fax: ++41-1-633 1153     
e-mail: neumann@karto.baug.ethz.ch     
www: http://www.karto.ethz.ch/neumann/     
SVG.Open/Carto.net: http://www.svgopen.org/     

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Re: Batik 1.5 and MacOSX10.2.6 startup problems

Posted by Thomas DeWeese <Th...@Kodak.com>.
Hi David,

David Eppstein wrote:

> In article <10...@karmail.ethz.ch>,
>  Andreas Neumann <ne...@karto.baug.ethz.ch> wrote:
>
>>I read your thread (july 2003) on the Batik Mailinglist on trying to get
>>Squiggle running under MacOSX10.2.6. I ran into exactly the same problem?
>>
>>I read that the installed fonts could be the problem?

   This is our current suspicion, as the simple test application we
put togeather (just gets the list of fonts) failed on these systems.

>>Have you figured out which fonts could cause the problem?

As far as I know no one has tried to identify at least one font that
causes the problem.

> I have essentially the same configuration, and don't get that problem, 
> but I do get a bunch of annoying error messages whenever I start up 
> squiggle (or use batik-rasterizer on an SVG containing text):

    This is also why we conclude it has to do whith what fonts are installed.

> Also note the times -- Java is taking a very long time looking at fonts 
> that have no relevance to the current job.  Presumably this is mostly an 
> Apple-Java problem rather than a Batik problem, but is there any way 
> Batik could get Java to only look at the fonts it wants, instead of all 
> of them?

    Unfortunately no, CSS has rather complex rules on how to match font
names, this forces us to get the entire list of available fonts and
canonicalize it so that we can match the string the user provides.
For example 'timesnewroman' must match the installed font
'Times New Roman'.






---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Re: Batik 1.5 and MacOSX10.2.6 startup problems

Posted by David Eppstein <ep...@ics.uci.edu>.
In article <10...@karmail.ethz.ch>,
 Andreas Neumann <ne...@karto.baug.ethz.ch> wrote:

> Hi Brendan, Thomas and other MacOSX Batik Users!
> 
> I read your thread (july 2003) on the Batik Mailinglist on trying to get
> Squiggle running under MacOSX10.2.6. I ran into exactly the same problem?
> 
> I read that the installed fonts could be the problem?
> 
> Have you figured out which fonts could cause the problem?
> 
> Here is my configuration:
> Batik 1.5
> MacOSX10.2.6
> Java 1.4.1_01

I have essentially the same configuration, and don't get that problem, 
but I do get a bunch of annoying error messages whenever I start up 
squiggle (or use batik-rasterizer on an SVG containing text):

2003-09-21 17:08:02.622 java[7198] Font GB18030Bitmap: in 
_readBasicMetricsForSize, claims 0 max advance but is fixed-pitch.
2003-09-21 17:08:06.716 java[7198] Warning: Font 
LucidaSans-TypewriterBold claims fixed-pitch with 0 max advance!
2003-09-21 17:08:10.164 java[7198] Font TicketCapitals-Impressed: 
descent is 0.
2003-09-21 17:08:10.190 java[7198] Font TicketCapitals-Repressed: 
descent is 0.
2003-09-21 17:08:11.585 java[7198] Warning: Font 
LucidaSans-TypewriterBold claims fixed-pitch with 0 max advance!
2003-09-21 17:08:21.848 java[7198] Font GB18030Bitmap: in 
_readBasicMetricsForSize, claims 0 max advance but is fixed-pitch.
2003-09-21 17:08:29.305 java[7198] Font GB18030Bitmap: in 
_readBasicMetricsForSize, claims 0 max advance but is fixed-pitch.
2003-09-21 17:09:18.478 java[7198] Font GB18030Bitmap: in 
_readBasicMetricsForSize, claims 0 max advance but is fixed-pitch.

Also note the times -- Java is taking a very long time looking at fonts 
that have no relevance to the current job.  Presumably this is mostly an 
Apple-Java problem rather than a Batik problem, but is there any way 
Batik could get Java to only look at the fonts it wants, instead of all 
of them?

-- 
David Eppstein                      http://www.ics.uci.edu/~eppstein/
Univ. of California, Irvine, School of Information & Computer Science


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Re: Batik 1.5 and MacOSX10.2.6 startup problems

Posted by "Anthony J. Starks" <aj...@comcast.net>.
On Monday, Sep 22, 2003, at 06:33 America/New_York, Thomas DeWeese 
wrote:

>
>   Do I hear someone volunteering?  I have an OS X computer but it
> doesn't run 10.2.6 (it is still running 10.1), this may change in
> the near future but currently I don't have reasonable access to a
> machine running 10.2.x.  Even if I did there isn't much I could
> do about this problem, I don't have any extra fonts installed (and it
> seems to work with the default fonts).
>
Yes, I'm volunteering.


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Re: Batik 1.5 and MacOSX10.2.6 startup problems

Posted by Brendan Lane Larson <Br...@yahoo.com>.
Thomas / Andreas / et al,

I'm help in the effort to solve this problem by allocating resources by  
allocating my Mac for use with different environments for testing  
purposes. For instance, I can create several Mac OS X 10.2 disk images  
to boot from (for example one image with JDK 1.3.1, another image with  
JDK 1.4.1, yet another with the new JDK 1.4.1 beta from Apple, etc.),  
and can coordinate and schedule a testing time with any of the Batik  
developers here to step through the various environments to try and  
determine what font or change in environment triggers the problem (I  
can also overarch such an effort by talking on the phone or setting up  
a chat session if that helps). If anyone's interested in doing this  
with me, please email me off list and we'll coordinate a collaborative  
approach.

Cheers,

-Brendan

On Monday, September 22, 2003, at 12:33  AM, Thomas DeWeese wrote:

> TJB wrote:
>
>> Fellow Batik and OS X developers,
>> I'm glad to see this unresolved  issue surfacing now, again. With my   
>> university workload finished as of this past Friday, I'm back on full  
>>  time development, on my own project.
>> I have a number of concerns still lingering about Batik, which I can   
>> not truly finalize if it will not run on my system. My configuration  
>> is  OS X 10.2.6, Java 1.4.1_01 and Batik 1.5. I will get the latest  
>> CVS  version tomorrow and give that a try...
>
>    You have access to the source I am more than willing to work with
> people that want to make modifications.
>
>> I would think that some one in the  inner circle of Batik developers   
>> would have access to the OS X platform, test and run it there on each  
>>  major release.  Especially knowing, that OS X is an excellent   
>> leading-edge graphic platform, where Batik should run very well and   
>> some of the more innovative software developers choose work as well.
>
>   Do I hear someone volunteering?  I have an OS X computer but it
> doesn't run 10.2.6 (it is still running 10.1), this may change in
> the near future but currently I don't have reasonable access to a
> machine running 10.2.x.  Even if I did there isn't much I could
> do about this problem, I don't have any extra fonts installed (and it
> seems to work with the default fonts).
>
>> This way Batik can be put to good use, instead of fading out of  
>> memory.
>
>   The way Batik will be put to good use is if people contribute to it.
> Everyone who works with Batik shares the responsability (and credit)  
> for
> making it good and useful.
>
>> On Sunday, September 21, 2003, at 06:33  PM, Andreas Neumann wrote:
>>> Hi Brendan, Thomas and other MacOSX Batik Users!
>>>
>>> I read your thread (july 2003) on the Batik Mailinglist on trying to  
>>>  get
>>> Squiggle running under MacOSX10.2.6. I ran into exactly the same   
>>> problem?
>>>
>>> I read that the installed fonts could be the problem?
>>>
>>> Have you figured out which fonts could cause the problem?
>>>
>>> Here is my configuration:
>>> Batik 1.5
>>> MacOSX10.2.6
>>> Java 1.4.1_01
>>>
>>> The error output is as follows:
>>> -----------
>>> [Andreas-Neumanns-Computer:~/svg/batik-1.5] an% java -version
>>> java version "1.4.1_01"
>>> Java(TM) 2 Runtime Environment, Standard Edition (build  
>>> 1.4.1_01-69.1)
>>> Java HotSpot(TM) Client VM (build 1.4.1_01-24, mixed mode)
>>> [Andreas-Neumanns-Computer:~/svg/batik-1.5] an% java -jar   
>>> batik-squiggle.jar
>>> 2003-09-20 19:40:16.776 java[1602] Font GB18030Bitmap: in
>>> _readBasicMetricsForSize, claims 0 max advance but is fixed-pitch.
>>> 2003-09-20 19:40:17.513 java[1602] Warning: Font   
>>> LucidaSans-TypewriterBold
>>> claims fixed-pitch with 0 max advance!
>>> 2003-09-20 19:40:18.240 java[1602] Warning: Font   
>>> LucidaSans-TypewriterBold
>>> claims fixed-pitch with 0 max advance!
>>> java.lang.ExceptionInInitializerError
>>>         at
>>> org.apache.batik.gvt.renderer.StrokingTextPainter.createModifiedACIFo 
>>> rF ontMatching(Unknown
>>> Source)
>>>         at   
>>> org.apache.batik.gvt.renderer.StrokingTextPainter.getTextRuns(Unknown
>>> Source)
>>>         at   
>>> org.apache.batik.gvt.renderer.StrokingTextPainter.getOutline(Unknown
>>> Source)
>>>         at
>>> org.apache.batik.gvt.renderer.BasicTextPainter.getGeometryBounds(Unkn 
>>> ow n Source)
>>>         at org.apache.batik.gvt.TextNode.getGeometryBounds(Unknown   
>>> Source)
>>>         at
>>> org.apache.batik.gvt.AbstractGraphicsNode.getTransformedGeometryBound 
>>> s( Unknown
>>> Source)
>>>         at   
>>> org.apache.batik.gvt.CompositeGraphicsNode.getGeometryBounds(Unknown
>>> Source)
>>>         at  
>>> org.apache.batik.bridge.SVGUtilities.convertRegion(Unknown  Source)
>>>         at   
>>> org.apache.batik.bridge.SVGUtilities.convertFilterChainRegion(Unknown
>>> Source)
>>>         at   
>>> org.apache.batik.bridge.SVGFilterElementBridge.createFilter(Unknown
>>> Source)
>>>         at  
>>> org.apache.batik.bridge.CSSUtilities.convertFilter(Unknown  Source)
>>>         at
>>> org.apache.batik.bridge.AbstractGraphicsNodeBridge.buildGraphicsNode( 
>>> Un known Source)
>>>         at   
>>> org.apache.batik.bridge.SVGUseElementBridge.buildGraphicsNode(Unknown
>>> Source)
>>>         at   
>>> org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
>>>         at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown  
>>>  Source)
>>>         at   
>>> org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
>>>         at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown  
>>>  Source)
>>>         at org.apache.batik.bridge.GVTBuilder.build(Unknown Source)
>>>         at
>>> org.apache.batik.bridge.SVGUseElementBridge.buildCompositeGraphicsNod 
>>> e( Unknown
>>> Source)
>>>         at
>>> org.apache.batik.bridge.SVGUseElementBridge.createGraphicsNode(Unknow 
>>> n  Source)
>>>         at   
>>> org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
>>>         at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown  
>>>  Source)
>>>         at   
>>> org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
>>>         at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown  
>>>  Source)
>>>         at org.apache.batik.bridge.GVTBuilder.build(Unknown Source)
>>>         at
>>> org.apache.batik.bridge.SVGUseElementBridge.buildCompositeGraphicsNod 
>>> e( Unknown
>>> Source)
>>>         at
>>> org.apache.batik.bridge.SVGUseElementBridge.createGraphicsNode(Unknow 
>>> n  Source)
>>>         at   
>>> org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
>>>         at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown  
>>>  Source)
>>>         at org.apache.batik.bridge.GVTBuilder.build(Unknown Source)
>>>         at org.apache.batik.swing.svg.GVTTreeBuilder.run(Unknown   
>>> Source)
>>> Caused by: java.lang.NullPointerException
>>>         at
>>> sun.java2d.SunGraphicsEnvironment.getAvailableFontFamilyNames(SunGrap 
>>> hi csEnvironment.java:327)
>>>         at
>>> sun.java2d.SunGraphicsEnvironment.getAvailableFontFamilyNames(SunGrap 
>>> hi csEnvironment.java:359)
>>>         at   
>>> org.apache.batik.gvt.font.FontFamilyResolver.<clinit>(Unknown >>> Source)
>>>         ... 31 more
>>>
>>> --------------
>>>
>>> Here is my current font list:
>>> [Andreas-Neumanns-Computer:/Library/Fonts] an% ls -l
>>> total 174760
>>> -rw-r--r--  1 an    admin     36876 Sep 11 11:59 AdobeFnt07.lst
>>> -rw-rw-r--  1 root  admin     77760 Jul 15  2002 AlBayan.ttf
>>> -rw-rw-r--  1 root  admin     77664 Jul 15  2002 AlBayanBold.ttf
>>> -rw-rw-r--  1 root  admin    534828 Dec 20  2002   
>>> AmericanTypewriter.dfont
>>> -rw-rw-r--  1 root  admin   8937785 Jul 17  2002 Apple LiSung   
>>> Light.dfont
>>> -rw-rw-r--  1 root  admin  12097654 Jul 14  2002 AppleMyungjo.dfont
>>> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Arial
>>> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Arial Black
>>> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Arial Narrow
>>> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Arial Rounded Bold
>>> -rw-rw-r--  1 root  admin     35068 Jul 15  2002 ArialHB.ttf
>>> -rw-rw-r--  1 root  admin     34476 Jul 15  2002 ArialHBBold.ttf
>>> -rwxrwxrwx  1 an    staff         0 Feb 28  2000 AvantGarde BkDm BT
>>> -rwxrwxrwx  1 an    staff         0 Oct 22  1993 AvantGarde Md BT
>>> -rw-rw-r--  1 root  admin     39548 Jul 15  2002 Ayuthaya.ttf
>>> -rw-rw-r--  1 root  admin     88808 Jul 15  2002 Baghdad.ttf
>>> -rw-rw-r--  1 root  admin    426925 Dec 20  2002 Baskerville.dfont
>>> -rw-rw-r--  1 root  admin   1612931 Jul 17  2002 Beijing.dfont
>>> -rw-rw-r--  1 root  admin  13984710 Jul 17  2002 BiauKai.dfont
>>> -rw-rw-r--  1 root  admin    140361 Dec 20  2002 BigCaslon.dfont
>>> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Brush Script
>>> -rw-rw-r--  1 root  admin     76828 Jul 15  2002 CharcoalCY.dfont
>>> -rw-rw-r--  1 root  admin    310951 Dec 20  2002 Cochin.dfont
>>> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Comic Sans MS
>>> -rwxrwxrwx  1 an    staff         0 Mar  5  2002 CommonBullets
>>> -rw-rw-r--  1 root  admin    240790 Dec 20  2002 Copperplate.dfont
>>> -rw-rw-r--  1 root  admin     39160 Jul 15  2002 Corsiva.ttf
>>> -rw-rw-r--  1 root  admin     40924 Jul 15  2002 CorsivaBold.ttf
>>> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Courier New
>>> -rw-rw-r--  1 root  admin     68560 Jul 15  2002 DecoTypeNaskh.ttf
>>> -rw-rw-r--  1 root  admin    184024 Jul 15  2002 DevanagariMTBold.ttf
>>> -rw-rw-r--  1 root  admin    383766 Dec 20  2002 Didot.dfont
>>> -rw-rw-r--  1 root  admin   6725596 Jul 17  2002 Fang Song.dfont
>>> -rw-r-----  1 an    admin     39184 Sep 16 12:20 Frut000.ttf
>>> -rw-rw-r--  1 root  admin    314508 Dec 20  2002 Futura.dfont
>>> -rw-r-----  1 an    admin    185680 Sep 16 12:18 Gara.ttf
>>> -rw-r-----  1 an    admin    186744 Sep 16 12:18 Garabd.ttf
>>> -rw-r-----  1 an    admin    176916 Sep 16 12:18 Garait.ttf
>>> -rw-rw-r--  1 root  admin     92444 Jul 15  2002 Geeza.ttf
>>> -rw-rw-r--  1 root  admin    116689 Jul 15  2002 GenevaCY.dfont
>>> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Georgia
>>> -rw-rw-r--  1 root  admin    344604 Dec 20  2002 GillSans.dfont
>>> -rw-rw-r--  1 root  admin    197316 Jul 15  2002 GujaratiMT.ttf
>>> -rw-rw-r--  1 root  admin    185936 Jul 15  2002 GujaratiMTBold.ttf
>>> -rw-rw-r--  1 root  admin     60900 Jul 15  2002 Gurmukhi.ttf
>>> -rw-rw-r--  1 root  admin    308517 Jul 15  2002 HelveticaCY.dfont
>>> -rw-rw-r--  1 root  admin    709029 Dec 20  2002 HelveticaNeue.dfont
>>> -rw-rw-r--  1 root  admin    108351 Dec 20  2002 Herculanum.dfont
>>> -rwxrwxrwx  1 an    staff         0 Nov 10  1993 Kabel Bk BT
>>> -rwxrwxrwx  1 an    staff         0 Nov 10  1993 Kabel Ult BT
>>> -rw-rw-r--  1 root  admin   7941608 Jul 17  2002 Kai.dfont
>>> -rw-rw-r--  1 root  admin     30120 Jul 15  2002 Krungthep.ttf
>>> -rw-rw-r--  1 root  admin     74132 Jul 15  2002 KufiStandarGK.ttf
>>> -rw-rw-r--  1 root  admin    230806 Dec 20  2002 MarkerFelt.dfont
>>> -rw-rw-r--  1 root  admin     73036 Jul 15  2002 MonacoCY.dfont
>>> -rw-rw-r--  1 root  admin   7107888 Jul 17  2002 NISC18030.ttf
>>> -rw-rw-r--  1 root  admin     86976 Jul 15  2002 Nadeem.ttf
>>> -rw-rw-r--  1 root  admin     44288 Jul 15  2002 NewPeninimMTBold.ttf
>>> -rw-rw-r--  1 root  admin     46312 Jul 15  2002   
>>> NewPeninimMTBoldInclined.ttf
>>> -rw-rw-r--  1 root  admin     40612 Jul 15  2002   
>>> NewPeninimMTInclined.ttf
>>> -rw-rw-r--  1 root  admin    567275 Dec 20  2002 Optima.dfont
>>> -rw-rw-r--  1 root  admin    133874 Dec 20  2002 Papyrus.dfont
>>> -rw-rw-r--  1 root  admin     28348 Jul 15  2002 Raanana.ttf
>>> -rw-rw-r--  1 root  admin     27584 Jul 15  2002 RaananaBold.ttf
>>> -rw-rw-r--  1 root  admin     30312 Jul 15  2002 Sathu.ttf
>>> -rw-rw-r--  1 root  admin   7908742 Jul 14  2002 Seoul.dfont
>>> -rw-rw-r--  1 root  admin     34796 Jul 15  2002 Silom.ttf
>>> -rw-rw-r--  1 root  admin    476288 Dec 20  2002 Skia.dfont
>>> -rw-rw-r--  1 root  admin   7207478 Jul 17  2002 Song.dfont
>>> -rwxrwxrwx  1 an    staff         0 Apr 11  1996 Souvenir LtDm BT
>>> -rwxrwxrwx  1 an    staff         0 Mar 29  1999 TT GoudyOlSt RmBd BT
>>> -rwxrwxrwx  1 an    staff         0 Mar 29  1999 TT Humanst521 RmBd  
>>> BT
>>> -rwxrwxrwx  1 an    staff         0 Mar 30  1999 TT Staccato222 BT
>>> -rwxrwxrwx  1 an    staff         0 Mar 30  1999 TT TypoUpright BT
>>> -rw-rw-r--  1 root  admin   2586277 Jul 17  2002 Taipei.dfont
>>> -rw-rw-r--  1 root  admin     37732 Jul 15  2002 Thonburi.ttf
>>> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Times New Roman
>>> -rw-rw-r--  1 root  admin    374671 Jul 15  2002 TimesCY.dfont
>>> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Trebuchet MS
>>> -rwxr-xr--  1 an    admin     53888 Sep 16 12:17 UNIVCD.TTF
>>> -rwxr-xr--  1 an    admin     54264 Sep 16 12:17 UNIVCDB.TTF
>>> -rwxr-xr--  1 an    admin     57676 Sep 16 12:17 UNIVCDBI.TTF
>>> -rwxr-xr--  1 an    admin     56468 Sep 16 12:17 UNIVCDI.TTF
>>> -rwxr-xr--  1 an    admin     53304 Sep 16 12:18 UNIVER.TTF
>>> -rwxr-xr--  1 an    admin     55308 Sep 16 12:17 UNIVERB.TTF
>>> -rwxr-xr--  1 an    admin     56864 Sep 16 12:17 UNIVERBI.TTF
>>> -rwxr-xr--  1 an    admin     56984 Sep 16 12:17 UNIVERI.TTF
>>> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Verdana
>>> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Webdings
>>> -rw-rw-r--  1 root  admin    524186 Dec 20  2002 Zapfino.dfont
>>> -rwxr-xr--  1 an    admin      7996 Sep 16 12:17 cave_signatures.ttf
>>> -rwxr-xr--  1 an    admin     35872 Sep 16 12:18 hum777b.ttf
>>> -rwxr-xr--  1 an    admin     37880 Sep 16 12:17 hum777bi.ttf
>>> -rwxr-xr--  1 an    admin     37140 Sep 16 12:18 hum777i.ttf
>>> -rwxr-xr--  1 an    admin     36584 Sep 16 12:18 hum777k.ttf
>>> -rwxr-xr--  1 an    admin     37844 Sep 16 12:18 hum777ki.ttf
>>> -rwxr-xr--  1 an    admin     34428 Sep 16 12:18 hum777l.ttf
>>> -rwxr-xr--  1 an    admin     35808 Sep 16 12:18 hum777li.ttf
>>> -rwxr-xr--  1 an    admin     35340 Sep 16 12:17 hum777n.ttf
>>> -rwxr-xr--  1 an    admin      4640 Sep 16 12:17   
>>> topographische_signaturen.ttf
>>> [Andreas-Neumanns-Computer:/Library/Fonts] an%
>>>
>>> ----------
>>>
>>> any idea what could be wrong? I have to admit that I don't know   
>>> anything about
>>> Fonts on MacOSX, since I just recently switched from Linux/Windows  
>>> to  MacOSX and
>>> am pretty new on Mac ...
>>>
>>> Thanks for any hint,
>>> Andreas
>>>
>>> --     He who asks is a fool for five minutes,
>>> but he who does not ask remains a fool forever.
>>> -- Chinese Proverb
>>> ----------------------------------------------
>>> Andreas Neumann - Department of Cartography
>>> Swiss Federal Institute of Technology (ETH)
>>> ETH Hoenggerberg, CH-8093  Zurich, Switzerland
>>> Phone: ++41-1-633 3031, Fax: ++41-1-633 1153
>>> e-mail: neumann@karto.baug.ethz.ch
>>> www: http://www.karto.ethz.ch/neumann/
>>> SVG.Open/Carto.net: http://www.svgopen.org/
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
>>> For additional commands, e-mail: batik-users-help@xml.apache.org
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
>> For additional commands, e-mail: batik-users-help@xml.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Re: Batik 1.5 and MacOSX10.2.6 startup problems

Posted by Thomas DeWeese <Th...@Kodak.com>.
TJB wrote:

> Fellow Batik and OS X developers,
> 
> I'm glad to see this unresolved  issue surfacing now, again. With my  
> university workload finished as of this past Friday, I'm back on full  
> time development, on my own project.
> 
> I have a number of concerns still lingering about Batik, which I can  
> not truly finalize if it will not run on my system. My configuration is  
> OS X 10.2.6, Java 1.4.1_01 and Batik 1.5. I will get the latest CVS  
> version tomorrow and give that a try...

    You have access to the source I am more than willing to work with
people that want to make modifications.

> I would think that some one in the  inner circle of Batik developers  
> would have access to the OS X platform, test and run it there on each  
> major release.  Especially knowing, that OS X is an excellent  
> leading-edge graphic platform, where Batik should run very well and  
> some of the more innovative software developers choose work as well.

   Do I hear someone volunteering?  I have an OS X computer but it
doesn't run 10.2.6 (it is still running 10.1), this may change in
the near future but currently I don't have reasonable access to a
machine running 10.2.x.  Even if I did there isn't much I could
do about this problem, I don't have any extra fonts installed (and it
seems to work with the default fonts).

> This way Batik can be put to good use, instead of fading out of memory.

   The way Batik will be put to good use is if people contribute to it.
Everyone who works with Batik shares the responsability (and credit) for
making it good and useful.

> On Sunday, September 21, 2003, at 06:33  PM, Andreas Neumann wrote:
> 
>> Hi Brendan, Thomas and other MacOSX Batik Users!
>>
>> I read your thread (july 2003) on the Batik Mailinglist on trying to  get
>> Squiggle running under MacOSX10.2.6. I ran into exactly the same  
>> problem?
>>
>> I read that the installed fonts could be the problem?
>>
>> Have you figured out which fonts could cause the problem?
>>
>> Here is my configuration:
>> Batik 1.5
>> MacOSX10.2.6
>> Java 1.4.1_01
>>
>> The error output is as follows:
>> -----------
>> [Andreas-Neumanns-Computer:~/svg/batik-1.5] an% java -version
>> java version "1.4.1_01"
>> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-69.1)
>> Java HotSpot(TM) Client VM (build 1.4.1_01-24, mixed mode)
>> [Andreas-Neumanns-Computer:~/svg/batik-1.5] an% java -jar  
>> batik-squiggle.jar
>> 2003-09-20 19:40:16.776 java[1602] Font GB18030Bitmap: in
>> _readBasicMetricsForSize, claims 0 max advance but is fixed-pitch.
>> 2003-09-20 19:40:17.513 java[1602] Warning: Font  
>> LucidaSans-TypewriterBold
>> claims fixed-pitch with 0 max advance!
>> 2003-09-20 19:40:18.240 java[1602] Warning: Font  
>> LucidaSans-TypewriterBold
>> claims fixed-pitch with 0 max advance!
>> java.lang.ExceptionInInitializerError
>>         at
>> org.apache.batik.gvt.renderer.StrokingTextPainter.createModifiedACIForF 
>> ontMatching(Unknown
>> Source)
>>         at  
>> org.apache.batik.gvt.renderer.StrokingTextPainter.getTextRuns(Unknown
>> Source)
>>         at  
>> org.apache.batik.gvt.renderer.StrokingTextPainter.getOutline(Unknown
>> Source)
>>         at
>> org.apache.batik.gvt.renderer.BasicTextPainter.getGeometryBounds(Unknow 
>> n Source)
>>         at org.apache.batik.gvt.TextNode.getGeometryBounds(Unknown  
>> Source)
>>         at
>> org.apache.batik.gvt.AbstractGraphicsNode.getTransformedGeometryBounds( 
>> Unknown
>> Source)
>>         at  
>> org.apache.batik.gvt.CompositeGraphicsNode.getGeometryBounds(Unknown
>> Source)
>>         at org.apache.batik.bridge.SVGUtilities.convertRegion(Unknown  
>> Source)
>>         at  
>> org.apache.batik.bridge.SVGUtilities.convertFilterChainRegion(Unknown
>> Source)
>>         at  
>> org.apache.batik.bridge.SVGFilterElementBridge.createFilter(Unknown
>> Source)
>>         at org.apache.batik.bridge.CSSUtilities.convertFilter(Unknown  
>> Source)
>>         at
>> org.apache.batik.bridge.AbstractGraphicsNodeBridge.buildGraphicsNode(Un 
>> known Source)
>>         at  
>> org.apache.batik.bridge.SVGUseElementBridge.buildGraphicsNode(Unknown
>> Source)
>>         at  
>> org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
>>         at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown  
>> Source)
>>         at  
>> org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
>>         at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown  
>> Source)
>>         at org.apache.batik.bridge.GVTBuilder.build(Unknown Source)
>>         at
>> org.apache.batik.bridge.SVGUseElementBridge.buildCompositeGraphicsNode( 
>> Unknown
>> Source)
>>         at
>> org.apache.batik.bridge.SVGUseElementBridge.createGraphicsNode(Unknown  
>> Source)
>>         at  
>> org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
>>         at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown  
>> Source)
>>         at  
>> org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
>>         at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown  
>> Source)
>>         at org.apache.batik.bridge.GVTBuilder.build(Unknown Source)
>>         at
>> org.apache.batik.bridge.SVGUseElementBridge.buildCompositeGraphicsNode( 
>> Unknown
>> Source)
>>         at
>> org.apache.batik.bridge.SVGUseElementBridge.createGraphicsNode(Unknown  
>> Source)
>>         at  
>> org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
>>         at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown  
>> Source)
>>         at org.apache.batik.bridge.GVTBuilder.build(Unknown Source)
>>         at org.apache.batik.swing.svg.GVTTreeBuilder.run(Unknown  Source)
>> Caused by: java.lang.NullPointerException
>>         at
>> sun.java2d.SunGraphicsEnvironment.getAvailableFontFamilyNames(SunGraphi 
>> csEnvironment.java:327)
>>         at
>> sun.java2d.SunGraphicsEnvironment.getAvailableFontFamilyNames(SunGraphi 
>> csEnvironment.java:359)
>>         at  
>> org.apache.batik.gvt.font.FontFamilyResolver.<clinit>(Unknown Source)
>>         ... 31 more
>>
>> --------------
>>
>> Here is my current font list:
>> [Andreas-Neumanns-Computer:/Library/Fonts] an% ls -l
>> total 174760
>> -rw-r--r--  1 an    admin     36876 Sep 11 11:59 AdobeFnt07.lst
>> -rw-rw-r--  1 root  admin     77760 Jul 15  2002 AlBayan.ttf
>> -rw-rw-r--  1 root  admin     77664 Jul 15  2002 AlBayanBold.ttf
>> -rw-rw-r--  1 root  admin    534828 Dec 20  2002  
>> AmericanTypewriter.dfont
>> -rw-rw-r--  1 root  admin   8937785 Jul 17  2002 Apple LiSung  
>> Light.dfont
>> -rw-rw-r--  1 root  admin  12097654 Jul 14  2002 AppleMyungjo.dfont
>> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Arial
>> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Arial Black
>> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Arial Narrow
>> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Arial Rounded Bold
>> -rw-rw-r--  1 root  admin     35068 Jul 15  2002 ArialHB.ttf
>> -rw-rw-r--  1 root  admin     34476 Jul 15  2002 ArialHBBold.ttf
>> -rwxrwxrwx  1 an    staff         0 Feb 28  2000 AvantGarde BkDm BT
>> -rwxrwxrwx  1 an    staff         0 Oct 22  1993 AvantGarde Md BT
>> -rw-rw-r--  1 root  admin     39548 Jul 15  2002 Ayuthaya.ttf
>> -rw-rw-r--  1 root  admin     88808 Jul 15  2002 Baghdad.ttf
>> -rw-rw-r--  1 root  admin    426925 Dec 20  2002 Baskerville.dfont
>> -rw-rw-r--  1 root  admin   1612931 Jul 17  2002 Beijing.dfont
>> -rw-rw-r--  1 root  admin  13984710 Jul 17  2002 BiauKai.dfont
>> -rw-rw-r--  1 root  admin    140361 Dec 20  2002 BigCaslon.dfont
>> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Brush Script
>> -rw-rw-r--  1 root  admin     76828 Jul 15  2002 CharcoalCY.dfont
>> -rw-rw-r--  1 root  admin    310951 Dec 20  2002 Cochin.dfont
>> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Comic Sans MS
>> -rwxrwxrwx  1 an    staff         0 Mar  5  2002 CommonBullets
>> -rw-rw-r--  1 root  admin    240790 Dec 20  2002 Copperplate.dfont
>> -rw-rw-r--  1 root  admin     39160 Jul 15  2002 Corsiva.ttf
>> -rw-rw-r--  1 root  admin     40924 Jul 15  2002 CorsivaBold.ttf
>> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Courier New
>> -rw-rw-r--  1 root  admin     68560 Jul 15  2002 DecoTypeNaskh.ttf
>> -rw-rw-r--  1 root  admin    184024 Jul 15  2002 DevanagariMTBold.ttf
>> -rw-rw-r--  1 root  admin    383766 Dec 20  2002 Didot.dfont
>> -rw-rw-r--  1 root  admin   6725596 Jul 17  2002 Fang Song.dfont
>> -rw-r-----  1 an    admin     39184 Sep 16 12:20 Frut000.ttf
>> -rw-rw-r--  1 root  admin    314508 Dec 20  2002 Futura.dfont
>> -rw-r-----  1 an    admin    185680 Sep 16 12:18 Gara.ttf
>> -rw-r-----  1 an    admin    186744 Sep 16 12:18 Garabd.ttf
>> -rw-r-----  1 an    admin    176916 Sep 16 12:18 Garait.ttf
>> -rw-rw-r--  1 root  admin     92444 Jul 15  2002 Geeza.ttf
>> -rw-rw-r--  1 root  admin    116689 Jul 15  2002 GenevaCY.dfont
>> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Georgia
>> -rw-rw-r--  1 root  admin    344604 Dec 20  2002 GillSans.dfont
>> -rw-rw-r--  1 root  admin    197316 Jul 15  2002 GujaratiMT.ttf
>> -rw-rw-r--  1 root  admin    185936 Jul 15  2002 GujaratiMTBold.ttf
>> -rw-rw-r--  1 root  admin     60900 Jul 15  2002 Gurmukhi.ttf
>> -rw-rw-r--  1 root  admin    308517 Jul 15  2002 HelveticaCY.dfont
>> -rw-rw-r--  1 root  admin    709029 Dec 20  2002 HelveticaNeue.dfont
>> -rw-rw-r--  1 root  admin    108351 Dec 20  2002 Herculanum.dfont
>> -rwxrwxrwx  1 an    staff         0 Nov 10  1993 Kabel Bk BT
>> -rwxrwxrwx  1 an    staff         0 Nov 10  1993 Kabel Ult BT
>> -rw-rw-r--  1 root  admin   7941608 Jul 17  2002 Kai.dfont
>> -rw-rw-r--  1 root  admin     30120 Jul 15  2002 Krungthep.ttf
>> -rw-rw-r--  1 root  admin     74132 Jul 15  2002 KufiStandarGK.ttf
>> -rw-rw-r--  1 root  admin    230806 Dec 20  2002 MarkerFelt.dfont
>> -rw-rw-r--  1 root  admin     73036 Jul 15  2002 MonacoCY.dfont
>> -rw-rw-r--  1 root  admin   7107888 Jul 17  2002 NISC18030.ttf
>> -rw-rw-r--  1 root  admin     86976 Jul 15  2002 Nadeem.ttf
>> -rw-rw-r--  1 root  admin     44288 Jul 15  2002 NewPeninimMTBold.ttf
>> -rw-rw-r--  1 root  admin     46312 Jul 15  2002  
>> NewPeninimMTBoldInclined.ttf
>> -rw-rw-r--  1 root  admin     40612 Jul 15  2002  
>> NewPeninimMTInclined.ttf
>> -rw-rw-r--  1 root  admin    567275 Dec 20  2002 Optima.dfont
>> -rw-rw-r--  1 root  admin    133874 Dec 20  2002 Papyrus.dfont
>> -rw-rw-r--  1 root  admin     28348 Jul 15  2002 Raanana.ttf
>> -rw-rw-r--  1 root  admin     27584 Jul 15  2002 RaananaBold.ttf
>> -rw-rw-r--  1 root  admin     30312 Jul 15  2002 Sathu.ttf
>> -rw-rw-r--  1 root  admin   7908742 Jul 14  2002 Seoul.dfont
>> -rw-rw-r--  1 root  admin     34796 Jul 15  2002 Silom.ttf
>> -rw-rw-r--  1 root  admin    476288 Dec 20  2002 Skia.dfont
>> -rw-rw-r--  1 root  admin   7207478 Jul 17  2002 Song.dfont
>> -rwxrwxrwx  1 an    staff         0 Apr 11  1996 Souvenir LtDm BT
>> -rwxrwxrwx  1 an    staff         0 Mar 29  1999 TT GoudyOlSt RmBd BT
>> -rwxrwxrwx  1 an    staff         0 Mar 29  1999 TT Humanst521 RmBd BT
>> -rwxrwxrwx  1 an    staff         0 Mar 30  1999 TT Staccato222 BT
>> -rwxrwxrwx  1 an    staff         0 Mar 30  1999 TT TypoUpright BT
>> -rw-rw-r--  1 root  admin   2586277 Jul 17  2002 Taipei.dfont
>> -rw-rw-r--  1 root  admin     37732 Jul 15  2002 Thonburi.ttf
>> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Times New Roman
>> -rw-rw-r--  1 root  admin    374671 Jul 15  2002 TimesCY.dfont
>> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Trebuchet MS
>> -rwxr-xr--  1 an    admin     53888 Sep 16 12:17 UNIVCD.TTF
>> -rwxr-xr--  1 an    admin     54264 Sep 16 12:17 UNIVCDB.TTF
>> -rwxr-xr--  1 an    admin     57676 Sep 16 12:17 UNIVCDBI.TTF
>> -rwxr-xr--  1 an    admin     56468 Sep 16 12:17 UNIVCDI.TTF
>> -rwxr-xr--  1 an    admin     53304 Sep 16 12:18 UNIVER.TTF
>> -rwxr-xr--  1 an    admin     55308 Sep 16 12:17 UNIVERB.TTF
>> -rwxr-xr--  1 an    admin     56864 Sep 16 12:17 UNIVERBI.TTF
>> -rwxr-xr--  1 an    admin     56984 Sep 16 12:17 UNIVERI.TTF
>> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Verdana
>> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Webdings
>> -rw-rw-r--  1 root  admin    524186 Dec 20  2002 Zapfino.dfont
>> -rwxr-xr--  1 an    admin      7996 Sep 16 12:17 cave_signatures.ttf
>> -rwxr-xr--  1 an    admin     35872 Sep 16 12:18 hum777b.ttf
>> -rwxr-xr--  1 an    admin     37880 Sep 16 12:17 hum777bi.ttf
>> -rwxr-xr--  1 an    admin     37140 Sep 16 12:18 hum777i.ttf
>> -rwxr-xr--  1 an    admin     36584 Sep 16 12:18 hum777k.ttf
>> -rwxr-xr--  1 an    admin     37844 Sep 16 12:18 hum777ki.ttf
>> -rwxr-xr--  1 an    admin     34428 Sep 16 12:18 hum777l.ttf
>> -rwxr-xr--  1 an    admin     35808 Sep 16 12:18 hum777li.ttf
>> -rwxr-xr--  1 an    admin     35340 Sep 16 12:17 hum777n.ttf
>> -rwxr-xr--  1 an    admin      4640 Sep 16 12:17  
>> topographische_signaturen.ttf
>> [Andreas-Neumanns-Computer:/Library/Fonts] an%
>>
>> ----------
>>
>> any idea what could be wrong? I have to admit that I don't know  
>> anything about
>> Fonts on MacOSX, since I just recently switched from Linux/Windows to  
>> MacOSX and
>> am pretty new on Mac ...
>>
>> Thanks for any hint,
>> Andreas
>>
>> --     He who asks is a fool for five minutes,
>> but he who does not ask remains a fool forever.
>> -- Chinese Proverb
>> ----------------------------------------------
>> Andreas Neumann - Department of Cartography
>> Swiss Federal Institute of Technology (ETH)
>> ETH Hoenggerberg, CH-8093  Zurich, Switzerland
>> Phone: ++41-1-633 3031, Fax: ++41-1-633 1153
>> e-mail: neumann@karto.baug.ethz.ch
>> www: http://www.karto.ethz.ch/neumann/
>> SVG.Open/Carto.net: http://www.svgopen.org/
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
>> For additional commands, e-mail: batik-users-help@xml.apache.org
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org
> 
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Re: Batik 1.5 and MacOSX10.2.6 Java141 rotateTest

Posted by manuel berney <ma...@urbanet.ch>.
i forget to say rotateTest is the main class
it use a JSVGCanvas as shown in the batik exemple

motor is a runnable used to do the rotate animation

gearTrain is used to do the svg transformation on level6.svg

Cheers manu


----- Original Message -----
From: "manuel berney" <ma...@urbanet.ch>
To: "Batik Users" <ba...@xml.apache.org>
Sent: Monday, September 22, 2003 10:37 AM
Subject: Batik 1.5 and MacOSX10.2.6 Java141 rotateTest


> i'm a batik newbie and i usually code with XP and netbeans but i' m trying
> to do my development with OSX and netbeans now.
> I have a problem to rotate an svg element with osx .
>
> Attatch 3 classes + 1 svg file
> motor,java, gearTrain.java, rotateTest.java and level6.svg
>
> The code works fine on XP but my rotation isn't regular on OSX. What's
wrong
> with it ??
>
> cheers manu
>


----------------------------------------------------------------------------
----


> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Batik 1.5 and MacOSX10.2.6 Java141 rotateTest

Posted by manuel berney <ma...@urbanet.ch>.
i'm a batik newbie and i usually code with XP and netbeans but i' m trying
to do my development with OSX and netbeans now.
I have a problem to rotate an svg element with osx .

Attatch 3 classes + 1 svg file
motor,java, gearTrain.java, rotateTest.java and level6.svg

The code works fine on XP but my rotation isn't regular on OSX. What's wrong
with it ??

cheers manu

Re: Batik 1.5 and MacOSX10.2.6 startup problems

Posted by "Anthony J. Starks" <aj...@comcast.net>.
I've filed bug reports. I have no solution.

On Sunday, Sep 21, 2003, at 21:28 America/New_York, Andreas Neumann 
wrote:

> Zitiere "Anthony J.Starks" <aj...@comcast.net>:
>
>> FYI, I've documented the font problems with Batik/Mac OSX/JVM 1.4 
>> using
>> both the Apple and Apache bug tracking systems.
>>
>
> What do you mean by "documented"? Did you file a bug report, but the 
> issue is
> still unresolved, or did you find a solution, that you documented? If 
> yes, could
> you point us to your solution?
>
> Thomas DeWeese suggested to update to the newest JavaVM that Apple 
> released on
> 2003-09-08 (Java 1.4.1 Update 1) - but I had this already installed. 
> My "java
> -version" output is as follows:
> ------
> [Andreas-Neumanns-Computer:~/svg/selectionlist] an% java -version
> java version "1.4.1_01"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-69.1)
> Java HotSpot(TM) Client VM (build 1.4.1_01-24, mixed mode)
> [Andreas-Neumanns-Computer:~/svg/selectionlist] an%
> ------
>
> I still suspect one of the font files in the "/Library/Fonts" 
> directory.
> Unfortunately I have no idea which files should, and which should not 
> reside
> here. I have the following types/extensions of files in this directory:
>
> * Files without extensions (no idea wheter these are TrueType or Type1 
> files?)
> * .ttf files
> * .dfont files (what are these?)
> * there is one file that is called "AdobeFnt07.lst" - do I actually 
> need this or
> may this file cause the problem?
>
> Finally, I generated two of the TrueType fonts myself
> (topographische_signaturen.ttf, cave_signatures.ttf), using CorelDraw. 
> Do you
> think, these could cause the problem?
>
> Is the JRE reading the font-directory each time it starts, or do I 
> need to
> reboot the computer, in order to force JRE to reread the directory?
>
> Here is again my complete listing:
> [Andreas-Neumanns-Computer:/Library/Fonts] an% ls -l
> total 174760
> -rw-r--r--  1 an    admin     36876 Sep 11 11:59 AdobeFnt07.lst
> -rw-rw-r--  1 root  admin     77760 Jul 15  2002 AlBayan.ttf
> -rw-rw-r--  1 root  admin     77664 Jul 15  2002 AlBayanBold.ttf
> -rw-rw-r--  1 root  admin    534828 Dec 20  2002 
> AmericanTypewriter.dfont
> -rw-rw-r--  1 root  admin   8937785 Jul 17  2002 Apple LiSung 
> Light.dfont
> -rw-rw-r--  1 root  admin  12097654 Jul 14  2002 AppleMyungjo.dfont
> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Arial
> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Arial Black
> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Arial Narrow
> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Arial Rounded Bold
> -rw-rw-r--  1 root  admin     35068 Jul 15  2002 ArialHB.ttf
> -rw-rw-r--  1 root  admin     34476 Jul 15  2002 ArialHBBold.ttf
> -rwxrwxrwx  1 an    staff         0 Feb 28  2000 AvantGarde BkDm BT
> -rwxrwxrwx  1 an    staff         0 Oct 22  1993 AvantGarde Md BT
> -rw-rw-r--  1 root  admin     39548 Jul 15  2002 Ayuthaya.ttf
> -rw-rw-r--  1 root  admin     88808 Jul 15  2002 Baghdad.ttf
> -rw-rw-r--  1 root  admin    426925 Dec 20  2002 Baskerville.dfont
> -rw-rw-r--  1 root  admin   1612931 Jul 17  2002 Beijing.dfont
> -rw-rw-r--  1 root  admin  13984710 Jul 17  2002 BiauKai.dfont
> -rw-rw-r--  1 root  admin    140361 Dec 20  2002 BigCaslon.dfont
> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Brush Script
> -rw-rw-r--  1 root  admin     76828 Jul 15  2002 CharcoalCY.dfont
> -rw-rw-r--  1 root  admin    310951 Dec 20  2002 Cochin.dfont
> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Comic Sans MS
> -rwxrwxrwx  1 an    staff         0 Mar  5  2002 CommonBullets
> -rw-rw-r--  1 root  admin    240790 Dec 20  2002 Copperplate.dfont
> -rw-rw-r--  1 root  admin     39160 Jul 15  2002 Corsiva.ttf
> -rw-rw-r--  1 root  admin     40924 Jul 15  2002 CorsivaBold.ttf
> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Courier New
> -rw-rw-r--  1 root  admin     68560 Jul 15  2002 DecoTypeNaskh.ttf
> -rw-rw-r--  1 root  admin    184024 Jul 15  2002 DevanagariMTBold.ttf
> -rw-rw-r--  1 root  admin    383766 Dec 20  2002 Didot.dfont
> -rw-rw-r--  1 root  admin   6725596 Jul 17  2002 Fang Song.dfont
> -rw-r-----  1 an    admin     39184 Sep 16 12:20 Frut000.ttf
> -rw-rw-r--  1 root  admin    314508 Dec 20  2002 Futura.dfont
> -rw-r-----  1 an    admin    185680 Sep 16 12:18 Gara.ttf
> -rw-r-----  1 an    admin    186744 Sep 16 12:18 Garabd.ttf
> -rw-r-----  1 an    admin    176916 Sep 16 12:18 Garait.ttf
> -rw-rw-r--  1 root  admin     92444 Jul 15  2002 Geeza.ttf
> -rw-rw-r--  1 root  admin    116689 Jul 15  2002 GenevaCY.dfont
> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Georgia
> -rw-rw-r--  1 root  admin    344604 Dec 20  2002 GillSans.dfont
> -rw-rw-r--  1 root  admin    197316 Jul 15  2002 GujaratiMT.ttf
> -rw-rw-r--  1 root  admin    185936 Jul 15  2002 GujaratiMTBold.ttf
> -rw-rw-r--  1 root  admin     60900 Jul 15  2002 Gurmukhi.ttf
> -rw-rw-r--  1 root  admin    308517 Jul 15  2002 HelveticaCY.dfont
> -rw-rw-r--  1 root  admin    709029 Dec 20  2002 HelveticaNeue.dfont
> -rw-rw-r--  1 root  admin    108351 Dec 20  2002 Herculanum.dfont
> -rwxrwxrwx  1 an    staff         0 Nov 10  1993 Kabel Bk BT
> -rwxrwxrwx  1 an    staff         0 Nov 10  1993 Kabel Ult BT
> -rw-rw-r--  1 root  admin   7941608 Jul 17  2002 Kai.dfont
> -rw-rw-r--  1 root  admin     30120 Jul 15  2002 Krungthep.ttf
> -rw-rw-r--  1 root  admin     74132 Jul 15  2002 KufiStandarGK.ttf
> -rw-rw-r--  1 root  admin    230806 Dec 20  2002 MarkerFelt.dfont
> -rw-rw-r--  1 root  admin     73036 Jul 15  2002 MonacoCY.dfont
> -rw-rw-r--  1 root  admin   7107888 Jul 17  2002 NISC18030.ttf
> -rw-rw-r--  1 root  admin     86976 Jul 15  2002 Nadeem.ttf
> -rw-rw-r--  1 root  admin     44288 Jul 15  2002 NewPeninimMTBold.ttf
> -rw-rw-r--  1 root  admin     46312 Jul 15  2002 
> NewPeninimMTBoldInclined.ttf
> -rw-rw-r--  1 root  admin     40612 Jul 15  2002 
> NewPeninimMTInclined.ttf
> -rw-rw-r--  1 root  admin    567275 Dec 20  2002 Optima.dfont
> -rw-rw-r--  1 root  admin    133874 Dec 20  2002 Papyrus.dfont
> -rw-rw-r--  1 root  admin     28348 Jul 15  2002 Raanana.ttf
> -rw-rw-r--  1 root  admin     27584 Jul 15  2002 RaananaBold.ttf
> -rw-rw-r--  1 root  admin     30312 Jul 15  2002 Sathu.ttf
> -rw-rw-r--  1 root  admin   7908742 Jul 14  2002 Seoul.dfont
> -rw-rw-r--  1 root  admin     34796 Jul 15  2002 Silom.ttf
> -rw-rw-r--  1 root  admin    476288 Dec 20  2002 Skia.dfont
> -rw-rw-r--  1 root  admin   7207478 Jul 17  2002 Song.dfont
> -rwxrwxrwx  1 an    staff         0 Apr 11  1996 Souvenir LtDm BT
> -rwxrwxrwx  1 an    staff         0 Mar 29  1999 TT GoudyOlSt RmBd BT
> -rwxrwxrwx  1 an    staff         0 Mar 29  1999 TT Humanst521 RmBd BT
> -rwxrwxrwx  1 an    staff         0 Mar 30  1999 TT Staccato222 BT
> -rwxrwxrwx  1 an    staff         0 Mar 30  1999 TT TypoUpright BT
> -rw-rw-r--  1 root  admin   2586277 Jul 17  2002 Taipei.dfont
> -rw-rw-r--  1 root  admin     37732 Jul 15  2002 Thonburi.ttf
> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Times New Roman
> -rw-rw-r--  1 root  admin    374671 Jul 15  2002 TimesCY.dfont
> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Trebuchet MS
> -rwxr-xr--  1 an    admin     53888 Sep 16 12:17 UNIVCD.TTF
> -rwxr-xr--  1 an    admin     54264 Sep 16 12:17 UNIVCDB.TTF
> -rwxr-xr--  1 an    admin     57676 Sep 16 12:17 UNIVCDBI.TTF
> -rwxr-xr--  1 an    admin     56468 Sep 16 12:17 UNIVCDI.TTF
> -rwxr-xr--  1 an    admin     53304 Sep 16 12:18 UNIVER.TTF
> -rwxr-xr--  1 an    admin     55308 Sep 16 12:17 UNIVERB.TTF
> -rwxr-xr--  1 an    admin     56864 Sep 16 12:17 UNIVERBI.TTF
> -rwxr-xr--  1 an    admin     56984 Sep 16 12:17 UNIVERI.TTF
> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Verdana
> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Webdings
> -rw-rw-r--  1 root  admin    524186 Dec 20  2002 Zapfino.dfont
> -rwxr-xr--  1 an    admin      7996 Sep 16 12:17 cave_signatures.ttf
> -rwxr-xr--  1 an    admin     35872 Sep 16 12:18 hum777b.ttf
> -rwxr-xr--  1 an    admin     37880 Sep 16 12:17 hum777bi.ttf
> -rwxr-xr--  1 an    admin     37140 Sep 16 12:18 hum777i.ttf
> -rwxr-xr--  1 an    admin     36584 Sep 16 12:18 hum777k.ttf
> -rwxr-xr--  1 an    admin     37844 Sep 16 12:18 hum777ki.ttf
> -rwxr-xr--  1 an    admin     34428 Sep 16 12:18 hum777l.ttf
> -rwxr-xr--  1 an    admin     35808 Sep 16 12:18 hum777li.ttf
> -rwxr-xr--  1 an    admin     35340 Sep 16 12:17 hum777n.ttf
> -rwxr-xr--  1 an    admin      4640 Sep 16 12:17 
> topographische_signaturen.ttf
> [Andreas-Neumanns-Computer:/Library/Fonts] an% *
>
>
> Thanks for any hint,
> Andreas
>
> --     
> He who asks is a fool for five minutes,
> but he who does not ask remains a fool forever.
> -- Chinese Proverb 
>
> ----------------------------------------------
> Andreas Neumann - Department of Cartography
> Swiss Federal Institute of Technology (ETH)
> ETH Hoenggerberg, CH-8093  Zurich, Switzerland
> Phone: ++41-1-633 3031, Fax: ++41-1-633 1153
> e-mail: neumann@karto.baug.ethz.ch
> www: http://www.karto.ethz.ch/neumann/
> SVG.Open/Carto.net: http://www.svgopen.org/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Re: Batik 1.5 and MacOSX10.2.6 startup problems

Posted by Andreas Neumann <ne...@karto.baug.ethz.ch>.
Zitiere "Anthony J.Starks" <aj...@comcast.net>:

> FYI, I've documented the font problems with Batik/Mac OSX/JVM 1.4 using
> both the Apple and Apache bug tracking systems.
> 

What do you mean by "documented"? Did you file a bug report, but the issue is
still unresolved, or did you find a solution, that you documented? If yes, could
you point us to your solution?

Thomas DeWeese suggested to update to the newest JavaVM that Apple released on
2003-09-08 (Java 1.4.1 Update 1) - but I had this already installed. My "java
-version" output is as follows:
------
[Andreas-Neumanns-Computer:~/svg/selectionlist] an% java -version
java version "1.4.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-69.1)
Java HotSpot(TM) Client VM (build 1.4.1_01-24, mixed mode)
[Andreas-Neumanns-Computer:~/svg/selectionlist] an%  
------

I still suspect one of the font files in the "/Library/Fonts" directory.
Unfortunately I have no idea which files should, and which should not reside
here. I have the following types/extensions of files in this directory:

* Files without extensions (no idea wheter these are TrueType or Type1 files?)
* .ttf files
* .dfont files (what are these?)
* there is one file that is called "AdobeFnt07.lst" - do I actually need this or
may this file cause the problem?

Finally, I generated two of the TrueType fonts myself
(topographische_signaturen.ttf, cave_signatures.ttf), using CorelDraw. Do you
think, these could cause the problem?

Is the JRE reading the font-directory each time it starts, or do I need to
reboot the computer, in order to force JRE to reread the directory?

Here is again my complete listing:
[Andreas-Neumanns-Computer:/Library/Fonts] an% ls -l
total 174760
-rw-r--r--  1 an    admin     36876 Sep 11 11:59 AdobeFnt07.lst
-rw-rw-r--  1 root  admin     77760 Jul 15  2002 AlBayan.ttf
-rw-rw-r--  1 root  admin     77664 Jul 15  2002 AlBayanBold.ttf
-rw-rw-r--  1 root  admin    534828 Dec 20  2002 AmericanTypewriter.dfont
-rw-rw-r--  1 root  admin   8937785 Jul 17  2002 Apple LiSung Light.dfont
-rw-rw-r--  1 root  admin  12097654 Jul 14  2002 AppleMyungjo.dfont
-rw-rw-r--  1 root  admin         0 Feb 25  2003 Arial
-rw-rw-r--  1 root  admin         0 Feb 25  2003 Arial Black
-rw-rw-r--  1 root  admin         0 Feb 25  2003 Arial Narrow
-rw-rw-r--  1 root  admin         0 Feb 25  2003 Arial Rounded Bold
-rw-rw-r--  1 root  admin     35068 Jul 15  2002 ArialHB.ttf
-rw-rw-r--  1 root  admin     34476 Jul 15  2002 ArialHBBold.ttf
-rwxrwxrwx  1 an    staff         0 Feb 28  2000 AvantGarde BkDm BT
-rwxrwxrwx  1 an    staff         0 Oct 22  1993 AvantGarde Md BT
-rw-rw-r--  1 root  admin     39548 Jul 15  2002 Ayuthaya.ttf
-rw-rw-r--  1 root  admin     88808 Jul 15  2002 Baghdad.ttf
-rw-rw-r--  1 root  admin    426925 Dec 20  2002 Baskerville.dfont
-rw-rw-r--  1 root  admin   1612931 Jul 17  2002 Beijing.dfont
-rw-rw-r--  1 root  admin  13984710 Jul 17  2002 BiauKai.dfont
-rw-rw-r--  1 root  admin    140361 Dec 20  2002 BigCaslon.dfont
-rw-rw-r--  1 root  admin         0 Feb 25  2003 Brush Script
-rw-rw-r--  1 root  admin     76828 Jul 15  2002 CharcoalCY.dfont
-rw-rw-r--  1 root  admin    310951 Dec 20  2002 Cochin.dfont
-rw-rw-r--  1 root  admin         0 Feb 25  2003 Comic Sans MS
-rwxrwxrwx  1 an    staff         0 Mar  5  2002 CommonBullets
-rw-rw-r--  1 root  admin    240790 Dec 20  2002 Copperplate.dfont
-rw-rw-r--  1 root  admin     39160 Jul 15  2002 Corsiva.ttf
-rw-rw-r--  1 root  admin     40924 Jul 15  2002 CorsivaBold.ttf
-rw-rw-r--  1 root  admin         0 Feb 25  2003 Courier New
-rw-rw-r--  1 root  admin     68560 Jul 15  2002 DecoTypeNaskh.ttf
-rw-rw-r--  1 root  admin    184024 Jul 15  2002 DevanagariMTBold.ttf
-rw-rw-r--  1 root  admin    383766 Dec 20  2002 Didot.dfont
-rw-rw-r--  1 root  admin   6725596 Jul 17  2002 Fang Song.dfont
-rw-r-----  1 an    admin     39184 Sep 16 12:20 Frut000.ttf
-rw-rw-r--  1 root  admin    314508 Dec 20  2002 Futura.dfont
-rw-r-----  1 an    admin    185680 Sep 16 12:18 Gara.ttf
-rw-r-----  1 an    admin    186744 Sep 16 12:18 Garabd.ttf
-rw-r-----  1 an    admin    176916 Sep 16 12:18 Garait.ttf
-rw-rw-r--  1 root  admin     92444 Jul 15  2002 Geeza.ttf
-rw-rw-r--  1 root  admin    116689 Jul 15  2002 GenevaCY.dfont
-rw-rw-r--  1 root  admin         0 Feb 25  2003 Georgia
-rw-rw-r--  1 root  admin    344604 Dec 20  2002 GillSans.dfont
-rw-rw-r--  1 root  admin    197316 Jul 15  2002 GujaratiMT.ttf
-rw-rw-r--  1 root  admin    185936 Jul 15  2002 GujaratiMTBold.ttf
-rw-rw-r--  1 root  admin     60900 Jul 15  2002 Gurmukhi.ttf
-rw-rw-r--  1 root  admin    308517 Jul 15  2002 HelveticaCY.dfont
-rw-rw-r--  1 root  admin    709029 Dec 20  2002 HelveticaNeue.dfont
-rw-rw-r--  1 root  admin    108351 Dec 20  2002 Herculanum.dfont
-rwxrwxrwx  1 an    staff         0 Nov 10  1993 Kabel Bk BT
-rwxrwxrwx  1 an    staff         0 Nov 10  1993 Kabel Ult BT
-rw-rw-r--  1 root  admin   7941608 Jul 17  2002 Kai.dfont
-rw-rw-r--  1 root  admin     30120 Jul 15  2002 Krungthep.ttf
-rw-rw-r--  1 root  admin     74132 Jul 15  2002 KufiStandarGK.ttf
-rw-rw-r--  1 root  admin    230806 Dec 20  2002 MarkerFelt.dfont
-rw-rw-r--  1 root  admin     73036 Jul 15  2002 MonacoCY.dfont
-rw-rw-r--  1 root  admin   7107888 Jul 17  2002 NISC18030.ttf
-rw-rw-r--  1 root  admin     86976 Jul 15  2002 Nadeem.ttf
-rw-rw-r--  1 root  admin     44288 Jul 15  2002 NewPeninimMTBold.ttf
-rw-rw-r--  1 root  admin     46312 Jul 15  2002 NewPeninimMTBoldInclined.ttf
-rw-rw-r--  1 root  admin     40612 Jul 15  2002 NewPeninimMTInclined.ttf
-rw-rw-r--  1 root  admin    567275 Dec 20  2002 Optima.dfont
-rw-rw-r--  1 root  admin    133874 Dec 20  2002 Papyrus.dfont
-rw-rw-r--  1 root  admin     28348 Jul 15  2002 Raanana.ttf
-rw-rw-r--  1 root  admin     27584 Jul 15  2002 RaananaBold.ttf
-rw-rw-r--  1 root  admin     30312 Jul 15  2002 Sathu.ttf
-rw-rw-r--  1 root  admin   7908742 Jul 14  2002 Seoul.dfont
-rw-rw-r--  1 root  admin     34796 Jul 15  2002 Silom.ttf
-rw-rw-r--  1 root  admin    476288 Dec 20  2002 Skia.dfont
-rw-rw-r--  1 root  admin   7207478 Jul 17  2002 Song.dfont
-rwxrwxrwx  1 an    staff         0 Apr 11  1996 Souvenir LtDm BT
-rwxrwxrwx  1 an    staff         0 Mar 29  1999 TT GoudyOlSt RmBd BT
-rwxrwxrwx  1 an    staff         0 Mar 29  1999 TT Humanst521 RmBd BT
-rwxrwxrwx  1 an    staff         0 Mar 30  1999 TT Staccato222 BT
-rwxrwxrwx  1 an    staff         0 Mar 30  1999 TT TypoUpright BT
-rw-rw-r--  1 root  admin   2586277 Jul 17  2002 Taipei.dfont
-rw-rw-r--  1 root  admin     37732 Jul 15  2002 Thonburi.ttf
-rw-rw-r--  1 root  admin         0 Feb 25  2003 Times New Roman
-rw-rw-r--  1 root  admin    374671 Jul 15  2002 TimesCY.dfont
-rw-rw-r--  1 root  admin         0 Feb 25  2003 Trebuchet MS
-rwxr-xr--  1 an    admin     53888 Sep 16 12:17 UNIVCD.TTF
-rwxr-xr--  1 an    admin     54264 Sep 16 12:17 UNIVCDB.TTF
-rwxr-xr--  1 an    admin     57676 Sep 16 12:17 UNIVCDBI.TTF
-rwxr-xr--  1 an    admin     56468 Sep 16 12:17 UNIVCDI.TTF
-rwxr-xr--  1 an    admin     53304 Sep 16 12:18 UNIVER.TTF
-rwxr-xr--  1 an    admin     55308 Sep 16 12:17 UNIVERB.TTF
-rwxr-xr--  1 an    admin     56864 Sep 16 12:17 UNIVERBI.TTF
-rwxr-xr--  1 an    admin     56984 Sep 16 12:17 UNIVERI.TTF
-rw-rw-r--  1 root  admin         0 Feb 25  2003 Verdana
-rw-rw-r--  1 root  admin         0 Feb 25  2003 Webdings
-rw-rw-r--  1 root  admin    524186 Dec 20  2002 Zapfino.dfont
-rwxr-xr--  1 an    admin      7996 Sep 16 12:17 cave_signatures.ttf
-rwxr-xr--  1 an    admin     35872 Sep 16 12:18 hum777b.ttf
-rwxr-xr--  1 an    admin     37880 Sep 16 12:17 hum777bi.ttf
-rwxr-xr--  1 an    admin     37140 Sep 16 12:18 hum777i.ttf
-rwxr-xr--  1 an    admin     36584 Sep 16 12:18 hum777k.ttf
-rwxr-xr--  1 an    admin     37844 Sep 16 12:18 hum777ki.ttf
-rwxr-xr--  1 an    admin     34428 Sep 16 12:18 hum777l.ttf
-rwxr-xr--  1 an    admin     35808 Sep 16 12:18 hum777li.ttf
-rwxr-xr--  1 an    admin     35340 Sep 16 12:17 hum777n.ttf
-rwxr-xr--  1 an    admin      4640 Sep 16 12:17 topographische_signaturen.ttf
[Andreas-Neumanns-Computer:/Library/Fonts] an% *


Thanks for any hint,
Andreas

--     
He who asks is a fool for five minutes,
but he who does not ask remains a fool forever.
-- Chinese Proverb 
    
----------------------------------------------     
Andreas Neumann - Department of Cartography     
Swiss Federal Institute of Technology (ETH)     
ETH Hoenggerberg, CH-8093  Zurich, Switzerland     
Phone: ++41-1-633 3031, Fax: ++41-1-633 1153     
e-mail: neumann@karto.baug.ethz.ch     
www: http://www.karto.ethz.ch/neumann/     
SVG.Open/Carto.net: http://www.svgopen.org/     

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Re: Panther (Mac OX 10.3) fixes Batik startup problems

Posted by Thomas DeWeese <Th...@Kodak.com>.
Hi Anthony,

   Great! Thanks for checking and reporting on this.  At least we can
see some light at the end of the tunnel.  I am also interested if the
performance seems to have increased any.

Andreas Neumann wrote:

> Anthony, did you notice any performance difference with Panther and the new Java
> release?
> 
> Since I tweaked my current MacOSX laptop quite a bit towards Open Source
> (Postgres, fink, latex, etc.) I hesitate to upgrade to Panther unless I have a
> good reason ;-)
> 
> Thanks for any info,
> Andreas
> 
> 
> Zitiere "Anthony J.Starks" <aj...@comcast.net>:
> 
> 
>>The previously reported bugs (Bugzilla Bug 23289)  where Squiggle and 
>>other apps were throwing errors on startup, have been fixed with the 
>>update to Mac OS X 10.3, aka Panther.  Note that the Java version has 
>>been updated.  On my previous system (10.2.8) it said:
>>
>>java version "1.4.1_01"
>>Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39)
>>Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode)
>>
>>Under Panther:
>>
>>java version "1.4.1_01"
>>Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-99)
>>Java HotSpot(TM) Client VM (build 1.4.1_01-27, mixed mode)
>>
>>
>>The FontTest program that was posted by Thomas DeWeese that previously 
>>threw errors now says:
>>
>>$  java FontTest
>>Font: #GungSeo
>>Font: #HeadLineA
>>Font: #PCMyungjo
>>Font: #PilGi
>>Font: Academy Engraved LET
>>Font: Al Bayan
>>Font: Algerian Condensed LET
>>Font: American Typewriter
>>Font: Andale Mono
>>Font: Apple Chancery
>>Font: Apple LiGothic
>>Font: Apple LiSung
>>Font: Apple Symbols
>>Font: AppleGothic
>>Font: AppleMyungjo
>>Font: Arial
>>Font: Arial Black
>>Font: Arial Hebrew
>>Font: Arial Narrow
>>Font: Arial Rounded MT Bold
>>Font: Arriba Arriba LET
>>Font: Avant Garde Mono ITCTT
>>Font: Ayuthaya
>>Font: Baghdad
>>Font: BancoITC TT
>>Font: Baskerville
>>Font: BiauKai
>>Font: Big Caslon
>>Font: Blackmoor LET
>>Font: Bodoni SvtyTwo SC ITC TT
>>Font: BraganzaITC TT
>>Font: BraganzaSCITC TT
>>Font: Brush Script MT
>>Font: Cabaret LET
>>Font: Capitals
>>Font: Century Gothic
>>Font: Chalkboard
>>Font: Charcoal
>>Font: Charcoal CY
>>Font: Chicago
>>Font: Cochin
>>Font: Comic Sans MS
>>Font: Copperplate
>>Font: Copperplate Gothic Bold
>>Font: Copperplate Gothic Light
>>Font: Corsiva Hebrew
>>Font: Courier
>>Font: Courier New
>>Font: Curlz MT
>>Font: DecoType Naskh
>>Font: Default
>>Font: Devanagari MT
>>Font: Dialog
>>Font: DialogInput
>>Font: Didot
>>Font: Edwardian Script ITC
>>Font: Euphemia UCAS
>>Font: Fang Song
>>Font: Futura
>>Font: Gadget
>>Font: GB18030 Bitmap
>>Font: Geeza Pro
>>Font: Geneva
>>Font: Geneva CY
>>Font: Georgia
>>Font: Gill Sans
>>Font: Gujarati MT
>>Font: Gurmukhi MT
>>Font: Hazel LET
>>Font: Hei
>>Font: Helvetica
>>Font: Helvetica CY
>>Font: Helvetica Neue
>>Font: Herculanum
>>Font: Hiragino Kaku Gothic Pro
>>Font: Hiragino Kaku Gothic Std
>>Font: Hiragino Maru Gothic Pro
>>Font: Hiragino Mincho Pro
>>Font: Hoefler Text
>>Font: Impact
>>Font: Jazz LET
>>Font: Jenson Old Style TT
>>Font: Kai
>>Font: Krungthep
>>Font: KufiStandardGK
>>Font: LiHei Pro
>>Font: LiSong Pro
>>Font: Lucida Bright
>>Font: Lucida Grande
>>Font: Lucida Handwriting
>>Font: Lucida Sans
>>Font: Lucida Sans Typewriter
>>Font: Marker Felt
>>Font: Mona Lisa Solid OS ITC TT
>>Font: Monaco
>>Font: Monaco CY
>>Font: Monospaced
>>Font: Monotype Sorts
>>Font: Mshtakan
>>Font: Nadeem
>>Font: New Peninim MT
>>Font: New York
>>Font: Optima
>>Font: Osaka
>>Font: Palatino
>>Font: Papyrus
>>Font: Plantagenet Cherokee
>>Font: PortagoITC TT
>>Font: Princetown LET
>>Font: Raanana
>>Font: Sand
>>Font: SansSerif
>>Font: Santa Fe LET
>>Font: Sathu
>>Font: Savoye LET
>>Font: Serif
>>Font: Shatter LET
>>Font: Silom
>>Font: Skia
>>Font: Song
>>Font: Souvenir Mono ITCTT
>>Font: STFangsong
>>Font: STHeiti
>>Font: STKaiti
>>Font: STSong
>>Font: Symbol
>>Font: Synchro LET
>>Font: Tahoma
>>Font: Techno
>>Font: TembleITC TT
>>Font: Textile
>>Font: Thonburi
>>Font: Times
>>Font: Times CY
>>Font: Times New Roman
>>Font: Trebuchet MS
>>Font: Type Embellishments One LET
>>Font: University Roman Bold LET
>>Font: Verdana
>>Font: VT100
>>Font: Webdings
>>Font: Wingdings
>>Font: Zapf Dingbats
>>Font: Zapfino
>>Font: ZiggyITC TT
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
>>For additional commands, e-mail: batik-users-help@xml.apache.org
>>
>>
> 
> 
> 
> 
> --     
> The only thing that stands between a man and what he wants from
> life is often merely the will to try it and the faith to believe
> that it is possible ...
> -- M. DeVos
>     
> ----------------------------------------------     
> Andreas Neumann - Department of Cartography     
> Swiss Federal Institute of Technology (ETH)     
> ETH Hoenggerberg, CH-8093  Zurich, Switzerland     
> Phone: ++41-1-633 3031, Fax: ++41-1-633 1153     
> e-mail: neumann@karto.baug.ethz.ch     
> www: http://www.karto.ethz.ch/neumann/     
> SVG.Open/Carto.net: http://www.svgopen.org/     
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org
> 
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Re: Panther (Mac OX 10.3) fixes Batik startup problems

Posted by "Anthony J. Starks" <aj...@comcast.net>.
Some corrections to the startup timings.  Cold-start startup of 
squiggle is about 56 sec, with warm start startup times about 30 
seconds.

On Oct 26, 2003, at 8:40 AM, Anthony J. Starks wrote:

> Here are some informal timings of Batik 1.5 under Panther; 
> unfortunately, I don't have comparisons with the older platform.  I'm 
> hoping others can fill this in for both older Mac and other platforms 
> as well.
>
> Environment:
> Batik 1.5
> Powerbook G4 667MhZ, 512 Mb Ram
> Mac OS X 10.3 (Panther)
> java version "1.4.1_01"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-99)
> Java HotSpot(TM) Client VM (build 1.4.1_01-27, mixed mode)
>
> Time from startup to first display of squggle: 16 seconds
> After startup, I timed the load and display times for selected files 
> in the samples directory:
>
> anne.svg 2 sec
> gradients.svg :  1.5 sec
> logoShadowOffset:  < 1 sec
> mapSpain.svg  16 sec
> textRotateShadows:  13 sec
>


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Re: Panther (Mac OX 10.3) fixes Batik startup problems

Posted by "Anthony J. Starks" <aj...@comcast.net>.
Here are some "warm-start" timimgs:

ajstarks> java -jar batik-squiggle.jar samples/anne.svg
Document load started...
Document load completed in 472 ms
GVT build started...
GVT build completed in 746 ms
GVT rendering preparation...
GVT rendering prepared in 32 ms
GVT rendering started...
GVT rendering completed in 4641 ms

ajstarks> java -jar batik-squiggle.jar samples/mapSpain.svg
Document load started...
Document load completed in 1111 ms
GVT build started...
GVT build completed in 4204 ms
GVT rendering preparation...
GVT rendering prepared in 25 ms
GVT rendering started...
GVT rendering completed in 32529 ms

On Oct 26, 2003, at 9:31 AM, Thomas DeWeese wrote:

> Hi Anthony,
>
>   Thanks for running the tests.
>
> Anthony J. Starks wrote:
>
>> Here are some informal timings of Batik 1.5 under Panther; 
>> unfortunately, I don't have comparisons with the older platform.  I'm 
>> hoping others can fill this in for both older Mac and other platforms 
>> as well.
>
>   Is there anyone with a similar Powerbook?
>
>> Environment:
>> Batik 1.5
>> Powerbook G4 667MhZ, 512 Mb Ram
>> Mac OS X 10.3 (Panther)
>> java version "1.4.1_01"
>> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-99)
>> Java HotSpot(TM) Client VM (build 1.4.1_01-27, mixed mode)
>> Time from startup to first display of squggle: 16 seconds
>> After startup, I timed the load and display times for selected files 
>> in the samples directory:
>
>   Does this 16sec vary at all from 'cold start' to 'warm start'?
> So on windows there is a _very_ large difference between the start time
> for the first run and the second run (I think because the class files
> get cached in Memory).  Also is this from a 'jar' file or from class 
> files?
> I would guess jar file.
>
>   Did you use the
> 'Preferences->Browser Options->Optional Behaviors->Show Debug Trace'
> for the following times?  I would guess not (since they aren't in 
> millis).
> For this to show up you would have to start from the terminal window:
>
> % java -jar svg-browser samples/anne.svg
>
>   This gives millisec times for each phase of rendering a document:
>
> Document load started...
> Document load completed in 100 ms
> GVT build started...
> GVT build completed in 220 ms
> GVT rendering preparation...
> GVT rendering prepared in 10 ms
> GVT rendering started...
> GVT rendering completed in 220 ms


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Re: Panther (Mac OX 10.3) fixes Batik startup problems

Posted by Thomas DeWeese <Th...@Kodak.com>.
Hi Anthony,

   Thanks for running the tests.

Anthony J. Starks wrote:

> Here are some informal timings of Batik 1.5 under Panther; 
> unfortunately, I don't have comparisons with the older platform.  I'm 
> hoping others can fill this in for both older Mac and other platforms as 
> well.

   Is there anyone with a similar Powerbook?

> Environment:
> Batik 1.5
> Powerbook G4 667MhZ, 512 Mb Ram
> Mac OS X 10.3 (Panther)
> java version "1.4.1_01"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-99)
> Java HotSpot(TM) Client VM (build 1.4.1_01-27, mixed mode)
> 
> Time from startup to first display of squggle: 16 seconds
> After startup, I timed the load and display times for selected files in 
> the samples directory:

   Does this 16sec vary at all from 'cold start' to 'warm start'?
So on windows there is a _very_ large difference between the start time
for the first run and the second run (I think because the class files
get cached in Memory).  Also is this from a 'jar' file or from class files?
I would guess jar file.

   Did you use the
'Preferences->Browser Options->Optional Behaviors->Show Debug Trace'
for the following times?  I would guess not (since they aren't in millis).
For this to show up you would have to start from the terminal window:

% java -jar svg-browser samples/anne.svg

   This gives millisec times for each phase of rendering a document:

Document load started...
Document load completed in 100 ms
GVT build started...
GVT build completed in 220 ms
GVT rendering preparation...
GVT rendering prepared in 10 ms
GVT rendering started...
GVT rendering completed in 220 ms



> anne.svg 2 sec
> gradients.svg :  1.5 sec
> logoShadowOffset:  < 1 sec
> mapSpain.svg  16 sec
> textRotateShadows:  13 sec
> 
> Here are the transcoding (svg to pdf ) times for all of the files in the 
> samples directory
> 
> ajstarks> for i in *.svg
>  > do
>  > time java -jar ~/batik-1.5/batik-rasterizer.jar -m application/pdf $i
>  > done
> About to transcode 1 SVG file(s)
> 
> Converting 3D.svg to 3D.pdf ... ... success
> 
> real    0m21.365s
> user    0m7.350s
> sys     0m2.220s
> About to transcode 1 SVG file(s)
> 
> Converting GVT.svg to GVT.pdf ... ... success
> 
> real    0m18.739s
> user    0m14.800s
> sys     0m1.200s
> About to transcode 1 SVG file(s)
> 
> Converting anne.svg to anne.pdf ... ... success
> 
> real    0m10.153s
> user    0m7.510s
> sys     0m1.000s
> About to transcode 1 SVG file(s)
> 
> Converting asf-logo.svg to asf-logo.pdf ... ... success
> 
> real    0m12.689s
> user    0m8.710s
> sys     0m1.390s
> About to transcode 1 SVG file(s)
> 
> Converting barChart.svg to barChart.pdf ... ... success
> 
> real    0m23.262s
> user    0m8.430s
> sys     0m1.900s
> About to transcode 1 SVG file(s)
> 
> Converting batik3D.svg to batik3D.pdf ... ... success
> 
> real    0m12.463s
> user    0m8.510s
> sys     0m0.980s
> About to transcode 1 SVG file(s)
> 
> Converting batik70.svg to batik70.pdf ... ... success
> 
> real    0m19.732s
> user    0m12.420s
> sys     0m1.730s
> About to transcode 1 SVG file(s)
> 
> Converting batikBatik.svg to batikBatik.pdf ... ... success
> 
> real    0m19.197s
> user    0m13.840s
> sys     0m1.900s
> About to transcode 1 SVG file(s)
> 
> Converting batikCandy.svg to batikCandy.pdf ... ... success
> 
> real    0m21.092s
> user    0m15.130s
> sys     0m1.790s
> About to transcode 1 SVG file(s)
> 
> Converting batikFX.svg to batikFX.pdf ... ... success
> 
> real    0m11.481s
> user    0m7.920s
> sys     0m1.050s
> About to transcode 1 SVG file(s)
> 
> Converting batikLogo.svg to batikLogo.pdf ... ... success
> 
> real    0m17.289s
> user    0m11.020s
> sys     0m1.640s
> About to transcode 1 SVG file(s)
> 
> Converting batikYin.svg to batikYin.pdf ... ... success
> 
> real    0m10.539s
> user    0m7.470s
> sys     0m1.180s
> About to transcode 1 SVG file(s)
> 
> Converting chessFont.svg to chessFont.pdf ... ... success
> 
> real    0m25.212s
> user    0m8.870s
> sys     0m2.030s
> About to transcode 1 SVG file(s)
> 
> Converting chessboard.svg to chessboard.pdf ... ... success
> 
> real    0m10.210s
> user    0m7.110s
> sys     0m1.150s
> About to transcode 1 SVG file(s)
> 
> Converting gradients.svg to gradients.pdf ... ... success
> 
> real    0m9.576s
> user    0m6.840s
> sys     0m1.010s
> About to transcode 1 SVG file(s)
> 
> Converting henryV.svg to henryV.pdf ... ... success
> 
> real    0m35.256s
> user    0m18.540s
> sys     0m3.060s
> About to transcode 1 SVG file(s)
> 
> Converting logoShadowOffset.svg to logoShadowOffset.pdf ... ... success
> 
> real    0m12.345s
> user    0m9.130s
> sys     0m1.060s
> About to transcode 1 SVG file(s)
> 
> Converting logoTexture.svg to logoTexture.pdf ... ... success
> 
> real    0m12.280s
> user    0m8.330s
> sys     0m1.340s
> About to transcode 1 SVG file(s)
> 
> Converting mapSpain.svg to mapSpain.pdf ... ... success
> 
> real    0m44.276s
> user    0m22.590s
> sys     0m3.090s
> About to transcode 1 SVG file(s)
> 
> Converting mapWaadt.svg to mapWaadt.pdf ... ... success
> 
> real    0m33.521s
> user    0m16.900s
> sys     0m2.530s
> About to transcode 1 SVG file(s)
> 
> Converting mathMetal.svg to mathMetal.pdf ... ... success
> 
> real    0m37.325s
> user    0m20.650s
> sys     0m3.140s
> About to transcode 1 SVG file(s)
> 
> Converting mines.svg to mines.pdf ... ... success
> 
> real    0m22.779s
> user    0m7.930s
> sys     0m2.020s
> About to transcode 1 SVG file(s)
> 
> Converting moonPhases.svg to moonPhases.pdf ... ... success
> 
> real    0m27.598s
> user    0m11.120s
> sys     0m2.410s
> About to transcode 1 SVG file(s)
> 
> Converting sizeOfSun.svg to sizeOfSun.pdf ... ... success
> 
> real    0m27.151s
> user    0m10.980s
> sys     0m2.110s
> About to transcode 1 SVG file(s)
> 
> Converting starfield.svg to starfield.pdf ... ... success
> 
> real    0m28.807s
> user    0m12.440s
> sys     0m2.280s
> About to transcode 1 SVG file(s)
> 
> Converting strokeFont.svg to strokeFont.pdf ... ... success
> 
> real    0m25.700s
> user    0m9.290s
> sys     0m2.350s
> About to transcode 1 SVG file(s)
> 
> Converting sunRise.svg to sunRise.pdf ... ... success
> 
> real    0m43.416s
> user    0m20.660s
> sys     0m3.740s
> About to transcode 1 SVG file(s)
> 
> Converting sydney.svg to sydney.pdf ... ... success
> 
> real    0m34.219s
> user    0m15.490s
> sys     0m2.850s
> About to transcode 1 SVG file(s)
> 
> Converting textRotate.svg to textRotate.pdf ... ... success
> 
> real    0m39.204s
> user    0m18.140s
> sys     0m2.920s
> About to transcode 1 SVG file(s)
> 
> Converting textRotateShadows.svg to textRotateShadows.pdf ... ... success
> 
> real    1m8.645s
> user    0m46.890s
> sys     0m4.740s
> 
> 
> 
> On Oct 26, 2003, at 2:44 AM, Andreas Neumann wrote:
> 
>> Anthony, did you notice any performance difference with Panther and 
>> the new Java
>> release?
>>
>> Since I tweaked my current MacOSX laptop quite a bit towards Open Source
>> (Postgres, fink, latex, etc.) I hesitate to upgrade to Panther unless 
>> I have a
>> good reason ;-)
>>
>> Thanks for any info,
>> Andreas
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org
> 
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Re: Panther (Mac OX 10.3) fixes Batik startup problems

Posted by "Anthony J. Starks" <aj...@comcast.net>.
Here are some informal timings of Batik 1.5 under Panther; 
unfortunately, I don't have comparisons with the older platform.  I'm 
hoping others can fill this in for both older Mac and other platforms 
as well.

Environment:
Batik 1.5
Powerbook G4 667MhZ, 512 Mb Ram
Mac OS X 10.3 (Panther)
java version "1.4.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-99)
Java HotSpot(TM) Client VM (build 1.4.1_01-27, mixed mode)

Time from startup to first display of squggle: 16 seconds
After startup, I timed the load and display times for selected files in 
the samples directory:

anne.svg 2 sec
gradients.svg :  1.5 sec
logoShadowOffset:  < 1 sec
mapSpain.svg  16 sec
textRotateShadows:  13 sec

Here are the transcoding (svg to pdf ) times for all of the files in 
the samples directory

ajstarks> for i in *.svg
 > do
 > time java -jar ~/batik-1.5/batik-rasterizer.jar -m application/pdf $i
 > done
About to transcode 1 SVG file(s)

Converting 3D.svg to 3D.pdf ... ... success

real    0m21.365s
user    0m7.350s
sys     0m2.220s
About to transcode 1 SVG file(s)

Converting GVT.svg to GVT.pdf ... ... success

real    0m18.739s
user    0m14.800s
sys     0m1.200s
About to transcode 1 SVG file(s)

Converting anne.svg to anne.pdf ... ... success

real    0m10.153s
user    0m7.510s
sys     0m1.000s
About to transcode 1 SVG file(s)

Converting asf-logo.svg to asf-logo.pdf ... ... success

real    0m12.689s
user    0m8.710s
sys     0m1.390s
About to transcode 1 SVG file(s)

Converting barChart.svg to barChart.pdf ... ... success

real    0m23.262s
user    0m8.430s
sys     0m1.900s
About to transcode 1 SVG file(s)

Converting batik3D.svg to batik3D.pdf ... ... success

real    0m12.463s
user    0m8.510s
sys     0m0.980s
About to transcode 1 SVG file(s)

Converting batik70.svg to batik70.pdf ... ... success

real    0m19.732s
user    0m12.420s
sys     0m1.730s
About to transcode 1 SVG file(s)

Converting batikBatik.svg to batikBatik.pdf ... ... success

real    0m19.197s
user    0m13.840s
sys     0m1.900s
About to transcode 1 SVG file(s)

Converting batikCandy.svg to batikCandy.pdf ... ... success

real    0m21.092s
user    0m15.130s
sys     0m1.790s
About to transcode 1 SVG file(s)

Converting batikFX.svg to batikFX.pdf ... ... success

real    0m11.481s
user    0m7.920s
sys     0m1.050s
About to transcode 1 SVG file(s)

Converting batikLogo.svg to batikLogo.pdf ... ... success

real    0m17.289s
user    0m11.020s
sys     0m1.640s
About to transcode 1 SVG file(s)

Converting batikYin.svg to batikYin.pdf ... ... success

real    0m10.539s
user    0m7.470s
sys     0m1.180s
About to transcode 1 SVG file(s)

Converting chessFont.svg to chessFont.pdf ... ... success

real    0m25.212s
user    0m8.870s
sys     0m2.030s
About to transcode 1 SVG file(s)

Converting chessboard.svg to chessboard.pdf ... ... success

real    0m10.210s
user    0m7.110s
sys     0m1.150s
About to transcode 1 SVG file(s)

Converting gradients.svg to gradients.pdf ... ... success

real    0m9.576s
user    0m6.840s
sys     0m1.010s
About to transcode 1 SVG file(s)

Converting henryV.svg to henryV.pdf ... ... success

real    0m35.256s
user    0m18.540s
sys     0m3.060s
About to transcode 1 SVG file(s)

Converting logoShadowOffset.svg to logoShadowOffset.pdf ... ... success

real    0m12.345s
user    0m9.130s
sys     0m1.060s
About to transcode 1 SVG file(s)

Converting logoTexture.svg to logoTexture.pdf ... ... success

real    0m12.280s
user    0m8.330s
sys     0m1.340s
About to transcode 1 SVG file(s)

Converting mapSpain.svg to mapSpain.pdf ... ... success

real    0m44.276s
user    0m22.590s
sys     0m3.090s
About to transcode 1 SVG file(s)

Converting mapWaadt.svg to mapWaadt.pdf ... ... success

real    0m33.521s
user    0m16.900s
sys     0m2.530s
About to transcode 1 SVG file(s)

Converting mathMetal.svg to mathMetal.pdf ... ... success

real    0m37.325s
user    0m20.650s
sys     0m3.140s
About to transcode 1 SVG file(s)

Converting mines.svg to mines.pdf ... ... success

real    0m22.779s
user    0m7.930s
sys     0m2.020s
About to transcode 1 SVG file(s)

Converting moonPhases.svg to moonPhases.pdf ... ... success

real    0m27.598s
user    0m11.120s
sys     0m2.410s
About to transcode 1 SVG file(s)

Converting sizeOfSun.svg to sizeOfSun.pdf ... ... success

real    0m27.151s
user    0m10.980s
sys     0m2.110s
About to transcode 1 SVG file(s)

Converting starfield.svg to starfield.pdf ... ... success

real    0m28.807s
user    0m12.440s
sys     0m2.280s
About to transcode 1 SVG file(s)

Converting strokeFont.svg to strokeFont.pdf ... ... success

real    0m25.700s
user    0m9.290s
sys     0m2.350s
About to transcode 1 SVG file(s)

Converting sunRise.svg to sunRise.pdf ... ... success

real    0m43.416s
user    0m20.660s
sys     0m3.740s
About to transcode 1 SVG file(s)

Converting sydney.svg to sydney.pdf ... ... success

real    0m34.219s
user    0m15.490s
sys     0m2.850s
About to transcode 1 SVG file(s)

Converting textRotate.svg to textRotate.pdf ... ... success

real    0m39.204s
user    0m18.140s
sys     0m2.920s
About to transcode 1 SVG file(s)

Converting textRotateShadows.svg to textRotateShadows.pdf ... ... 
success

real    1m8.645s
user    0m46.890s
sys     0m4.740s



On Oct 26, 2003, at 2:44 AM, Andreas Neumann wrote:

> Anthony, did you notice any performance difference with Panther and 
> the new Java
> release?
>
> Since I tweaked my current MacOSX laptop quite a bit towards Open 
> Source
> (Postgres, fink, latex, etc.) I hesitate to upgrade to Panther unless 
> I have a
> good reason ;-)
>
> Thanks for any info,
> Andreas
>


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Re: Panther (Mac OX 10.3) fixes Batik startup problems

Posted by Brendan Lane Larson <Br...@yahoo.com>.
Andreas,

Hopefully Apple will make build 1.4.1_01-99 available for OS X 10.2 as 
there's no reason not that I can think of not to keep supporting 10.2 
for quite some time.

Lets keep our eyes out for a build 1.4.1_01-99 update for 10.2 ...

Cheers,

-Brendan

On Saturday, October 25, 2003, at 09:44  PM, Andreas Neumann wrote:

> Anthony, did you notice any performance difference with Panther and 
> the new Java
> release?
>
> Since I tweaked my current MacOSX laptop quite a bit towards Open 
> Source
> (Postgres, fink, latex, etc.) I hesitate to upgrade to Panther unless 
> I have a
> good reason ;-)
>
> Thanks for any info,
> Andreas
>
>
> Zitiere "Anthony J.Starks" <aj...@comcast.net>:
>
>> The previously reported bugs (Bugzilla Bug 23289)  where Squiggle and
>> other apps were throwing errors on startup, have been fixed with the
>> update to Mac OS X 10.3, aka Panther.  Note that the Java version has
>> been updated.  On my previous system (10.2.8) it said:
>>
>> java version "1.4.1_01"
>> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39)
>> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode)
>>
>> Under Panther:
>>
>> java version "1.4.1_01"
>> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-99)
>> Java HotSpot(TM) Client VM (build 1.4.1_01-27, mixed mode)
>>
>>
>> The FontTest program that was posted by Thomas DeWeese that previously
>> threw errors now says:
>>
>> $  java FontTest
>> Font: #GungSeo
>> Font: #HeadLineA
>> Font: #PCMyungjo
>> Font: #PilGi
>> Font: Academy Engraved LET
>> Font: Al Bayan
>> Font: Algerian Condensed LET
>> Font: American Typewriter
>> Font: Andale Mono
>> Font: Apple Chancery
>> Font: Apple LiGothic
>> Font: Apple LiSung
>> Font: Apple Symbols
>> Font: AppleGothic
>> Font: AppleMyungjo
>> Font: Arial
>> Font: Arial Black
>> Font: Arial Hebrew
>> Font: Arial Narrow
>> Font: Arial Rounded MT Bold
>> Font: Arriba Arriba LET
>> Font: Avant Garde Mono ITCTT
>> Font: Ayuthaya
>> Font: Baghdad
>> Font: BancoITC TT
>> Font: Baskerville
>> Font: BiauKai
>> Font: Big Caslon
>> Font: Blackmoor LET
>> Font: Bodoni SvtyTwo SC ITC TT
>> Font: BraganzaITC TT
>> Font: BraganzaSCITC TT
>> Font: Brush Script MT
>> Font: Cabaret LET
>> Font: Capitals
>> Font: Century Gothic
>> Font: Chalkboard
>> Font: Charcoal
>> Font: Charcoal CY
>> Font: Chicago
>> Font: Cochin
>> Font: Comic Sans MS
>> Font: Copperplate
>> Font: Copperplate Gothic Bold
>> Font: Copperplate Gothic Light
>> Font: Corsiva Hebrew
>> Font: Courier
>> Font: Courier New
>> Font: Curlz MT
>> Font: DecoType Naskh
>> Font: Default
>> Font: Devanagari MT
>> Font: Dialog
>> Font: DialogInput
>> Font: Didot
>> Font: Edwardian Script ITC
>> Font: Euphemia UCAS
>> Font: Fang Song
>> Font: Futura
>> Font: Gadget
>> Font: GB18030 Bitmap
>> Font: Geeza Pro
>> Font: Geneva
>> Font: Geneva CY
>> Font: Georgia
>> Font: Gill Sans
>> Font: Gujarati MT
>> Font: Gurmukhi MT
>> Font: Hazel LET
>> Font: Hei
>> Font: Helvetica
>> Font: Helvetica CY
>> Font: Helvetica Neue
>> Font: Herculanum
>> Font: Hiragino Kaku Gothic Pro
>> Font: Hiragino Kaku Gothic Std
>> Font: Hiragino Maru Gothic Pro
>> Font: Hiragino Mincho Pro
>> Font: Hoefler Text
>> Font: Impact
>> Font: Jazz LET
>> Font: Jenson Old Style TT
>> Font: Kai
>> Font: Krungthep
>> Font: KufiStandardGK
>> Font: LiHei Pro
>> Font: LiSong Pro
>> Font: Lucida Bright
>> Font: Lucida Grande
>> Font: Lucida Handwriting
>> Font: Lucida Sans
>> Font: Lucida Sans Typewriter
>> Font: Marker Felt
>> Font: Mona Lisa Solid OS ITC TT
>> Font: Monaco
>> Font: Monaco CY
>> Font: Monospaced
>> Font: Monotype Sorts
>> Font: Mshtakan
>> Font: Nadeem
>> Font: New Peninim MT
>> Font: New York
>> Font: Optima
>> Font: Osaka
>> Font: Palatino
>> Font: Papyrus
>> Font: Plantagenet Cherokee
>> Font: PortagoITC TT
>> Font: Princetown LET
>> Font: Raanana
>> Font: Sand
>> Font: SansSerif
>> Font: Santa Fe LET
>> Font: Sathu
>> Font: Savoye LET
>> Font: Serif
>> Font: Shatter LET
>> Font: Silom
>> Font: Skia
>> Font: Song
>> Font: Souvenir Mono ITCTT
>> Font: STFangsong
>> Font: STHeiti
>> Font: STKaiti
>> Font: STSong
>> Font: Symbol
>> Font: Synchro LET
>> Font: Tahoma
>> Font: Techno
>> Font: TembleITC TT
>> Font: Textile
>> Font: Thonburi
>> Font: Times
>> Font: Times CY
>> Font: Times New Roman
>> Font: Trebuchet MS
>> Font: Type Embellishments One LET
>> Font: University Roman Bold LET
>> Font: Verdana
>> Font: VT100
>> Font: Webdings
>> Font: Wingdings
>> Font: Zapf Dingbats
>> Font: Zapfino
>> Font: ZiggyITC TT
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
>> For additional commands, e-mail: batik-users-help@xml.apache.org
>>
>>
>
>
>
> --     
> The only thing that stands between a man and what he wants from
> life is often merely the will to try it and the faith to believe
> that it is possible ...
> -- M. DeVos
>
> ----------------------------------------------
> Andreas Neumann - Department of Cartography
> Swiss Federal Institute of Technology (ETH)
> ETH Hoenggerberg, CH-8093  Zurich, Switzerland
> Phone: ++41-1-633 3031, Fax: ++41-1-633 1153
> e-mail: neumann@karto.baug.ethz.ch
> www: http://www.karto.ethz.ch/neumann/
> SVG.Open/Carto.net: http://www.svgopen.org/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Re: Panther (Mac OX 10.3) fixes Batik startup problems

Posted by Andreas Neumann <ne...@karto.baug.ethz.ch>.
Anthony, did you notice any performance difference with Panther and the new Java
release?

Since I tweaked my current MacOSX laptop quite a bit towards Open Source
(Postgres, fink, latex, etc.) I hesitate to upgrade to Panther unless I have a
good reason ;-)

Thanks for any info,
Andreas


Zitiere "Anthony J.Starks" <aj...@comcast.net>:

> The previously reported bugs (Bugzilla Bug 23289)  where Squiggle and 
> other apps were throwing errors on startup, have been fixed with the 
> update to Mac OS X 10.3, aka Panther.  Note that the Java version has 
> been updated.  On my previous system (10.2.8) it said:
> 
> java version "1.4.1_01"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39)
> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode)
> 
> Under Panther:
> 
> java version "1.4.1_01"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-99)
> Java HotSpot(TM) Client VM (build 1.4.1_01-27, mixed mode)
> 
> 
> The FontTest program that was posted by Thomas DeWeese that previously 
> threw errors now says:
> 
> $  java FontTest
> Font: #GungSeo
> Font: #HeadLineA
> Font: #PCMyungjo
> Font: #PilGi
> Font: Academy Engraved LET
> Font: Al Bayan
> Font: Algerian Condensed LET
> Font: American Typewriter
> Font: Andale Mono
> Font: Apple Chancery
> Font: Apple LiGothic
> Font: Apple LiSung
> Font: Apple Symbols
> Font: AppleGothic
> Font: AppleMyungjo
> Font: Arial
> Font: Arial Black
> Font: Arial Hebrew
> Font: Arial Narrow
> Font: Arial Rounded MT Bold
> Font: Arriba Arriba LET
> Font: Avant Garde Mono ITCTT
> Font: Ayuthaya
> Font: Baghdad
> Font: BancoITC TT
> Font: Baskerville
> Font: BiauKai
> Font: Big Caslon
> Font: Blackmoor LET
> Font: Bodoni SvtyTwo SC ITC TT
> Font: BraganzaITC TT
> Font: BraganzaSCITC TT
> Font: Brush Script MT
> Font: Cabaret LET
> Font: Capitals
> Font: Century Gothic
> Font: Chalkboard
> Font: Charcoal
> Font: Charcoal CY
> Font: Chicago
> Font: Cochin
> Font: Comic Sans MS
> Font: Copperplate
> Font: Copperplate Gothic Bold
> Font: Copperplate Gothic Light
> Font: Corsiva Hebrew
> Font: Courier
> Font: Courier New
> Font: Curlz MT
> Font: DecoType Naskh
> Font: Default
> Font: Devanagari MT
> Font: Dialog
> Font: DialogInput
> Font: Didot
> Font: Edwardian Script ITC
> Font: Euphemia UCAS
> Font: Fang Song
> Font: Futura
> Font: Gadget
> Font: GB18030 Bitmap
> Font: Geeza Pro
> Font: Geneva
> Font: Geneva CY
> Font: Georgia
> Font: Gill Sans
> Font: Gujarati MT
> Font: Gurmukhi MT
> Font: Hazel LET
> Font: Hei
> Font: Helvetica
> Font: Helvetica CY
> Font: Helvetica Neue
> Font: Herculanum
> Font: Hiragino Kaku Gothic Pro
> Font: Hiragino Kaku Gothic Std
> Font: Hiragino Maru Gothic Pro
> Font: Hiragino Mincho Pro
> Font: Hoefler Text
> Font: Impact
> Font: Jazz LET
> Font: Jenson Old Style TT
> Font: Kai
> Font: Krungthep
> Font: KufiStandardGK
> Font: LiHei Pro
> Font: LiSong Pro
> Font: Lucida Bright
> Font: Lucida Grande
> Font: Lucida Handwriting
> Font: Lucida Sans
> Font: Lucida Sans Typewriter
> Font: Marker Felt
> Font: Mona Lisa Solid OS ITC TT
> Font: Monaco
> Font: Monaco CY
> Font: Monospaced
> Font: Monotype Sorts
> Font: Mshtakan
> Font: Nadeem
> Font: New Peninim MT
> Font: New York
> Font: Optima
> Font: Osaka
> Font: Palatino
> Font: Papyrus
> Font: Plantagenet Cherokee
> Font: PortagoITC TT
> Font: Princetown LET
> Font: Raanana
> Font: Sand
> Font: SansSerif
> Font: Santa Fe LET
> Font: Sathu
> Font: Savoye LET
> Font: Serif
> Font: Shatter LET
> Font: Silom
> Font: Skia
> Font: Song
> Font: Souvenir Mono ITCTT
> Font: STFangsong
> Font: STHeiti
> Font: STKaiti
> Font: STSong
> Font: Symbol
> Font: Synchro LET
> Font: Tahoma
> Font: Techno
> Font: TembleITC TT
> Font: Textile
> Font: Thonburi
> Font: Times
> Font: Times CY
> Font: Times New Roman
> Font: Trebuchet MS
> Font: Type Embellishments One LET
> Font: University Roman Bold LET
> Font: Verdana
> Font: VT100
> Font: Webdings
> Font: Wingdings
> Font: Zapf Dingbats
> Font: Zapfino
> Font: ZiggyITC TT
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org
> 
> 



--     
The only thing that stands between a man and what he wants from
life is often merely the will to try it and the faith to believe
that it is possible ...
-- M. DeVos
    
----------------------------------------------     
Andreas Neumann - Department of Cartography     
Swiss Federal Institute of Technology (ETH)     
ETH Hoenggerberg, CH-8093  Zurich, Switzerland     
Phone: ++41-1-633 3031, Fax: ++41-1-633 1153     
e-mail: neumann@karto.baug.ethz.ch     
www: http://www.karto.ethz.ch/neumann/     
SVG.Open/Carto.net: http://www.svgopen.org/     

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Panther (Mac OX 10.3) fixes Batik startup problems

Posted by "Anthony J. Starks" <aj...@comcast.net>.
The previously reported bugs (Bugzilla Bug 23289)  where Squiggle and 
other apps were throwing errors on startup, have been fixed with the 
update to Mac OS X 10.3, aka Panther.  Note that the Java version has 
been updated.  On my previous system (10.2.8) it said:

java version "1.4.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39)
Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode)

Under Panther:

java version "1.4.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-99)
Java HotSpot(TM) Client VM (build 1.4.1_01-27, mixed mode)


The FontTest program that was posted by Thomas DeWeese that previously 
threw errors now says:

$  java FontTest
Font: #GungSeo
Font: #HeadLineA
Font: #PCMyungjo
Font: #PilGi
Font: Academy Engraved LET
Font: Al Bayan
Font: Algerian Condensed LET
Font: American Typewriter
Font: Andale Mono
Font: Apple Chancery
Font: Apple LiGothic
Font: Apple LiSung
Font: Apple Symbols
Font: AppleGothic
Font: AppleMyungjo
Font: Arial
Font: Arial Black
Font: Arial Hebrew
Font: Arial Narrow
Font: Arial Rounded MT Bold
Font: Arriba Arriba LET
Font: Avant Garde Mono ITCTT
Font: Ayuthaya
Font: Baghdad
Font: BancoITC TT
Font: Baskerville
Font: BiauKai
Font: Big Caslon
Font: Blackmoor LET
Font: Bodoni SvtyTwo SC ITC TT
Font: BraganzaITC TT
Font: BraganzaSCITC TT
Font: Brush Script MT
Font: Cabaret LET
Font: Capitals
Font: Century Gothic
Font: Chalkboard
Font: Charcoal
Font: Charcoal CY
Font: Chicago
Font: Cochin
Font: Comic Sans MS
Font: Copperplate
Font: Copperplate Gothic Bold
Font: Copperplate Gothic Light
Font: Corsiva Hebrew
Font: Courier
Font: Courier New
Font: Curlz MT
Font: DecoType Naskh
Font: Default
Font: Devanagari MT
Font: Dialog
Font: DialogInput
Font: Didot
Font: Edwardian Script ITC
Font: Euphemia UCAS
Font: Fang Song
Font: Futura
Font: Gadget
Font: GB18030 Bitmap
Font: Geeza Pro
Font: Geneva
Font: Geneva CY
Font: Georgia
Font: Gill Sans
Font: Gujarati MT
Font: Gurmukhi MT
Font: Hazel LET
Font: Hei
Font: Helvetica
Font: Helvetica CY
Font: Helvetica Neue
Font: Herculanum
Font: Hiragino Kaku Gothic Pro
Font: Hiragino Kaku Gothic Std
Font: Hiragino Maru Gothic Pro
Font: Hiragino Mincho Pro
Font: Hoefler Text
Font: Impact
Font: Jazz LET
Font: Jenson Old Style TT
Font: Kai
Font: Krungthep
Font: KufiStandardGK
Font: LiHei Pro
Font: LiSong Pro
Font: Lucida Bright
Font: Lucida Grande
Font: Lucida Handwriting
Font: Lucida Sans
Font: Lucida Sans Typewriter
Font: Marker Felt
Font: Mona Lisa Solid OS ITC TT
Font: Monaco
Font: Monaco CY
Font: Monospaced
Font: Monotype Sorts
Font: Mshtakan
Font: Nadeem
Font: New Peninim MT
Font: New York
Font: Optima
Font: Osaka
Font: Palatino
Font: Papyrus
Font: Plantagenet Cherokee
Font: PortagoITC TT
Font: Princetown LET
Font: Raanana
Font: Sand
Font: SansSerif
Font: Santa Fe LET
Font: Sathu
Font: Savoye LET
Font: Serif
Font: Shatter LET
Font: Silom
Font: Skia
Font: Song
Font: Souvenir Mono ITCTT
Font: STFangsong
Font: STHeiti
Font: STKaiti
Font: STSong
Font: Symbol
Font: Synchro LET
Font: Tahoma
Font: Techno
Font: TembleITC TT
Font: Textile
Font: Thonburi
Font: Times
Font: Times CY
Font: Times New Roman
Font: Trebuchet MS
Font: Type Embellishments One LET
Font: University Roman Bold LET
Font: Verdana
Font: VT100
Font: Webdings
Font: Wingdings
Font: Zapf Dingbats
Font: Zapfino
Font: ZiggyITC TT


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Re: Batik 1.5 and MacOSX10.2.6 startup problems

Posted by Thomas DeWeese <Th...@Kodak.com>.
Brendan Lane Larson wrote:

> Andreas,
> 
> When I previously had the Batik 1.5 Beta installed (which is when 
> Squiggle was working fine for me), I also noticed comparative slowness 
> relative to a Windows XP Pro (on Intel Celeron processor) ... the laptop 
> I use quite a bit is not too dissimilar to your configuration (1 GB RAM, 
> 800 MhZ G4 processor). I seem to recall from SVG Open that someone had 
> stated that Apple had done quite a good job with the JDK implementation 
> (including Hotspot), but if my memory serves me correct (I don't have my 
> SVG Open notes in front of me at the moment), I think someone also said 
> that Apple's implementation of GUI related classes (Java 2D API? Swing?) 
> was a bit "unique" (perhaps in terms of integrating with Apple's Quartz 
> windowing)?

Hi Brendan,

     That was me.  Yes Apple reimplemented Java2D on top of Quartz
rather than using the graphics engine that is used on Solaris/Linux/Windows.
So it is not surprising that the performance is different.  My experience
has also been that Java2D (and consequently Batik) is significantly
slower on Mac OS X compared to Windows/Linux/Solaris.  I don't have a
good explanation for this unless there is some hidden mismatch under the hood.

     Apparently Apple can 'accelerate' drawing to the screen but Batik
currently never draws SVG directly to the screen, it always draws to an
offscreen buffer.  It is possible that we use a non-optimal BufferedImage
type, but I don't think this is is the issue since it is the type closest
to what Apple has used for it's offscreen GWorlds - although row alignment
may be different.

> It just struck me -- I wonder if the following is a possibility -- Apple 
> (not too long ago -- less than a year ago I think?) introduced Quartz 
> Extreme which works only on certain Macintosh hardware that has the 
> necessary video card hardware required to run Quartz Extreme. Prior to 
> Quartz Extreme I believe Apple referred to Quartz as "Quartz 2D" ... and 
> according to the Apple documentation on Quartz (see the Quartz Extreme 
> PDF located under the heading "Technology Briefs" at 
> http://www.apple.com/macosx/ which is dated as being published in 
> October 2002), it states:
> 
>> The Mac OS X graphics system consists of Quartz 2D, which renders 
>> fonts as well as vector
>> and bitmap graphics; OpenGL for generating 3D graphics; and QuickTime 
>> for producing
>> dynamic media. These media types are blended together on the display 
>> by the window server,
>> called the Quartz Compositor, the engine behind the unique effects in 
>> Aqua, such as
>> transparency and drop shadows.
> 
> 
> There is a side bar in this document regarding fonts in recent Quartz 
> updates (Quartz Extreme ??) that states:
> 
>> Richer font support
>>
>> • The default instance of Multiple Master (PostScript) fonts is 
>> supported.
>>
>> • An ATM Lite PostScript rasterizer is built in, eliminating the need 
>> for third-party PostScript font-rendering software.
>>
>> • Even more high-quality fonts are included, enabling users to spice 
>> up documents and communicate in other languages, including Arabic and 
>> Hebrew.
>>
>> • Four font-smoothing styles can be specified to increase readability: 
>> Standard (best for CRT displays), Light, Medium (best for flat-panel 
>> displays), and Strong.
> 
> 
> Might there be a difference (worth looking into) with respect to the set 
> of system fonts that are loaded onto a system (difference between Mac OS 
> X 10.2 systems that are configured to use hardware acceleration on Macs 
> that have video circuitry that meet the minimal Quartz Extreme 
> requisites v.s. systems that are not configured to take advantage of 
> Quartz Extreme)?
> 
> This might make sense since Thomas DeWeese has previously had only 
> access for testing on a Mac OS X 10.1 system (which is well before the 
> era of Quartz enhancements including Quartz Extreme which is only 
> available on Mac OS X 10.2 and with certain video hardware minimal 
> requisites). Hardware acceleration should not necessarily make a 
> difference in the set of fonts that Apple includes with OS X 10.2 for a 
> particular Macintosh, but it still might be possible that the font sets 
> are different (Mac OS X 10.2 Software Update application appears to do 
> specific system configurations in the form of optimization).
> 
> Maybe comparing Squiggle from Batik final release 1.5 running on a Mac 
> OS X 10.2 configuration on Mac that does not have minimal video hardware 
> requisites to run Quartz Extreme v.s. a Mac that can run Quartz Extreme 
> would be a worthwhile lab test to run? Do any Batik users here have a 
> Mac that is not physically capable of running Quartz Extreme yet is 
> running Mac OS X 10.2.x with different JDK installations that can be 
> tested with Squiggle? Below are the requisites for Quartz Extreme from 
> the PDF document aforementioned:
> 
>> System Requirements
>> Quartz Extreme
>> GPU requirements
>> *16MB of video memory (32MB recommended)
>> *AGP 2X (AGP 4X recommended)
>> *Any Macintosh desktop computer with an AGP 2X slot or better can be 
>> upgraded with a supported graphics card to take advantage of Quartz 
>> Extreme.
>> Supported graphics cards
>> *NVIDIA GeForce2 MX, GeForce3, GeForce4 Ti, or GeForce4 MX graphics cards
>> * ATI AGP-based Radeon graphics cards
>> * On cards with 16MB of video memory, Quartz Extreme is not supported 
>> in the extended desktop mode of multiple-display configurations. 
>> Quartz Extreme is supported in video mirroring mode.
>>
>> Quartz 2D
>> * Only Power Mac G4 and PowerBook G4 computers receive the benefit of 
>> the G4 Velocity Engine enhancement.
>> * Only dual processor Power Mac G4 computers benefit from symmetric 
>> multiprocessing enhancements in Quartz.
> 
> 
> Cheers,
> 
> -Brendan
> 
> On Monday, September 22, 2003, at 11:17  AM, Andreas Neumann wrote:
> 
>> The good news is - that I got Batik running on my system! after I 
>> removed all
>> fonts from /Library/Fonts and from /Users/myUser/Library/Fonts
>>
>> The other good news: the quality seems ok, same than in Linux/Windows.
>>
>> I still have to find out which of the font files caused the problem 
>> ... I send
>> more feedback when I know more about it.
>>
>> The mirulous thing is, that still a lot of fonts appear in the Apple 
>> Macintosh
>> applications (f.e. TextEdit). Are there more places where MacOSX looks 
>> for fonts?
>>
>> Has anyone a good source on MacOSX and font administration.
>>
>> ----
>>
>> the bad news is, that Squiggle feels a lot slower than on Linux and 
>> Windows. I
>> used it regularly on Linux and Windows, where it felt equally fast. 
>> But on
>> MacOSX it feels considerably slower, though my Machine is up to date: 
>> 1GB Ram,
>> 1Ghz PPC G4 processor.
>>
>> Any idea why it is so slow on MacOSX? Every time it rerenders the 
>> DOM-tree (the
>> part where it says "Rendering internal tree...") it is  very slow. To 
>> give you
>> an idea: the mapSpain.svg example included with the distribution takes 
>> 16 to 18
>> seconds to render on MacOSX - I don't have a windows/Linux machine 
>> currently to
>> compare, but I had the impression it was considerably faster.
>>
>> All the best,
>> Andreas
>>
>> Zitiere Thomas DeWeese <Th...@Kodak.com>:
>>
>>> Anthony J. Starks wrote:
>>>
>>>> FYI, I've documented the font problems with Batik/Mac OSX/JVM 1.4
>>>
>>> using
>>>
>>>> both the Apple and Apache bug tracking systems.
>>>
>>>
>>>      Thanks for doing this.  Does Apple have a bug 'voting' system like
>>> Sun's Java Developer Connection?
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
>>> For additional commands, e-mail: batik-users-help@xml.apache.org
>>>
>>>
>>
>>
>>
>> --     He who asks is a fool for five minutes,
>> but he who does not ask remains a fool forever.
>> -- Chinese Proverb
>> ----------------------------------------------
>> Andreas Neumann - Department of Cartography
>> Swiss Federal Institute of Technology (ETH)
>> ETH Hoenggerberg, CH-8093  Zurich, Switzerland
>> Phone: ++41-1-633 3031, Fax: ++41-1-633 1153
>> e-mail: neumann@karto.baug.ethz.ch
>> www: http://www.karto.ethz.ch/neumann/
>> SVG.Open/Carto.net: http://www.svgopen.org/
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
>> For additional commands, e-mail: batik-users-help@xml.apache.org
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org
> 
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Re: Batik 1.5 and MacOSX10.2.6 startup problems

Posted by Andreas Neumann <ne...@karto.baug.ethz.ch>.
Hello!

Sorry for my late reply. Had been busy teaching SVG ...

I found out that three fonts let FontTest.js crash. One is called
"CommonBullets", probably imported from my Windows font collection. The other
two are self-created fonts, that I exported some years ago from CorelDRAW. I
have to try to regenerate them with a newever version of Corel or Macromedia
Fontographer. Maybe I can resolve the problem.

But thanks a lot, Thomas and others for identifying the problem and providing
the FontTest.jar program.

Here is my complete list of supported fonts (output from FontTest.jar):

----------

[pb165:~/svg/batik-1.5] an% java -jar FontTest.jar
2003-09-24 17:04:22.034 java[890] Warning: Font LucidaSans-TypewriterBold claims
fixed-pitch with 0 max advance!
2003-09-24 17:04:22.200 java[890] Font GB18030Bitmap: in
_readBasicMetricsForSize, claims 0 max advance but is fixed-pitch.
Font: .Aqua Kana
Font: .Keyboard
Font: Al Bayan
Font: American Typewriter
Font: Andale Mono
Font: Apple Chancery
Font: Apple LiGothic
Font: Apple LiSung
Font: AppleGothic
Font: AppleMyungjo
Font: Arial
Font: Arial Black
Font: Arial Hebrew
Font: Arial Narrow
Font: Arial Rounded MT Bold
Font: Avant Garde BT
Font: Ayuthaya
Font: Baghdad
Font: Baskerville
Font: Beijing
Font: BiauKai
Font: Big Caslon
Font: Brush Script MT
Font: Capitals
Font: Charcoal
Font: Charcoal CY
Font: Chicago
Font: Cochin
Font: Comic Sans MS
Font: Copperplate
Font: Corsiva Hebrew
Font: Courier
Font: Courier New
Font: DecoType Naskh
Font: Default
Font: Devanagari MT
Font: Dialog
Font: DialogInput
Font: Didot
Font: Fang Song
Font: Frutiger
Font: Futura
Font: Gadget
Font: Garamond
Font: GB18030 Bitmap
Font: Geezah
Font: Geneva
Font: Geneva CY
Font: Georgia
Font: Gill Sans
Font: Goudy Old Style BT
Font: Gujarati MT
Font: Gurmukhi MT
Font: Hei
Font: Helvetica
Font: Helvetica CY
Font: Helvetica Neue
Font: Herculanum
Font: Hiragino Kaku Gothic Pro
Font: Hiragino Kaku Gothic Std
Font: Hiragino Maru Gothic Pro
Font: Hiragino Mincho Pro
Font: Hoefler Text
Font: Humanist 521 BT
Font: Humnst777 Blk BT
Font: Humnst777 BT
Font: Humnst777 Lt BT
Font: Impact
Font: Kabel BT
Font: Kai
Font: Krungthep
Font: KufiStandardGK
Font: Lucida Bright
Font: Lucida Grande
Font: Lucida Sans
Font: Lucida Sans Typewriter
Font: Marker Felt
Font: Monaco
Font: Monaco CY
Font: Monospaced
Font: Nadeem
Font: New Peninim MT
Font: New York
Font: Optima
Font: Osaka
Font: Palatino
Font: Papyrus
Font: Raanana
Font: Sand
Font: SansSerif
Font: Sathu
Font: Seoul
Font: Serif
Font: Silom
Font: Skia
Font: Song
Font: Souvenir BT
Font: Staccato 222 BT
Font: STHeiti
Font: Symbol
Font: Taipei
Font: Techno
Font: Textile
Font: Thonburi
Font: Times
Font: Times CY
Font: Times New Roman
Font: Trebuchet MS
Font: Typo Upright BT
Font: Univers
Font: Univers Condensed
Font: Verdana
Font: VT100
Font: Webdings
Font: Zapf Dingbats
Font: Zapfino
[pb165:~/svg/batik-1.5] an% 


--------------------


Zitiere TJB <th...@mts.net>:

> OS X Fonts for Java,
> 
> On Tuesday, September 23, 2003, at 12:32  PM, Thomas DeWeese wrote:
> >
> >   These are almost certainly the same failure.  The NPE would be
> hidden
> > in squiggle because it happens while loading a class.
> >
> 
> We're making progress, its now been proven that the problem is within a
> 
> small method, provided by Thomas DeWeese earlier today, not with Batik 
> or any other Java application.
> 
> Has anyone worked further with the FontTest code? I'd like to spend 
> some time tomorrow hunting down a solution that works on OS X. The 
> result may mean the addition of OS X specific code to the standard Java
> 
> way of getting system fonts. Does anyone have more thoughts on how to 
> best approach this?
> 
> Once there is a solution it should most certainly be posted for the 
> whole OS X Java community some where. Then, lets turn our attention to 
> why OS X graphics are actually slower for most Java applications...
> 
> Cheers,
> 
> Thomas J
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org
> 
> 



--     
He who asks is a fool for five minutes,
but he who does not ask remains a fool forever.
-- Chinese Proverb 
    
----------------------------------------------     
Andreas Neumann - Department of Cartography     
Swiss Federal Institute of Technology (ETH)     
ETH Hoenggerberg, CH-8093  Zurich, Switzerland     
Phone: ++41-1-633 3031, Fax: ++41-1-633 1153     
e-mail: neumann@karto.baug.ethz.ch     
www: http://www.karto.ethz.ch/neumann/     
SVG.Open/Carto.net: http://www.svgopen.org/     

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Re: Batik 1.5 and MacOSX10.2.6 startup problems

Posted by TJB <th...@mts.net>.
OS X Fonts for Java,

On Tuesday, September 23, 2003, at 12:32  PM, Thomas DeWeese wrote:
>
>   These are almost certainly the same failure.  The NPE would be hidden
> in squiggle because it happens while loading a class.
>

We're making progress, its now been proven that the problem is within a 
small method, provided by Thomas DeWeese earlier today, not with Batik 
or any other Java application.

Has anyone worked further with the FontTest code? I'd like to spend 
some time tomorrow hunting down a solution that works on OS X. The 
result may mean the addition of OS X specific code to the standard Java 
way of getting system fonts. Does anyone have more thoughts on how to 
best approach this?

Once there is a solution it should most certainly be posted for the 
whole OS X Java community some where. Then, lets turn our attention to 
why OS X graphics are actually slower for most Java applications...

Cheers,

Thomas J


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Re: Batik 1.5 and MacOSX10.2.6 startup problems

Posted by Thomas DeWeese <Th...@Kodak.com>.
TJB wrote:

> Thomas DeWeese,
> 
> I got different results with the FontTest.jar than I did with Squiggle,  
> both results are still failures.

   These are almost certainly the same failure.  The NPE would be hidden
in squiggle because it happens while loading a class.

> Here is the FontTest.jar output...
> 
> [thefox:/] root# java -jar FontTest.jar
> 2003-09-23 11:47:06.758 java[658] Font FretBoard: descent is 0.
> Exception in thread "main" java.lang.NullPointerException
>         at  
> sun.java2d.SunGraphicsEnvironment.getAvailableFontFamilyNames(SunGraphic 
> sEnvironment.java:327)
>         at  
> sun.java2d.SunGraphicsEnvironment.getAvailableFontFamilyNames(SunGraphic 
> sEnvironment.java:359)
>         at FontTest.main(FontTest.java:13)
> 
> Here is my Squiggle output...
> 
> squiggle:
> 2003-09-22 21:49:03.232 java[522] Font FretBoard: descent is 0.
> 2003-09-22 21:49:03.488 java[522] Font GB18030Bitmap: in  
> _readBasicMetricsForSize, claims 0 max advance but is fixed-pitch.
> 2003-09-22 21:49:07.976 java[522] Warning: Font  
> LucidaSans-TypewriterBold claims fixed-pitch with 0 max advance!
> 2003-09-22 21:49:13.451 java[522] Warning: Font  
> LucidaSans-TypewriterBold claims fixed-pitch with 0 max advance!
> java.lang.ExceptionInInitializerError
>         at  
> org.apache.batik.gvt.renderer.StrokingTextPainter.createModifiedACIForFo 
> ntMatching(StrokingTextPainter.java:486)
>         at  
> org.apache.batik.gvt.renderer.StrokingTextPainter.getTextRuns(StrokingTe 
> xtPainter.java:243)
>         at  
> org.apache.batik.gvt.renderer.StrokingTextPainter.getOutline(StrokingTex 
> tPainter.java:1072)
>         at  
> org.apache.batik.gvt.renderer.BasicTextPainter.getGeometryBounds(BasicTe 
> xtPainter.java:123)
>         at  
> org.apache.batik.gvt.TextNode.getGeometryBounds(TextNode.java:286)
>         at  
> org.apache.batik.gvt.AbstractGraphicsNode.getTransformedGeometryBounds(A 
> bstractGraphicsNode.java:882)
>         at  
> org.apache.batik.gvt.CompositeGraphicsNode.getGeometryBounds(CompositeGr 
> aphicsNode.java:290)
>         at  
> org.apache.batik.bridge.SVGUtilities.convertRegion(SVGUtilities.java:104 9)
>         at  
> org.apache.batik.bridge.SVGUtilities.convertFilterChainRegion(SVGUtiliti 
> es.java:654)
>         at  
> org.apache.batik.bridge.SVGFilterElementBridge.createFilter(SVGFilterEle 
> mentBridge.java:108)
>         at  
> org.apache.batik.bridge.CSSUtilities.convertFilter(CSSUtilities.java:700 )
>         at  
> org.apache.batik.bridge.AbstractGraphicsNodeBridge.buildGraphicsNode(Abs 
> tractGraphicsNodeBridge.java:160)
>         at  
> org.apache.batik.bridge.SVGUseElementBridge.buildGraphicsNode(SVGUseElem 
> entBridge.java:359)
>         at  
> org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:228 )
>         at  
> org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:186)
>         at  
> org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:226 )
>         at  
> org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:186)
>         at org.apache.batik.bridge.GVTBuilder.build(GVTBuilder.java:158)
>         at  
> org.apache.batik.bridge.SVGUseElementBridge.buildCompositeGraphicsNode(S 
> VGUseElementBridge.java:209)
>         at  
> org.apache.batik.bridge.SVGUseElementBridge.createGraphicsNode(SVGUseEle 
> mentBridge.java:118)
>         at  
> org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:220 )
>         at  
> org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:186)
>         at  
> org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:226 )
>         at  
> org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:186)
>         at org.apache.batik.bridge.GVTBuilder.build(GVTBuilder.java:158)
>         at  
> org.apache.batik.bridge.SVGUseElementBridge.buildCompositeGraphicsNode(S 
> VGUseElementBridge.java:209)
>         at  
> org.apache.batik.bridge.SVGUseElementBridge.createGraphicsNode(SVGUseEle 
> mentBridge.java:118)
>         at  
> org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:220 )
>         at  
> org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:186)
>         at org.apache.batik.bridge.GVTBuilder.build(GVTBuilder.java:108)
>         at  
> org.apache.batik.swing.svg.GVTTreeBuilder.run(GVTTreeBuilder.java:136)
> Caused by: java.lang.NullPointerException
>         at  
> sun.java2d.SunGraphicsEnvironment.getAvailableFontFamilyNames(SunGraphic 
> sEnvironment.java:327)
>         at  
> sun.java2d.SunGraphicsEnvironment.getAvailableFontFamilyNames(SunGraphic 
> sEnvironment.java:359)
>         at  
> org.apache.batik.gvt.font.FontFamilyResolver.<clinit>(FontFamilyResolver 
> .java:105)
>         ... 31 more
> 
> Best Regards,
> 
> Thomas J
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org
> 
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Re: Batik 1.5 and MacOSX10.2.6 startup problems

Posted by TJB <th...@mts.net>.
Thomas DeWeese,

I got different results with the FontTest.jar than I did with Squiggle,  
both results are still failures.

Here is the FontTest.jar output...

[thefox:/] root# java -jar FontTest.jar
2003-09-23 11:47:06.758 java[658] Font FretBoard: descent is 0.
Exception in thread "main" java.lang.NullPointerException
         at  
sun.java2d.SunGraphicsEnvironment.getAvailableFontFamilyNames(SunGraphic 
sEnvironment.java:327)
         at  
sun.java2d.SunGraphicsEnvironment.getAvailableFontFamilyNames(SunGraphic 
sEnvironment.java:359)
         at FontTest.main(FontTest.java:13)

Here is my Squiggle output...

squiggle:
2003-09-22 21:49:03.232 java[522] Font FretBoard: descent is 0.
2003-09-22 21:49:03.488 java[522] Font GB18030Bitmap: in  
_readBasicMetricsForSize, claims 0 max advance but is fixed-pitch.
2003-09-22 21:49:07.976 java[522] Warning: Font  
LucidaSans-TypewriterBold claims fixed-pitch with 0 max advance!
2003-09-22 21:49:13.451 java[522] Warning: Font  
LucidaSans-TypewriterBold claims fixed-pitch with 0 max advance!
java.lang.ExceptionInInitializerError
         at  
org.apache.batik.gvt.renderer.StrokingTextPainter.createModifiedACIForFo 
ntMatching(StrokingTextPainter.java:486)
         at  
org.apache.batik.gvt.renderer.StrokingTextPainter.getTextRuns(StrokingTe 
xtPainter.java:243)
         at  
org.apache.batik.gvt.renderer.StrokingTextPainter.getOutline(StrokingTex 
tPainter.java:1072)
         at  
org.apache.batik.gvt.renderer.BasicTextPainter.getGeometryBounds(BasicTe 
xtPainter.java:123)
         at  
org.apache.batik.gvt.TextNode.getGeometryBounds(TextNode.java:286)
         at  
org.apache.batik.gvt.AbstractGraphicsNode.getTransformedGeometryBounds(A 
bstractGraphicsNode.java:882)
         at  
org.apache.batik.gvt.CompositeGraphicsNode.getGeometryBounds(CompositeGr 
aphicsNode.java:290)
         at  
org.apache.batik.bridge.SVGUtilities.convertRegion(SVGUtilities.java:104 
9)
         at  
org.apache.batik.bridge.SVGUtilities.convertFilterChainRegion(SVGUtiliti 
es.java:654)
         at  
org.apache.batik.bridge.SVGFilterElementBridge.createFilter(SVGFilterEle 
mentBridge.java:108)
         at  
org.apache.batik.bridge.CSSUtilities.convertFilter(CSSUtilities.java:700 
)
         at  
org.apache.batik.bridge.AbstractGraphicsNodeBridge.buildGraphicsNode(Abs 
tractGraphicsNodeBridge.java:160)
         at  
org.apache.batik.bridge.SVGUseElementBridge.buildGraphicsNode(SVGUseElem 
entBridge.java:359)
         at  
org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:228 
)
         at  
org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:186)
         at  
org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:226 
)
         at  
org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:186)
         at org.apache.batik.bridge.GVTBuilder.build(GVTBuilder.java:158)
         at  
org.apache.batik.bridge.SVGUseElementBridge.buildCompositeGraphicsNode(S 
VGUseElementBridge.java:209)
         at  
org.apache.batik.bridge.SVGUseElementBridge.createGraphicsNode(SVGUseEle 
mentBridge.java:118)
         at  
org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:220 
)
         at  
org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:186)
         at  
org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:226 
)
         at  
org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:186)
         at org.apache.batik.bridge.GVTBuilder.build(GVTBuilder.java:158)
         at  
org.apache.batik.bridge.SVGUseElementBridge.buildCompositeGraphicsNode(S 
VGUseElementBridge.java:209)
         at  
org.apache.batik.bridge.SVGUseElementBridge.createGraphicsNode(SVGUseEle 
mentBridge.java:118)
         at  
org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:220 
)
         at  
org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:186)
         at org.apache.batik.bridge.GVTBuilder.build(GVTBuilder.java:108)
         at  
org.apache.batik.swing.svg.GVTTreeBuilder.run(GVTTreeBuilder.java:136)
Caused by: java.lang.NullPointerException
         at  
sun.java2d.SunGraphicsEnvironment.getAvailableFontFamilyNames(SunGraphic 
sEnvironment.java:327)
         at  
sun.java2d.SunGraphicsEnvironment.getAvailableFontFamilyNames(SunGraphic 
sEnvironment.java:359)
         at  
org.apache.batik.gvt.font.FontFamilyResolver.<clinit>(FontFamilyResolver 
.java:105)
         ... 31 more

Best Regards,

Thomas J


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Re: Saving To a File

Posted by Tonny Kohar <to...@kiyut.com>.
hi,

I don't know much about javascript.
But you can do something like this:
1) as long as you can obtain SVG DOM you could sent it back to server
2) from the server side(servlet,jsp,cgi,php,asp,etc) you can email back
to the user or display it on browser

On Wed, 2003-09-24 at 04:02, Thomas DeWeese wrote:
> Doug Schepers wrote:
> 
> > Thanks for the quick reply. I had found that, and suspected it might be
> > relevant, but wasn't sure how to use it. I haven't coded in Java for quite
> > some time. Has anyone got a pointer on where to start to make a build that,
> > say, saves a file when postURL is called, and opens one for getURL? I'd be
> > very grateful if anyone has such a framework lying around.
> 
>    Well I wouldn't abuse get/postURL like that.  As it turns out Rhino the
> JavaScript implementation we use allows you to directly import classes/packages
> into your JavaScript.
> 
> This is done like this:
> 
> importPackage(java.awt);
> frame = new Frame("JavaScript"); // Create a Java awt Frame.
> 
>     This gives you access to all the Java.io classes and what not.
> 
> For more information on this take a look at:
>    http://www.mozilla.org/rhino/scriptjava.html
> 
> > Also, can this be used to "discover" files with a particular extension, or
> > will I need to know the names of the files beforehand?
> 
>     With Java you can read the contents of directories etc...
> 
> 
> > Many thanks-
> > -Doug
> > 
> > 
> > Tonny Kohar wrote:
> > 
> > 
> > 
> >>hi
> >>
> >>you can use SVGTranscoder provided by batik
> >>
> >>Regards
> >>Tonny kohar
> >>http://www.kiyut.com
> >>
> >>On Tue, 2003-09-23 at 22:08, Doug Schepers wrote:
> >>
> >>>Hi, Batik newbie question-
> >>>
> >>>I find myself wanting to save content generated within some of my
> >>>SVG+JavaScript apps. On Windows/IE, this is not a problem... I can use
> > 
> > the
> > 
> >>>FileSystemObject. But for Linux and Mac, this is not an option.
> >>>
> >>>Is it possible to create a Batik distribution to allow me to save a file
> >>>locally (or, less desirably, to append to an existing file)? Has this
> >>>already been done?
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Re: Saving To a File

Posted by Thomas DeWeese <Th...@Kodak.com>.
Doug Schepers wrote:

> Thanks for the quick reply. I had found that, and suspected it might be
> relevant, but wasn't sure how to use it. I haven't coded in Java for quite
> some time. Has anyone got a pointer on where to start to make a build that,
> say, saves a file when postURL is called, and opens one for getURL? I'd be
> very grateful if anyone has such a framework lying around.

   Well I wouldn't abuse get/postURL like that.  As it turns out Rhino the
JavaScript implementation we use allows you to directly import classes/packages
into your JavaScript.

This is done like this:

importPackage(java.awt);
frame = new Frame("JavaScript"); // Create a Java awt Frame.

    This gives you access to all the Java.io classes and what not.

For more information on this take a look at:
   http://www.mozilla.org/rhino/scriptjava.html

> Also, can this be used to "discover" files with a particular extension, or
> will I need to know the names of the files beforehand?

    With Java you can read the contents of directories etc...


> Many thanks-
> -Doug
> 
> 
> Tonny Kohar wrote:
> 
> 
> 
>>hi
>>
>>you can use SVGTranscoder provided by batik
>>
>>Regards
>>Tonny kohar
>>http://www.kiyut.com
>>
>>On Tue, 2003-09-23 at 22:08, Doug Schepers wrote:
>>
>>>Hi, Batik newbie question-
>>>
>>>I find myself wanting to save content generated within some of my
>>>SVG+JavaScript apps. On Windows/IE, this is not a problem... I can use
> 
> the
> 
>>>FileSystemObject. But for Linux and Mac, this is not an option.
>>>
>>>Is it possible to create a Batik distribution to allow me to save a file
>>>locally (or, less desirably, to append to an existing file)? Has this
>>>already been done?




---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Re: Saving To a File

Posted by Doug Schepers <do...@schepers.cc>.
Hi, Tonny -

Thanks for the quick reply. I had found that, and suspected it might be
relevant, but wasn't sure how to use it. I haven't coded in Java for quite
some time. Has anyone got a pointer on where to start to make a build that,
say, saves a file when postURL is called, and opens one for getURL? I'd be
very grateful if anyone has such a framework lying around.

Also, can this be used to "discover" files with a particular extension, or
will I need to know the names of the files beforehand?

Many thanks-
-Doug


Tonny Kohar wrote:


> hi
>
> you can use SVGTranscoder provided by batik
>
> Regards
> Tonny kohar
> http://www.kiyut.com
>
> On Tue, 2003-09-23 at 22:08, Doug Schepers wrote:
> > Hi, Batik newbie question-
> >
> > I find myself wanting to save content generated within some of my
> > SVG+JavaScript apps. On Windows/IE, this is not a problem... I can use
the
> > FileSystemObject. But for Linux and Mac, this is not an option.
> >
> > Is it possible to create a Batik distribution to allow me to save a file
> > locally (or, less desirably, to append to an existing file)? Has this
> > already been done?
> >
> > Thanks-
> > -Doug
> >



---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Re: Saving To a File

Posted by Tonny Kohar <to...@kiyut.com>.
hi

you can use SVGTranscoder provided by batik

Regards
Tonny kohar
http://www.kiyut.com

On Tue, 2003-09-23 at 22:08, Doug Schepers wrote:
> Hi, Batik newbie question-
> 
> I find myself wanting to save content generated within some of my
> SVG+JavaScript apps. On Windows/IE, this is not a problem... I can use the
> FileSystemObject. But for Linux and Mac, this is not an option.
> 
> Is it possible to create a Batik distribution to allow me to save a file
> locally (or, less desirably, to append to an existing file)? Has this
> already been done?
> 
> Thanks-
> -Doug
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Saving To a File

Posted by Doug Schepers <do...@schepers.cc>.
Hi, Batik newbie question-

I find myself wanting to save content generated within some of my
SVG+JavaScript apps. On Windows/IE, this is not a problem... I can use the
FileSystemObject. But for Linux and Mac, this is not an option.

Is it possible to create a Batik distribution to allow me to save a file
locally (or, less desirably, to append to an existing file)? Has this
already been done?

Thanks-
-Doug



---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Re: Batik 1.5 and MacOSX10.2.6 startup problems

Posted by Thomas DeWeese <Th...@Kodak.com>.
Anthony J. Starks wrote:

> The results are consistent with my other bug reports: with the 1.4.x  
> JVM there is a problem with LucidaSans-TypeWriter
> 
> As before when run with the 1.3.x JVM, there is no problem

   Well the warnings are annoying but not fatal.  What I am interested in
are the people who get exceptions thrown when running the example.

> ajstarks> java -jar fontTest.jar
> 2003-09-23 07:02:59.661 java[658] Warning: Font  
> LucidaSans-TypewriterBold claims fixed-pitch with 0 max advance!
> 2003-09-23 07:02:59.975 java[658] Font GB18030Bitmap: in  
> _readBasicMetricsForSize, claims 0 max advance but is fixed-pitch.
> Font: #GungSeo
> Font: #HeadLineA
> Font: #PCMyungjo
> Font: #PilGi
> Font: .Aqua Kana
> Font: .Keyboard
> Font: Academy Engraved LET
> Font: Al Bayan
> Font: Algerian Condensed LET
> Font: American Typewriter
> Font: Andale Mono
> Font: Apple Chancery
> Font: Apple LiGothic
> Font: Apple LiSung
> Font: AppleGothic
> Font: AppleMyungjo
> Font: Arial
> Font: Arial Black
> Font: Arial Hebrew
> Font: Arial Narrow
> Font: Arial Rounded MT Bold
> Font: Arriba Arriba LET
> Font: Avant Garde Mono ITCTT
> Font: Ayuthaya
> Font: Baghdad
> Font: BancoITC TT
> Font: Baskerville
> Font: Beijing
> Font: BiauKai
> Font: Big Caslon
> Font: Blackmoor LET
> Font: Bodoni SvtyTwo SC ITC TT
> Font: Bradley Hand ITC TT
> Font: BraganzaITC TT
> Font: BraganzaSCITC TT
> Font: Brush Script MT
> Font: Cabaret LET
> Font: Capitals
> Font: Century Gothic
> Font: Chalkboard
> Font: Charcoal
> Font: Charcoal CY
> Font: Chicago
> Font: Cochin
> Font: Comic Sans MS
> Font: Copperplate
> Font: Copperplate Gothic Bold
> Font: Copperplate Gothic Light
> Font: Corsiva Hebrew
> Font: Courier
> Font: Courier New
> Font: Curlz MT
> Font: DecoType Naskh
> Font: Default
> Font: DeltaSymbol
> Font: Devanagari MT
> Font: Dialog
> Font: DialogInput
> Font: Didot
> Font: Edwardian Script ITC
> Font: Fang Song
> Font: Futura
> Font: Gadget
> Font: GB18030 Bitmap
> Font: Geezah
> Font: Geneva
> Font: Geneva CY
> Font: Georgia
> Font: Gill Sans
> Font: Gujarati MT
> Font: Gurmukhi MT
> Font: Hazel LET
> Font: Hei
> Font: Helvetica
> Font: Helvetica CY
> Font: Helvetica Neue
> Font: Herculanum
> Font: Hiragino Kaku Gothic Pro
> Font: Hiragino Kaku Gothic Std
> Font: Hiragino Maru Gothic Pro
> Font: Hiragino Mincho Pro
> Font: Hoefler Text
> Font: Impact
> Font: Jazz LET
> Font: Jenson Old Style TT
> Font: Kai
> Font: Krungthep
> Font: KufiStandardGK
> Font: Lucida Bright
> Font: Lucida Grande
> Font: Lucida Handwriting
> Font: Lucida Sans
> Font: Lucida Sans Typewriter
> Font: Marker Felt
> Font: Mona Lisa Solid OS ITC TT
> Font: Monaco
> Font: Monaco CY
> Font: Monospaced
> Font: Monotype Sorts
> Font: Nadeem
> Font: New Peninim MT
> Font: New York
> Font: Optima
> Font: Osaka
> Font: Palatino
> Font: Papyrus
> Font: Party LET
> Font: PortagoITC TT
> Font: Princetown LET
> Font: Raanana
> Font: Sand
> Font: SansSerif
> Font: Santa Fe LET
> Font: Sathu
> Font: Savoye LET
> Font: Seoul
> Font: Serif
> Font: Shatter LET
> Font: Silom
> Font: Skia
> Font: Song
> Font: Souvenir Mono ITCTT
> Font: STFangsong
> Font: STHeiti
> Font: STKaiti
> Font: Stone Sans ITC TT
> Font: Stone Sans Sem ITC TT
> Font: STSong
> Font: Symbol
> Font: Synchro LET
> Font: Tahoma
> Font: Taipei
> Font: Techno
> Font: TembleITC TT
> Font: Textile
> Font: Thonburi
> Font: Times
> Font: Times CY
> Font: Times New Roman
> Font: Trebuchet MS
> Font: Type Embellishments One LET
> Font: University Roman Bold LET
> Font: Verdana
> Font: VT100
> Font: Webdings
> Font: Wingdings
> Font: Zapf Dingbats
> Font: Zapfino
> Font: ZiggyITC TT
> 
> ajstarks>  
> /System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Commands/ 
> java -jar FontTest.jar                  Font:#GungSeo Regular
> Font: #HeadLineA Regular
> Font: #PCMyungjo Regular
> Font: #PilGi Regular
> Font: .Aqua Kana
> Font: .Aqua Kana Bold
> Font: .Keyboard
> Font: Academy Engraved LET Plain:1.0
> Font: Al Bayan Bold
> Font: Al Bayan Plain
> Font: Algerian Condensed LET
> Font: American Typewriter
> Font: American Typewriter Bold
> Font: American Typewriter Condensed
> Font: American Typewriter Condensed Bold
> Font: American Typewriter Condensed Light
> Font: American Typewriter Light
> Font: Andale Mono
> Font: Apple Chancery
> Font: Apple LiGothic Medium
> Font: Apple LiSung Light
> Font: AppleGothic Regular
> Font: AppleMyungjo Regular
> Font: Arial
> Font: Arial Black
> Font: Arial Bold
> Font: Arial Bold Italic
> Font: Arial Hebrew
> Font: Arial Hebrew Bold
> Font: Arial Italic
> Font: Arial Narrow
> Font: Arial Narrow Bold
> Font: Arial Narrow Bold Italic
> Font: Arial Narrow Italic
> Font: Arial Rounded MT Bold
> Font: Arriba Arriba LET Plain:1.0
> Font: Avant Garde Mono ITCTT
> Font: Avant Garde Mono ITCTT Bold
> Font: Avant Garde Mono ITCTT BoldIta
> Font: Avant Garde Mono ITCTT Italic
> Font: Ayuthaya
> Font: Baghdad
> Font: BancoITC TT Heavy
> Font: Baskerville
> Font: Baskerville Bold
> Font: Baskerville Bold Italic
> Font: Baskerville Italic
> Font: Baskerville SemiBold
> Font: Baskerville SemiBold Italic
> Font: Beijing
> Font: BiauKai
> Font: Big Caslon Medium
> Font: Blackmoor LET Plain:2.0
> Font: Bodoni SvtyTwo SC ITC TT Book
> Font: Bradley Hand ITC TT Bold
> Font: BraganzaITC TT
> Font: BraganzaSCITC TT
> Font: Brush Script MT Italic
> Font: Cabaret LET Plain:1.0
> Font: Capitals
> Font: Century Gothic
> Font: Century Gothic Bold
> Font: Century Gothic Bold Italic
> Font: Century Gothic Italic
> Font: Chalkboard
> Font: Charcoal
> Font: Charcoal CY
> Font: Chicago
> Font: Cochin
> Font: Cochin Bold
> Font: Cochin Bold Italic
> Font: Cochin Italic
> Font: Comic Sans MS
> Font: Comic Sans MS Bold
> Font: Copperplate
> Font: Copperplate Bold
> Font: Copperplate Gothic Bold
> Font: Copperplate Gothic Light
> Font: Copperplate Light
> Font: Corsiva Hebrew
> Font: Corsiva Hebrew Bold
> Font: Courier
> Font: Courier Bold
> Font: Courier New
> Font: Courier New Bold
> Font: Courier New Bold Italic
> Font: Courier New Italic
> Font: Curlz MT
> Font: DecoType Naskh
> Font: DeltaSymbol
> Font: Devanagari MT
> Font: Devanagari MT Bold
> Font: Didot
> Font: Didot Bold
> Font: Didot Italic
> Font: Edwardian Script ITC
> Font: Fang Song Regular
> Font: Futura Condensed ExtraBold
> Font: Futura Condensed Medium
> Font: Futura Medium
> Font: Futura Medium Italic
> Font: GB18030 Bitmap
> Font: Gadget
> Font: Geezah
> Font: Geneva
> Font: Geneva CY
> Font: Georgia
> Font: Georgia Bold
> Font: Georgia Bold Italic
> Font: Georgia Italic
> Font: Gill Sans
> Font: Gill Sans Bold
> Font: Gill Sans Bold Italic
> Font: Gill Sans Italic
> Font: Gill Sans Light
> Font: Gill Sans Light Italic
> Font: Gujarati MT
> Font: Gujarati MT Bold
> Font: Gurmukhi MT
> Font: Hazel LET
> Font: Hei Regular
> Font: Helvetica
> Font: Helvetica Bold
> Font: Helvetica CY Bold
> Font: Helvetica CY BoldOblique
> Font: Helvetica CY Oblique
> Font: Helvetica CY Plain
> Font: Helvetica Neue
> Font: Helvetica Neue Bold
> Font: Helvetica Neue Bold Italic
> Font: Helvetica Neue Condensed Black
> Font: Helvetica Neue Condensed Bold
> Font: Helvetica Neue Italic
> Font: Helvetica Neue Light
> Font: Helvetica Neue Light Italic
> Font: Helvetica Neue UltraLight
> Font: Helvetica Neue UltraLight Italic
> Font: Herculanum
> Font: Hiragino Kaku Gothic Pro W3
> Font: Hiragino Kaku Gothic Pro W6
> Font: Hiragino Kaku Gothic Std W8
> Font: Hiragino Maru Gothic Pro W4
> Font: Hiragino Mincho Pro W3
> Font: Hiragino Mincho Pro W6
> Font: Hoefler Text
> Font: Hoefler Text Black
> Font: Hoefler Text Black Italic
> Font: Hoefler Text Italic
> Font: Hoefler Text Ornaments
> Font: Impact
> Font: Jazz LET Plain:1.0
> Font: Jenson Old Style TT
> Font: Kai Regular
> Font: Krungthep
> Font: KufiStandardGK
> Font: LastResort
> Font: Lucida Grande
> Font: Lucida Grande Bold
> Font: Lucida Handwriting Italic
> Font: Marker Felt Thin
> Font: Marker Felt Wide
> Font: Mona Lisa Solid OS ITC TT
> Font: Monaco
> Font: Monaco CY
> Font: Monotype Sorts
> Font: Nadeem
> Font: New Peninim MT
> Font: New Peninim MT Bold
> Font: New Peninim MT Bold Inclined
> Font: New Peninim MT Inclined
> Font: New York
> Font: Optima Bold
> Font: Optima Bold Italic
> Font: Optima ExtraBlack
> Font: Optima Italic
> Font: Optima Regular
> Font: Osaka
> Font: Osaka-Mono
> Font: Palatino
> Font: Palatino Bold
> Font: Palatino Bold Italic
> Font: Palatino Italic
> Font: Papyrus
> Font: Party LET Plain:1.0
> Font: PortagoITC TT
> Font: Princetown LET
> Font: Raanana
> Font: Raanana Bold
> Font: STFangsong
> Font: STHeiti
> Font: STKaiti
> Font: STSong
> Font: STXihei
> Font: Sand
> Font: Santa Fe LET Plain:1.0
> Font: Sathu
> Font: Savoye LET Plain:1.0
> Font: Seoul Regular
> Font: Shatter LET Plain:1.0
> Font: Silom
> Font: Skia Regular
> Font: Song Regular
> Font: Souvenir Mono ITCTT
> Font: Souvenir Mono ITCTT Bold
> Font: Souvenir Mono ITCTT Italic
> Font: Stone Sans ITC TT Bold
> Font: Stone Sans Sem ITC TT Semi
> Font: Stone Sans Sem ITC TT SemiIta
> Font: Symbol
> Font: Synchro LET
> Font: Tahoma
> Font: Tahoma Bold
> Font: Taipei
> Font: Techno
> Font: TembleITC TT
> Font: Textile
> Font: Thonburi
> Font: Times Bold
> Font: Times Bold Italic
> Font: Times CY
> Font: Times CY Bold
> Font: Times CY BoldItalic
> Font: Times CY Italic
> Font: Times Italic
> Font: Times New Roman
> Font: Times New Roman Bold
> Font: Times New Roman Bold Italic
> Font: Times New Roman Italic
> Font: Times Roman
> Font: Trebuchet MS
> Font: Trebuchet MS Bold
> Font: Trebuchet MS Bold Italic
> Font: Trebuchet MS Italic
> Font: Type Embellishments One LET Embellishments One LET Plain:1.0
> Font: University Roman Bold LET Plain:1.0
> Font: VT100 Bold
> Font: VT100 Roman
> Font: Verdana
> Font: Verdana Bold
> Font: Verdana Bold Italic
> Font: Verdana Italic
> Font: Webdings
> Font: Wingdings
> Font: Zapf Dingbats
> Font: Zapfino
> Font: ZiggyITC TT
> Font: Dialog
> Font: SansSerif
> Font: Serif
> Font: Monospaced
> Font: DialogInput
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org
> 
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Re: Batik 1.5 and MacOSX10.2.6 startup problems

Posted by "Anthony J. Starks" <aj...@comcast.net>.
The results are consistent with my other bug reports: with the 1.4.x  
JVM there is a problem with LucidaSans-TypeWriter

As before when run with the 1.3.x JVM, there is no problem

ajstarks> java -jar fontTest.jar
2003-09-23 07:02:59.661 java[658] Warning: Font  
LucidaSans-TypewriterBold claims fixed-pitch with 0 max advance!
2003-09-23 07:02:59.975 java[658] Font GB18030Bitmap: in  
_readBasicMetricsForSize, claims 0 max advance but is fixed-pitch.
Font: #GungSeo
Font: #HeadLineA
Font: #PCMyungjo
Font: #PilGi
Font: .Aqua Kana
Font: .Keyboard
Font: Academy Engraved LET
Font: Al Bayan
Font: Algerian Condensed LET
Font: American Typewriter
Font: Andale Mono
Font: Apple Chancery
Font: Apple LiGothic
Font: Apple LiSung
Font: AppleGothic
Font: AppleMyungjo
Font: Arial
Font: Arial Black
Font: Arial Hebrew
Font: Arial Narrow
Font: Arial Rounded MT Bold
Font: Arriba Arriba LET
Font: Avant Garde Mono ITCTT
Font: Ayuthaya
Font: Baghdad
Font: BancoITC TT
Font: Baskerville
Font: Beijing
Font: BiauKai
Font: Big Caslon
Font: Blackmoor LET
Font: Bodoni SvtyTwo SC ITC TT
Font: Bradley Hand ITC TT
Font: BraganzaITC TT
Font: BraganzaSCITC TT
Font: Brush Script MT
Font: Cabaret LET
Font: Capitals
Font: Century Gothic
Font: Chalkboard
Font: Charcoal
Font: Charcoal CY
Font: Chicago
Font: Cochin
Font: Comic Sans MS
Font: Copperplate
Font: Copperplate Gothic Bold
Font: Copperplate Gothic Light
Font: Corsiva Hebrew
Font: Courier
Font: Courier New
Font: Curlz MT
Font: DecoType Naskh
Font: Default
Font: DeltaSymbol
Font: Devanagari MT
Font: Dialog
Font: DialogInput
Font: Didot
Font: Edwardian Script ITC
Font: Fang Song
Font: Futura
Font: Gadget
Font: GB18030 Bitmap
Font: Geezah
Font: Geneva
Font: Geneva CY
Font: Georgia
Font: Gill Sans
Font: Gujarati MT
Font: Gurmukhi MT
Font: Hazel LET
Font: Hei
Font: Helvetica
Font: Helvetica CY
Font: Helvetica Neue
Font: Herculanum
Font: Hiragino Kaku Gothic Pro
Font: Hiragino Kaku Gothic Std
Font: Hiragino Maru Gothic Pro
Font: Hiragino Mincho Pro
Font: Hoefler Text
Font: Impact
Font: Jazz LET
Font: Jenson Old Style TT
Font: Kai
Font: Krungthep
Font: KufiStandardGK
Font: Lucida Bright
Font: Lucida Grande
Font: Lucida Handwriting
Font: Lucida Sans
Font: Lucida Sans Typewriter
Font: Marker Felt
Font: Mona Lisa Solid OS ITC TT
Font: Monaco
Font: Monaco CY
Font: Monospaced
Font: Monotype Sorts
Font: Nadeem
Font: New Peninim MT
Font: New York
Font: Optima
Font: Osaka
Font: Palatino
Font: Papyrus
Font: Party LET
Font: PortagoITC TT
Font: Princetown LET
Font: Raanana
Font: Sand
Font: SansSerif
Font: Santa Fe LET
Font: Sathu
Font: Savoye LET
Font: Seoul
Font: Serif
Font: Shatter LET
Font: Silom
Font: Skia
Font: Song
Font: Souvenir Mono ITCTT
Font: STFangsong
Font: STHeiti
Font: STKaiti
Font: Stone Sans ITC TT
Font: Stone Sans Sem ITC TT
Font: STSong
Font: Symbol
Font: Synchro LET
Font: Tahoma
Font: Taipei
Font: Techno
Font: TembleITC TT
Font: Textile
Font: Thonburi
Font: Times
Font: Times CY
Font: Times New Roman
Font: Trebuchet MS
Font: Type Embellishments One LET
Font: University Roman Bold LET
Font: Verdana
Font: VT100
Font: Webdings
Font: Wingdings
Font: Zapf Dingbats
Font: Zapfino
Font: ZiggyITC TT

ajstarks>  
/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Commands/ 
java -jar FontTest.jar                  Font:#GungSeo Regular
Font: #HeadLineA Regular
Font: #PCMyungjo Regular
Font: #PilGi Regular
Font: .Aqua Kana
Font: .Aqua Kana Bold
Font: .Keyboard
Font: Academy Engraved LET Plain:1.0
Font: Al Bayan Bold
Font: Al Bayan Plain
Font: Algerian Condensed LET
Font: American Typewriter
Font: American Typewriter Bold
Font: American Typewriter Condensed
Font: American Typewriter Condensed Bold
Font: American Typewriter Condensed Light
Font: American Typewriter Light
Font: Andale Mono
Font: Apple Chancery
Font: Apple LiGothic Medium
Font: Apple LiSung Light
Font: AppleGothic Regular
Font: AppleMyungjo Regular
Font: Arial
Font: Arial Black
Font: Arial Bold
Font: Arial Bold Italic
Font: Arial Hebrew
Font: Arial Hebrew Bold
Font: Arial Italic
Font: Arial Narrow
Font: Arial Narrow Bold
Font: Arial Narrow Bold Italic
Font: Arial Narrow Italic
Font: Arial Rounded MT Bold
Font: Arriba Arriba LET Plain:1.0
Font: Avant Garde Mono ITCTT
Font: Avant Garde Mono ITCTT Bold
Font: Avant Garde Mono ITCTT BoldIta
Font: Avant Garde Mono ITCTT Italic
Font: Ayuthaya
Font: Baghdad
Font: BancoITC TT Heavy
Font: Baskerville
Font: Baskerville Bold
Font: Baskerville Bold Italic
Font: Baskerville Italic
Font: Baskerville SemiBold
Font: Baskerville SemiBold Italic
Font: Beijing
Font: BiauKai
Font: Big Caslon Medium
Font: Blackmoor LET Plain:2.0
Font: Bodoni SvtyTwo SC ITC TT Book
Font: Bradley Hand ITC TT Bold
Font: BraganzaITC TT
Font: BraganzaSCITC TT
Font: Brush Script MT Italic
Font: Cabaret LET Plain:1.0
Font: Capitals
Font: Century Gothic
Font: Century Gothic Bold
Font: Century Gothic Bold Italic
Font: Century Gothic Italic
Font: Chalkboard
Font: Charcoal
Font: Charcoal CY
Font: Chicago
Font: Cochin
Font: Cochin Bold
Font: Cochin Bold Italic
Font: Cochin Italic
Font: Comic Sans MS
Font: Comic Sans MS Bold
Font: Copperplate
Font: Copperplate Bold
Font: Copperplate Gothic Bold
Font: Copperplate Gothic Light
Font: Copperplate Light
Font: Corsiva Hebrew
Font: Corsiva Hebrew Bold
Font: Courier
Font: Courier Bold
Font: Courier New
Font: Courier New Bold
Font: Courier New Bold Italic
Font: Courier New Italic
Font: Curlz MT
Font: DecoType Naskh
Font: DeltaSymbol
Font: Devanagari MT
Font: Devanagari MT Bold
Font: Didot
Font: Didot Bold
Font: Didot Italic
Font: Edwardian Script ITC
Font: Fang Song Regular
Font: Futura Condensed ExtraBold
Font: Futura Condensed Medium
Font: Futura Medium
Font: Futura Medium Italic
Font: GB18030 Bitmap
Font: Gadget
Font: Geezah
Font: Geneva
Font: Geneva CY
Font: Georgia
Font: Georgia Bold
Font: Georgia Bold Italic
Font: Georgia Italic
Font: Gill Sans
Font: Gill Sans Bold
Font: Gill Sans Bold Italic
Font: Gill Sans Italic
Font: Gill Sans Light
Font: Gill Sans Light Italic
Font: Gujarati MT
Font: Gujarati MT Bold
Font: Gurmukhi MT
Font: Hazel LET
Font: Hei Regular
Font: Helvetica
Font: Helvetica Bold
Font: Helvetica CY Bold
Font: Helvetica CY BoldOblique
Font: Helvetica CY Oblique
Font: Helvetica CY Plain
Font: Helvetica Neue
Font: Helvetica Neue Bold
Font: Helvetica Neue Bold Italic
Font: Helvetica Neue Condensed Black
Font: Helvetica Neue Condensed Bold
Font: Helvetica Neue Italic
Font: Helvetica Neue Light
Font: Helvetica Neue Light Italic
Font: Helvetica Neue UltraLight
Font: Helvetica Neue UltraLight Italic
Font: Herculanum
Font: Hiragino Kaku Gothic Pro W3
Font: Hiragino Kaku Gothic Pro W6
Font: Hiragino Kaku Gothic Std W8
Font: Hiragino Maru Gothic Pro W4
Font: Hiragino Mincho Pro W3
Font: Hiragino Mincho Pro W6
Font: Hoefler Text
Font: Hoefler Text Black
Font: Hoefler Text Black Italic
Font: Hoefler Text Italic
Font: Hoefler Text Ornaments
Font: Impact
Font: Jazz LET Plain:1.0
Font: Jenson Old Style TT
Font: Kai Regular
Font: Krungthep
Font: KufiStandardGK
Font: LastResort
Font: Lucida Grande
Font: Lucida Grande Bold
Font: Lucida Handwriting Italic
Font: Marker Felt Thin
Font: Marker Felt Wide
Font: Mona Lisa Solid OS ITC TT
Font: Monaco
Font: Monaco CY
Font: Monotype Sorts
Font: Nadeem
Font: New Peninim MT
Font: New Peninim MT Bold
Font: New Peninim MT Bold Inclined
Font: New Peninim MT Inclined
Font: New York
Font: Optima Bold
Font: Optima Bold Italic
Font: Optima ExtraBlack
Font: Optima Italic
Font: Optima Regular
Font: Osaka
Font: Osaka-Mono
Font: Palatino
Font: Palatino Bold
Font: Palatino Bold Italic
Font: Palatino Italic
Font: Papyrus
Font: Party LET Plain:1.0
Font: PortagoITC TT
Font: Princetown LET
Font: Raanana
Font: Raanana Bold
Font: STFangsong
Font: STHeiti
Font: STKaiti
Font: STSong
Font: STXihei
Font: Sand
Font: Santa Fe LET Plain:1.0
Font: Sathu
Font: Savoye LET Plain:1.0
Font: Seoul Regular
Font: Shatter LET Plain:1.0
Font: Silom
Font: Skia Regular
Font: Song Regular
Font: Souvenir Mono ITCTT
Font: Souvenir Mono ITCTT Bold
Font: Souvenir Mono ITCTT Italic
Font: Stone Sans ITC TT Bold
Font: Stone Sans Sem ITC TT Semi
Font: Stone Sans Sem ITC TT SemiIta
Font: Symbol
Font: Synchro LET
Font: Tahoma
Font: Tahoma Bold
Font: Taipei
Font: Techno
Font: TembleITC TT
Font: Textile
Font: Thonburi
Font: Times Bold
Font: Times Bold Italic
Font: Times CY
Font: Times CY Bold
Font: Times CY BoldItalic
Font: Times CY Italic
Font: Times Italic
Font: Times New Roman
Font: Times New Roman Bold
Font: Times New Roman Bold Italic
Font: Times New Roman Italic
Font: Times Roman
Font: Trebuchet MS
Font: Trebuchet MS Bold
Font: Trebuchet MS Bold Italic
Font: Trebuchet MS Italic
Font: Type Embellishments One LET Embellishments One LET Plain:1.0
Font: University Roman Bold LET Plain:1.0
Font: VT100 Bold
Font: VT100 Roman
Font: Verdana
Font: Verdana Bold
Font: Verdana Bold Italic
Font: Verdana Italic
Font: Webdings
Font: Wingdings
Font: Zapf Dingbats
Font: Zapfino
Font: ZiggyITC TT
Font: Dialog
Font: SansSerif
Font: Serif
Font: Monospaced
Font: DialogInput


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Re: Batik 1.5 and MacOSX10.2.6 startup problems

Posted by Thomas DeWeese <Th...@Kodak.com>.
Hi all,

    I've attached a small application that just reads the available fonts.
I've attached both source and a precompiled jar file (use which ever you
are comfortable with).  Can people who are running Mac OS X 10.2.x let me
know if your results with squiggle match your results with this test app
(either both succeed, both fail, or a mismatch)?

    This may also be easier to use for finding the 'bad font' than
starting squiggle.

TJB wrote:

> This font issue on OS X seems to be a thorn to a number of leading Java 
> applications. This morning I fired up IDEA, up my favorite Java IDE and 
> there was not one bit of readable text in the GUI. The 1.4.1 Java update 
> form Apple had messed with the default system font, so the solution was 
> to select another font, counting button shapes through a set of dialogs 
> to do it!

> For the heck of it I just downloaded the CodeGuide 6.1demo and what do 
> you know, it complains about a "Bad Font" that must be removed before 
> CodeGuide can be installed.

    It sounds like they must have the same problem, do they give any indication
of what the bad font is?

> It would seem that detailed knowledge of the OS X font system for Java 
> developers has become imperative.

    So one option would be to try and code around the problem.  This would
still 'cripple' the font matching on Mac OS X for systems with a 'bad font'.
So the code could do the following:

    1) Check if the font name is in the font name mapping, if so you are done.
    2) Try creating the Font with just 'new Font("Foo");' - if the font
       name exactly matches the installed font this will find it.  If it
       works canonicalize the name and add it to the font name mapping.
    3) If #2 didn't work then try and read the list of installed fonts (which may
       fail on Mac OS X - I can have it generate a warning message that
       fonts may not match properly due to a bad font on the system).
       If reading works canonicalize them and try step 1 again.
    4) If we still don't find it fall back to the next font on the list of
       CSS fonts.

> On Tuesday, September 23, 2003, at 01:50  AM, Andreas Neumann wrote:
> 
>> thanks for the link - will help me for better understanding of what's 
>> going on
>> on my system, regarding fonts.
>>
>> Will try to experiment, which of my font caused the problem ...
>>
>> Andreas
>>
>> Zitiere TJB <th...@mts.net>:
>>
>>> Batik for OS X,
>>>
>>> Found the following document at O'Reilly about fonts on OS X. This is
>>> part II, part I is available with the link and shows where all the
>>> fonts on OS X are located.
>>>
>>> http://www.macdevcenter.com/lpt/a/1166
>>>
>>> Cheers,
>>>
>>> Thomas
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
>>> For additional commands, e-mail: batik-users-help@xml.apache.org
>>>
>>>
>>
>>
>>
>> --     He who asks is a fool for five minutes,
>> but he who does not ask remains a fool forever.
>> -- Chinese Proverb
>> ----------------------------------------------
>> Andreas Neumann - Department of Cartography
>> Swiss Federal Institute of Technology (ETH)
>> ETH Hoenggerberg, CH-8093  Zurich, Switzerland
>> Phone: ++41-1-633 3031, Fax: ++41-1-633 1153
>> e-mail: neumann@karto.baug.ethz.ch
>> www: http://www.karto.ethz.ch/neumann/
>> SVG.Open/Carto.net: http://www.svgopen.org/
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
>> For additional commands, e-mail: batik-users-help@xml.apache.org
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org
> 
> 


Re: Batik 1.5 and MacOSX10.2.6 startup problems

Posted by TJB <th...@mts.net>.
Hi Andreas,

This font issue on OS X seems to be a thorn to a number of leading Java 
applications. This morning I fired up IDEA, up my favorite Java IDE and 
there was not one bit of readable text in the GUI. The 1.4.1 Java 
update form Apple had messed with the default system font, so the 
solution was to select another font, counting button shapes through a 
set of dialogs to do it!

For the heck of it I just downloaded the CodeGuide 6.1demo and what do 
you know, it complains about a "Bad Font" that must be removed before 
CodeGuide can be installed.

It would seem that detailed knowledge of the OS X font system for Java 
developers has become imperative.

Regards,

Thomas


On Tuesday, September 23, 2003, at 01:50  AM, Andreas Neumann wrote:

> thanks for the link - will help me for better understanding of what's 
> going on
> on my system, regarding fonts.
>
> Will try to experiment, which of my font caused the problem ...
>
> Andreas
>
> Zitiere TJB <th...@mts.net>:
>
>> Batik for OS X,
>>
>> Found the following document at O'Reilly about fonts on OS X. This is
>> part II, part I is available with the link and shows where all the
>> fonts on OS X are located.
>>
>> http://www.macdevcenter.com/lpt/a/1166
>>
>> Cheers,
>>
>> Thomas
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
>> For additional commands, e-mail: batik-users-help@xml.apache.org
>>
>>
>
>
>
> --     
> He who asks is a fool for five minutes,
> but he who does not ask remains a fool forever.
> -- Chinese Proverb 
>
> ----------------------------------------------
> Andreas Neumann - Department of Cartography
> Swiss Federal Institute of Technology (ETH)
> ETH Hoenggerberg, CH-8093  Zurich, Switzerland
> Phone: ++41-1-633 3031, Fax: ++41-1-633 1153
> e-mail: neumann@karto.baug.ethz.ch
> www: http://www.karto.ethz.ch/neumann/
> SVG.Open/Carto.net: http://www.svgopen.org/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Re: Batik 1.5 and MacOSX10.2.6 startup problems

Posted by Andreas Neumann <ne...@karto.baug.ethz.ch>.
thanks for the link - will help me for better understanding of what's going on
on my system, regarding fonts.

Will try to experiment, which of my font caused the problem ...

Andreas

Zitiere TJB <th...@mts.net>:

> Batik for OS X,
> 
> Found the following document at O'Reilly about fonts on OS X. This is 
> part II, part I is available with the link and shows where all the 
> fonts on OS X are located.
> 
> http://www.macdevcenter.com/lpt/a/1166
> 
> Cheers,
> 
> Thomas
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org
> 
> 



--     
He who asks is a fool for five minutes,
but he who does not ask remains a fool forever.
-- Chinese Proverb 
    
----------------------------------------------     
Andreas Neumann - Department of Cartography     
Swiss Federal Institute of Technology (ETH)     
ETH Hoenggerberg, CH-8093  Zurich, Switzerland     
Phone: ++41-1-633 3031, Fax: ++41-1-633 1153     
e-mail: neumann@karto.baug.ethz.ch     
www: http://www.karto.ethz.ch/neumann/     
SVG.Open/Carto.net: http://www.svgopen.org/     

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Re: Batik 1.5 and MacOSX10.2.6 startup problems

Posted by TJB <th...@mts.net>.
Batik for OS X,

Found the following document at O'Reilly about fonts on OS X. This is 
part II, part I is available with the link and shows where all the 
fonts on OS X are located.

http://www.macdevcenter.com/lpt/a/1166

Cheers,

Thomas


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Re: Batik 1.5 and MacOSX10.2.6 startup problems

Posted by TJB <th...@mts.net>.
Batik for OS X,

I'm holding off from updating to OS X 10.2.8, using 10.2.6 without  
removing any fonts and running the latest CVS version Squiggle's splash  
screen hangs and the following dialog appears...

SVG Error:
null
java.lang.Exception at  
org.apache.batik.swing.svg.GVTTreeBuilder.run(GVTTreeBuilder.java:160)

Here is the terminal output...

[thefox:gSVG/batik-CVS-1.5/xml-batik-src] root# ./build.sh squiggle
Buildfile: build.xml

init-args:

init:

compile:
debug on, optimize on, deprecation on

squiggle:
2003-09-22 21:49:03.232 java[522] Font FretBoard: descent is 0.
2003-09-22 21:49:03.488 java[522] Font GB18030Bitmap: in  
_readBasicMetricsForSize, claims 0 max advance but is fixed-pitch.
2003-09-22 21:49:07.976 java[522] Warning: Font  
LucidaSans-TypewriterBold claims fixed-pitch with 0 max advance!
2003-09-22 21:49:13.451 java[522] Warning: Font  
LucidaSans-TypewriterBold claims fixed-pitch with 0 max advance!
java.lang.ExceptionInInitializerError
         at  
org.apache.batik.gvt.renderer.StrokingTextPainter.createModifiedACIForFo 
ntMatching(StrokingTextPainter.java:486)
         at  
org.apache.batik.gvt.renderer.StrokingTextPainter.getTextRuns(StrokingTe 
xtPainter.java:243)
         at  
org.apache.batik.gvt.renderer.StrokingTextPainter.getOutline(StrokingTex 
tPainter.java:1072)
         at  
org.apache.batik.gvt.renderer.BasicTextPainter.getGeometryBounds(BasicTe 
xtPainter.java:123)
         at  
org.apache.batik.gvt.TextNode.getGeometryBounds(TextNode.java:286)
         at  
org.apache.batik.gvt.AbstractGraphicsNode.getTransformedGeometryBounds(A 
bstractGraphicsNode.java:882)
         at  
org.apache.batik.gvt.CompositeGraphicsNode.getGeometryBounds(CompositeGr 
aphicsNode.java:290)
         at  
org.apache.batik.bridge.SVGUtilities.convertRegion(SVGUtilities.java:104 
9)
         at  
org.apache.batik.bridge.SVGUtilities.convertFilterChainRegion(SVGUtiliti 
es.java:654)
         at  
org.apache.batik.bridge.SVGFilterElementBridge.createFilter(SVGFilterEle 
mentBridge.java:108)
         at  
org.apache.batik.bridge.CSSUtilities.convertFilter(CSSUtilities.java:700 
)
         at  
org.apache.batik.bridge.AbstractGraphicsNodeBridge.buildGraphicsNode(Abs 
tractGraphicsNodeBridge.java:160)
         at  
org.apache.batik.bridge.SVGUseElementBridge.buildGraphicsNode(SVGUseElem 
entBridge.java:359)
         at  
org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:228 
)
         at  
org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:186)
         at  
org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:226 
)
         at  
org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:186)
         at org.apache.batik.bridge.GVTBuilder.build(GVTBuilder.java:158)
         at  
org.apache.batik.bridge.SVGUseElementBridge.buildCompositeGraphicsNode(S 
VGUseElementBridge.java:209)
         at  
org.apache.batik.bridge.SVGUseElementBridge.createGraphicsNode(SVGUseEle 
mentBridge.java:118)
         at  
org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:220 
)
         at  
org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:186)
         at  
org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:226 
)
         at  
org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:186)
         at org.apache.batik.bridge.GVTBuilder.build(GVTBuilder.java:158)
         at  
org.apache.batik.bridge.SVGUseElementBridge.buildCompositeGraphicsNode(S 
VGUseElementBridge.java:209)
         at  
org.apache.batik.bridge.SVGUseElementBridge.createGraphicsNode(SVGUseEle 
mentBridge.java:118)
         at  
org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:220 
)
         at  
org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:186)
         at org.apache.batik.bridge.GVTBuilder.build(GVTBuilder.java:108)
         at  
org.apache.batik.swing.svg.GVTTreeBuilder.run(GVTTreeBuilder.java:136)
Caused by: java.lang.NullPointerException
         at  
sun.java2d.SunGraphicsEnvironment.getAvailableFontFamilyNames(SunGraphic 
sEnvironment.java:327)
         at  
sun.java2d.SunGraphicsEnvironment.getAvailableFontFamilyNames(SunGraphic 
sEnvironment.java:359)
         at  
org.apache.batik.gvt.font.FontFamilyResolver.<clinit>(FontFamilyResolver 
.java:105)
         ... 31 more

These screens likely look familiar. I've posted a message on Apple-Web  
list relaying some of the discussion here, there may be some font help  
available there...

Cheers,

Thomas


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Re: Batik 1.5 and MacOSX10.2.6 startup problems

Posted by Brendan Lane Larson <Br...@yahoo.com>.
Andreas,

When I previously had the Batik 1.5 Beta installed (which is when 
Squiggle was working fine for me), I also noticed comparative slowness 
relative to a Windows XP Pro (on Intel Celeron processor) ... the 
laptop I use quite a bit is not too dissimilar to your configuration (1 
GB RAM, 800 MhZ G4 processor). I seem to recall from SVG Open that 
someone had stated that Apple had done quite a good job with the JDK 
implementation (including Hotspot), but if my memory serves me correct 
(I don't have my SVG Open notes in front of me at the moment), I think 
someone also said that Apple's implementation of GUI related classes 
(Java 2D API? Swing?) was a bit "unique" (perhaps in terms of 
integrating with Apple's Quartz windowing)?

It just struck me -- I wonder if the following is a possibility -- 
Apple (not too long ago -- less than a year ago I think?) introduced 
Quartz Extreme which works only on certain Macintosh hardware that has 
the necessary video card hardware required to run Quartz Extreme. Prior 
to Quartz Extreme I believe Apple referred to Quartz as "Quartz 2D" ... 
and according to the Apple documentation on Quartz (see the Quartz 
Extreme PDF located under the heading "Technology Briefs" at 
http://www.apple.com/macosx/ which is dated as being published in 
October 2002), it states:

> The Mac OS X graphics system consists of Quartz 2D, which renders 
> fonts as well as vector
> and bitmap graphics; OpenGL for generating 3D graphics; and QuickTime 
> for producing
> dynamic media. These media types are blended together on the display 
> by the window server,
> called the Quartz Compositor, the engine behind the unique effects in 
> Aqua, such as
> transparency and drop shadows.

There is a side bar in this document regarding fonts in recent Quartz 
updates (Quartz Extreme ??) that states:

> Richer font support
>
> • The default instance of Multiple Master (PostScript) fonts is 
> supported.
>
> • An ATM Lite PostScript rasterizer is built in, eliminating the need 
> for third-party PostScript font-rendering software.
>
> • Even more high-quality fonts are included, enabling users to spice 
> up documents and communicate in other languages, including Arabic and 
> Hebrew.
>
> • Four font-smoothing styles can be specified to increase readability: 
> Standard (best for CRT displays), Light, Medium (best for flat-panel 
> displays), and Strong.

Might there be a difference (worth looking into) with respect to the 
set of system fonts that are loaded onto a system (difference between 
Mac OS X 10.2 systems that are configured to use hardware acceleration 
on Macs that have video circuitry that meet the minimal Quartz Extreme 
requisites v.s. systems that are not configured to take advantage of 
Quartz Extreme)?

This might make sense since Thomas DeWeese has previously had only 
access for testing on a Mac OS X 10.1 system (which is well before the 
era of Quartz enhancements including Quartz Extreme which is only 
available on Mac OS X 10.2 and with certain video hardware minimal 
requisites). Hardware acceleration should not necessarily make a 
difference in the set of fonts that Apple includes with OS X 10.2 for a 
particular Macintosh, but it still might be possible that the font sets 
are different (Mac OS X 10.2 Software Update application appears to do 
specific system configurations in the form of optimization).

Maybe comparing Squiggle from Batik final release 1.5 running on a Mac 
OS X 10.2 configuration on Mac that does not have minimal video 
hardware requisites to run Quartz Extreme v.s. a Mac that can run 
Quartz Extreme would be a worthwhile lab test to run? Do any Batik 
users here have a Mac that is not physically capable of running Quartz 
Extreme yet is running Mac OS X 10.2.x with different JDK installations 
that can be tested with Squiggle? Below are the requisites for Quartz 
Extreme from the PDF document aforementioned:

> System Requirements
> Quartz Extreme
> GPU requirements
> *16MB of video memory (32MB recommended)
> *AGP 2X (AGP 4X recommended)
> *Any Macintosh desktop computer with an AGP 2X slot or better can be 
> upgraded with a supported graphics card to take advantage of Quartz 
> Extreme.
> Supported graphics cards
> *NVIDIA GeForce2 MX, GeForce3, GeForce4 Ti, or GeForce4 MX graphics 
> cards
> * ATI AGP-based Radeon graphics cards
> * On cards with 16MB of video memory, Quartz Extreme is not supported 
> in the extended desktop mode of multiple-display configurations. 
> Quartz Extreme is supported in video mirroring mode.
>
> Quartz 2D
> * Only Power Mac G4 and PowerBook G4 computers receive the benefit of 
> the G4 Velocity Engine enhancement.
> * Only dual processor Power Mac G4 computers benefit from symmetric 
> multiprocessing enhancements in Quartz.

Cheers,

-Brendan

On Monday, September 22, 2003, at 11:17  AM, Andreas Neumann wrote:

> The good news is - that I got Batik running on my system! after I 
> removed all
> fonts from /Library/Fonts and from /Users/myUser/Library/Fonts
>
> The other good news: the quality seems ok, same than in Linux/Windows.
>
> I still have to find out which of the font files caused the problem 
> ... I send
> more feedback when I know more about it.
>
> The mirulous thing is, that still a lot of fonts appear in the Apple 
> Macintosh
> applications (f.e. TextEdit). Are there more places where MacOSX looks 
> for fonts?
>
> Has anyone a good source on MacOSX and font administration.
>
> ----
>
> the bad news is, that Squiggle feels a lot slower than on Linux and 
> Windows. I
> used it regularly on Linux and Windows, where it felt equally fast. 
> But on
> MacOSX it feels considerably slower, though my Machine is up to date: 
> 1GB Ram,
> 1Ghz PPC G4 processor.
>
> Any idea why it is so slow on MacOSX? Every time it rerenders the 
> DOM-tree (the
> part where it says "Rendering internal tree...") it is  very slow. To 
> give you
> an idea: the mapSpain.svg example included with the distribution takes 
> 16 to 18
> seconds to render on MacOSX - I don't have a windows/Linux machine 
> currently to
> compare, but I had the impression it was considerably faster.
>
> All the best,
> Andreas
>
> Zitiere Thomas DeWeese <Th...@Kodak.com>:
>
>> Anthony J. Starks wrote:
>>
>>> FYI, I've documented the font problems with Batik/Mac OSX/JVM 1.4
>> using
>>> both the Apple and Apache bug tracking systems.
>>
>>      Thanks for doing this.  Does Apple have a bug 'voting' system 
>> like
>> Sun's Java Developer Connection?
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
>> For additional commands, e-mail: batik-users-help@xml.apache.org
>>
>>
>
>
>
> --     
> He who asks is a fool for five minutes,
> but he who does not ask remains a fool forever.
> -- Chinese Proverb 
>
> ----------------------------------------------
> Andreas Neumann - Department of Cartography
> Swiss Federal Institute of Technology (ETH)
> ETH Hoenggerberg, CH-8093  Zurich, Switzerland
> Phone: ++41-1-633 3031, Fax: ++41-1-633 1153
> e-mail: neumann@karto.baug.ethz.ch
> www: http://www.karto.ethz.ch/neumann/
> SVG.Open/Carto.net: http://www.svgopen.org/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Re: Batik 1.5 and MacOSX10.2.6 startup problems

Posted by Andreas Neumann <ne...@karto.baug.ethz.ch>.
The good news is - that I got Batik running on my system! after I removed all
fonts from /Library/Fonts and from /Users/myUser/Library/Fonts

The other good news: the quality seems ok, same than in Linux/Windows.

I still have to find out which of the font files caused the problem ... I send
more feedback when I know more about it.

The mirulous thing is, that still a lot of fonts appear in the Apple Macintosh
applications (f.e. TextEdit). Are there more places where MacOSX looks for fonts?

Has anyone a good source on MacOSX and font administration.

----

the bad news is, that Squiggle feels a lot slower than on Linux and Windows. I
used it regularly on Linux and Windows, where it felt equally fast. But on
MacOSX it feels considerably slower, though my Machine is up to date: 1GB Ram,
1Ghz PPC G4 processor.

Any idea why it is so slow on MacOSX? Every time it rerenders the DOM-tree (the
part where it says "Rendering internal tree...") it is  very slow. To give you
an idea: the mapSpain.svg example included with the distribution takes 16 to 18
seconds to render on MacOSX - I don't have a windows/Linux machine currently to
compare, but I had the impression it was considerably faster.

All the best,
Andreas

Zitiere Thomas DeWeese <Th...@Kodak.com>:

> Anthony J. Starks wrote:
> 
> > FYI, I've documented the font problems with Batik/Mac OSX/JVM 1.4
> using 
> > both the Apple and Apache bug tracking systems.
> 
>      Thanks for doing this.  Does Apple have a bug 'voting' system like
> Sun's Java Developer Connection?
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org
> 
> 



--     
He who asks is a fool for five minutes,
but he who does not ask remains a fool forever.
-- Chinese Proverb 
    
----------------------------------------------     
Andreas Neumann - Department of Cartography     
Swiss Federal Institute of Technology (ETH)     
ETH Hoenggerberg, CH-8093  Zurich, Switzerland     
Phone: ++41-1-633 3031, Fax: ++41-1-633 1153     
e-mail: neumann@karto.baug.ethz.ch     
www: http://www.karto.ethz.ch/neumann/     
SVG.Open/Carto.net: http://www.svgopen.org/     

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Re: Batik 1.5 and MacOSX10.2.6 startup problems

Posted by Thomas DeWeese <Th...@Kodak.com>.
Anthony J. Starks wrote:

> FYI, I've documented the font problems with Batik/Mac OSX/JVM 1.4 using 
> both the Apple and Apache bug tracking systems.

     Thanks for doing this.  Does Apple have a bug 'voting' system like
Sun's Java Developer Connection?




---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Re: Batik 1.5 and MacOSX10.2.6 startup problems

Posted by "Anthony J. Starks" <aj...@comcast.net>.
FYI, I've documented the font problems with Batik/Mac OSX/JVM 1.4 using 
both the Apple and Apache bug tracking systems.


On Sunday, Sep 21, 2003, at 19:55 America/New_York, TJB wrote:

> Fellow Batik and OS X developers,
>
> I'm glad to see this unresolved  issue surfacing now, again. With my 
> university workload finished as of this past Friday, I'm back on full 
> time development, on my own project.
>
> I have a number of concerns still lingering about Batik, which I can 
> not truly finalize if it will not run on my system. My configuration 
> is OS X 10.2.6, Java 1.4.1_01 and Batik 1.5. I will get the latest CVS 
> version tomorrow and give that a try...
>
> I would think that some one in the  inner circle of Batik developers 
> would have access to the OS X platform, test and run it there on each 
> major release.  Especially knowing, that OS X is an excellent 
> leading-edge graphic platform, where Batik should run very well and 
> some of the more innovative software developers choose work as well.
>
> This way Batik can be put to good use, instead of fading out of memory.
>
> Best regards to all,
>
> Thomas J. Buhr


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Re: Batik 1.5 and MacOSX10.2.6 startup problems

Posted by TJB <th...@mts.net>.
Fellow Batik and OS X developers,

I'm glad to see this unresolved  issue surfacing now, again. With my  
university workload finished as of this past Friday, I'm back on full  
time development, on my own project.

I have a number of concerns still lingering about Batik, which I can  
not truly finalize if it will not run on my system. My configuration is  
OS X 10.2.6, Java 1.4.1_01 and Batik 1.5. I will get the latest CVS  
version tomorrow and give that a try...

I would think that some one in the  inner circle of Batik developers  
would have access to the OS X platform, test and run it there on each  
major release.  Especially knowing, that OS X is an excellent  
leading-edge graphic platform, where Batik should run very well and  
some of the more innovative software developers choose work as well.

This way Batik can be put to good use, instead of fading out of memory.

Best regards to all,

Thomas J. Buhr


On Sunday, September 21, 2003, at 06:33  PM, Andreas Neumann wrote:

> Hi Brendan, Thomas and other MacOSX Batik Users!
>
> I read your thread (july 2003) on the Batik Mailinglist on trying to  
> get
> Squiggle running under MacOSX10.2.6. I ran into exactly the same  
> problem?
>
> I read that the installed fonts could be the problem?
>
> Have you figured out which fonts could cause the problem?
>
> Here is my configuration:
> Batik 1.5
> MacOSX10.2.6
> Java 1.4.1_01
>
> The error output is as follows:
> -----------
> [Andreas-Neumanns-Computer:~/svg/batik-1.5] an% java -version
> java version "1.4.1_01"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-69.1)
> Java HotSpot(TM) Client VM (build 1.4.1_01-24, mixed mode)
> [Andreas-Neumanns-Computer:~/svg/batik-1.5] an% java -jar  
> batik-squiggle.jar
> 2003-09-20 19:40:16.776 java[1602] Font GB18030Bitmap: in
> _readBasicMetricsForSize, claims 0 max advance but is fixed-pitch.
> 2003-09-20 19:40:17.513 java[1602] Warning: Font  
> LucidaSans-TypewriterBold
> claims fixed-pitch with 0 max advance!
> 2003-09-20 19:40:18.240 java[1602] Warning: Font  
> LucidaSans-TypewriterBold
> claims fixed-pitch with 0 max advance!
> java.lang.ExceptionInInitializerError
>         at
> org.apache.batik.gvt.renderer.StrokingTextPainter.createModifiedACIForF 
> ontMatching(Unknown
> Source)
>         at  
> org.apache.batik.gvt.renderer.StrokingTextPainter.getTextRuns(Unknown
> Source)
>         at  
> org.apache.batik.gvt.renderer.StrokingTextPainter.getOutline(Unknown
> Source)
>         at
> org.apache.batik.gvt.renderer.BasicTextPainter.getGeometryBounds(Unknow 
> n Source)
>         at org.apache.batik.gvt.TextNode.getGeometryBounds(Unknown  
> Source)
>         at
> org.apache.batik.gvt.AbstractGraphicsNode.getTransformedGeometryBounds( 
> Unknown
> Source)
>         at  
> org.apache.batik.gvt.CompositeGraphicsNode.getGeometryBounds(Unknown
> Source)
>         at org.apache.batik.bridge.SVGUtilities.convertRegion(Unknown  
> Source)
>         at  
> org.apache.batik.bridge.SVGUtilities.convertFilterChainRegion(Unknown
> Source)
>         at  
> org.apache.batik.bridge.SVGFilterElementBridge.createFilter(Unknown
> Source)
>         at org.apache.batik.bridge.CSSUtilities.convertFilter(Unknown  
> Source)
>         at
> org.apache.batik.bridge.AbstractGraphicsNodeBridge.buildGraphicsNode(Un 
> known Source)
>         at  
> org.apache.batik.bridge.SVGUseElementBridge.buildGraphicsNode(Unknown
> Source)
>         at  
> org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
>         at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown  
> Source)
>         at  
> org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
>         at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown  
> Source)
>         at org.apache.batik.bridge.GVTBuilder.build(Unknown Source)
>         at
> org.apache.batik.bridge.SVGUseElementBridge.buildCompositeGraphicsNode( 
> Unknown
> Source)
>         at
> org.apache.batik.bridge.SVGUseElementBridge.createGraphicsNode(Unknown  
> Source)
>         at  
> org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
>         at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown  
> Source)
>         at  
> org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
>         at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown  
> Source)
>         at org.apache.batik.bridge.GVTBuilder.build(Unknown Source)
>         at
> org.apache.batik.bridge.SVGUseElementBridge.buildCompositeGraphicsNode( 
> Unknown
> Source)
>         at
> org.apache.batik.bridge.SVGUseElementBridge.createGraphicsNode(Unknown  
> Source)
>         at  
> org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
>         at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown  
> Source)
>         at org.apache.batik.bridge.GVTBuilder.build(Unknown Source)
>         at org.apache.batik.swing.svg.GVTTreeBuilder.run(Unknown  
> Source)
> Caused by: java.lang.NullPointerException
>         at
> sun.java2d.SunGraphicsEnvironment.getAvailableFontFamilyNames(SunGraphi 
> csEnvironment.java:327)
>         at
> sun.java2d.SunGraphicsEnvironment.getAvailableFontFamilyNames(SunGraphi 
> csEnvironment.java:359)
>         at  
> org.apache.batik.gvt.font.FontFamilyResolver.<clinit>(Unknown Source)
>         ... 31 more
>
> --------------
>
> Here is my current font list:
> [Andreas-Neumanns-Computer:/Library/Fonts] an% ls -l
> total 174760
> -rw-r--r--  1 an    admin     36876 Sep 11 11:59 AdobeFnt07.lst
> -rw-rw-r--  1 root  admin     77760 Jul 15  2002 AlBayan.ttf
> -rw-rw-r--  1 root  admin     77664 Jul 15  2002 AlBayanBold.ttf
> -rw-rw-r--  1 root  admin    534828 Dec 20  2002  
> AmericanTypewriter.dfont
> -rw-rw-r--  1 root  admin   8937785 Jul 17  2002 Apple LiSung  
> Light.dfont
> -rw-rw-r--  1 root  admin  12097654 Jul 14  2002 AppleMyungjo.dfont
> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Arial
> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Arial Black
> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Arial Narrow
> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Arial Rounded Bold
> -rw-rw-r--  1 root  admin     35068 Jul 15  2002 ArialHB.ttf
> -rw-rw-r--  1 root  admin     34476 Jul 15  2002 ArialHBBold.ttf
> -rwxrwxrwx  1 an    staff         0 Feb 28  2000 AvantGarde BkDm BT
> -rwxrwxrwx  1 an    staff         0 Oct 22  1993 AvantGarde Md BT
> -rw-rw-r--  1 root  admin     39548 Jul 15  2002 Ayuthaya.ttf
> -rw-rw-r--  1 root  admin     88808 Jul 15  2002 Baghdad.ttf
> -rw-rw-r--  1 root  admin    426925 Dec 20  2002 Baskerville.dfont
> -rw-rw-r--  1 root  admin   1612931 Jul 17  2002 Beijing.dfont
> -rw-rw-r--  1 root  admin  13984710 Jul 17  2002 BiauKai.dfont
> -rw-rw-r--  1 root  admin    140361 Dec 20  2002 BigCaslon.dfont
> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Brush Script
> -rw-rw-r--  1 root  admin     76828 Jul 15  2002 CharcoalCY.dfont
> -rw-rw-r--  1 root  admin    310951 Dec 20  2002 Cochin.dfont
> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Comic Sans MS
> -rwxrwxrwx  1 an    staff         0 Mar  5  2002 CommonBullets
> -rw-rw-r--  1 root  admin    240790 Dec 20  2002 Copperplate.dfont
> -rw-rw-r--  1 root  admin     39160 Jul 15  2002 Corsiva.ttf
> -rw-rw-r--  1 root  admin     40924 Jul 15  2002 CorsivaBold.ttf
> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Courier New
> -rw-rw-r--  1 root  admin     68560 Jul 15  2002 DecoTypeNaskh.ttf
> -rw-rw-r--  1 root  admin    184024 Jul 15  2002 DevanagariMTBold.ttf
> -rw-rw-r--  1 root  admin    383766 Dec 20  2002 Didot.dfont
> -rw-rw-r--  1 root  admin   6725596 Jul 17  2002 Fang Song.dfont
> -rw-r-----  1 an    admin     39184 Sep 16 12:20 Frut000.ttf
> -rw-rw-r--  1 root  admin    314508 Dec 20  2002 Futura.dfont
> -rw-r-----  1 an    admin    185680 Sep 16 12:18 Gara.ttf
> -rw-r-----  1 an    admin    186744 Sep 16 12:18 Garabd.ttf
> -rw-r-----  1 an    admin    176916 Sep 16 12:18 Garait.ttf
> -rw-rw-r--  1 root  admin     92444 Jul 15  2002 Geeza.ttf
> -rw-rw-r--  1 root  admin    116689 Jul 15  2002 GenevaCY.dfont
> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Georgia
> -rw-rw-r--  1 root  admin    344604 Dec 20  2002 GillSans.dfont
> -rw-rw-r--  1 root  admin    197316 Jul 15  2002 GujaratiMT.ttf
> -rw-rw-r--  1 root  admin    185936 Jul 15  2002 GujaratiMTBold.ttf
> -rw-rw-r--  1 root  admin     60900 Jul 15  2002 Gurmukhi.ttf
> -rw-rw-r--  1 root  admin    308517 Jul 15  2002 HelveticaCY.dfont
> -rw-rw-r--  1 root  admin    709029 Dec 20  2002 HelveticaNeue.dfont
> -rw-rw-r--  1 root  admin    108351 Dec 20  2002 Herculanum.dfont
> -rwxrwxrwx  1 an    staff         0 Nov 10  1993 Kabel Bk BT
> -rwxrwxrwx  1 an    staff         0 Nov 10  1993 Kabel Ult BT
> -rw-rw-r--  1 root  admin   7941608 Jul 17  2002 Kai.dfont
> -rw-rw-r--  1 root  admin     30120 Jul 15  2002 Krungthep.ttf
> -rw-rw-r--  1 root  admin     74132 Jul 15  2002 KufiStandarGK.ttf
> -rw-rw-r--  1 root  admin    230806 Dec 20  2002 MarkerFelt.dfont
> -rw-rw-r--  1 root  admin     73036 Jul 15  2002 MonacoCY.dfont
> -rw-rw-r--  1 root  admin   7107888 Jul 17  2002 NISC18030.ttf
> -rw-rw-r--  1 root  admin     86976 Jul 15  2002 Nadeem.ttf
> -rw-rw-r--  1 root  admin     44288 Jul 15  2002 NewPeninimMTBold.ttf
> -rw-rw-r--  1 root  admin     46312 Jul 15  2002  
> NewPeninimMTBoldInclined.ttf
> -rw-rw-r--  1 root  admin     40612 Jul 15  2002  
> NewPeninimMTInclined.ttf
> -rw-rw-r--  1 root  admin    567275 Dec 20  2002 Optima.dfont
> -rw-rw-r--  1 root  admin    133874 Dec 20  2002 Papyrus.dfont
> -rw-rw-r--  1 root  admin     28348 Jul 15  2002 Raanana.ttf
> -rw-rw-r--  1 root  admin     27584 Jul 15  2002 RaananaBold.ttf
> -rw-rw-r--  1 root  admin     30312 Jul 15  2002 Sathu.ttf
> -rw-rw-r--  1 root  admin   7908742 Jul 14  2002 Seoul.dfont
> -rw-rw-r--  1 root  admin     34796 Jul 15  2002 Silom.ttf
> -rw-rw-r--  1 root  admin    476288 Dec 20  2002 Skia.dfont
> -rw-rw-r--  1 root  admin   7207478 Jul 17  2002 Song.dfont
> -rwxrwxrwx  1 an    staff         0 Apr 11  1996 Souvenir LtDm BT
> -rwxrwxrwx  1 an    staff         0 Mar 29  1999 TT GoudyOlSt RmBd BT
> -rwxrwxrwx  1 an    staff         0 Mar 29  1999 TT Humanst521 RmBd BT
> -rwxrwxrwx  1 an    staff         0 Mar 30  1999 TT Staccato222 BT
> -rwxrwxrwx  1 an    staff         0 Mar 30  1999 TT TypoUpright BT
> -rw-rw-r--  1 root  admin   2586277 Jul 17  2002 Taipei.dfont
> -rw-rw-r--  1 root  admin     37732 Jul 15  2002 Thonburi.ttf
> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Times New Roman
> -rw-rw-r--  1 root  admin    374671 Jul 15  2002 TimesCY.dfont
> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Trebuchet MS
> -rwxr-xr--  1 an    admin     53888 Sep 16 12:17 UNIVCD.TTF
> -rwxr-xr--  1 an    admin     54264 Sep 16 12:17 UNIVCDB.TTF
> -rwxr-xr--  1 an    admin     57676 Sep 16 12:17 UNIVCDBI.TTF
> -rwxr-xr--  1 an    admin     56468 Sep 16 12:17 UNIVCDI.TTF
> -rwxr-xr--  1 an    admin     53304 Sep 16 12:18 UNIVER.TTF
> -rwxr-xr--  1 an    admin     55308 Sep 16 12:17 UNIVERB.TTF
> -rwxr-xr--  1 an    admin     56864 Sep 16 12:17 UNIVERBI.TTF
> -rwxr-xr--  1 an    admin     56984 Sep 16 12:17 UNIVERI.TTF
> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Verdana
> -rw-rw-r--  1 root  admin         0 Feb 25  2003 Webdings
> -rw-rw-r--  1 root  admin    524186 Dec 20  2002 Zapfino.dfont
> -rwxr-xr--  1 an    admin      7996 Sep 16 12:17 cave_signatures.ttf
> -rwxr-xr--  1 an    admin     35872 Sep 16 12:18 hum777b.ttf
> -rwxr-xr--  1 an    admin     37880 Sep 16 12:17 hum777bi.ttf
> -rwxr-xr--  1 an    admin     37140 Sep 16 12:18 hum777i.ttf
> -rwxr-xr--  1 an    admin     36584 Sep 16 12:18 hum777k.ttf
> -rwxr-xr--  1 an    admin     37844 Sep 16 12:18 hum777ki.ttf
> -rwxr-xr--  1 an    admin     34428 Sep 16 12:18 hum777l.ttf
> -rwxr-xr--  1 an    admin     35808 Sep 16 12:18 hum777li.ttf
> -rwxr-xr--  1 an    admin     35340 Sep 16 12:17 hum777n.ttf
> -rwxr-xr--  1 an    admin      4640 Sep 16 12:17  
> topographische_signaturen.ttf
> [Andreas-Neumanns-Computer:/Library/Fonts] an%
>
> ----------
>
> any idea what could be wrong? I have to admit that I don't know  
> anything about
> Fonts on MacOSX, since I just recently switched from Linux/Windows to  
> MacOSX and
> am pretty new on Mac ...
>
> Thanks for any hint,
> Andreas
>
> --     
> He who asks is a fool for five minutes,
> but he who does not ask remains a fool forever.
> -- Chinese Proverb 
>
> ----------------------------------------------
> Andreas Neumann - Department of Cartography
> Swiss Federal Institute of Technology (ETH)
> ETH Hoenggerberg, CH-8093  Zurich, Switzerland
> Phone: ++41-1-633 3031, Fax: ++41-1-633 1153
> e-mail: neumann@karto.baug.ethz.ch
> www: http://www.karto.ethz.ch/neumann/
> SVG.Open/Carto.net: http://www.svgopen.org/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org