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 <[EMAIL PROTECTED]>:

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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]





-- 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: [EMAIL PROTECTED]
www: http://www.karto.ethz.ch/neumann/
SVG.Open/Carto.net: http://www.svgopen.org/

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



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



Reply via email to