Monospaced problem on Cocoa

7 views
Skip to first unread message

Neil Hodgson

unread,
Sep 27, 2021, 8:15:32 AM9/27/21
to Scintilla mailing list
There is a bug in the new SCI_STYLESETCHECKMONOSPACED API on Cocoa resulting in wrong text layout due to rounding the character width. Avoid this call for now on Cocoa.

While fixing this should just be a matter of removing a ‘round’ call in PlatCocoa.cxx there could be more issues.

Neil

Neil Hodgson

unread,
Sep 28, 2021, 1:36:33 AM9/28/21
to Scintilla mailing list
Me:

  There is a bug in the new SCI_STYLESETCHECKMONOSPACED API on Cocoa resulting in wrong text layout due to rounding the character width. Avoid this call for now on Cocoa.

Reply all
Reply to author
Forward
0 new messages