Commit graph

5 commits

Author SHA1 Message Date
Ali Chraghi
30612500e0 freetype: update examples
compile error due the last functions rename
2022-07-22 17:49:25 -07:00
PiergiorgioZagaria
b4ac18ec57 freetype: support compiling with stage2 (-fno-stage1) 2022-07-06 05:52:56 -07:00
Jamie Brandon
15c71f5135 freetype: Avoid dereferencing null bitmap buffer.
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.
2022-06-10 12:55:19 -07:00
Ali Chraghi
04a0a79ef6 freetype: ~99% Core-API Coverage
- breaking structure changes
- optimazed examples
- more tests
2022-06-07 19:23:33 -07:00
iddev5
336134c996 freetype: change example names to match mach convention
General mach examples use ``long-example-name`` case but freetype was
using ``snake_case`` right now, which is inconsistent and midly
inconvenient to use.

Renamed: glyph_to_svg -> glyph-to-svg, single_glyph -> single-glyph
2022-05-25 23:08:45 -07:00
Renamed from freetype/examples/single_glyph.zig (Browse further)