summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2010-12-20 20:22:53 +0900
committerAkira TAGOH <akira@tagoh.org>2010-12-20 20:22:53 +0900
commit456c41b69be22e0675b50969ec971d8105276f66 (patch)
tree27ed6dd60c38cd41a383600f62230af722f7e97f
parent7fd50efc49fe9c1e4850b4a555181227c6e28315 (diff)
downloadfonts-sig-456c41b69be22e0675b50969ec971d8105276f66.zip
fonts-sig-456c41b69be22e0675b50969ec971d8105276f66.tar.gz
fonts-sig-456c41b69be22e0675b50969ec971d8105276f66.tar.xz
add cssHEADmaster
-rwxr-xr-xfontslist/fontslist.rb10
1 files changed, 9 insertions, 1 deletions
diff --git a/fontslist/fontslist.rb b/fontslist/fontslist.rb
index 1bc8cfb..0e868e6 100755
--- a/fontslist/fontslist.rb
+++ b/fontslist/fontslist.rb
@@ -125,7 +125,15 @@ lang2pkg.each do |l,v|
end
end
-print "<head><title>fonts list</title></head>\n"
+print "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n"
+print "<head><title>fonts list</title><style type=\"text/css\">\n"
+print "table {\n"
+print " border-collapse: collapse;\n"
+print "}\n"
+print "table, th, td {\n"
+print " border: 1px solid black;\n"
+print "}"
+print "</style></head>\n"
print "<body><table><thead><tr><th>language</th><th>sans</th><th>serif</th><th>monospace</th><th>other</th></tr></thead>\n"
print "<tbody>"
lang2pkg.keys.sort.each do |l|