Customer has a java application that must connect to an Xserver to render the image. When they use xfb in 24 bit depth the labels of the charts are black squares and not text. If they run in 8 bit depth teh lables are correct. The problem does not happen when it is run on Solaris 9 vfb. The problem also does not happen when attached to an Xserver that is using a framebuffer on both Solaris 9 and Solaris 10.
Instructions to reproduce:
Attached is the zip file ChartTest.tar.gz. Please extract it on Solaris
machine.
It will extract to:
$ ls -R
.:
ChartTest.jar lib
./lib:
jai_codec.jar log4j-1.2.6.jar velocity.jar
jai_core.jar pmstats-complete.jar
jcchart.jar qtv.jar
Steps to run the test app:
1. Extract the ChartTest.tar.gz
2. export DISPLAY=<IP Address of localhost>:1.0
3. Start Xsun in 8-bit depth as: /usr/openwin/bin/Xsun :1 +nkeyboard
+nmouse -dev vfb screen 0 1280x1024x8 &
4. Run java -jar ChartTest.jar
5. Output file "output.png" will be created. This image shows text
correctly in the image. Rename it as output8.png. It should look similar
to the attached image output8.png.
6. Kill the Xsun process.
7. Start Xsun in 24-bit depth as: /usr/openwin/bin/Xsun :1 +nkeyboard
+nmouse -dev vfb screen 0 1280x1024x24 &
8. Run java -jar ChartTest.jar
9. Output file "output.png" will be created. This image shows black
rectangles in place of text in the image. Rename it as output24.png. It
should look similar to the attached image output24.png.
The files are attached but are also available on:
/net/cores/cores/dir31/65302086