Commit Graph
18076 Commits
Author SHA1 Message Date
Behdad Esfahbod e04b63e40f [hvgl] Implement Part union 2025-03-02 16:56:38 -07:00
Behdad Esfahbod d829b2f60d [hvgl] Add PartComposite
Phew!
2025-03-02 16:56:38 -07:00
Behdad Esfahbod afa5d1009b [hvgl] Implement a couple other types 2025-03-02 16:56:38 -07:00
Behdad Esfahbod 853c68e364 [hvgl] Implement a couple of types 2025-03-02 16:56:38 -07:00
Behdad Esfahbod 89c9492503 [hvgl] Implement PartShape
Just struct and sanitize.
2025-03-02 16:56:38 -07:00
Behdad Esfahbod ce97c41fa4 [aat] Start implementing Apple hvgl table 2025-03-02 16:56:38 -07:00
Behdad Esfahbod 622f242eb0 [open-type/algs] Add fixed-endian floating point number types 2025-03-02 16:56:38 -07:00
Behdad Esfahbod d0710061c4 [open-type/algs] Rename Int to Num in some types
In anticipation of float types.
2025-03-02 16:56:38 -07:00
Behdad Esfahbod ce131d65ab [open-type] Add little-endian integers 2025-03-02 16:56:38 -07:00
Behdad Esfahbod e0c6c98025 [VARC] Implement get_extents()
Fixes https://github.com/harfbuzz/harfbuzz/issues/5007
2025-03-02 16:56:20 -07:00
Behdad Esfahbod d1826ca626 [TupleValues] Fix regression
Introduced in 043980a60e
2025-03-02 15:45:35 -07:00
Behdad Esfahbod d9628a5643 [MultiVarData] Micro-optimize 2025-03-02 13:00:55 -07:00
Behdad Esfahbod c81b1c43b1 [MultiVarData] Remove a likely 2025-03-02 12:43:28 -07:00
Behdad Esfahbod ad0a5c93b5 [vector] Add fast path in extend() for length-known iterators 2025-03-01 16:02:10 -07:00
Behdad Esfahbod 7e3c96582f [VARC] Reuse parent MultiVarStore cache if coords didn't change
Minor optimization; applicable to the test hangul font mostly.
2025-03-01 15:09:58 -07:00
Khaled Hosny 3ef8709829 10.4.0 10.4.0 2025-03-01 00:59:49 +02:00
Behdad Esfahbod 75ce774bc3 [gvar] Use a method for add_delta 2025-02-28 15:25:23 -07:00
Khaled Hosny 532ed228e7 [docs] Move all deprecated APIs to the deprecated section 2025-02-28 23:56:03 +02:00
Khaled Hosny 69e1c3c352 [ft] Add hb_ft_font_get_ft_face()
A new name for hb_ft_font_get_face(), which is now deprecated.

Fixes  https://github.com/harfbuzz/harfbuzz/issues/5084
2025-02-28 23:56:03 +02:00
Khaled Hosny 484e8d4997 [directwrite] Add hb_directwrite_face_get_dw_font_face()
A new name for hb_directwrite_face_get_font_face(), which is now
deprecated.

