summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2022-10-10 12:25:51 +0200
committerWerner Lemberg <wl@gnu.org>2022-10-10 12:25:51 +0200
commit141d979af74e09bd01f6956b5cc8dfa73047c779 (patch)
tree2190a42d7d8bdcb90356f7a60c998a82158ed211
parent15f687349528fb0d7cba1ee7a8becf0af29116ec (diff)
downloadfreetype2-141d979af74e09bd01f6956b5cc8dfa73047c779.tar.gz
Minor comment changes.
-rw-r--r--include/freetype/config/ftoption.h8
-rw-r--r--src/sfnt/ttpost.c4
2 files changed, 6 insertions, 6 deletions
diff --git a/include/freetype/config/ftoption.h b/include/freetype/config/ftoption.h
index c5bde243b..1381de679 100644
--- a/include/freetype/config/ftoption.h
+++ b/include/freetype/config/ftoption.h
@@ -584,12 +584,12 @@ FT_BEGIN_HEADER
/**************************************************************************
*
* Define `TT_CONFIG_OPTION_POSTSCRIPT_NAMES` if you want to be able to
- * load and enumerate the glyph Postscript names in a TrueType or OpenType
+ * load and enumerate Postscript names of glyphs in a TrueType or OpenType
* file.
*
- * Note that when you do not compile the 'psnames' module by undefining the
- * above `FT_CONFIG_OPTION_POSTSCRIPT_NAMES`, the 'sfnt' module will
- * contain additional code used to read the PS Names table from a font.
+ * Note that if you do not compile the 'psnames' module by undefining the
+ * above `FT_CONFIG_OPTION_POSTSCRIPT_NAMES` macro, the 'sfnt' module will
+ * contain additional code to read the PostScript name table from a font.
*
* (By default, the module uses 'psnames' to extract glyph names.)
*/
diff --git a/src/sfnt/ttpost.c b/src/sfnt/ttpost.c
index 1a885a15c..f7646e2f0 100644
--- a/src/sfnt/ttpost.c
+++ b/src/sfnt/ttpost.c
@@ -58,7 +58,7 @@
#define MAC_NAME( x ) (FT_String*)psnames->macintosh_name( (FT_UInt)(x) )
-#else /* FT_CONFIG_OPTION_POSTSCRIPT_NAMES */
+#else /* !FT_CONFIG_OPTION_POSTSCRIPT_NAMES */
/* Otherwise, we ignore the `psnames' module, and provide our own */
@@ -152,7 +152,7 @@
};
-#endif /* FT_CONFIG_OPTION_POSTSCRIPT_NAMES */
+#endif /* !FT_CONFIG_OPTION_POSTSCRIPT_NAMES */
static FT_Error