Changeset 14328 in josm for trunk/src/com/kitfox/svg/Text.java
- Timestamp:
- 2018-10-14T15:15:50+02:00 (8 years ago)
- File:
-
- 1 edited
-
trunk/src/com/kitfox/svg/Text.java (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/com/kitfox/svg/Text.java
r11525 r14328 272 272 for (int i = 0; i < families.length; ++i) 273 273 { 274 font = diagram.getUniverse().getFont(f ontFamily);274 font = diagram.getUniverse().getFont(families[i]); 275 275 if (font != null) 276 276 { … … 278 278 } 279 279 } 280 280 281 281 if (font == null) 282 282 { 283 font = new FontSystem(fontFamily, fontStyle, fontWeight, (int)fontSize); 283 //Check system fonts 284 font = FontSystem.createFont(fontFamily, fontStyle, fontWeight, (int)fontSize); 285 } 286 287 if (font == null) 288 { 289 font = FontSystem.createFont("Serif", fontStyle, fontWeight, fontStyle); 284 290 } 285 291
Note:
See TracChangeset
for help on using the changeset viewer.
