Tk Source Code

View Ticket
Login
Ticket UUID: 4cf7dcf41fdf2bfb097e5f6cc94cfc77c97fd2bb
Title: Aqua: implement stippling for text
Type: Patch Version: core-9-0-branch
Submitter: chrstphrchvz Created on: 2026-11-03 12:35:44
Subsystem: 05. Canvas Items Assigned To: chrstphrchvz
Priority: 5 Medium Severity: Minor
Status: Open Last Modified: 2026-11-03 13:36:42
Resolution: None Closed By: nobody
    Closed on:
Description:

Support for stippling was recently added to the Aqua port for most drawing operations, but not for text. Currently, stippling is only applied as the fill and stroke colors in a CGContext, whereas the color used for text comes from the color set in the NSFont → NSAttributedString given to Core Text.

I intend to push branches with proposed implementations for 9.0 and 9.1; the amount of code to change is small.

If there is no interest in supporting this, then the comment for SetStipplePattern() should at least be revised to not mention text-fill operations.

User Comments: chrstphrchvz added on 2026-11-03 13:36:42:

Please see branches aqua-stippled-text-c90b (for 9.0) and aqua-stippled-text (for 9.1).


jan.nijtmans added on 2026-11-03 13:11:55:

I think that would be nice!