Commit Graph
14255 Commits
Author SHA1 Message Date
Behdad Esfahbod 37a8e4af54 [algs] Minor tweak to HBFloat 2025-03-02 16:57:54 -07:00
Behdad Esfahbod c6bbc4ed1d [open-type] Fix NumType 2025-03-02 16:57:54 -07:00
Behdad Esfahbod 9f78bae89d [hvgl] Draw PartShape
With no variations so far.
2025-03-02 16:57:54 -07:00
Behdad Esfahbod caf040589f [hvgl] Fix NumType float conversion 2025-03-02 16:57:54 -07:00
Behdad Esfahbod 469c59e738 [hvgl] Start processing PartShape outline 2025-03-02 16:57:54 -07:00
Behdad Esfahbod fe96486082 [hvgl] Fix Align<>::get_size() 2025-03-02 16:57:54 -07:00
Behdad Esfahbod df890f69d9 [hvgl] Use UnsizedArrayOf for a couple of types 2025-03-02 16:57:54 -07:00
Behdad Esfahbod e9c531dcbf [hvgl] Simplify Align<> 2025-03-02 16:57:54 -07:00
Behdad Esfahbod a6ba9603c9 [hvgl] Move Align to proper place 2025-03-02 16:57:54 -07:00
Behdad Esfahbod 14a753359b [hvgl] Traverse down the tree
Still no path fetching.
2025-03-02 16:57:54 -07:00
Behdad Esfahbod 386ea1bab9 [hvgl] Fix sanitize 2025-03-02 16:57:54 -07:00
Behdad Esfahbod 8ff4cfbcae [hvgl] Fix null size of Part 2025-03-02 16:57:54 -07:00
Behdad Esfahbod 6ce9a20753 [hvgl] Hook up to hb-ot-font for get_path()
Does nothing yet.
2025-03-02 16:57:50 -07:00
Behdad Esfahbod a391ccf5bf [hvgl] Hook up to face 2025-03-02 16:56:38 -07:00
Behdad Esfahbod a438ea6252 [hvgl] Add IndexOf<> 2025-03-02 16:56:38 -07:00
Behdad Esfahbod e71d56c5c1 [hvgl] Add hvgl struct! 2025-03-02 16:56:38 -07:00
Behdad Esfahbod 0b0bba8fad [hvgl] Implement Index 2025-03-02 16:56:38 -07:00
Behdad Esfahbod 0f691ef67b [hvgl] Remove unnecessary hb_barrier()s 2025-03-02 16:56:38 -07:00
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 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 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
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