Commit Graph

12 Commits

Author SHA1 Message Date
Tobiasz Laskowski
65e2c6ba45 Add missing files to freetype build
These are required by newer versions of cairo
2025-01-27 19:12:06 +00:00
Josh Tynjala
27d1d8b9d4 Revert "freetype: roll back to freetype version 2.9.1"
This reverts commit c4faf58ff0.
2024-12-13 13:37:16 -08:00
Josh Tynjala
90b2b1fa80 Revert "freetype: roll back to 2.8.1 to fix issues with character spacing"
This reverts commit ac3040c1ed.
2024-12-13 13:36:56 -08:00
Josh Tynjala
ac3040c1ed freetype: roll back to 2.8.1 to fix issues with character spacing 2024-12-12 10:41:08 -08:00
Josh Tynjala
c4faf58ff0 freetype: roll back to freetype version 2.9.1
tag VER-2-9-1

Starting with freetype 2.10.0, the sum of the ascent and descent values seem to be more likely to be less than the baseline-to-baseline measurement (called the font's height), which is the font designer's recommend distance between baselines. However, OpenFL doesn't account for the full baseline-to-baseline height at all, so with smaller ascent and descent values, lines render with smaller gaps between them. OpenFL needs to update its TextEngine algorithm to use the height of the line instead of adding ascent and descent together alone, and then we can update freetype. Updating TextEngine is not a trivial change, and may likely require time to discover bugs and stabilize, so it's better to roll back the freetype update for now, and apply it again later after OpenFL can handle it properly.
2024-10-29 15:48:38 -07:00
Joseph Cloutier
87e779b971 Rename "overrides" to "custom."
This helps shift the emphasis from "replacing existing files" to "adding
missing files," without ruling either option out.
2022-05-22 23:27:47 -04:00
Joseph Cloutier
1b87e1ca60 Ensure FreeType can find zlib.h. 2022-05-22 11:33:11 -04:00
Joseph Cloutier
e1c55103a6 Update FreeType to 2.12.1.
Note: cff.c includes all the other cffxyz.c files. They're still there.
2022-05-21 20:28:16 -04:00
Joseph Cloutier
104533fdde Sort and format build files. 2022-05-20 17:11:20 -04:00
Joseph Cloutier
d8d3f74211 Add missing include paths. 2022-05-09 16:37:13 -04:00
Joseph Cloutier
a27c230324 Use the official FreeType repo as a submodule.
Continuing to use version 2.9.1 for now.
2022-05-08 22:09:26 -04:00
Joseph Cloutier
bc584ea611 Remove hxcpp build files from submodules. 2022-05-06 19:41:31 -04:00