Changeset 983 for trunk/src/org/expeditee
- Timestamp:
- 12/14/15 13:47:01 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/items/Text.java
r982 r983 183 183 184 184 try { 185 //Font customFont = Font.createFont(Font.TRUETYPE_FONT, fontFile).deriveFont(32f);186 185 Font font = Font.createFont(Font.TRUETYPE_FONT, fontFile); 187 186 … … 190 189 if (registered_status_ok) { 191 190 192 //System.out.println("*** Just added custom TTF font file: " + fontFile);193 //System.out.println("Added Font Family: '" + font.getFamily() + "'");194 195 191 String font_family = font.getFamily(); 196 192 if (!FONT_WHEEL_ADDITIONAL_LOOKUP.containsKey(font_family)) { … … 216 212 System.err.println("Error: Failed to add custom True-Type Font file: " + fontFile); 217 213 } 218 219 220 //String []fontFamilies = ge.getAvailableFontFamilyNames(); 221 //for (String n: fontFamilies) { 222 // System.out.println("font family name: " + n); 223 //} 224 //System.out.println("===="); 225 214 226 215 } 227 216 catch (Exception e) {
Note:
See TracChangeset
for help on using the changeset viewer.