-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
breaking-change: Remove canvasing from lower resolution (>32px) in Wi…
…ndows Cursor Related to ful1e5/Bibata_Cursor#149
- Loading branch information
Showing
2 changed files
with
5 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aa9ea8a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure I'm getting it right. It could be a preparation for a bigger change but I would like to clarify.
The previous behavior appears o.k. Windows doesn't use bitmap canvases smaller than 32x32 for cursors. I speculate this change targets my ful1e5/Bibata_Cursor#149 (comment):
It is contrary to this change. When a size of "32" or larger is generated it is always an "Extra-Large" (meaning full canvas) size scheme. I've tried to clarify the distinction between "Regular", "Large", and "Extra-Large" sizing schemes, and the output resolutions (pixel/canvas sizes) previously. Each of these sizing schemes has the same resolutions (canvas sizes):
The difference is how much of the canvas the cursor shape is occupying. With "Extra-Large" the cursor shape occupies the full canvas – the other sizing schemes occupy a smaller part of the full canvas. Just what has been previously achieved with rendering 22px size, placing it on a 32px canvas – achieves a Regular scheme, 32x32 (standard) resolution. However, any size >= 32 generated by Bibata is always full canvas and thus "Extra-Large". There's no possibility of generating a Regular scheme, 64x64 resolution, for example.
In any case, in ful1e5/Bibata_Cursor#149 I'm arguing the generated Windows cursors should contain all standard resolutions (32, 48, 64, 96, 128). There would be three
Pointer.cur
variants for each scheme (Regular, Large, Extra-Large), and each variant would contain "all" resolutions.