colr-gradients-spec
imageworsener
Our great sponsors
colr-gradients-spec | imageworsener | |
---|---|---|
2 | 3 | |
61 | 250 | |
- | - | |
0.0 | 2.0 | |
over 1 year ago | 3 months ago | |
HTML | C | |
- | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
colr-gradients-spec
-
Text Rendering Hates You
They just extended the COLR spec to COLRv1 which essentially is a whole new canvas API in fonts: https://github.com/googlefonts/colr-gradients-spec/blob/main...
-
IconVG is a compact, binary format for simple vector graphics
There's a proposal for a new version that has a much richer imaging model: https://github.com/googlefonts/colr-gradients-spec
imageworsener
-
How do a compress a json to fit on neocities
Otherwise, compress the images more. https://entropymine.com/imageworsener/ is a versatile multitool with a learning curve. Many image editors have support for downscaling images and compressing JPEGs. pngquant is a PNG-specific tool, if you like PNGs a lot.
-
Text Rendering Hates You
There can be various causes for those symptoms:
1. Even if the rendering gets the subpixel order right, the subpixels are rarely equidistant on a display. They tend to be closer to each other within a logical pixel.
2. Some subpixel-AA algorithms are naive, and trade color accuracy to luminance accuracy, causing more color fringes.
3. Incorrect gamma handling.
4. If aiming for more luminance accuracy, incorrectly taking into account the relative luminance of the subpixels (what you observed with the brighter green subpixels).
Imageworsener[1] has an option to downscale with subpixel antialiasing, it's gamma correct by default, and it has an option for adjusting the subpixel offsets within a pixel (instead of the naive default of 1/3). It might be a good way to try out correct subpixel-AA, but it only works on images. I guess you can render text on high resolution and downscale that with imageworsener, but you won't get any hinting that way, but maybe that's desired.
Very few software does AA correctly, let alone subpixel-AA.
[1] https://entropymine.com/imageworsener/
- List of Color Quantization Algorithms
What are some alternatives?
iconvg - IconVG is a compact, binary format for simple vector graphics: icons, logos, glyphs and emoji.
msdfgen - Multi-channel signed distance field generator
Guide-to-Swift-Strings-Sample-Code - Xcode Playground Sample Code for the Flight School Guide to Swift Strings
Flutter - Flutter makes it easy and fast to build beautiful apps for mobile and beyond
nuklear - A single-header ANSI C immediate mode cross-platform GUI library
harfbuzz - HarfBuzz text shaping engine
ghostedit - Usability focused WYSIWYG editor