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.
|
||
|---|---|---|
| .. | ||
| freetype | ||
| harfbuzz | ||
| utils.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.
|
||
|---|---|---|
| .. | ||
| freetype | ||
| harfbuzz | ||
| utils.zig | ||