For some characters (eg \r) the returned glyph will have .{.rows = 0, .width=0, .pitch = 0, .buffer = null}. In zig null[0..0] causes a panic rather than returning an empty slice.
|
||
|---|---|---|
| .. | ||
| glyph-to-svg.zig | ||
| single-glyph.zig | ||
For some characters (eg \r) the returned glyph will have .{.rows = 0, .width=0, .pitch = 0, .buffer = null}. In zig null[0..0] causes a panic rather than returning an empty slice.
|
||
|---|---|---|
| .. | ||
| glyph-to-svg.zig | ||
| single-glyph.zig | ||