Open typemytype opened 1 year ago
during animation with text and textBox minimal changes in the formattedString (pointSize, variable settings, ...) influences the pixel output heavily
text
textBox
https://github.com/typemytype/drawbot/assets/1190358/ba71ba1e-9474-473e-9f91-8116c5a7fa8f
setting Quartz.CGContextSetAllowsFontSubpixelQuantization(context, False) disables subpixel rendering, see
Quartz.CGContextSetAllowsFontSubpixelQuantization(context, False)
https://github.com/typemytype/drawbot/assets/1190358/aa85da13-0e45-4e14-8123-d02c1658ea13
proposal:
add saveImage argument: subpixelRendering=False the default would be True so nothing changes
saveImage
subpixelRendering=False
True
Great find! No longer we have to render text as BezierPaths to avoid this effect!
during animation with
text
andtextBox
minimal changes in the formattedString (pointSize, variable settings, ...) influences the pixel output heavilyhttps://github.com/typemytype/drawbot/assets/1190358/ba71ba1e-9474-473e-9f91-8116c5a7fa8f
setting
Quartz.CGContextSetAllowsFontSubpixelQuantization(context, False)
disables subpixel rendering, seehttps://github.com/typemytype/drawbot/assets/1190358/aa85da13-0e45-4e14-8123-d02c1658ea13
proposal:
add
saveImage
argument:subpixelRendering=False
the default would beTrue
so nothing changes