Commit 9ac7fa16fffe2f2b3ce6e110efaf7b9d26f5f0a0

David Turner 2000-02-28T11:32:17

small update in config files

diff --git a/config/ansi/ftmodule.h b/config/ansi/ftmodule.h
index e87e49d..6d96b94 100644
--- a/config/ansi/ftmodule.h
+++ b/config/ansi/ftmodule.h
@@ -1,3 +1,4 @@
 FT_DRIVER(sfnt_driver_interface)
 FT_DRIVER(tt_driver_interface)
 FT_DRIVER(t1_driver_interface)
+FT_DRIVER(psnames_driver_interface)
diff --git a/config/ansi/ftoption.h b/config/ansi/ftoption.h
index 852f65f..3555227 100644
--- a/config/ansi/ftoption.h
+++ b/config/ansi/ftoption.h
@@ -31,6 +31,48 @@
 
   /*************************************************************************/
   /*                                                                       */
+  /* Glyph Postscript Names handling                                       */
+  /*                                                                       */
+  /*   By default, FreeType 2 is built with the "psnames" module compiled  */
+  /*   in. This module is in charge of converting a glyph name string into */
+  /*   a Unicode value, or return a Macintosh standard glyph name for the  */
+  /*   use with the TrueType "post" table.                                 */
+  /*                                                                       */
+  /*   Undefine this macro if you do not want the "psnames" compiled in    */
+  /*   your build of FreeType. This has the following effects :            */
+  /*                                                                       */
+  /*   - the TrueType driver will provide its own set of glyph names,      */
+  /*     if you build it to support postscript names in the TrueType       */
+  /*     "post" table.                                                     */
+  /*                                                                       */
+  /*   - the Type 1 driver will not be able to synthetize a                */
+  /*     Unicode charmap out of the glyphs found in the fonts.             */
+  /*                                                                       */
+  /*   You would normally undefine this configuration macro when           */
+  /*   building a version of FreeType that doesn't contain a Type 1        */
+  /*   or CFF driver.                                                      */
+  /*                                                                       */
+#define FT_CONFIG_OPTION_POSTSCRIPT_NAMES
+
+  /*************************************************************************/
+  /*                                                                       */
+  /* Postscript Names to Unicode Values support                            */
+  /*                                                                       */
+  /*   By default, FreeType 2 is built with the "psnames" module compiled  */
+  /*   in. Among other things, the module is used to convert a glyph       */
+  /*   name into a unicode value. This is especially useful in order to    */
+  /*   synthetize on the fly a Unicode charmap from the CFF/Type 1 driver  */
+  /*   through a big table named the "Adobe Glyph List".                   */
+  /*                                                                       */
+  /*   Undefine this macro if you do not want the Adobe Glyph List         */
+  /*   compiled in your "psnames" module. The Type 1 driver will not       */
+  /*   be able to synthetize a Unicode charmap out of the glyphs found     */
+  /*   in the fonts..                                                      */
+  /*                                                                       */
+#define FT_CONFIG_OPTION_ADOBE_GLYPH_LIST
+
+  /*************************************************************************/
+  /*                                                                       */
   /* GCC provides the non-ANSI `long long' 64-bit type.  You can activate  */
   /* it by defining the FTCALC_USE_LONG_LONG macro here.  Note however     */
   /* that we did not experience any improvement in speed with gcc, and     */
diff --git a/config/dos/ftmodule.h b/config/dos/ftmodule.h
index e87e49d..6d96b94 100644
--- a/config/dos/ftmodule.h
+++ b/config/dos/ftmodule.h
@@ -1,3 +1,4 @@
 FT_DRIVER(sfnt_driver_interface)
 FT_DRIVER(tt_driver_interface)
 FT_DRIVER(t1_driver_interface)
+FT_DRIVER(psnames_driver_interface)
diff --git a/config/dos/ftoption.h b/config/dos/ftoption.h
index 852f65f..3555227 100644
--- a/config/dos/ftoption.h
+++ b/config/dos/ftoption.h
@@ -31,6 +31,48 @@
 
   /*************************************************************************/
   /*                                                                       */
