forked from I2P_Developers/i2p.i2p
rrd4j patch (ticket #2684)
So that DejaVu fonts are not required in the classpath. We set the default font to Monospaced. All fonts are then set in SummaryRenderer.
This commit is contained in:
@ -277,6 +277,7 @@ public interface RrdGraphConstants {
|
||||
* @return a new {@link java.awt.Font} instance
|
||||
*/
|
||||
public static Font getFont(int type, int size) {
|
||||
/*
|
||||
String fontPath;
|
||||
if (type == Font.BOLD)
|
||||
fontPath = "/DejaVuSansMono-Bold.ttf";
|
||||
@ -288,6 +289,8 @@ public interface RrdGraphConstants {
|
||||
} catch (FontFormatException | IOException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
*/
|
||||
return new Font("Monospaced", type, size);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,3 +1,6 @@
|
||||
2020-02-25 zzz
|
||||
* Replace jrobin with rrd4j 3.5 (ticket #2684)
|
||||
|
||||
* 2020-02-25 0.9.45 released
|
||||
|
||||
2020-02-21 zzz
|
||||
|
@ -18,7 +18,7 @@ public class RouterVersion {
|
||||
/** deprecated */
|
||||
public final static String ID = "Monotone";
|
||||
public final static String VERSION = CoreVersion.VERSION;
|
||||
public final static long BUILD = 0;
|
||||
public final static long BUILD = 1;
|
||||
|
||||
/** for example "-test" */
|
||||
public final static String EXTRA = "";
|
||||
|
Reference in New Issue
Block a user