< prev index next >
modules/javafx.graphics/src/main/java/com/sun/javafx/font/directwrite/DWFactory.java
Print this page
*** 46,56 ****
* method which fails gracefully (returns NULL) when the system does
* not support DirectWrite.
*/
if (getDWriteFactory() == null) {
/* Returning null here indicates to the PrismFontFactory
! * to fallback to T2K. */
return null;
}
return new DWFactory();
}
--- 46,56 ----
* method which fails gracefully (returns NULL) when the system does
* not support DirectWrite.
*/
if (getDWriteFactory() == null) {
/* Returning null here indicates to the PrismFontFactory
! * to throw an Error . */
return null;
}
return new DWFactory();
}
< prev index next >