Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType
Commits:
-
78f2bd0b
by Alexei Podtelezhnikov at 2021-08-22T22:32:07-04:00
13 changed files:
- builds/windows/ftdebug.c
- docs/DOCGUIDE
- docs/oldlogs/ChangeLog.210
- include/freetype/config/integer-types.h
- include/freetype/ftlcdfil.h
- include/freetype/ftwinfnt.h
- include/freetype/ttnameid.h
- src/base/ftdebug.c
- src/gxvalid/gxvkern.c
- src/otvalid/otvmath.c
- src/pfr/pfrtypes.h
- src/pshinter/pshalgo.c
- src/truetype/ttsubpix.c
Changes:
... | ... | @@ -88,7 +88,7 @@ |
88 | 88 |
dlg_handler ft_default_log_handler = NULL;
|
89 | 89 |
FT_Custom_Log_Handler custom_output_handler = NULL;
|
90 | 90 |
|
91 |
-#endif /* FT_DEBUG_LOGGING*/
|
|
91 |
+#endif /* FT_DEBUG_LOGGING */
|
|
92 | 92 |
|
93 | 93 |
|
94 | 94 |
#ifdef FT_DEBUG_LEVEL_ERROR
|
... | ... | @@ -154,7 +154,7 @@ above for consistency. |
154 | 154 |
|
155 | 155 |
Note that there may be cases where having two asterisks or underscores
|
156 | 156 |
in a line may lead to text being picked up as italics or bold.
|
157 |
-Although unintentional, this is correct markdown behavior.
|
|
157 |
+Although unintentional, this is correct markdown behavior.
|
|
158 | 158 |
|
159 | 159 |
For inline code, wrap the sequence with backticks (see below). This
|
160 | 160 |
renders symbols correctly without modifications. If a symbol is
|
... | ... | @@ -201,7 +201,7 @@ Other sub-sections can be linked with the `@` symbol: |
201 | 201 |
|
202 | 202 |
@description:
|
203 | 203 |
While FreeType's CFF driver doesn't expose API functions by
|
204 |
- itself, it is possible to control its behaviour with
|
|
204 |
+ itself, it is possible to control its behaviour with
|
|
205 | 205 |
@FT_Property_Set and @FT_Property_Get.
|
206 | 206 |
|
207 | 207 |
If a field in the `values` table of another sub-section is linked, the
|
... | ... | @@ -55,7 +55,7 @@ |
55 | 55 |
* tests/issue-1063/main.c (main): Fix uninitialized variable.
|
56 | 56 |
|
57 | 57 |
I tried running `meson test` but the test just crashed and gdb
|
58 |
- reported that the face argument to `FT_Get_Char_Index` was nonsense.
|
|
58 |
+ reported that the face argument to `FT_Get_Char_Index` was nonsense.
|
|
59 | 59 |
With this change the test prints 'Could not open file: ' as it
|
60 | 60 |
should.
|
61 | 61 |
|
... | ... | @@ -62,7 +62,7 @@ |
62 | 62 |
|
63 | 63 |
#ifndef FT_SIZEOF_LONG_LONG
|
64 | 64 |
|
65 |
- /* The size of a `long long` type if available*/
|
|
65 |
+ /* The size of a `long long` type if available */
|
|
66 | 66 |
#if defined( FT_ULLONG_MAX ) && FT_ULLONG_MAX >= 0xFFFFFFFFFFFFFFFFULL
|
67 | 67 |
#define FT_SIZEOF_LONG_LONG ( 64 / FT_CHAR_BIT )
|
68 | 68 |
#else
|
... | ... | @@ -44,7 +44,7 @@ FT_BEGIN_HEADER |
44 | 44 |
* API to control subpixel rendering.
|
45 | 45 |
*
|
46 | 46 |
* @description:
|
47 |
- * FreeType provides two alternative subpixel rendering technologies.
|
|
47 |
+ * FreeType provides two alternative subpixel rendering technologies.
|
|
48 | 48 |
* Should you define `FT_CONFIG_OPTION_SUBPIXEL_RENDERING` in your
|
49 | 49 |
* `ftoption.h` file, this enables ClearType-style rendering.
|
50 | 50 |
* Otherwise, Harmony LCD rendering is enabled. These technologies are
|
... | ... | @@ -55,7 +55,7 @@ FT_BEGIN_HEADER |
55 | 55 |
* FT_WinFNT_ID_XXX
|
56 | 56 |
*
|
57 | 57 |
* @description:
|
58 |
- * A list of valid values for the `charset` byte in @FT_WinFNT_HeaderRec.
|
|
58 |
+ * A list of valid values for the `charset` byte in @FT_WinFNT_HeaderRec.
|
|
59 | 59 |
* Exact mapping tables for the various 'cpXXXX' encodings (except for
|
60 | 60 |
* 'cp1361') can be found at 'ftp://ftp.unicode.org/Public/' in the
|
61 | 61 |
* `MAPPINGS/VENDORS/MICSFT/WINDOWS` subdirectory. 'cp1361' is roughly a
|
... | ... | @@ -591,7 +591,7 @@ FT_BEGIN_HEADER |
591 | 591 |
#define TT_MS_LANGID_MALAY_MALAYSIA 0x043E
|
592 | 592 |
#define TT_MS_LANGID_MALAY_BRUNEI_DARUSSALAM 0x083E
|
593 | 593 |
#define TT_MS_LANGID_KAZAKH_KAZAKHSTAN 0x043F
|
594 |
-#define TT_MS_LANGID_KYRGYZ_KYRGYZSTAN /* Cyrillic*/ 0x0440
|
|
594 |
+#define TT_MS_LANGID_KYRGYZ_KYRGYZSTAN /* Cyrillic */ 0x0440
|
|
595 | 595 |
#define TT_MS_LANGID_KISWAHILI_KENYA 0x0441
|
596 | 596 |
#define TT_MS_LANGID_TURKMEN_TURKMENISTAN 0x0442
|
597 | 597 |
#define TT_MS_LANGID_UZBEK_UZBEKISTAN_LATIN 0x0443
|
... | ... | @@ -88,7 +88,7 @@ |
88 | 88 |
dlg_handler ft_default_log_handler = NULL;
|
89 | 89 |
FT_Custom_Log_Handler custom_output_handler = NULL;
|
90 | 90 |
|
91 |
-#endif /* FT_DEBUG_LOGGING*/
|
|
91 |
+#endif /* FT_DEBUG_LOGGING */
|
|
92 | 92 |
|
93 | 93 |
|
94 | 94 |
#ifdef FT_DEBUG_LEVEL_ERROR
|
... | ... | @@ -745,7 +745,7 @@ |
745 | 745 |
#ifdef GXV_LOAD_TRACE_VARS
|
746 | 746 |
FT_UShort version = 0; /* MS only: subtable version, unused */
|
747 | 747 |
#endif
|
748 |
- FT_ULong length; /* MS: 16bit, Apple: 32bit*/
|
|
748 |
+ FT_ULong length; /* MS: 16bit, Apple: 32bit */
|
|
749 | 749 |
FT_UShort coverage;
|
750 | 750 |
#ifdef GXV_LOAD_TRACE_VARS
|
751 | 751 |
FT_UShort tupleIndex = 0; /* Apple only */
|
... | ... | @@ -141,7 +141,7 @@ |
141 | 141 |
OTV_OPTIONAL_TABLE( DeviceTableOffset );
|
142 | 142 |
|
143 | 143 |
|
144 |
- /* OTV_NAME_ENTER( "MathKern" );*/
|
|
144 |
+ /* OTV_NAME_ENTER( "MathKern" ); */
|
|
145 | 145 |
|
146 | 146 |
OTV_LIMIT_CHECK( 2 );
|
147 | 147 |
|
... | ... | @@ -109,7 +109,7 @@ FT_BEGIN_HEADER |
109 | 109 |
#define PFR_BITMAP_2BYTE_SIZE 0x02U
|
110 | 110 |
#define PFR_BITMAP_3BYTE_OFFSET 0x04U
|
111 | 111 |
|
112 |
- /*not part of the specification but used for implementation */
|
|
112 |
+ /* not part of the specification but used for implementation */
|
|
113 | 113 |
#define PFR_BITMAP_CHARCODES_VALIDATED 0x40U
|
114 | 114 |
#define PFR_BITMAP_VALID_CHARCODES 0x80U
|
115 | 115 |
|
... | ... | @@ -869,7 +869,7 @@ |
869 | 869 |
return;
|
870 | 870 |
}
|
871 | 871 |
|
872 |
-#endif /* DEBUG_HINTER*/
|
|
872 |
+#endif /* DEBUG_HINTER */
|
|
873 | 873 |
|
874 | 874 |
hint = table->hints;
|
875 | 875 |
count = table->max_hints;
|
... | ... | @@ -315,7 +315,7 @@ |
315 | 315 |
static const SPH_TweakRule SKIP_NONPIXEL_Y_MOVES_Rules
|
316 | 316 |
[SKIP_NONPIXEL_Y_MOVES_RULES_SIZE] =
|
317 | 317 |
{
|
318 |
- /* fix vwxyz thinness*/
|
|
318 |
+ /* fix vwxyz thinness */
|
|
319 | 319 |
{ "Consolas", 0, "", 0 },
|
320 | 320 |
/* Fix thin middle stems */
|
321 | 321 |
{ "Core MS Legacy Fonts", 0, "Regular", 0 },
|