mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 17:57:35 +00:00
LibGfx/OpenType: Add some initial support for GPOS glyph positioning
This patch parses enough of GPOS tables to be able to support the kerning information embedded in Inter. Since that specific font only applies positioning offsets to the first glyph in each pair, I was able to get away with not changing our API. Once we start adding support for more sophisticated positioning, we'll need to be able to communicate more than a simple "kerning offset" to the clients of this code.
This commit is contained in:
parent
a2f3b6543b
commit
d38a3ca9eb
5 changed files with 293 additions and 5 deletions
|
@ -334,6 +334,10 @@
|
|||
# cmakedefine01 OCCLUSIONS_DEBUG
|
||||
#endif
|
||||
|
||||
#ifndef OPENTYPE_GPOS_DEBUG
|
||||
# cmakedefine01 OPENTYPE_GPOS_DEBUG
|
||||
#endif
|
||||
|
||||
#ifndef HTML_PARSER_DEBUG
|
||||
# cmakedefine01 HTML_PARSER_DEBUG
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue