src/Pure/Admin/build_fonts.scala
changeset 73317 df49ca5da9d0
parent 72763 3cc73d00553c
child 73340 0ffcad1f6130
equal deleted inserted replaced
73316:8664433956b3 73317:df49ca5da9d0
   242           for (hinted <- hinting) {
   242           for (hinted <- hinting) {
   243             val target_file = target_dir + hinted_path(hinted) + target_names.ttf
   243             val target_file = target_dir + hinted_path(hinted) + target_names.ttf
   244             progress.echo("Font " + target_file.toString + " ...")
   244             progress.echo("Font " + target_file.toString + " ...")
   245 
   245 
   246             if (hinted) auto_hint(source_file, tmp_file)
   246             if (hinted) auto_hint(source_file, tmp_file)
   247             else File.copy(source_file, tmp_file)
   247             else Isabelle_System.copy_file(source_file, tmp_file)
   248 
   248 
   249             Fontforge.execute(
   249             Fontforge.execute(
   250               Fontforge.commands(
   250               Fontforge.commands(
   251                 Fontforge.open(isabelle_file),
   251                 Fontforge.open(isabelle_file),
   252                 Fontforge.select(Range.isabelle_font),
   252                 Fontforge.select(Range.isabelle_font),
   326 isabelle_fonts_hidden "$COMPONENT/""" + hinted_path(false).file_name + """/Vacuous.ttf"
   326 isabelle_fonts_hidden "$COMPONENT/""" + hinted_path(false).file_name + """/Vacuous.ttf"
   327 """)
   327 """)
   328 
   328 
   329 
   329 
   330     // README
   330     // README
   331     File.copy(Path.explode("~~/Admin/isabelle_fonts/README"), target_dir)
   331     Isabelle_System.copy_file(Path.explode("~~/Admin/isabelle_fonts/README"), target_dir)
   332   }
   332   }
   333 
   333 
   334 
   334 
   335   /* Isabelle tool wrapper */
   335   /* Isabelle tool wrapper */
   336 
   336