[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.parthw-pk-vf
parent
49c5e24a14
commit
f1458d2e44
2 changed files with 27 additions and 19 deletions
Loading…
Reference in new issue