ref: 8b3601324fde1ba49338dd6279057cd366c25919
parent: 986a340dd52825ceaa142ae19473de0ee52d57f2
author: Werner Lemberg <wl@gnu.org>
date: Tue Aug 4 06:48:42 EDT 2020
Minor typos, formatting.
--- a/ChangeLog
+++ b/ChangeLog
@@ -4541,7 +4541,7 @@
2018-05-13 Shao Yu Zhang <shaozhang@fb.com>
Werner Lemberg <wl@gnu.org>
- [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.
--- a/ChangeLog.21
+++ b/ChangeLog.21
@@ -4799,11 +4799,11 @@
(chapter_inter, chapter_footer): Add <li> and use special <ul>
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 <span> 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 <pre> class.
(print_html_field): <tr> gets the `valign' attribute, not <table>.
(print_html_field_list): Ditto.
--- a/devel/ftoption.h
+++ b/devel/ftoption.h
@@ -540,7 +540,7 @@
/**************************************************************************
*
- * 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).
*/
--- a/include/freetype/config/ftoption.h
+++ b/include/freetype/config/ftoption.h
@@ -540,7 +540,7 @@
/**************************************************************************
*
- * 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).
*/
--- a/include/freetype/freetype.h
+++ b/include/freetype/freetype.h
@@ -4074,7 +4074,7 @@
* 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.
--- a/include/freetype/ftadvanc.h
+++ b/include/freetype/ftadvanc.h
@@ -95,6 +95,7 @@
* 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
--- a/include/freetype/ftstroke.h
+++ b/include/freetype/ftstroke.h
@@ -43,7 +43,7 @@
* 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: