Merge TTF v1.0.0 source files.

This commit is contained in:
Michael R Sweet 2024-08-19 16:59:00 -04:00
parent d7cce4dfbc
commit 82844ad2ce
No known key found for this signature in database
GPG Key ID: BE67C75EC81F3244

View File

@ -3,7 +3,7 @@
// //
// https://github.com/michaelrsweet/ttf // https://github.com/michaelrsweet/ttf
// //
// Copyright © 2018-2023 by Michael R Sweet. // Copyright © 2018-2024 by Michael R Sweet.
// //
// Licensed under Apache License v2.0. See the file "LICENSE" for more // Licensed under Apache License v2.0. See the file "LICENSE" for more
// information. // information.
@ -120,6 +120,7 @@ test_font(const char *filename) // I - Font filename
printf("ttfCreate(\"%s\"): ", filename); printf("ttfCreate(\"%s\"): ", filename);
fflush(stdout);
if ((font = ttfCreate(filename, 0, error_cb, NULL)) != NULL) if ((font = ttfCreate(filename, 0, error_cb, NULL)) != NULL)
puts("PASS"); puts("PASS");
else else