summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/graph/font
diff options
context:
space:
mode:
Diffstat (limited to 'src/jogl/classes/jogamp/graph/font')
-rw-r--r--src/jogl/classes/jogamp/graph/font/typecast/TypecastFont.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/jogamp/graph/font/typecast/TypecastFont.java b/src/jogl/classes/jogamp/graph/font/typecast/TypecastFont.java
index 3cd9ab7c1..a75c5e02c 100644
--- a/src/jogl/classes/jogamp/graph/font/typecast/TypecastFont.java
+++ b/src/jogl/classes/jogamp/graph/font/typecast/TypecastFont.java
@@ -224,7 +224,7 @@ class TypecastFont implements Font {
@Override
public final float getPixelSize(float fontSize /* points per inch */, float resolution) {
- return fontSize * resolution / ( 72 /* points per inch */ );
+ return fontSize * resolution / ( 72f /* points per inch */ );
}
@Override