src/Pure/Thy/html.scala
changeset 70743 342b0a1fc86d
parent 69804 9efccbad7d42
child 71601 97ccf48c2f0c
--- a/src/Pure/Thy/html.scala	Sun Sep 22 16:25:09 2019 +0200
+++ b/src/Pure/Thy/html.scala	Sun Sep 22 19:04:11 2019 +0200
@@ -351,7 +351,7 @@
 
   def fonts_url(): String => String =
     (for (entry <- Isabelle_Fonts.fonts(hidden = true))
-     yield (entry.name -> Url.print_file(entry.path.file))).toMap
+     yield (entry.path.file_name -> Url.print_file(entry.path.file))).toMap
 
   def fonts_dir(prefix: String)(ttf_name: String): String =
     prefix + "/" + ttf_name