+  /* Glyph Postscript Names handling                                       */
+  /*                                                                       */
+  /*   By default, FreeType 2 is built with the "psnames" module compiled  */
+  /*   in. This module is in charge of converting a glyph name string into */
+  /*   a Unicode value, or return a Macintosh standard glyph name for the  */
+  /*   use with the TrueType "post" table.                                 */
+  /*                                                                       */
+  /*   Undefine this macro if you do not want the "psnames" compiled in    */
+  /*   your build of FreeType. This has the following effects :            */
+  /*                                                                       */
+  /*   - the TrueType driver will provide its own set of glyph names,      */
+  /*     if you build it to support postscript names in the TrueType       */
+  /*     "post" table.                                                     */
+  /*                                                                       */
+  /*   - the Type 1 driver will not be able to synthetize a                */
+  /*     Unicode charmap out of the glyphs found in the fonts.             */
+  /*                                                                       */
+  /*   You would normally undefine this configuration macro when           */
+  /*   building a version of FreeType that doesn't contain a Type 1        */
+  /*   or CFF driver.                                                      */
+  /*                                                                       */
+#define FT_CONFIG_OPTION_POSTSCRIPT_NAMES
+
+  /*************************************************************************/
+  /*                                                                       */
+  /* Postscript Names to Unicode Values support                            */
+  /*                                                                       */
+  /*   By default, FreeType 2 is built with the "psnames" module compiled  */
+  /*   in. Among other things, the module is used to convert a glyph       */
+  /*   name into a unicode value. This is especially useful in order to    */
+  /*   synthetize on the fly a Unicode charmap from the CFF/Type 1 driver  */
+  /*   through a big table named the "Adobe Glyph List".                   */
+  /*                                                                       */
+  /*   Undefine this macro if you do not want the Adobe Glyph List         */
+  /*   compiled in your "psnames" module. The Type 1 driver will not       */
+  /*   be able to synthetize a Unicode charmap out of the glyphs found     */
+  /*   in the fonts..                                                      */
+  /*                                                                       */
+#define FT_CONFIG_OPTION_ADOBE_GLYPH_LIST
+
+  /*************************************************************************/
+  /*                                                                       */
   /* GCC provides the non-ANSI `long long' 64-bit type.  You can activate  */
   /* it by defining the FTCALC_USE_LONG_LONG macro here.  Note however     */
   /* that we did not experience any improvement in speed with gcc, and     */
diff --git a/config/os2/ftoption.h b/config/os2/ftoption.h
index 852f65f..3555227 100644
--- a/config/os2/ftoption.h
+++ b/config/os2/ftoption.h
@@ -31,6 +31,48 @@
 
   /*************************************************************************/
   /*                                                                       */
+  /* Glyph Postscript Names handling                                       */
+  /*                                                                       */
+  /*   By default, FreeType 2 is built with the "psnames" module compiled  */
+  /*   in. This module is in charge of converting a glyph name string into */
+  /*   a Unicode value, or return a Macintosh standard glyph name for the  */
+  /*   use with the TrueType "post" table.                                 */
+  /*                                                                       */
+  /*   Undefine this macro if you do not want the "psnames" compiled in    */
+  /*   your build of FreeType. This has the following effects :            */
+  /*                                                                       */
+  /*   - the TrueType driver will provide its own set of glyph names,      */
+  /*     if you build it to support postscript names in the TrueType       */
+  /*     "post" table.                                                     */
+  /*                                                                       */
+  /*   - the Type 1 driver will not be able to synthetize a                */
+  /*     Unicode charmap out of the glyphs found in the fonts.             */
+  /*                                                                       */
+  /*   You would normally undefine this configuration macro when           */
+  /*   building a version of FreeType that doesn't contain a Type 1        */
+  /*   or CFF driver.                                                      */
+  /*                                                                       */
+#define FT_CONFIG_OPTION_POSTSCRIPT_NAMES
+
+  /*************************************************************************/
+  /*                                                                       */
+  /* Postscript Names to Unicode Values support                            */
+  /*                                                                       */
+  /*   By default, FreeType 2 is built with the "psnames" module compiled  */
+  /*   in. Among other things, the module is used to convert a glyph       */
+  /*   name into a unicode value. This is especially useful in order to    */
+  /*   synthetize on the fly a Unicode charmap from the CFF/Type 1 driver  */
+  /*   through a big table named the "Adobe Glyph List".                   */
+  /*                                                                       */
+  /*   Undefine this macro if you do not want the Adobe Glyph List         */
+  /*   compiled in your "psnames" module. The Type 1 driver will not       */
+  /*   be able to synthetize a Unicode charmap out of the glyphs found     */
+  /*   in the fonts..                                                      */
+  /*                                                                       */
+#define FT_CONFIG_OPTION_ADOBE_GLYPH_LIST
+
+  /*************************************************************************/
+  /*                                                                       */
   /* GCC provides the non-ANSI `long long' 64-bit type.  You can activate  */
   /* it by defining the FTCALC_USE_LONG_LONG macro here.  Note however     */
   /* that we did not experience any improvement in speed with gcc, and     */
