This commit is contained in:
Martin Pernollet 2017-05-28 22:07:26 +02:00
parent c0bd151726
commit 07dc41796d
3 changed files with 4 additions and 3 deletions

2
.gitignore vendored
View File

@ -15,3 +15,5 @@ target
*/.settings */.settings
jzy3d-jdt-core/.classpath jzy3d-jdt-core/.classpath
jzy3d-api/data/objfiles/dragon.obj

View File

@ -2,6 +2,7 @@ package org.jzy3d.plot3d.rendering.canvas;
import org.jzy3d.plot3d.rendering.ordering.AbstractOrderingStrategy; import org.jzy3d.plot3d.rendering.ordering.AbstractOrderingStrategy;
import org.jzy3d.plot3d.rendering.view.View; import org.jzy3d.plot3d.rendering.view.View;
import org.jzy3d.plot3d.text.renderers.TextBitmapRenderer.Font;
import com.jogamp.opengl.util.Animator; import com.jogamp.opengl.util.Animator;

View File

@ -45,9 +45,7 @@ public class TextBitmapRenderer extends AbstractTextRenderer implements ITextRen
* non ascii caracter will be replaced by a square. * non ascii caracter will be replaced by a square.
*/ */
public TextBitmapRenderer() { public TextBitmapRenderer() {
super(); this(Font.Helvetica_10);
font = GLUT.BITMAP_HELVETICA_10;
fontHeight = 10;
} }
public TextBitmapRenderer(Font font) { public TextBitmapRenderer(Font font) {