HEX
Server: Apache
System: Linux sg241.singhost.net 2.6.32-896.16.1.lve1.4.51.el6.x86_64 #1 SMP Wed Jan 17 13:19:23 EST 2018 x86_64
User: honghock (909)
PHP: 8.0.30
Disabled: passthru,system,shell_exec,show_source,exec,popen,proc_open
Upload Files
File: //usr/share/groff/1.18.1.4/font/devdvi/generate/CompileFonts
#! /bin/sh
# Compile fonts in the sizes needed by groff.
sizes="5 6 7 8 9 10 10.95 12 14 14.40 16 17.28 18 20 20.74 22 24 24.88 28 36"
fonts="cmr10 cmti10 cmbx10 cmbxti10 cmtt10 cmex10 cmmi10 cmsy10 cmss10 cmssbx10 cmssi10"
mode=cx
dpi=300

for f in $fonts; do
    for s in $sizes; do
	virmf "&cm \\mode=$mode; mag=$s/10; batchmode; input $f" >/dev/null
	mag=`expr $s \* $dpi / 10`
	gftopk $f.${mag}gf >/dev/null
	rm $f.${mag}gf
    done
done