Behdad Esfahbod
|
7b72481474
|
[hvgl] Speed up hot loop
|
2025-03-02 16:57:54 -07:00 |
|
Behdad Esfahbod
|
4857c58ec0
|
[hvgl] Fix warning
|
2025-03-02 16:57:54 -07:00 |
|
Behdad Esfahbod
|
c8d7a55b14
|
[hvgl] Simplify loop for the compiler
Just in case.
|
2025-03-02 16:57:54 -07:00 |
|
Behdad Esfahbod
|
a26a2c916a
|
[algs] Sprinkle some const around hb_packed_t<> casts
|
2025-03-02 16:57:54 -07:00 |
|
Behdad Esfahbod
|
e86bbf5e53
|
[hvgl] Fix warning
|
2025-03-02 16:57:54 -07:00 |
|
Behdad Esfahbod
|
f37f22baa3
|
[hvgl] Fix extremum rotations
Solve for eigen vector properly.
|
2025-03-02 16:57:54 -07:00 |
|
Behdad Esfahbod
|
41ee5988e5
|
[hvgl] Transforms seem to work now!
|
2025-03-02 16:57:54 -07:00 |
|
Behdad Esfahbod
|
3711a21ebc
|
[geometry] Clean up angle units
|
2025-03-02 16:57:54 -07:00 |
|
Behdad Esfahbod
|
460c39d76f
|
[hvgl] Towards correct rotation
|
2025-03-02 16:57:54 -07:00 |
|
Behdad Esfahbod
|
f5461c3b79
|
[hvgl] Implement transformations
I'm sure it has bugs but seems to work for non-rotation test
I've performed at least.
|
2025-03-02 16:57:54 -07:00 |
|
Behdad Esfahbod
|
b4f26357d9
|
[hvgl] Starting to implement transforms
|
2025-03-02 16:57:54 -07:00 |
|
Behdad Esfahbod
|
8176a3a885
|
[hvgl] Fix a warning
|
2025-03-02 16:57:54 -07:00 |
|
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 |
|