Setting boldness and italic for style on Mac has no effect

"[email protected]" <[email protected]> Thu, 13 Feb 2025 08:21:05 -0800 (PST)
Newsgroups gmane.comp.lib.scintilla.devel
Message-ID <[email protected]>
I'm on 5.5.4 and I just noticed that setting the boldness and italic for a 
style has no effect on macOS. It works just fine on Windows and GTK though. 
I tried weight and stretch as well but they had no effect either. Font 
name, color, size, and underline all work just fine. I tried an earlier 
build where I was still using 3.3.1 and setting the font style works just 
fine. I upgraded from 3.3.1 straight to 5.5.4 so I don't know if it all 
worked on an earlier 5 release. Can anyone else verify this?

I've set breakpoints within Editor::StyleSetMessage() and verified that the 
correct values are being passed in. I intentionally set all the styles to 
bold and italic and verified that bold and italic are set in QuartzFont(). 
I did notice that the code has changed in the QuartzFont class for how to 
specify weight, stretch, and italics from the code in 5.5.0 so I'm going to 
try to revert some of that code to see if the old method works.

-- 
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/scintilla-interest/f33812fe-f182-40c8-9f06-a95490e77265n%40googlegroups.com.