src/Pure/GUI/gui.scala
changeset 69355 cdc2de88d657
parent 69343 395c4fb15ea2
child 69357 acd0d72c560b
--- a/src/Pure/GUI/gui.scala	Wed Nov 28 11:06:58 2018 +0100
+++ b/src/Pure/GUI/gui.scala	Wed Nov 28 11:28:02 2018 +0100
@@ -242,8 +242,8 @@
   def install_fonts()
   {
     val ge = GraphicsEnvironment.getLocalGraphicsEnvironment()
-    for (font <- Isabelle_System.fonts())
-      ge.registerFont(Font.createFont(Font.TRUETYPE_FONT, font.file))
+    for (path <- Isabelle_Fonts.files())
+      ge.registerFont(Font.createFont(Font.TRUETYPE_FONT, path.file))
   }
 }