Part of https://github.com/harfbuzz/harfbuzz/issues/5084
2025-02-28 23:56:03 +02:00
Behdad Esfahbod 8226f597ac [decycler] Add a couple more tests 2025-02-28 13:49:44 -07:00
Behdad Esfahbod 64dbeaf0f4 [glyf] Mover decycler to the scratch pad 2025-02-28 01:13:25 -07:00
Behdad Esfahbod d59d435ec6 [decycler] Comments 2025-02-27 22:41:03 -07:00
Behdad Esfahbod cb781f53aa [BASE] Fix a TODO item 2025-02-27 10:15:22 -07:00
Khaled Hosny 1a759886d9 Improve GitHub Actions badges [ci skip] 2025-02-27 15:45:28 +02:00
Khaled Hosny 527a209674 Remove Codacy badge [ci skip]
It takes long time on PRs and no one actually looks into its reports.
The service has just been disabled and the badge is a dead link now.
2025-02-27 15:31:56 +02:00
Behdad Esfahbod 4be765c083 Fix config build 2025-02-27 02:26:08 -07:00
Behdad Esfahbod 4a43373aec [MultiVarData] Unroll another loop 2025-02-26 17:24:28 -07:00
Behdad Esfahbod 00541f1952 Merge pull request #4970 from harfbuzz/GVAR
Add `GVAR` table
2025-02-26 16:22:48 -07:00
Behdad Esfahbod a0543453de [CBDT] Change has_data() to be more accurate
get_length() was returning the Null table length if table
was not present.
2025-02-26 15:36:03 -07:00
Behdad Esfahbod 7504c67fb7 [CBDT] Return immediately if no data 2025-02-26 15:24:40 -07:00
Behdad Esfahbod 44b7ba51a3 [GVAR] Hide behind HB_NO_BEYOND_64K 2025-02-26 14:21:15 -07:00
Behdad Esfahbod 13900ce40d [GVAR] Hook up to face and glyf table 2025-02-26 14:21:15 -07:00
Behdad Esfahbod ffe955b9f9 [GVAR] Change offsetToData size to 24bit
As per https://github.com/harfbuzz/boring-expansion-spec/issues/162
2025-02-26 14:21:15 -07:00
Behdad Esfahbod 894fee6db3 [GVAR] Implement table
Unused. It's just like `gvar` but with 24bit glyphCount.
2025-02-26 14:21:15 -07:00
Behdad Esfahbod 4d3642c188 [face] Fix a malloc fail infinite-loop error 2025-02-26 14:20:45 -07:00
Behdad Esfahbod 6fbd6bb34e [face] Avoid infinite-loop in building a face blob 2025-02-26 14:06:35 -07:00
Behdad Esfahbod 6a7b4dcae6 [VARC] Reduce stack usage on 32bit systems 2025-02-26 13:25:50 -07:00
Behdad Esfahbod 84ffb7e477 [SimpleGlyph] Minor use an intermediate variable 2025-02-26 12:53:58 -07:00
Behdad Esfahbod 54db2b2ed6 [SimpleGlyph] Remove a conditional from hot path
5% speedup in Roboto-Regular draw benchmark
2025-02-26 12:53:52 -07:00
Behdad Esfahbod bb4d37b052 [VARC/coord-setter] Reduce stack allocation on 32bit systems 2025-02-26 12:17:27 -07:00
Behdad Esfahbod 51d3489ca1 [Composite] Fix memory-free rendering 2025-02-26 12:09:31 -07:00
Behdad Esfahbod a037d3815f [vector] Fix operator = 2025-02-26 12:05:12 -07:00
Behdad Esfahbod 59e6a1c477 [glyf/Composite] Malloc-free 2025-02-26 11:34:04 -07:00
Behdad Esfahbod 3c4cb472d1 [VARC] Fix uninitialized value
Fixes https://oss-fuzz.com/testcase-detail/6089638800588800
2025-02-26 10:48:36 -07:00
Behdad Esfahbod fcbf14a0e5 [CompositeGlyph] Adjust pre-allocation 2025-02-25 20:16:18 -07:00
Behdad Esfahbod 6ca8852eff [glyf] Return earlier if table is empty 2025-02-25 19:57:43 -07:00
Behdad Esfahbod 0cd98ebbf7 [vector] Add a missing fast-path 2025-02-25 18:53:04 -07:00
Behdad Esfahbod 41626401b0 [vector] Add faster extend() for array types 2025-02-25 18:48:34 -07:00
Behdad Esfahbod aaf5c06d62 [vector] Rewrite copy_array() to extend vector 2025-02-25 18:45:38 -07:00