/** * Register a ttf- or a ttc-file. * * @param path the path to a ttf- or ttc-file */ public static void register(final String path) { register(path, null); }
/** * Register a ttf- or a ttc-file. * * @param path the path to a ttf- or ttc-file */ public static void register(final String path) { register(path, null); }
cb.transform(AffineTransform.getTranslateInstance(translateX, translateY)); FontFactory.register("/org/gephi/preview/fonts/LiberationSans.ttf", "ArialMT");