diff options
author | Sven Gothel <[email protected]> | 2011-03-30 06:59:43 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-03-30 06:59:43 +0200 |
commit | 55356d999638491980a90cb2263b55c5d2e53e91 (patch) | |
tree | 711457c8b1bedcf1d71fd0ba0252155b2895ce7f /src/jogamp/graph/font/FontInt.java | |
parent | 5f0293b84d0146d9e750ea7e75caaa101ae3b3c3 (diff) |
Font Refactoring ; Misc Changes ; Demo/Test Update
Font Refactoring
- Notion of distributed FontSet
- FontFactory may produce FontSet and/or a Font by absolute ttf file path
- Adding support for free Ubuntu fonts
- Remove Vertex.Factory dependency for Font creation
- Typecast Impl
- Fix CmapTable selection
- Fix horizontal spacing of space
-
Misc Changes
- HwTextRenderer
- Offer reshape for perspective and orthogonal view
- Expose PMVMatrix, allowing user to setup their own view math.
Demo Update
- Dump font set a-zA-Z...
- Dump 'lazy dog ..' text
- Action:
- s: toogle 'font set'
- f: toggle fps
- v: toggle v-sync
- space: toggle font (ubuntu/java)
- formated screenshot filename w/ font name
Test Update:
- add font set iteration
Diffstat (limited to 'src/jogamp/graph/font/FontInt.java')
-rw-r--r-- | src/jogamp/graph/font/FontInt.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/jogamp/graph/font/FontInt.java b/src/jogamp/graph/font/FontInt.java index c18787723..4d9390da2 100644 --- a/src/jogamp/graph/font/FontInt.java +++ b/src/jogamp/graph/font/FontInt.java @@ -35,6 +35,12 @@ import com.jogamp.graph.font.Font; public interface FontInt extends Font { public interface Glyph extends Font.Glyph { + // reserved special glyph IDs + // http://scripts.sil.org/cms/scripts/page.php?item_id=IWS-Chapter08#ba57949e + public static final int ID_UNKNOWN = 0; + public static final int ID_CR = 2; + public static final int ID_SPACE = 3; + public Path2D getPath(); // unscaled path public Path2D getPath(float pixelSize); } |