projects
/
org.ibex.core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
580e799
)
Font.java misc bugfixes
author
adam
<adam@megacz.com>
Thu, 8 Apr 2004 02:33:19 +0000
(
02:33
+0000)
committer
adam
<adam@megacz.com>
Thu, 8 Apr 2004 02:33:19 +0000
(
02:33
+0000)
darcs-hash:
20040408023319
-5007d-
c45aa13b284997fdf5a064f692921734b3c85c6f
.gz
src/org/ibex/Font.java
patch
|
blob
|
history
diff --git
a/src/org/ibex/Font.java
b/src/org/ibex/Font.java
index
bbe0ac2
..
451672e
100644
(file)
--- a/
src/org/ibex/Font.java
+++ b/
src/org/ibex/Font.java
@@
-32,7
+32,10
@@
public class Font {
public int width = -1; ///< the width of the glyph
public int height = -1; ///< the height of the glyph
public byte[] data = null; ///< the alpha channel samples for this font
public int width = -1; ///< the width of the glyph
public int height = -1; ///< the height of the glyph
public byte[] data = null; ///< the alpha channel samples for this font
- void render() { if (!isLoaded) try { freetype.renderGlyph(this); } catch (IOException e) { Log.info(Freetype.class, e); } }
+ void render() {
+ if (!isLoaded) try { freetype.renderGlyph(this); } catch (IOException e) { Log.info(Freetype.class, e); }
+ isLoaded = true;
+ }
}
}