From 8b3601324fde1ba49338dd6279057cd366c25919 Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Tue, 4 Aug 2020 10:48:42 +0200 Subject: [PATCH] Minor typos, formatting. --- ChangeLog | 2 +- ChangeLog.21 | 6 +++--- devel/ftoption.h | 2 +- include/freetype/config/ftoption.h | 2 +- include/freetype/freetype.h | 2 +- include/freetype/ftadvanc.h | 1 + include/freetype/ftstroke.h | 2 +- 7 files changed, 9 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index e96ec6101..51f3e1f96 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4541,7 +4541,7 @@ 2018-05-13 Shao Yu Zhang Werner Lemberg - [sfnt] Preliminary support of coloured layer outlines (#44689). + [sfnt] Preliminary support of colored layer outlines (#44689). This commit enables OpenType's COLR/CPAL table handling; a typical application are color emojis that can be scaled to any size. diff --git a/ChangeLog.21 b/ChangeLog.21 index 3ed33baf2..f36f5b7fb 100644 --- a/ChangeLog.21 +++ b/ChangeLog.21 @@ -4799,11 +4799,11 @@ (chapter_inter, chapter_footer): Add
  • and use special
      class. Use double quotes around table widths given in percent. - (keyword_prefix, keyword_suffix): Don't change font colour directly + (keyword_prefix, keyword_suffix): Don't change font color directly but use a new class. (section_synopsis_header, section_synopsis_footer): Don't change - colour. - (code_header, code_footer): Don't change font colour directly but + color. + (code_header, code_footer): Don't change font color directly but use a special
       class.
       	(print_html_field):  gets the `valign' attribute, not .
       	(print_html_field_list): Ditto.
      diff --git a/devel/ftoption.h b/devel/ftoption.h
      index 1fd2e2c21..307d1a382 100644
      --- a/devel/ftoption.h
      +++ b/devel/ftoption.h
      @@ -540,7 +540,7 @@ FT_BEGIN_HEADER
       
         /**************************************************************************
          *
      -   * Define `TT_CONFIG_OPTION_COLOR_LAYERS` if you want to support coloured
      +   * Define `TT_CONFIG_OPTION_COLOR_LAYERS` if you want to support colored
          * outlines (from the 'COLR'/'CPAL' tables) in all formats using the 'sfnt'
          * module (namely TrueType~& OpenType).
          */
      diff --git a/include/freetype/config/ftoption.h b/include/freetype/config/ftoption.h
      index fd686d954..097f19b8a 100644
      --- a/include/freetype/config/ftoption.h
      +++ b/include/freetype/config/ftoption.h
      @@ -540,7 +540,7 @@ FT_BEGIN_HEADER
       
         /**************************************************************************
          *
      -   * Define `TT_CONFIG_OPTION_COLOR_LAYERS` if you want to support coloured
      +   * Define `TT_CONFIG_OPTION_COLOR_LAYERS` if you want to support colored
          * outlines (from the 'COLR'/'CPAL' tables) in all formats using the 'sfnt'
          * module (namely TrueType~& OpenType).
          */
      diff --git a/include/freetype/freetype.h b/include/freetype/freetype.h
      index 71e22a1d6..b1f4ed585 100644
      --- a/include/freetype/freetype.h
      +++ b/include/freetype/freetype.h
      @@ -4074,7 +4074,7 @@ FT_BEGIN_HEADER
          *     https://docs.microsoft.com/en-us/typography/opentype/spec/colr
          *
          *   The glyph layer data for a given glyph index, if present, provides an
      -   *   alternative, multi-colour glyph representation: Instead of rendering
      +   *   alternative, multi-color glyph representation: Instead of rendering
          *   the outline or bitmap with the given glyph index, glyphs with the
          *   indices and colors returned by this function are rendered layer by
          *   layer.
      diff --git a/include/freetype/ftadvanc.h b/include/freetype/ftadvanc.h
      index 5050d3ac5..f166bc6f9 100644
      --- a/include/freetype/ftadvanc.h
      +++ b/include/freetype/ftadvanc.h
      @@ -95,6 +95,7 @@ FT_BEGIN_HEADER
          *   load_flags ::
          *     A set of bit flags similar to those used when calling
          *     @FT_Load_Glyph, used to determine what kind of advances you need.
      +   *
          * @output:
          *   padvance ::
          *     The advance value.  If scaling is performed (based on the value of
      diff --git a/include/freetype/ftstroke.h b/include/freetype/ftstroke.h
      index 1c5477c5a..a759c94dd 100644
      --- a/include/freetype/ftstroke.h
      +++ b/include/freetype/ftstroke.h
      @@ -43,7 +43,7 @@ FT_BEGIN_HEADER
          *    borders of the stroke.
          *
          *    This can be useful to generate 'bordered' glyph, i.e., glyphs
      -   *    displayed with a coloured (and anti-aliased) border around their
      +   *    displayed with a colored (and anti-aliased) border around their
          *    shape.
          *
          * @order: