mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 12:23:31 +00:00
[WIN32K]
- Addendum to r63933: Pass absolute value of the font width to freetype. CORE-4657 Somehow got lost in the number of attached files. Spotted by Thomas Faber svn path=/trunk/; revision=63946
This commit is contained in:
@@ -1601,7 +1601,7 @@ ftGdiGetGlyphOutline(
|
||||
}
|
||||
|
||||
FT_Set_Pixel_Sizes(ft_face,
|
||||
TextObj->logfont.elfEnumLogfontEx.elfLogFont.lfWidth,
|
||||
abs(TextObj->logfont.elfEnumLogfontEx.elfLogFont.lfWidth),
|
||||
/* FIXME: Should set character height if neg */
|
||||
(TextObj->logfont.elfEnumLogfontEx.elfLogFont.lfHeight == 0 ?
|
||||
dc->ppdev->devinfo.lfDefaultFont.lfHeight : abs(TextObj->logfont.elfEnumLogfontEx.elfLogFont.lfHeight)));
|
||||
|
||||
Reference in New Issue
Block a user