Werner Lemberg pushed to branch master at FreeType / FreeType
Commits:
-
141d979a
by Werner Lemberg at 2022-10-10T12:25:51+02:00
2 changed files:
Changes:
... | ... | @@ -584,12 +584,12 @@ FT_BEGIN_HEADER |
584 | 584 | /**************************************************************************
|
585 | 585 | *
|
586 | 586 | * Define `TT_CONFIG_OPTION_POSTSCRIPT_NAMES` if you want to be able to
|
587 | - * load and enumerate the glyph Postscript names in a TrueType or OpenType
|
|
587 | + * load and enumerate Postscript names of glyphs in a TrueType or OpenType
|
|
588 | 588 | * file.
|
589 | 589 | *
|
590 | - * Note that when you do not compile the 'psnames' module by undefining the
|
|
591 | - * above `FT_CONFIG_OPTION_POSTSCRIPT_NAMES`, the 'sfnt' module will
|
|
592 | - * contain additional code used to read the PS Names table from a font.
|
|
590 | + * Note that if you do not compile the 'psnames' module by undefining the
|
|
591 | + * above `FT_CONFIG_OPTION_POSTSCRIPT_NAMES` macro, the 'sfnt' module will
|
|
592 | + * contain additional code to read the PostScript name table from a font.
|
|
593 | 593 | *
|
594 | 594 | * (By default, the module uses 'psnames' to extract glyph names.)
|
595 | 595 | */
|
... | ... | @@ -58,7 +58,7 @@ |
58 | 58 | #define MAC_NAME( x ) (FT_String*)psnames->macintosh_name( (FT_UInt)(x) )
|
59 | 59 | |
60 | 60 | |
61 | -#else /* FT_CONFIG_OPTION_POSTSCRIPT_NAMES */
|
|
61 | +#else /* !FT_CONFIG_OPTION_POSTSCRIPT_NAMES */
|
|
62 | 62 | |
63 | 63 | |
64 | 64 | /* Otherwise, we ignore the `psnames' module, and provide our own */
|
... | ... | @@ -152,7 +152,7 @@ |
152 | 152 | };
|
153 | 153 | |
154 | 154 | |
155 | -#endif /* FT_CONFIG_OPTION_POSTSCRIPT_NAMES */
|
|
155 | +#endif /* !FT_CONFIG_OPTION_POSTSCRIPT_NAMES */
|
|
156 | 156 | |
157 | 157 | |
158 | 158 | static FT_Error
|