Can't use loaded font

<>

This question already has an answer here:

Answers


try this code. let me know if it works

try {
 GraphicsEnvironment ge = 
     GraphicsEnvironment.getLocalGraphicsEnvironment();
 ge.registerFont(Font.createFont(Font.TRUETYPE_FONT, new File("A.ttf")));
} catch (IOException|FontFormatException e) {
 //Handle exception
}

Need Your Help

yii2 dropdownlist onchange

php mysql drop-down-menu yii2

I am using GoogleChart API to show the customers' sales graphic.

how get index of HTML Table for given element using delphi

html delphi twebbrowser

I'm using Delphi 2009 and I want to find index of HTML table which contains given element.