Skip to content

Commit b8685c8

Browse files
authored
Merge pull request #22 from VisualDataWeb/patch-issue-21
Merge: Issue 21 / Chinese characters
2 parents 9a8d4e1 + 5bfcb92 commit b8685c8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/org/visualdataweb/vowl/rendering/TextLayoutDecorator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public void run(double frac) {
5252
int colorBlue = (Integer) decoratedItem.get(colorBlueColum);
5353
int textSize = (Integer) decoratedItem.get(textSizeColum);
5454
decorator.setTextColor(ColorLib.rgb(colorRed, colorGreen, colorBlue));
55-
decorator.setFont(FontLib.getFont("Tahoma", textSize));
55+
decorator.setFont(FontLib.getFont("Dialog", textSize));
5656
}
5757

5858
/** NODES ONLY **/

src/main/java/org/visualdataweb/vowl/types/FontUsed.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
public class FontUsed {
1414

15-
private static Font usedFont = FontLib.getFont("Helvetica", 10);
15+
private static Font usedFont = new Font(Font.SANS_SERIF, Font.PLAIN, 10); //FontLib.getFont("SansSerif", 10);
1616

1717
/**
1818
* returns the used font

0 commit comments

Comments
 (0)