]> git.wh0rd.org - fontconfig.git/commitdiff
Replace incorrect documentation uses of 'char' with 'FcChar8' (bug 13002).
authorKeith Packard <keithp@koto.keithp.com>
Sun, 4 Nov 2007 06:03:11 +0000 (23:03 -0700)
committerKeith Packard <keithp@koto.keithp.com>
Sun, 4 Nov 2007 06:03:11 +0000 (23:03 -0700)
doc/fcconfig.fncs
doc/fcfile.fncs
doc/fcfreetype.fncs
doc/fcpattern.fncs
doc/fontconfig-devel.sgml

index 0081d06575f7648b9c111fccc49870532186d87c..bf4f1dd5654f884f070dfe3ab7f61336cbe44b03 100644 (file)
@@ -123,7 +123,7 @@ filesystem.
 Returns the list of known configuration files used to generate <parameter>config</parameter>.
 @@
 
-@RET@           char *
+@RET@           FcChar8 *
 @FUNC@          FcConfigGetCache
 @TYPE1@         FcConfig *                      @ARG1@          config
 @PURPOSE@      DEPRECATED used to return per-user cache filename
@@ -183,7 +183,7 @@ Sets the rescan interval; returns FcFalse if an error occurred.
 @RET@           FcBool
 @FUNC@          FcConfigAppFontAddFile
 @TYPE1@         FcConfig *                     @ARG1@          config
-@TYPE2@                const char *                    @ARG2@          file
+@TYPE2@                const FcChar8 *                 @ARG2@          file
 @PURPOSE@      Add font file to font database
 @DESC@
 Adds an application-specific font to the configuration.
@@ -192,7 +192,7 @@ Adds an application-specific font to the configuration.
 @RET@           FcBool
 @FUNC@          FcConfigAppFontAddDir
 @TYPE1@         FcConfig *                     @ARG1@          config
-@TYPE2@                const char *                    @ARG1@          dir
+@TYPE2@                const FcChar8 *                 @ARG2@          dir
 @PURPOSE@      Add fonts from directory to font database
 @DESC@
 Scans the specified directory for fonts, adding each one found to the
@@ -291,9 +291,9 @@ Selects fonts matching <parameter>p</parameter>, creates patterns from those fon
 only the objects in <parameter>os</parameter> and returns the set of unique such patterns.
 @@
 
-@RET@           char *
+@RET@           FcChar8 *
 @FUNC@          FcConfigFilename
-@TYPE1@         const char *                    @ARG1@          name
+@TYPE1@         const FcChar8 *                        @ARG1@          name
 @PURPOSE@      Find a config file
 @DESC@
 Given the specified external entity name, return the associated filename.
index 98b8f81a8806b888bfc40accef7978f51ec25135..48213655457f743b68ddbb22dc7eec724d9bd285 100644 (file)
@@ -28,7 +28,7 @@
 @TYPE2@                FcStrSet *                      @ARG2@          dirs    
 @TYPE3@                FcFileCache *                   @ARG3@          cache   
 @TYPE4@                FcBlanks *                      @ARG4@          blanks  
-@TYPE5@                const char *                    @ARG5@          file    
+@TYPE5@                const FcChar8 *                 @ARG5@          file    
 @TYPE6@                FcBool%                                 @ARG6@          force   
 @PURPOSE@      scan a font file
 @DESC@
@@ -59,7 +59,7 @@ returns FcFalse.
 @TYPE2@                FcStrSet *                      @ARG2@          dirs    
 @TYPE3@                FcFileCache *                   @ARG3@          cache   
 @TYPE4@                FcBlanks *                      @ARG4@          blanks  
-@TYPE5@                const char *                    @ARG5@          dir     
+@TYPE5@                const FcChar8 *                 @ARG5@          dir     
 @TYPE6@                FcBool%                                 @ARG6@          force   
 @PURPOSE@      scan a font directory
 @DESC@
