Ali Chraghi
52a67b1809
freetype/harfbuzz: implement freetype integration functions
2022-06-18 07:59:10 -07:00
Ali Chraghi
ef7904bf27
freetype: improve build system
2022-06-18 07:59:10 -07:00
Ali Chraghi
997328ddc6
freetype/harfbuzz: shape_plan binding
2022-06-18 07:59:10 -07:00
Ali Chraghi
58d10a816a
freetype/harfbuzz: shape and partial shape_plan binding
2022-06-18 07:59:10 -07:00
root
09a8b1afac
freetype/harfbuzz: make Feature and Variation externed
...
to be used as actual type, not a handler
2022-06-18 07:59:10 -07:00
root
158d8a6c43
freetype/harfbuzz: partial font binding
2022-06-18 07:59:10 -07:00
Ali Chraghi
1e44df4607
freetype/harfbuzz: compelete face binding
2022-06-14 19:53:29 -07:00
Ali Chraghi
2b325e9c4b
freetype: rename OutlineFuncs* to Funcs*
2022-06-14 19:53:29 -07:00
Ali Chraghi
4e3bbf694b
freetype: remove castVec
2022-06-14 19:53:29 -07:00
Ali Chraghi
5d533a8e3a
freetype::harfbuzz: complete common binding
2022-06-13 09:22:26 -07:00
Ali Chraghi
128cf8098c
freetype: use u32 instead of usize
2022-06-13 09:22:26 -07:00
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