Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Continue support COLRv1 table #145

Merged
merged 54 commits into from
May 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
2cb01f2
Support COLR v1 table.
RazrFalcon Oct 8, 2023
75cf9d0
Merge branch 'master' into colr-v1
RazrFalcon Oct 15, 2023
ad4449d
Merge fixes.
RazrFalcon Oct 15, 2023
3998ead
Add isolate function
LaurenzV Apr 24, 2024
3c6e13f
Add support for clipbox
LaurenzV Apr 25, 2024
b5724c4
Fix foreground color handling
LaurenzV Apr 25, 2024
6cf1975
Fix foreground color
LaurenzV Apr 25, 2024
f48a354
Add basic clip path
LaurenzV Apr 25, 2024
62348e2
Switch to using a single paint method
LaurenzV Apr 26, 2024
7738a78
Remove pop_clipbox
LaurenzV Apr 26, 2024
19feec4
More refactoring
LaurenzV Apr 26, 2024
b416520
Make some more progress
LaurenzV Apr 26, 2024
1470dc0
Fix small bug
LaurenzV Apr 26, 2024
1759ce8
Simplify layer composition
LaurenzV Apr 26, 2024
cf38510
Remove isolate and increase number of variation axes
LaurenzV Apr 27, 2024
3e12eaf
WIP variations
LaurenzV Apr 29, 2024
d1a7163
WIP
LaurenzV Apr 30, 2024
b9cbf4f
At least it compiles
LaurenzV Apr 30, 2024
59d099c
Add support for LinearVarGradient
LaurenzV May 7, 2024
cbffad7
Finish var linear gradient
LaurenzV May 8, 2024
0f9c4f3
Add var solid color
LaurenzV May 8, 2024
8b59e0c
Add PaintVarTransform
LaurenzV May 8, 2024
37e3907
Add some more variable elements
LaurenzV May 8, 2024
4983b28
Fix some bugs
LaurenzV May 8, 2024
6856730
moar progress
LaurenzV May 8, 2024
a9ddd34
Add support for variable clip box
LaurenzV May 8, 2024
3f222fc
fix some lints
LaurenzV May 8, 2024
1ea54bb
Fix remaining lints
LaurenzV May 8, 2024
e0be591
Make foreground color attribute of face
LaurenzV May 8, 2024
d91d509
Make old tests work
LaurenzV May 8, 2024
28f7d05
Make variation data private again
LaurenzV May 8, 2024
f2f854c
Add colr1 fonts
LaurenzV May 8, 2024
ca3624b
Start adding some tests
LaurenzV May 8, 2024
64bbe6a
Add test for static instances
LaurenzV May 8, 2024
6a82af9
Fix bug with delta
LaurenzV May 8, 2024
5bd2fb6
Add var tests
LaurenzV May 8, 2024
fec3e65
Add documentation to everything
LaurenzV May 8, 2024
8a3d9a4
Move delta set and fix warnings
LaurenzV May 8, 2024
7d5c083
First attempt at building without std
LaurenzV May 8, 2024
c34c3ad
Make it build without default features.
LaurenzV May 8, 2024
ebbed71
Tidy up
LaurenzV May 8, 2024
21fcce6
Wrap if in block
LaurenzV May 8, 2024
d1a1603
Bump CI to 1.43
LaurenzV May 8, 2024
b1d06ca
Bump again
LaurenzV May 8, 2024
496c0fb
Fix base64
LaurenzV May 8, 2024
bba2377
Bump for const generics
LaurenzV May 8, 2024
1f7134a
Apply partial code review
LaurenzV May 9, 2024
b0c6092
Reuse BBox for ClipBox
LaurenzV May 9, 2024
5548bfe
Fix build for stops
LaurenzV May 9, 2024
27c56cd
Next code review
LaurenzV May 9, 2024
d59f951
Align message for sweep gradient
LaurenzV May 9, 2024
a2e7e7f
Make foreground color part of function argument
LaurenzV May 9, 2024
7a9df46
Update README
LaurenzV May 9, 2024
7327ca2
Remove newline
LaurenzV May 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
rust:
- 1.42.0
- 1.51.0
- stable
steps:
- name: Checkout
Expand Down
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ glyph-names = []
gvar-alloc = ["std"]

[dev-dependencies]
base64 = "0.13"
base64 = "0.22.1"
pico-args = "0.5"
tiny-skia-path = "0.11.4"
LaurenzV marked this conversation as resolved.
Show resolved Hide resolved
xmlwriter = "0.1"
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ There are roughly three types of TrueType tables:
| `bloc` table | ✓ | ✓ | |
| `CBDT` table | ~ (no 8, 9) | ✓ | |
| `CBLC` table | ✓ | ✓ | |
| `COLR` table | ~ (only v0) | ✓ | |
| `CPAL` table | ~ (only v0) | ✓ | |
| `COLR` table | | ✓ | |
| `CPAL` table | | ✓ | |
| `CFF ` table | ✓ | ✓ | ~ (no `seac` support) |
| `CFF2` table | ✓ | ✓ | |
| `cmap` table | ~ (no 8) | ✓ | ~ (no 2,8,10,14; Unicode-only) |
Expand Down
Loading
Loading