mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-27 09:19:04 +00:00
Character: type with color glyphs is drawn as Sharp
Color glyphs (bitmap glyphs in sbix or CBDT, and COLR layers) paint their own pixels and layers. The renderer draws them unchanged in the black drawing that measures coverage, so their own opacity counted as the characters' coverage: Strong made a half-transparent pixel inside a glyph opaque, and Crisp could erase faint detail. draw_type_edges now returns false for type with color glyphs, as it does for type with inline graphics, and docs/mcp.md lists them.
This commit is contained in:
+3
-2
@@ -4251,8 +4251,9 @@ method does, on the pixels of the picture being drawn (the canvas at its zoom, a
|
||||
- `strong` draws a pixel the type covers by a share c at `2c`, at most 1, so the type looks heavier.
|
||||
|
||||
The opacity of the type's paints stays as it is inside the characters. Type is drawn as Sharp draws it when it holds
|
||||
inline graphics, when its own fills or strokes in the Appearance panel include a brush stroke or a blend mode other than
|
||||
Normal, when it overprints while Overprint Preview is on, and on the canvas while it shows a substitution highlight.
|
||||
inline graphics or color glyphs (bitmap or COLR), when its own fills or strokes in the Appearance panel include a brush
|
||||
stroke or a blend mode other than Normal, when it overprints while Overprint Preview is on, and on the canvas while it
|
||||
shows a substitution highlight.
|
||||
With Preferences › General › Anti-aliased Artwork off, the canvas draws all its art with hard edges, type included, and
|
||||
so does an export whose own Anti-aliasing option is None. SVG, PDF and EPS export are unchanged and carry no setting.
|
||||
Reset Panel sets Sharp. Saved as `antiAlias` only when not `sharp`. One undo step.
|
||||
|
||||
Reference in New Issue
Block a user