src/Pure/General/http.scala
changeset 65083 9a0e34edfad1
parent 65081 c20905a5bc8e
child 65084 23202c455a3e
--- a/src/Pure/General/http.scala	Thu Mar 02 15:46:27 2017 +0100
+++ b/src/Pure/General/http.scala	Thu Mar 02 15:56:43 2017 +0100
@@ -132,10 +132,7 @@
 
   private lazy val isabelle_fonts: SortedMap[String, Bytes] =
     SortedMap(
-      (for {
-        variable <- List("ISABELLE_FONTS", "ISABELLE_FONTS_HTML")
-        path <- Path.split(Isabelle_System.getenv_strict(variable))
-      } yield (path.base.implode -> Bytes.read(path))): _*)
+      Isabelle_System.fonts(html = true).map(path => (path.base.implode -> Bytes.read(path))): _*)
 
   def fonts(root: String = "/fonts"): Handler =
   {