Behdad Esfahbod
|
db60a248dc
|
Merge pull request #3395 from fonttools/varc-table
[VARC] Variable Composites table
|
2024-05-24 08:09:51 -07:00 |
|
Behdad Esfahbod
|
90fed08964
|
[ttLib.__main__] Fix decompiling all tables
|
2024-05-23 13:02:43 -06:00 |
|
Behdad Esfahbod
|
aba4f52dea
|
[CFFToCFF2] Remove unused subroutines if necessary
The transforms.py changes are for them to work with fonts
without font.charset. I'm not sure how we didn't catch these
before.
|
2024-05-23 12:19:39 -06:00 |
|
Behdad Esfahbod
|
33beeaa1a2
|
[CFFToCFF2] Keep charset during initial round
See comments.
|
2024-05-23 12:19:30 -06:00 |
|
Cosimo Lupo
|
91775d2205
|
Merge pull request #3520 from fonttools/dedup-lkp-refs
[feaLib] don't reference same lookup multiple times within the same feature
|
2024-05-23 19:12:35 +01:00 |
|
Cosimo Lupo
|
0902d1e482
|
[feaLib] don't reference same lookup multiple times within the same feature
Fixes https://github.com/fonttools/fonttools/issues/2946
|
2024-05-23 19:00:39 +01:00 |
|
Behdad Esfahbod
|
753197e017
|
[varc] Use multiVarStore instead of GDEF varStore
That's what we agreed upon.
|
2024-05-22 18:46:07 -06:00 |
|
Behdad Esfahbod
|
973072b259
|
[Condition] Implement ConditionValue
Shift other Condition format numbers.
Implements
https://github.com/adobe-type-tools/opentype-spec-drafts/blob/main/condvalue_spec.md
|
2024-05-22 18:46:07 -06:00 |
|
Just van Rossum
|
77add05f7f
|
Don't emit addVarComponent() if the component references the parent glyph (special case)
|
2024-05-22 18:46:07 -06:00 |
|
Behdad Esfahbod
|
973dc5c9a7
|
[varc] Use Condition instead of ConditionSet
With more Condition formats.
df7dcc4618
https://github.com/harfbuzz/boring-expansion-spec/issues/147
|
2024-05-22 18:46:07 -06:00 |
|
Behdad Esfahbod
|
9cb73dafeb
|
[varc] Add a conditional VarComponent test
|
2024-05-22 18:46:07 -06:00 |
|
Behdad Esfahbod
|
d53c08a497
|
[varc] Conditionals tested!
|
2024-05-22 18:46:07 -06:00 |
|
Behdad Esfahbod
|
74f870f4ef
|
[varc] Add ConditionSets
|
2024-05-22 18:46:07 -06:00 |
|
Behdad Esfahbod
|
c155632e8f
|
[varc] Skip reserved records
|
2024-05-22 18:46:07 -06:00 |
|
Behdad Esfahbod
|
88828e0082
|
[CFF2IndexOf] Fix data_base
From the spec:
"Offsets in the offset array are relative to the byte
that precedes the object data."
|
2024-05-22 18:46:07 -06:00 |
|
Behdad Esfahbod
|
a1641d91b2
|
Newer black
|
2024-05-22 18:46:07 -06:00 |
|
Behdad Esfahbod
|
3bada5de80
|
Fix otConverters lazy reader
|
2024-05-22 18:46:07 -06:00 |
|
Behdad Esfahbod
|
1acc80eba5
|
[VARC] Deepcopy the component
Since we modify comp.transform.
|
2024-05-22 18:46:07 -06:00 |
|
Behdad Esfahbod
|
40584ad489
|
[VARC] Adjust XML output based on review feedback
|
2024-05-22 18:46:07 -06:00 |
|
Behdad Esfahbod
|
7d6df04d44
|
[VARC] Minor, match spec better
No functional change.
|
2024-05-22 18:46:07 -06:00 |
|
Behdad Esfahbod
|
5b2df6b90b
|
[VARC] Compute flags from XML transform components
|
2024-05-22 18:46:07 -06:00 |
|
Behdad Esfahbod
|
037bbe1030
|
[VARC] Load axisValues as float
https://github.com/fonttools/fonttools/pull/3395#issuecomment-1897696665
|
2024-05-22 18:46:07 -06:00 |
|
Behdad Esfahbod
|
5ad4045cec
|
[VarComponent] Nicer XML output
https://github.com/fonttools/fonttools/pull/3395#issuecomment-1895944021
|
2024-05-22 18:46:07 -06:00 |
|
Behdad Esfahbod
|
e3ba7a7e0b
|
[lazyTools] Simplify based on review feedback
|
2024-05-22 18:46:07 -06:00 |
|
Behdad Esfahbod
|
b3a0a21125
|
[transform] Remove redundant methods
|
2024-05-22 18:46:07 -06:00 |
|
Behdad Esfahbod
|
87ddb244ea
|
[otBase] Add comment based on review feedback
|
2024-05-22 18:46:07 -06:00 |
|
Behdad Esfahbod
|
d6482c9b32
|
[VARC] Rename VarInt32 to uint32var
|
2024-05-22 18:46:07 -06:00 |
|
Behdad Esfahbod
|
9f66edb0d1
|
[varLib.models] Add validate=False to normalizeLocation
|
2024-05-22 18:46:07 -06:00 |
|
Behdad Esfahbod
|
b1142b60cb
|
[VARC] Adjust to latest flags change
|
2024-05-22 18:46:07 -06:00 |
|
Behdad Esfahbod
|
297e0bd257
|
[VARC] Use var-int encoding for AxisIndicesIndex
Slightly larger fonts, but more consistency, and freed
a flag bit.
|
2024-05-22 18:46:07 -06:00 |
|
Behdad Esfahbod
|
6a09096800
|
[VARC] Use variable-length encoding for VarIdx'es
|
2024-05-22 18:46:07 -06:00 |
|
Behdad Esfahbod
|
c3dfe10cce
|
[VARC] Use TupleVariations tuple encoding for axisValues
Free improvement.
|
2024-05-22 18:46:07 -06:00 |
|
Behdad Esfahbod
|
bc82985581
|
[VARC] Speed up subsetting
Don't decode the whole table.
|
2024-05-22 18:46:07 -06:00 |
|
Behdad Esfahbod
|
e88e47f8ff
|
[VARC] Take a stab at instancing
|
2024-05-22 18:46:07 -06:00 |
|
Behdad Esfahbod
|
902b2a194e
|
[VARC] Fix scaleUpem
Instancing left.
|
2024-05-22 18:46:07 -06:00 |
|
Behdad Esfahbod
|
a7ca67ada8
|
[VARC] Update subsetting
|
2024-05-22 18:46:07 -06:00 |
|
Behdad Esfahbod
|
735859f929
|
[VARC] Implement XML read/write
|
2024-05-22 18:46:07 -06:00 |
|
Behdad Esfahbod
|
cfc66a3a82
|
[VARC] Simplify VarCompositeRecord
|
2024-05-22 18:46:07 -06:00 |
|
Behdad Esfahbod
|
668a40da38
|
[VARC] Pivot on design again
Just store the AxisIndices in a shared list.
Don't explicitly store numAxes.
|
2024-05-22 18:46:07 -06:00 |
|
Behdad Esfahbod
|
bfb8490947
|
[VARC] Apparently __iadd__ is optional
|
2024-05-22 18:46:07 -06:00 |
|
Behdad Esfahbod
|
6af1d5c555
|
Fix RESERVED
|
2024-05-22 18:46:07 -06:00 |
|
Behdad Esfahbod
|
58bb96be91
|
[VARC] Use a DeltaSetIndexMap
|
2024-05-22 18:46:07 -06:00 |
|
Behdad Esfahbod
|
d37b3942ee
|
[VARC] Encode indices as 1,2,3,4 bytes long
Previously it was 2 or 4.
|
2024-05-22 18:46:07 -06:00 |
|
Behdad Esfahbod
|
263d4d9a68
|
Handle scaleY
|
2024-05-22 18:46:07 -06:00 |
|
Behdad Esfahbod
|
cd1513923b
|
[VARC] Minor
|
2024-05-22 18:46:07 -06:00 |
|
Behdad Esfahbod
|
d07d960c75
|
Fix RESERVED
|
2024-05-22 18:46:07 -06:00 |
|
Behdad Esfahbod
|
f7337b55af
|
[VARC] Make HAVE_VARIATIONS flag automatic
|
2024-05-22 18:46:07 -06:00 |
|
Behdad Esfahbod
|
b772f1d686
|
Reuse a variable
|
2024-05-22 18:46:07 -06:00 |
|
Behdad Esfahbod
|
76d293ec05
|
[VARC] Simplify reading
|
2024-05-22 18:46:06 -06:00 |
|
Behdad Esfahbod
|
822351f12d
|
[VARC] Minor rename
|
2024-05-22 18:46:06 -06:00 |
|