shithub: freetype+ttf2subf

Download patch

ref: 4654d76d39d1deae9e30af987b82fe4eb4234d7b
parent: ee42805e5f49ffc6c46d9f1045ca2fc63a09f246
author: David Turner <[email protected]>
date: Fri Jan 16 11:04:38 EST 2004

bug fix

git/fs: mount .git/fs: mount/attach disallowed
--- a/src/tools/docmaker/docbeauty.py
+++ b/src/tools/docmaker/docbeauty.py
@@ -1,6 +1,6 @@
 #!/usr/bin/env python
 #
-#  DocBeuaty 0.2 (c) 2003 David Turner <[email protected]>
+#  DocBeauty 0.1 (c) 2003 David Turner <[email protected]>
 #
 # This program is used to beautify the documentation comments used
 # in the FreeType 2 public headers.
@@ -20,7 +20,10 @@
 
 def beautify_block( block ):
     if block.content:
-        # only beautify documentation blocks
+        # convert all <XXXXX> tags to @XXXXX:
+        
+        
+        # now beautify the documentation "borders" themselves
         lines = [ " /*************************************************************************" ]
         for l in block.content:
             lines.append( "  *" + l )
--- a/src/tools/docmaker/sources.py
+++ b/src/tools/docmaker/sources.py
@@ -212,7 +212,7 @@
         # extract comment lines
         lines = []
 
-        for line0 in self.lines[1:]:
+        for line0 in self.lines:
             m = self.format.column.match( line0 )
             if m:
                 lines.append( m.group(1) )
@@ -223,7 +223,7 @@
             if len(l) > 0:
                 for tag in re_markup_tags:
                     if tag.match( l ):
-                        self.content = lines
+                        self.content = lines
                 return
 
     def location( self ):
@@ -304,7 +304,7 @@
                 if self.format.end.match( line ):
                     # that's a normal block end, add it to lines and
                     # create a new block
-                    # self.lines.append( line )
+                    self.lines.append( line )
                     self.add_block_lines()
 
                 elif self.format.column.match( line ):