gpt4 book ai didi

objective-c - 字体渲染不佳(Cocoa - Mac)

转载 作者:行者123 更新时间:2023-12-03 16:58:27 24 4
gpt4 key购买 nike

我注意到我的 xib 和最终程序中的字体渲染存在奇怪且非常明显的差异,我在下面附上了屏幕截图:

See here for zoomed out image

See here for zoomed in

这里发生了什么以及如何使我的应用程序字体看起来像 XCode 中的那样? (这和子像素渲染有关系吗???)。

最佳答案

I stole this answer from here :

If you have no background (including clear) and your text is a subview of any layer-backed superview (you've turned on "wants layer" in code or in IB to allow animations/transitions), you'll get blurry text. You have to choose either no layer backed view or a label with a solid background color.

关于objective-c - 字体渲染不佳(Cocoa - Mac),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11660419/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com