Jeremy Quinn wrote:
> 
> On Saturday, May 10, 2003, at 10:56 AM, Hussein Shafie wrote:
> 
> > Jeremy Quinn wrote:
> >>
> >> Anyone know a way to fix this exception while attempting to start XXE
> >> in MacOSX (10.2.6, JVM 1.4.1_01)?
> >>
> >> [tintin:~/Downloads/xxe-std-23] jermq% ./xxe
> >> 2003-05-08 18:27:16.871 java[891] Warning: Font
> >> LucidaSans-TypewriterBold claims fixed-pitch with 0 max advance!
> >> 2003-05-08 18:27:17.537 java[891] Font GB18030Bitmap: in
> >> _readBasicMetricsForSize, claims 0 max advance but is fixed-pitch.
> >> java.lang.reflect.InvocationTargetException
> >>          at
> >> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> >>          at
> >> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructo
> >> rA
> >> ccessorImpl.java:39)
> >>          at
> >> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCo
> >> ns
> >> tructorAccessorImpl.java:27)
> >>          at
> >> java.lang.reflect.Constructor.newInstance(Constructor.java:274)
> >>          at com.xmlmind.xmleditapp.app.Start.main(Start.java:170)
> >> Caused by: java.lang.NullPointerException
> >>          at
> >> sun.java2d.SunGraphicsEnvironment.getAvailableFontFamilyNames(SunGraph
> >> ic
> >> sEnvironment.java:327)
> >>          at
> >> sun.java2d.SunGraphicsEnvironment.getAvailableFontFamilyNames(SunGraph
> >> ic
> >> sEnvironment.java:359)
> >
> > I'm currently working on the XXE port on MacOSX. I use 10.2.5, I guess.
> > I'll upgrade to 10.2.6 It should be easy to find a workaround for this
> > problem (because it is documented by Apple).
> 
> Ah Ha!

Bad news. I upgraded to 10.2.6 and was not able to reproduce your
problem. Note that we have not installed extra fonts on our Mac.




> > By the way, tell me if in your environment, you can put the caret on
> > the
> > middle of the letter in a styled document view.
> 
> I don't know if I completely understand your question.
> 
> I find that the position of the caret or selection background colour is
> not always correct. ie. the dimensions of fonts are not correctly
> calculated.

Yes, it is this problem.




> > And if the answer is yes, in which circumstances.
> >
> > And if the answer is yes, have you found any workaround for this (e.g.
> > changing fonts using Options|Options, Style tab, special Java
> > properties
> > -Dxxx=yyy, etc).
> 
> I changed my default font to Trebuchet (I think), as the default
> (Lucida ?) had no italic. (This is off the top of my head, I cannot
> currently run XXE to check this info).

OK. I think Monaco works too. Note that this problem will be fixed in
the official MacOS release.

Reply via email to