shithub: freetype+ttf2subf

Download patch

ref: 5594fa549dd5848a6b7a53e8082b02940b139c8b
parent: 433295ab6ec39e456b344f6b132516790c57cbf0
author: Werner Lemberg <[email protected]>
date: Thu Nov 27 05:50:50 EST 2014

* src/tools/docmaker/tohtml.py: Replace `<center>' with `<div>'.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2014-11-27  Werner Lemberg  <[email protected]>
 
+	* src/tools/docmaker/tohtml.py: Replace `<center>' with `<div>'.
+
+2014-11-27  Werner Lemberg  <[email protected]>
+
 	* src/tools/docmaker/tohtml.py: Remove redundant `<center>' tags.
 
 	This starts a series of commits into the direction of generating
--- a/src/tools/docmaker/tohtml.py
+++ b/src/tools/docmaker/tohtml.py
@@ -43,6 +43,9 @@
          color: #000000;
          background: #FFFFFF; }
 
+  div.timestamp { text-align: center;
+                  font-size: 69%; }
+
   h1 { text-align: center; }
 
   li { text-align: justify; }
@@ -233,9 +236,9 @@
           + html_header_5t + project_title
           + html_header_6 )
         self.html_footer = (
-          '<center><font size="-2">generated on '
+          '<div class="timestamp">generated on '
           + time.asctime( time.localtime( time.time() ) )
-          + "</font></center>" + html_footer )
+          + "</div>" + html_footer )
 
         self.columns = 3