Commit graph

15 commits

Author SHA1 Message Date
Ali Chraghi
1c6e796df6 freetype: increase LoadFlags max size 2022-06-11 15:53:54 -07:00
Ali Chraghi
c02a3fbaf4 freetype::harfbuzz: complete buffer binding 2022-06-11 15:53:54 -07:00
Ali Chraghi
ffc7c3aa68 freetype: fix function namings
some functions should start with `get`
2022-06-11 15:53:54 -07:00
Stephen Gutekanst
7d7eb807f8 freetype: fix failing test / do not return pointer to stack
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-06-10 13:42:52 -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
9c585693b1 freetype: find and fix bugs by fixing refAllDecls() 2022-06-10 12:53:10 -07:00
Ali Chraghi
2b7527b028 freetype:harfbuzz: 100% blob and 50% buffer binding 2022-06-10 12:53:10 -07:00
Ali Chraghi
82e1990009 freetype: init harfbuzz binding 2022-06-07 19:23:33 -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
Ali Chraghi
a1f756b4cd freetype: reduce code size 2022-05-27 20:50:56 -07:00
Ali Chraghi
643753c80a freetype: rename convertError to intToError 2022-05-27 20:50:56 -07:00
Ali Chraghi
b92770404f freetype: add a wrapper for outline functions 2022-05-27 20:50:56 -07:00
Ali Chraghi
18369e8c9b freetype: ziggify C structs 2022-05-27 20:50:56 -07:00
Ali Chraghi
7a8aee8665 freetype: implement some functions binding 2022-05-25 09:05:57 -07:00
Ali Chraghi
b50dade2fd freetype: initial import @ 4e2b158
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-05-24 11:55:07 -07:00