projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[NTGDI][FREETYPE] Return non-zero gm.gmBlackBoxX/Y (#2643)
[reactos.git]
/
win32ss
/
gdi
/
ntgdi
/
freetype.c
diff --git
a/win32ss/gdi/ntgdi/freetype.c
b/win32ss/gdi/ntgdi/freetype.c
index
7d64680
..
c53bf1a
100644
(file)
--- a/
win32ss/gdi/ntgdi/freetype.c
+++ b/
win32ss/gdi/ntgdi/freetype.c
@@
-4203,6
+4203,12
@@
ftGdiGetGlyphOutline(
}
DPRINT("ftGdiGetGlyphOutline END and needed %lu\n", needed);
+
+ if (gm.gmBlackBoxX == 0)
+ gm.gmBlackBoxX = 1;
+ if (gm.gmBlackBoxY == 0)
+ gm.gmBlackBoxY = 1;
+
*pgm = gm;
return needed;
}