Commit graph

72 commits

Author SHA1 Message Date
Ali Chraghi
001e191e5c freetype: Implement needed Computation API 2022-07-22 17:49:25 -07:00
Ali Chraghi
30612500e0 freetype: update examples
compile error due the last functions rename
2022-07-22 17:49:25 -07:00
alichraghi
0aa9cc4a04 freetype: Bitmap Handling 100% Coverage 2022-07-22 17:49:25 -07:00
alichraghi
e6adc3e350 build: add mode paramater to testStep functions 2022-07-20 18:55:59 -07:00
alichraghi
d194dafb79 build: add test-mach step to test src/ and test for testing all sub-projects 2022-07-19 09:25:55 -07:00
alichraghi
a6cadba1ba freetype: update test fonts path to be used in parent directories 2022-07-19 09:25:55 -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
Stephen Gutekanst
bbb276854b all: update to Zig 0.10.0-dev.3027+0e26c6149
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-07-17 09:20:48 -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
4107b1d5fe freetype: Use @embedFile() 2022-07-06 05:52:56 -07:00
PiergiorgioZagaria
b4ac18ec57 freetype: support compiling with stage2 (-fno-stage1) 2022-07-06 05:52:56 -07:00
Stephen Gutekanst
e4cca0127e freetype: README: explain brotli/WOFF2 support
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-06-24 12:26:15 -07:00
Ali Chraghi
97870dc8eb freetype: update upstream 2022-06-24 12:18:04 -07:00
Ali Chraghi
285bf81bf9 freetype: brotli support for woff2 fonts 2022-06-24 12:18:04 -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
Stephen Gutekanst
80157a99fc freetype: update upstream to include OT sources
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-06-10 13:42:14 -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
86053d9969 freetype: update upstream 2022-06-10 12:53:10 -07:00
Ali Chraghi
cdce9fb223 freetype: sync harfbuzz sources with upstream 2022-06-10 12:53:10 -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
d98bfab809 freetype: rename freetype_pkg to pkg 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
Stephen Gutekanst
322ead9218 CI: ZIG_VERSION=0.10.0-dev.2439+c84f5a5f9 ./dev/update-zig.sh
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-05-31 05:02:04 -07:00
Stephen Gutekanst
c2111e0691 CI: ZIG_VERSION=0.10.0-dev.2439+c84f5a5f9 ./dev/update-zig.sh
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-05-31 03:39:45 -07:00
Stephen Gutekanst
539b643267 CI: rename macos-gnu target -> macos-none
Reflecting breaking change in latest version of Zig

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-05-31 03:24:34 -07:00
Stephen Gutekanst
3a81754973 CI: ZIG_VERSION=0.10.0-dev.2439+c84f5a5f9 ./dev/update-zig.sh
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-05-31 03:24:34 -07:00
kamidev
68190e863a Change std.build.Pkg.path -> std.build.Pkg.source
Fixes breaking change in latest Zig master, see https://github.com/ziglang/zig/pull/11557
2022-05-29 08:25:52 -07:00