Openmoko Bug #2168: Java application no longer working after this morning's opkg update && upgrade
Openmoko Public Trac
bugs at docs.openmoko.org
Wed Dec 10 13:13:11 CET 2008
#2168: Java application no longer working after this morning's opkg update &&
upgrade
-------------------------+--------------------------------------------------
Reporter: iknowjoseph | Owner: openmoko-devel
Type: defect | Status: new
Priority: normal | Milestone:
Component: unknown | Version: unspecified
Severity: normal | Keywords:
Haspatch: 0 | Blockedby:
Estimated: | Patchreview:
Blocking: | Reproducible:
-------------------------+--------------------------------------------------
Comment(by jldominguez):
It seems like this line is causing the problem:
...
public static final Font TILE_PROBLEM_FONT = new Font("Dialog", 3, 12);
...
We have not changed that line recently. It used to work. For your
information, from the Font class doc:
"style - the style constant for the Font The style argument is an integer
bitmask that may be PLAIN, or a bitwise union of BOLD and/or ITALIC (for
example, ITALIC or BOLD|ITALIC). If the style argument does not conform to
one of the expected integer bitmasks then the style is set to PLAIN."
java.awt.Font
public static final int BOLD 1
public static final int CENTER_BASELINE 1
public static final int HANGING_BASELINE 2
public static final int ITALIC 2
public static final int LAYOUT_LEFT_TO_RIGHT 0
public static final int LAYOUT_NO_LIMIT_CONTEXT 4
public static final int LAYOUT_NO_START_CONTEXT 2
public static final int LAYOUT_RIGHT_TO_LEFT 1
public static final int PLAIN 0
public static final int ROMAN_BASELINE 0
public static final int TRUETYPE_FONT 0
--
Ticket URL: <https://docs.openmoko.org/trac/ticket/2168#comment:1>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac
More information about the devel
mailing list