[messages] [Technical Support & Bugs] Missing Card Text, Glitchy maps

Joel Uckelman uckelman at nomic.net
Fri Feb 1 05:23:16 MST 2013


Thus spake JoelCFC25:
> Here's a link to the errorLog generated by this test build on my iMac
> (OS 10.7.5, Java 1.6.0_u37).  
> http://dl.dropbox.com/u/18916235/errorLog[1]
> 
> I used the Washington's War module as a test. There were no drawing
> errors that I could spot, and I went through all the zoom levels.
> 
> [1] http://dl.dropbox.com/u/18916235/errorLog
> 

Thanks!

> 2013-01-31 19:35:26,663 [3-main] INFO  VASSAL.launch.StartUp - Starting
> 2013-01-31 19:35:26,676 [3-main] INFO  VASSAL.launch.StartUp - OS Mac OS X
> 2013-01-31 19:35:26,676 [3-main] INFO  VASSAL.launch.StartUp - Java version 1.6.0_37
> 2013-01-31 19:35:26,677 [3-main] INFO  VASSAL.launch.StartUp - VASSAL version 3.2.3-svn8523
> 2013-01-31 19:35:26,677 [3-main] INFO  VASSAL.launch.Launcher - Player
> 2013-01-31 19:35:28,489 [3-AWT-EventQueue-0] WARN  VASSAL.tools.logging.LoggedOutputStream - compatOpaque == 1
> 2013-01-31 19:35:28,489 [3-AWT-EventQueue-0] WARN  VASSAL.tools.logging.LoggedOutputStream - compatTrans == 2
> 2013-01-31 19:35:29,759 [3-AWT-EventQueue-0] WARN  VASSAL.launch.BasicModule - Washington's War version 1.4
> 2013-01-31 19:35:35,836 [3-AWT-EventQueue-0] WARN  VASSAL.tools.logging.LoggedOutputStream - Tile type == 3, zoom == 0.6
> ...
> 2013-01-31 19:35:39,413 [3-AWT-EventQueue-0] WARN  VASSAL.tools.logging.LoggedOutputStream - Tile type == 1, zoom == 1.0
> ...
> 2013-01-31 19:35:47,944 [3-AWT-EventQueue-0] WARN  VASSAL.tools.logging.LoggedOutputStream - Tile type == 3, zoom == 0.8

This confirms for me that our scaler is not at fault, since non-power-
of-two zoom levels work for you and use TYPE_INT_ARGB_PRE images on your
Mac.

My guess is that if we make the non-pot tiles TYPE_INT_ARGB instead of
TYPE_INT_ARGB_PRE, then they'll draw properly on Macs with Retina
displays. (They *should* be drawing properly now---this is definitely
a bug in Java.)

I am wondering why we're not supplying the image types Java tells us are
preferred for the non-pot tiles in this case---they should be
TYPE_INT_ARGB, not TYPE_INT_ARGB_PRE---but that's not the cause of the
drawing problem on Macs with Retina displays.

-- 
J.


More information about the messages mailing list