Commit 84120285 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

usp10: Attempt to do shaping via the font GSUB table first.

Modern fonts expect this and the presentation form B glyphs are a fallback.
parent 32b9b63a
......@@ -306,6 +306,7 @@ HRESULT WINAPI ScriptFreeCache(SCRIPT_CACHE *psc)
heap_free(((ScriptCache *)*psc)->glyphs[i]);
heap_free(((ScriptCache *)*psc)->widths[i]);
}
heap_free(((ScriptCache *)*psc)->GSUB_Table);
heap_free(*psc);
*psc = NULL;
}
......
......@@ -37,6 +37,7 @@ typedef struct {
TEXTMETRICW tm;
WORD *glyphs[GLYPH_MAX / GLYPH_BLOCK_SIZE];
ABC *widths[GLYPH_MAX / GLYPH_BLOCK_SIZE];
LPVOID *GSUB_Table;
} ScriptCache;
#define odd(x) ((x) & 1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment