XftFontDescription.st
branchjv
changeset 7723 620e91f9b082
parent 7720 8efc17a5de76
parent 7707 3205422f8332
child 7766 ba07a358cb4a
--- a/XftFontDescription.st	Sat Nov 26 21:38:57 2016 +0000
+++ b/XftFontDescription.st	Sat Nov 26 22:00:53 2016 +0000
@@ -444,13 +444,13 @@
 asNonXftFont
     |newFont|
 
-    newFont := FontDescription
-		    family:family
-		    face:face
-		    style:style
-		    size:(sizeUnit == #px ifTrue:[pixelSize] ifFalse:[size])
-		    sizeUnit:sizeUnit
-		    encoding:encoding.
+    newFont := Font
+                    family:family
+                    face:face
+                    style:style
+                    size:(sizeUnit == #px ifTrue:[pixelSize] ifFalse:[size])
+                    sizeUnit:sizeUnit
+                    encoding:encoding.
 
     ^ newFont
 ! !