From 141d979af74e09bd01f6956b5cc8dfa73047c779 Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Mon, 10 Oct 2022 12:25:51 +0200 Subject: [PATCH] Minor comment changes. --- include/freetype/config/ftoption.h | 8 ++++---- src/sfnt/ttpost.c | 4 ++-- 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