[NTGDI][FREETYPE] lfWidth for GetTextMetrics and GetCharWidth (#4919)

- Add lfWidth member into FONTGDI structure.
- Delete IntWidthMatrix function.
- Fix IntRequestFontSize behavior for processing lfWidth value.
- Apply lfWidth in GetTextMetrics and GetCharWidth.
- Ignore the XFORM values in GetTextMetrics and GetCharWidth.
CORE-11848
This commit is contained in:
Katayama Hirofumi MZ 2022-12-01 08:54:39 +09:00 committed by GitHub
parent 4d0d22aee2
commit 138eb58b95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 60 additions and 69 deletions

View file

@ -42,6 +42,7 @@ typedef struct _FONT_CACHE_HASHED
INT GlyphIndex;
FT_Face Face;
LONG lfHeight;
LONG lfWidth;
_ANONYMOUS_UNION union {
DWORD AspectValue;
FONT_ASPECT Aspect;