Page 1 of 1

Drawtext vs Gadget text quality

Posted: Wed Oct 05, 2022 3:32 pm
by mrbungle
I've noticed that on retina displays, drawtext in windows can look somewhat pixelated compared to Gadget text despite playing around with different draw modes.

1) is that a known issue due to the underlying way Drawtext is implemented due to PB's cross platform nature?
2) is there a way (hack using a cocoa call or other technique) to improve the quality?

Thank you

Re: Drawtext vs Gadget text quality

Posted: Wed Oct 05, 2022 5:16 pm
by Mesa
Try DrawVectorText() because it uses antialiasing, not DrawText().

M.

Re: Drawtext vs Gadget text quality

Posted: Wed Oct 05, 2022 5:59 pm
by mrbungle
That makes sense but also requires the Canvas gadget. What if I don't want to use the Canvas gadget?

Re: Drawtext vs Gadget text quality

Posted: Wed Oct 05, 2022 6:54 pm
by STARGĂ…TE
There is also a WindowVectorOutput() for vector drawing on a window.

Re: Drawtext vs Gadget text quality

Posted: Thu Oct 06, 2022 12:14 pm
by mrbungle
I'll give that a try. Thanks