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
Currently we detect if a font is a color font via CTFontGetSymbolicTraits() and see if it has kCTFontColorGlyphsTrait. It looks like we'll need to do that, and then check each glyph looking to see if there is an outline. If there isn't, it is a color glyph. If there is an outline, it is a normal glyph. CTFontCreatePathForGlyph() appears to be how to see if there is an "outline".
Description
A user reported losing highlighting with source code pro on macOS 11.
Steps to reproduce
Expected behavior
Syntax highlighted code.
Actual behavior
No syntax highlighting.
Environment
The text was updated successfully, but these errors were encountered: