Re: Setting boldness and italic for style on Mac has no effect

"[email protected]" <[email protected]> Thu, 13 Feb 2025 08:27:40 -0800 (PST)
Newsgroups gmane.comp.lib.scintilla.devel
Message-ID <[email protected]>
OK, I was able to revert the code for creating a font style from a name in 
QuartzFont to the version in 5.5.0 and setting boldness and italic work 
again. I will file a bug.

On Thursday, February 13, 2025 at 10:21:05 AM UTC-6 [email protected] 
wrote:

> 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/da3777a2-e197-4fbf-ab89-e197db43d710n%40googlegroups.com.