Commit graph

39 commits

Author SHA1 Message Date
Ali Chraghi
a6a678b912 freetype: install test exe and move all tests to src/main.zig 2022-07-25 11:21:37 -07:00
Ali Chraghi
001e191e5c freetype: Implement needed Computation API 2022-07-22 17:49:25 -07:00
alichraghi
0aa9cc4a04 freetype: Bitmap Handling 100% Coverage 2022-07-22 17:49:25 -07:00
alichraghi
83f051fb58 freetype/harfbuzz: fix invalid getGlyphInfos return
Co-authored-by: ab55al <abdullah5590x@gmail.com>
2022-07-19 09:20:24 -07:00
alichraghi
2388eb1c3a freetype: Glyph Stroker 100% API Coverage 2022-07-19 09:19:55 -07:00
Stephen Gutekanst
8184ce82f7 freetype: rename newX functions to createX 2022-07-19 09:19:55 -07:00
alichraghi
dc832997e4 freetype: fix import structure 2022-07-19 09:19:55 -07:00
alichraghi
4e624c5381 freetype: update LineJoin members name
Consonance with Zig Style Guide
2022-07-19 09:19:55 -07:00
PiergiorgioZagaria
2f1a9f4364 freetype: fix tests for stage2 and Face.getGlyphName() 2022-07-19 09:11:54 -07:00
alichraghi
be9d2b431f {frreetype,sysaudio}: use std.refAllDeclsRecursive
added to stdlib via #12103
2022-07-17 09:26:29 -07:00
alichraghi
2794a7438f freetype: remove deinit error logs
the error only happens when handle is null wich is unreachable
2022-07-13 01:31:08 -07:00
alichraghi
d5e4c41266 freetype: don't require buffer in getGlyphName 2022-07-12 06:54:00 -07:00
PiergiorgioZagaria
b4ac18ec57 freetype: support compiling with stage2 (-fno-stage1) 2022-07-06 05:52:56 -07:00
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