Werner Lemberg pushed to branch master at FreeType / FreeType
Commits:
-
482c57cc
by Werner Lemberg at 2021-06-18T16:46:23+02:00
1 changed file:
Changes:
1 |
+2021-06-16 David Turner <david@freetype.org>
|
|
2 |
+ |
|
3 |
+ [autofit] Fix return value of `FT_Load_Glyph`.
|
|
4 |
+ |
|
5 |
+ * src/autofit/afglobal.c (af_face_globals_get_metrics): The issue is
|
|
6 |
+ that `style_metrics_init` sometimes returns -1 without clearing
|
|
7 |
+ `error`. While looping to `Again`, the next operation is
|
|
8 |
+ successful, but -1 is still returned by the function. The fix is to
|
|
9 |
+ set `error` to 0 appropriately.
|
|
10 |
+ |
|
11 |
+ Fixes #1063.
|
|
12 |
+ |
|
13 |
+2021-06-15 David Turner <david@freetype.org>
|
|
14 |
+ |
|
15 |
+ [meson] Add first regression test to FreeType.
|
|
16 |
+ |
|
17 |
+ * tests/README.md: New file that explains how to build and run the
|
|
18 |
+ tests with the Meson build.
|
|
19 |
+ |
|
20 |
+ * tests/scripts/download-test-fonts.sh: New bash script to download
|
|
21 |
+ test font files to the `tests/data` folder.
|
|
22 |
+ |
|
23 |
+ * meson.build, meson_options.txt: Add 'tests' option to enable
|
|
24 |
+ building and running the test programs (disabled by default).
|
|
25 |
+ |
|
26 |
+ * tests/meson.build: New file.
|
|
27 |
+ |
|
28 |
+ * tests/issue-1063/main.c: Simple regression test to exhibit issue
|
|
29 |
+ 1063.
|
|
30 |
+ |
|
31 |
+ * .gitignore: Ignore the content of the `tests/data` folder for
|
|
32 |
+ now.
|
|
33 |
+ |
|
1 | 34 |
2021-06-12 Alexei Podtelezhnikov <apodtele@gmail.com>
|
2 | 35 |
|
3 | 36 |
[type42] Fix new memory leak.
|