[scintilla:feature-requests] #1562 Change ListBox to use SetFont(std::shared_ptr<Font> font)

0 views
Skip to first unread message

Zufu Liu

unread,
Jun 21, 2025, 10:40:06 PMJun 21
to scintill...@googlegroups.com

[feature-requests:#1562] Change ListBox to use SetFont(std::shared_ptr<Font> font)

Status: open
Group: Initial
Labels: Scintilla autocomplete
Created: Sun Jun 22, 2025 02:40 AM UTC by Zufu Liu
Last Updated: Sun Jun 22, 2025 02:40 AM UTC
Owner: Neil Hodgson

This could avoid font duplicate for FontWin, FontGDI, FontDirectWrite.


Sent from sourceforge.net because scintill...@googlegroups.com is subscribed to https://sourceforge.net/p/scintilla/feature-requests/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/scintilla/admin/feature-requests/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.

Neil Hodgson

unread,
Jun 22, 2025, 1:15:25 AMJun 22
to scintill...@googlegroups.com

That would be a platform API break so should wait for a major version change when possible.

While this could be worked around by providing a default ListBox::SetFont(std::shared_ptr<Font>) implementation that returns an unimplemented status then falling back to the SetFont(const Font *) it seems to me too much to save font creation when a UI list is displayed.

Reply all
Reply to author
Forward
0 new messages