Share

Jump

Tracker: Bugs

5 Custom Fonts Don't Display in White - ID: 1005987
Last Update: Comment added ( uschafer )

As shown by the following example, a program which
displays white text using a custom font will not draw
the text once "jumped".

I've played around with it a bit, and it seems that
while Color(200,200,200) succeeds, Color(250,250,250)
fails. This is exceedingly weird.

import waba.fx.Color;
import waba.fx.Font;
import waba.ui.MainWindow;

public class Delme extends MainWindow
{
Font hebFont;

public Delme()
{
super("tbc ynmz", ROUND_BORDER);
setBackColor(new Color(255, 255, 255));
hebFont = new Font("Hebrew", Font.PLAIN, 14);
setTitleFont(hebFont);
}
}


Nobody/Anonymous ( nobody ) - 2004-08-09 14:32

5

Open

None

Nobody/Anonymous

None

None

Public


Comment ( 1 )




Date: 2004-09-07 02:32
Sender: uschafer

Logged In: YES
user_id=1100882

In the hopes of stirring up some attention, I'm going to
post all the pieces needed to reproduce this bug (not that
they're so exotic...)

Delme.rcp:
----------

VERSION "1.0"
ICONFAMILY "icon.bmp" "" "" "icon8.bmp" nocolortable
SMALLICON "smallicon.bmp"

Makefile:
---------

Delme.class : Delme.java
javac -g Delme.java -target 1.1 -classpath
.../SuperWabaSDK/lib/SuperWaba.jar\;.

Delme.pdb : Delme.class
java -classpath
.../SuperWabaSDK/utils\;.../SuperWabaSDK/lib/SuperWaba.jar
Warp c Delme Delme.class

Delme.res tver0001.bin tAIB03e8.bin tAIB03e9.bin : Delme.rcp
.../pilrc/pilrc.exe -R Delme.res Delme.rcp

Delme.asm : Delme.pdb
java -classpath
...swj/jar/swj.jar\;.../jump/jar/jump.jar\;Delme.pdb\;.../SuperWabaSDK/lib/
superwaba.jar Jump Delme

Delme.prc : Delme.res tver0001.bin tAIB03e8.bin tAIB03e9.bin
Delme.asm
.../pila/pila Delme.asm


Installing and running the resulting PRC into either the
Palm Simulator or an actual Palm displays an application
window with a seemingly empty title. Changing the Color
values to (246,246,246) (or any smaller number) makes the
title show up.

Any takers?


Log in to comment.

Attached File ( 1 )

Filename Description Download
HebrewLarge.pdb Custom font for example Download

Change ( 1 )

Field Old Value Date By
File Added 97005: HebrewLarge.pdb 2004-08-09 14:32 nobody