DescriptionFix undefined behavior in DirectWrite GDI compatible metrics.
GetGdiCompatibleGlyphMetrics checks the matrix passed to it.
If the matrix has any NaNs or INFs or otherwise looks bad, it returns
E_INVALIDARG and so the advances will be zero.
BUG=skia:2579
R=reed@google.com
Committed: https://code.google.com/p/skia/source/detail?r=14829
Patch Set 1 #
Messages
Total messages: 3 (0 generated)
|