271 Commits

Author SHA1 Message Date
Mitchell Hashimoto
c6dc2a3529 macos/text: create collection from descriptors 2022-10-01 16:10:50 -07:00
Mitchell Hashimoto
623e7f5916 macos/text: FontTraits 2022-10-01 16:00:52 -07:00
Mitchell Hashimoto
7eb466959a macos/foundation: number, dict get value 2022-10-01 15:49:05 -07:00
Mitchell Hashimoto
3eeef74315 pkg/macos: import headers instead of doing externs manually 2022-10-01 15:24:22 -07:00
Mitchell Hashimoto
57c1d8d329 macos/text: more APIs 2022-10-01 11:25:21 -07:00
Mitchell Hashimoto
88ae3be9ef pkg/macos: CFURL 2022-10-01 11:13:44 -07:00
Mitchell Hashimoto
49c9c21d52 macos: test listing fonts 2022-10-01 11:06:07 -07:00
Mitchell Hashimoto
cb02bab89e macos/text: font descriptors 2022-10-01 10:50:09 -07:00
Mitchell Hashimoto
92d564a246 macos/foundation: more string funcs 2022-10-01 10:32:54 -07:00
Mitchell Hashimoto
2440b0ec67 pkg/macos: dictionary create 2022-10-01 09:53:48 -07:00
Mitchell Hashimoto
d79c8fab39 macos/text: matching font descriptors 2022-09-30 15:13:29 -07:00
Mitchell Hashimoto
93f2a99b64 macos: CFArray 2022-09-30 15:10:11 -07:00
Mitchell Hashimoto
f9e1127317 pkg/macos: add CoreText 2022-09-30 14:48:06 -07:00
Mitchell Hashimoto
b0d9933249 macos: add another string API to test it really works 2022-09-30 14:12:15 -07:00
Mitchell Hashimoto
ab4491a45d pkg/macos: start core foundation bindings 2022-09-30 14:03:37 -07:00
Mitchell Hashimoto
68786814f8 -Dtest-exe flag to build and install test executables
This will be used to copy tests to other platforms.
2022-09-30 13:05:23 -07:00
Mitchell Hashimoto
fdbf40d3ee pkg/freetype: disable ubsan 2022-09-29 11:39:09 -07:00
Mitchell Hashimoto
88a4cb65f3 src/font: working on initiaizing deferred fonts from fc 2022-09-23 14:12:38 -07:00
Mitchell Hashimoto
53f5739eca use meta.FnPtr to prep for stage2 2022-09-23 13:20:43 -07:00
Mitchell Hashimoto
3bd9ed5952 Fix invalid c types with fontconfig 2022-09-23 13:14:08 -07:00
Mitchell Hashimoto
72105fc6cd update to the latest stage2 compiler we can 2022-09-23 12:08:06 -07:00
Mitchell Hashimoto
57a82a26e7 pkg/fontconfig: const pointers 2022-09-17 09:19:00 -07:00
Mitchell Hashimoto
9750ac87fd pkg/fontconfig: pattern get 2022-09-17 09:04:40 -07:00
Mitchell Hashimoto
86f7d0e04e pkg/fontconfig: add some error handling 2022-09-17 08:58:42 -07:00
Mitchell Hashimoto
0d80225977 fontconfig: charset and langset apis 2022-09-16 15:12:02 -07:00
Mitchell Hashimoto
d69f8397f3 pkg/fontconfig: add weights/slants enum 2022-09-16 10:08:49 -07:00
Mitchell Hashimoto
5b215409c6 pkg/fontconfig: pattern.add 2022-09-16 09:55:45 -07:00
Mitchell Hashimoto
77851b30a2 Revert "update to latest Zig nightly"
This reverts commit f3f2c3df268db905b6af6588e5e5008da0f48b60.
2022-09-14 19:39:10 -07:00
Mitchell Hashimoto
f3f2c3df26 update to latest Zig nightly 2022-09-14 19:34:19 -07:00
Mitchell Hashimoto
e4ea27ec37 fontconfig: more APIs 2022-09-14 14:30:18 -07:00
Mitchell Hashimoto
aca36ba79b fontconfig: fc-match 2022-09-14 14:26:42 -07:00
Mitchell Hashimoto
03ab1bedd4 fontconfig: fc-match 2022-09-14 12:49:43 -07:00
Mitchell Hashimoto
eb2ce495b3 fontconfig: font list 2022-09-14 10:14:09 -07:00
Mitchell Hashimoto
ce899dca11 fontconfig: font sets 2022-09-14 10:05:09 -07:00
Mitchell Hashimoto
382f569d65 fontconfig: object sets and patterns 2022-09-14 09:54:48 -07:00
Mitchell Hashimoto
b4d571e018 pkg/fontconfig: disable ubsan (reported upstream) 2022-09-14 09:23:02 -07:00
Mitchell Hashimoto
59191b05cd build fontconfig 2022-09-13 14:34:40 -07:00
Mitchell Hashimoto
d422d1ee78 pkg/fontconfig: starting, not working 2022-09-13 13:53:20 -07:00
Mitchell Hashimoto
57725cf3a4 cache row iterator max value 2022-09-01 22:05:42 -07:00
Mitchell Hashimoto
953f1aeb29 pkg/harfbuzz: fixing some APIs 2022-08-30 10:02:40 -07:00
Mitchell Hashimoto
39376feae0 font: shape API, calls shape and outputs some debug 2022-08-29 20:15:29 -07:00
Mitchell Hashimoto
5a232e0c3e utf8proc: add grapheme break API 2022-08-29 20:13:13 -07:00
Mitchell Hashimoto
dafc99746d font: Face initializes a hb_font alongside every face 2022-08-29 16:46:53 -07:00
Mitchell Hashimoto
0505018186 Line segmentation into text runs 2022-08-29 16:39:48 -07:00
Mitchell Hashimoto
f73783a521 pkg/harfbuzz: add guessSegmentProperties 2022-08-29 14:52:16 -07:00
Mitchell Hashimoto
f1abca51f7 convert src/font to use new pkg/freetype 2022-08-28 22:22:16 -07:00
Mitchell Hashimoto
672f6e720c pkg/freetype: finish APIs we need 2022-08-28 21:06:36 -07:00
Mitchell Hashimoto
8ef3018189 pkg/freetype: loading glyphs 2022-08-28 21:02:39 -07:00
Mitchell Hashimoto
a2b06d7705 pkg/freetype: more face APIs 2022-08-28 17:18:23 -07:00
Mitchell Hashimoto
7af9091497 pkg/freetype: Library and Face 2022-08-28 17:07:27 -07:00