You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When drawing certain letter shapes of an anchor name, the stroke might create undesirable spikes:
Setting a miter limit is how such cases are typically controlled, but in this case, there does not seem to be exist Apple-provided API for configuring the miter limit of an attributed string. The only two stroke settings for NSAttributedString are NSStrokeColorAttributeName and NSStrokeWidthAttributeName.
This issue could be resolved by getting the Bézier path of the text and drawing it manually since NSBezierPath and Core Graphics both offer miter limits.
The text was updated successfully, but these errors were encountered:
When drawing certain letter shapes of an anchor name, the stroke might create undesirable spikes:
Setting a miter limit is how such cases are typically controlled, but in this case, there does not seem to be exist Apple-provided API for configuring the miter limit of an attributed string. The only two stroke settings for
NSAttributedString
areNSStrokeColorAttributeName
andNSStrokeWidthAttributeName
.This issue could be resolved by getting the Bézier path of the text and drawing it manually since
NSBezierPath
and Core Graphics both offer miter limits.The text was updated successfully, but these errors were encountered: