Fixes a problem with Chinese text rendering, closes #369

This commit is contained in:
hneemann 2019-10-31 21:06:53 +01:00
parent c053a4e33a
commit 872c472bfe

View File

@ -167,7 +167,7 @@ public final class Style {
this.mattersForSize = builder.mattersForSize;
stroke = new BasicStroke(thickness, builder.endCap, BasicStroke.JOIN_MITER, 10f, dash, 0f);
font = new Font("Arial", fontStyle, fontSize);
font = new Font(null, fontStyle, fontSize);
}
/**