diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/autohint/module.mk | 18 | ||||
-rw-r--r-- | src/base/ftnames.c | 43 | ||||
-rw-r--r-- | src/cff/module.mk | 15 | ||||
-rw-r--r-- | src/cid/module.mk | 15 | ||||
-rw-r--r-- | src/psaux/module.mk | 15 | ||||
-rw-r--r-- | src/psaux/rules.mk | 2 | ||||
-rw-r--r-- | src/psnames/module.mk | 15 | ||||
-rw-r--r-- | src/raster1/module.mk | 15 | ||||
-rw-r--r-- | src/sfnt/module.mk | 15 | ||||
-rw-r--r-- | src/smooth/module.mk | 15 | ||||
-rw-r--r-- | src/smooth/rules.mk | 2 | ||||
-rw-r--r-- | src/truetype/module.mk | 15 | ||||
-rw-r--r-- | src/type1z/module.mk | 15 | ||||
-rw-r--r-- | src/winfonts/module.mk | 15 |
14 files changed, 212 insertions, 3 deletions
diff --git a/src/autohint/module.mk b/src/autohint/module.mk index 71e5ee352..adbdc2313 100644 --- a/src/autohint/module.mk +++ b/src/autohint/module.mk @@ -1,3 +1,21 @@ +# +# FreeType 2 auto-hinter module definition +# + + +# Copyright 2000 Catharon Productions Inc. +# Author: David Turner +# +# This file is part of the Catharon Typography Project and shall only +# be used, modified, and distributed under the terms of the Catharon +# Open Source License that should come with this file under the name +# `CatharonLicense.txt'. By continuing to use, modify, or distribute +# this file you indicate that you have read the license and +# understand and accept it fully. +# +# Note that this license is compatible with the FreeType license. + + make_module_list: add_autohint_module add_autohint_module: diff --git a/src/base/ftnames.c b/src/base/ftnames.c index 852409f71..2791e7c20 100644 --- a/src/base/ftnames.c +++ b/src/base/ftnames.c @@ -3,7 +3,7 @@ /* ftnames.c */ /* */ /* Simple interface to access SFNT name tables (which are used */ -/* to hold font names, copyright info, notices, etc.). */ +/* to hold font names, copyright info, notices, etc.) (body). */ /* */ /* This is _not_ used to retrieve glyph names! */ /* */ @@ -26,12 +26,53 @@ #ifdef TT_CONFIG_OPTION_SFNT_NAMES + /*************************************************************************/ + /* */ + /* <Function> */ + /* FT_Get_Sfnt_Name_Count */ + /* */ + /* <Description> */ + /* Retrieves the number of name strings in the SFNT `name' table. */ + /* */ + /* <Input> */ + /* face :: A handle to the source face. */ + /* */ + /* <Return> */ + /* The number of strings in the `name' table. */ + /* */ FT_EXPORT_FUNC( FT_UInt ) FT_Get_Sfnt_Name_Count( FT_Face face ) { return face && ( FT_IS_SFNT( face ) ? ((TT_Face)face)->num_names : 0 ); } + /*************************************************************************/ + /* */ + /* <Function> */ + /* FT_Get_Sfnt_Name */ + /* */ + /* <Description> */ + /* Retrieves a string of the SFNT `name' table for a given index. */ + /* */ + /* <Input> */ + /* face :: A handle to the source face. */ + /* */ + /* index :: The index of the `name' string. */ + /* */ + /* <Output> */ + /* aname :: The indexed FT_SfntName structure. */ + /* */ + /* <Return> */ + /* FreeType error code. 0 means success. */ + /* */ + /* <Note> */ + /* The `string' array returned in the `aname' structure is not */ + /* null-terminated. */ + /* */ + /* Use FT_Get_Sfnt_Name_Count() to get the total number of available */ + /* `name' table entries, then do a loop until you get the right */ + /* platform, encoding, and name ID. */ + /* */ FT_EXPORT_FUNC( FT_Error ) FT_Get_Sfnt_Name( FT_Face face, FT_UInt index, FT_SfntName* aname ) diff --git a/src/cff/module.mk b/src/cff/module.mk index 9bc5c8f72..aae9bd7fe 100644 --- a/src/cff/module.mk +++ b/src/cff/module.mk @@ -1,3 +1,18 @@ +# +# FreeType 2 CFF module definition +# + + +# Copyright 1996-2000 by +# David Turner, Robert Wilhelm, and Werner Lemberg. +# +# This file is part of the FreeType project, and may only be used, modified, +# and distributed under the terms of the FreeType project license, +# LICENSE.TXT. By continuing to use, modify, or distribute this file you +# indicate that you have read the license and understand and accept it +# fully. + + make_module_list: add_cff_driver add_cff_driver: diff --git a/src/cid/module.mk b/src/cid/module.mk index 3d13c9ca1..f59d8a951 100644 --- a/src/cid/module.mk +++ b/src/cid/module.mk @@ -1,3 +1,18 @@ +# +# FreeType 2 CID module definition +# + + +# Copyright 1996-2000 by +# David Turner, Robert Wilhelm, and Werner Lemberg. +# +# This file is part of the FreeType project, and may only be used, modified, +# and distributed under the terms of the FreeType project license, +# LICENSE.TXT. By continuing to use, modify, or distribute this file you +# indicate that you have read the license and understand and accept it +# fully. + + make_module_list: add_type1cid_driver add_type1cid_driver: diff --git a/src/psaux/module.mk b/src/psaux/module.mk index cbc52c29a..29c3e28a9 100644 --- a/src/psaux/module.mk +++ b/src/psaux/module.mk @@ -1,3 +1,18 @@ +# +# FreeType 2 PSaux module definition +# + + +# Copyright 1996-2000 by +# David Turner, Robert Wilhelm, and Werner Lemberg. +# +# This file is part of the FreeType project, and may only be used, modified, +# and distributed under the terms of the FreeType project license, +# LICENSE.TXT. By continuing to use, modify, or distribute this file you +# indicate that you have read the license and understand and accept it +# fully. + + make_module_list: add_psaux_module add_psaux_module: diff --git a/src/psaux/rules.mk b/src/psaux/rules.mk index b314a05b7..ae182e243 100644 --- a/src/psaux/rules.mk +++ b/src/psaux/rules.mk @@ -1,5 +1,5 @@ # -# FreeType 2 PSAUX driver configuration rules +# FreeType 2 PSaux driver configuration rules # diff --git a/src/psnames/module.mk b/src/psnames/module.mk index 3d33c120d..e1e59c46b 100644 --- a/src/psnames/module.mk +++ b/src/psnames/module.mk @@ -1,3 +1,18 @@ +# +# FreeType 2 PSnames module definition +# + + +# Copyright 1996-2000 by +# David Turner, Robert Wilhelm, and Werner Lemberg. +# +# This file is part of the FreeType project, and may only be used, modified, +# and distributed under the terms of the FreeType project license, +# LICENSE.TXT. By continuing to use, modify, or distribute this file you +# indicate that you have read the license and understand and accept it +# fully. + + make_module_list: add_psnames_module add_psnames_module: diff --git a/src/raster1/module.mk b/src/raster1/module.mk index c1ceb2129..351b843a9 100644 --- a/src/raster1/module.mk +++ b/src/raster1/module.mk @@ -1,3 +1,18 @@ +# +# FreeType 2 renderer module definition +# + + +# Copyright 1996-2000 by +# David Turner, Robert Wilhelm, and Werner Lemberg. +# +# This file is part of the FreeType project, and may only be used, modified, +# and distributed under the terms of the FreeType project license, +# LICENSE.TXT. By continuing to use, modify, or distribute this file you +# indicate that you have read the license and understand and accept it +# fully. + + make_module_list: add_raster1_module add_raster1_module: diff --git a/src/sfnt/module.mk b/src/sfnt/module.mk index 48b494f4d..52607e2af 100644 --- a/src/sfnt/module.mk +++ b/src/sfnt/module.mk @@ -1,3 +1,18 @@ +# +# FreeType 2 SFNT module definition +# + + +# Copyright 1996-2000 by +# David Turner, Robert Wilhelm, and Werner Lemberg. +# +# This file is part of the FreeType project, and may only be used, modified, +# and distributed under the terms of the FreeType project license, +# LICENSE.TXT. By continuing to use, modify, or distribute this file you +# indicate that you have read the license and understand and accept it +# fully. + + make_module_list: add_sfnt_module add_sfnt_module: diff --git a/src/smooth/module.mk b/src/smooth/module.mk index b93bc4d3d..ead77cf30 100644 --- a/src/smooth/module.mk +++ b/src/smooth/module.mk @@ -1,3 +1,18 @@ +# +# FreeType 2 smooth renderer module definition +# + + +# Copyright 1996-2000 by +# David Turner, Robert Wilhelm, and Werner Lemberg. +# +# This file is part of the FreeType project, and may only be used, modified, +# and distributed under the terms of the FreeType project license, +# LICENSE.TXT. By continuing to use, modify, or distribute this file you +# indicate that you have read the license and understand and accept it +# fully. + + make_module_list: add_smooth_renderer add_smooth_renderer: diff --git a/src/smooth/rules.mk b/src/smooth/rules.mk index a81d60ae8..62febfadd 100644 --- a/src/smooth/rules.mk +++ b/src/smooth/rules.mk @@ -1,5 +1,5 @@ # -# FreeType 2 renderer module build rules +# FreeType 2 smooth renderer module build rules # diff --git a/src/truetype/module.mk b/src/truetype/module.mk index 79072bb54..bb042beae 100644 --- a/src/truetype/module.mk +++ b/src/truetype/module.mk @@ -1,3 +1,18 @@ +# +# FreeType 2 TrueType module definition +# + + +# Copyright 1996-2000 by +# David Turner, Robert Wilhelm, and Werner Lemberg. +# +# This file is part of the FreeType project, and may only be used, modified, +# and distributed under the terms of the FreeType project license, +# LICENSE.TXT. By continuing to use, modify, or distribute this file you +# indicate that you have read the license and understand and accept it +# fully. + + make_module_list: add_truetype_driver add_truetype_driver: diff --git a/src/type1z/module.mk b/src/type1z/module.mk index 545887d82..a9f9de411 100644 --- a/src/type1z/module.mk +++ b/src/type1z/module.mk @@ -1,3 +1,18 @@ +# +# FreeType 2 Type1z module definition +# + + +# Copyright 1996-2000 by +# David Turner, Robert Wilhelm, and Werner Lemberg. +# +# This file is part of the FreeType project, and may only be used, modified, +# and distributed under the terms of the FreeType project license, +# LICENSE.TXT. By continuing to use, modify, or distribute this file you +# indicate that you have read the license and understand and accept it +# fully. + + make_module_list: add_type1_driver add_type1_driver: diff --git a/src/winfonts/module.mk b/src/winfonts/module.mk index 5c12eb6ee..99be845c1 100644 --- a/src/winfonts/module.mk +++ b/src/winfonts/module.mk @@ -1,3 +1,18 @@ +# +# FreeType 2 Windows FNT/FON module definition +# + + +# Copyright 1996-2000 by +# David Turner, Robert Wilhelm, and Werner Lemberg. +# +# This file is part of the FreeType project, and may only be used, modified, +# and distributed under the terms of the FreeType project license, +# LICENSE.TXT. By continuing to use, modify, or distribute this file you +# indicate that you have read the license and understand and accept it +# fully. + + make_module_list: add_windows_driver add_windows_driver: |