summaryrefslogtreecommitdiff
path: root/src/sfnt/ttcolr.h
diff options
context:
space:
mode:
authorAlexei Podtelezhnikov <apodtele@gmail.com>2018-05-15 21:47:18 -0400
committerAlexei Podtelezhnikov <apodtele@gmail.com>2018-05-15 21:47:18 -0400
commitf1458d2e44d89e8bc7c0db068f1cbc54b74b9d98 (patch)
tree4dd83041216d9a669910effdaddbf5953086d570 /src/sfnt/ttcolr.h
parent49c5e24a149a960b5f2736d7b1d98a4d56d7e2f0 (diff)
downloadfreetype2-f1458d2e44d89e8bc7c0db068f1cbc54b74b9d98.tar.gz
[base] Fix mono bitmap presetting (#53896).
It is rather fundamental to set monochrome bitmap based on rounded CBox because the b/w rasterizer turns on pixels when their centers are inside the glyph outline. The dropout control is unpredictable and can distort narrow glyphs if the bitmap is too wide. Reported by Chris Liddell. * src/base/ftobjs.c (ft_glyphslot_preset_bitmap): If BBox boundaries are too close, adjust them before rounding.
Diffstat (limited to 'src/sfnt/ttcolr.h')
0 files changed, 0 insertions, 0 deletions