Commit Graph
14264 Commits
Author SHA1 Message Date
Behdad Esfahbod 9817fa9947 [hvgl] Add get_total_num_parts() 2025-03-02 16:57:54 -07:00
Behdad Esfahbod be6f51fbca [hvgl] Make axis value setting work
Yay!
2025-03-02 16:57:54 -07:00
Behdad Esfahbod 1949eb8de7 [hvgl] Huh! Fix curves 2025-03-02 16:57:54 -07:00
Behdad Esfahbod b27ee77447 [hvgl] Towards setting axes for subparts
Doesn't seem to render fine yet, but general structure is fine.
2025-03-02 16:57:54 -07:00
Behdad Esfahbod f1a2d84d54 [hvgl] Remove font argument down the tree again
Not needed now that we pass transform down.
2025-03-02 16:57:54 -07:00
Behdad Esfahbod bf9d78252d [hvgl] Pass a transform down the tree 2025-03-02 16:57:54 -07:00
Behdad Esfahbod fab62d82fe [hvgl] Work in native type 2025-03-02 16:57:54 -07:00
Behdad Esfahbod 8183ab132b [hvgl] Apply shape deltas 2025-03-02 16:57:54 -07:00
Behdad Esfahbod de87cea150 [hvgl] Minor bound checking 2025-03-02 16:57:54 -07:00
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