diff --git a/config/unix/ftmodule.h b/config/unix/ftmodule.h
index e87e49d..6d96b94 100644
--- a/config/unix/ftmodule.h
+++ b/config/unix/ftmodule.h
@@ -1,3 +1,4 @@
 FT_DRIVER(sfnt_driver_interface)
 FT_DRIVER(tt_driver_interface)
 FT_DRIVER(t1_driver_interface)
+FT_DRIVER(psnames_driver_interface)
diff --git a/config/unix/ftoption.h b/config/unix/ftoption.h
index 852f65f..3555227 100644
--- a/config/unix/ftoption.h
+++ b/config/unix/ftoption.h
@@ -31,6 +31,48 @@
 
   /*************************************************************************/
   /*                                                                       */
+  /* Glyph Postscript Names handling                                       */
+  /*                                                                       */
+  /*   By default, FreeType 2 is built with the "psnames" module compiled  */
+  /*   in. This module is in charge of converting a glyph name string into */
+  /*   a Unicode value, or return a Macintosh standard glyph name for the  */
+  /*   use with the TrueType "post" table.                                 */
+  /*                                                                       */
+  /*   Undefine this macro if you do not want the "psnames" compiled in    */
+  /*   your build of FreeType. This has the following effects :            */
+  /*                                                                       */
+  /*   - the TrueType driver will provide its own set of glyph names,      */
+  /*     if you build it to support postscript names in the TrueType       */
+  /*     "post" table.                                                     */
+  /*                                                                       */
+  /*   - the Type 1 driver will not be able to synthetize a                */
+  /*     Unicode charmap out of the glyphs found in the fonts.             */
+  /*                                                                       */
+  /*   You would normally undefine this configuration macro when           */
+  /*   building a version of FreeType that doesn't contain a Type 1        */
+  /*   or CFF driver.                                                      */
+  /*                                                                       */
+#define FT_CONFIG_OPTION_POSTSCRIPT_NAMES
+
+  /*************************************************************************/
+  /*                                                                       */
+  /* Postscript Names to Unicode Values support                            */
+  /*                                                                       */
+  /*   By default, FreeType 2 is built with the "psnames" module compiled  */
+  /*   in. Among other things, the module is used to convert a glyph       */
+  /*   name into a unicode value. This is especially useful in order to    */
+  /*   synthetize on the fly a Unicode charmap from the CFF/Type 1 driver  */
+  /*   through a big table named the "Adobe Glyph List".                   */
+  /*                                                                       */
+  /*   Undefine this macro if you do not want the Adobe Glyph List         */
+  /*   compiled in your "psnames" module. The Type 1 driver will not       */
+  /*   be able to synthetize a Unicode charmap out of the glyphs found     */
+  /*   in the fonts..                                                      */
+  /*                                                                       */
+#define FT_CONFIG_OPTION_ADOBE_GLYPH_LIST
+
+  /*************************************************************************/
+  /*                                                                       */
   /* GCC provides the non-ANSI `long long' 64-bit type.  You can activate  */
   /* it by defining the FTCALC_USE_LONG_LONG macro here.  Note however     */
   /* that we did not experience any improvement in speed with gcc, and     */
diff --git a/config/win32/ftmodule.h b/config/win32/ftmodule.h
index e87e49d..45a9a3c 100644
--- a/config/win32/ftmodule.h
+++ b/config/win32/ftmodule.h
@@ -1,3 +1,5 @@
+FT_DRIVER(psnames_driver_interface)
 FT_DRIVER(sfnt_driver_interface)
 FT_DRIVER(tt_driver_interface)
 FT_DRIVER(t1_driver_interface)
+