path: root/mkspecs/devices
diff options
authorEskil Abrahamsen Blomfeldt <>2016-06-10 13:38:31 +0200
committerEskil Abrahamsen Blomfeldt <>2016-06-14 08:35:45 +0000
commitc2d3c2b9f97cd842f2cbcc28acbc7a140b45222f (patch)
tree25d6431fd35d86c58dc89025cfa30c148e5899da /mkspecs/devices
parentfe97ecf408da60931fc49b502a223d59b5f93f99 (diff)
Fix crash when creating distance field for large glyph
Do the multiplication of the normal components in floating point to avoid integer overflows. Also add an assert, since a scale of 0 here will cause a normal of (0, 0) which will assert further into the drawRectangle() function, and the cause is not immediately clear. Task-number: QTBUG-51956 Change-Id: If7187d56af28eaa149f8f362050a587da5adb262 Reviewed-by: Yoann Lopes <>
Diffstat (limited to 'mkspecs/devices')
0 files changed, 0 insertions, 0 deletions