@@ -76,7 +76,7 @@ fontconfig selects which fonts to include.
 @FUNC@         FcDirSave 
 @TYPE1@                FcFontSet *                     @ARG1@          set     
 @TYPE2@                FcStrSet *                      @ARG2@          dirs    
-@TYPE3@                const char *                    @ARG3@          dir     
+@TYPE3@                const FcChar8 *                 @ARG3@          dir     
 @PURPOSE@      save a directory cache
 @DESC@
 Creates the per-directory cache file for <parameter>dir</parameter> and
index 935eacf9d479c694f6f8b818fc59abdf0d6e6c37..6eb29b1ebbcb94b7a9ce1b33fe9b63aaaf3469f3 100644 (file)
@@ -80,7 +80,7 @@ widths.
 #include &lt;fcfreetype.h&gt;
 @RET@           FcPattern *      
 @FUNC@          FcFreeTypeQuery 
-@TYPE1@         const char *                   @ARG1@          file      
+@TYPE1@         const FcChar8 *                        @ARG1@          file      
 @TYPE2@         int%                           @ARG2@          id      
 @TYPE3@         FcBlanks *                     @ARG3@          blanks      
 @TYPE4@         int *                          @ARG4@          count      
@@ -96,7 +96,7 @@ of fonts in 'file' is returned in 'count'.
 @RET@           FcPattern *      
 @FUNC@          FcFreeTypeQueryFace
 @TYPE1@                const FT_Face%                  @ARG1@          face
-@TYPE2@         const char *                   @ARG2@          file
+@TYPE2@         const FcChar8 *                        @ARG2@          file
 @TYPE3@         int%                           @ARG3@          id
 @TYPE4@         FcBlanks *                     @ARG4@          blanks
 @PURPOSE@      compute pattern from FT_Face
index 74f367587d7293911386730cdac8da69603a7637..a346cc59811f21154e71b1b4218e291e5b1f3b6e 100644 (file)
@@ -132,7 +132,7 @@ values added to the list have binding <parameter>weak</parameter> instead of <pa
 @FUNC++@       FcPatternAddString
 @TYPE1++@      FcPattern *                     @ARG1++@        p
 @TYPE2++@      const char *                    @ARG2++@        object
-@TYPE3++@      const char *                    @ARG3++@        s
+@TYPE3++@      const FcChar8 *                 @ARG3++@        s
 
 @PROTOTYPE+++@
 @RET+++@       FcBool
@@ -214,7 +214,7 @@ within the pattern directly.  Applications must not free this value.
 @TYPE1++@      FcPattern *                     @ARG1++@        p
 @TYPE2++@      const char *                    @ARG2++@        object
 @TYPE3++@      int%                            @ARG3++@        n
-@TYPE4++@      char **const                    @ARG4++@        s
+@TYPE4++@      FcChar8 **                      @ARG4++@        s
 
 @PROTOTYPE+++@
 @RET+++@       FcResult
@@ -356,7 +356,7 @@ specified point size (default 12), dpi (default 75) and scale (default 1).
 
 @RET@          FcPattern *
 @FUNC@         FcNameParse
-@TYPE1@                const char *                    @ARG1@          name 
+@TYPE1@                const FcChar8 *                 @ARG1@          name 
 @PURPOSE@      Parse a pattern string
 @DESC@
 Converts <parameter>name</parameter> from the standard text format described above into a pattern.
index d44852416d6180bc95d70991431386ec3d11e15d..3f91e642c5ab6430bd4ae6e5534499c4edb159f1 100644 (file)
@@ -269,7 +269,7 @@ types.  The 'type' tag indicates which member is valid.
         FcTypeVoid      (none)          (none)
         FcTypeInteger   i               int
         FcTypeDouble    d               double
-        FcTypeString    s               char *
+        FcTypeString    s               FcChar8 *
         FcTypeBool      b               b
         FcTypeMatrix    m               FcMatrix *
         FcTypeCharSet   c               FcCharSet *