-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #104 from googlefonts/resvg
Use resvg instead of cairosvg for Skia rasterization tests
- Loading branch information
Showing
5 changed files
with
16 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ See https://googlefonts.github.io/python#make-a-release. | |
## QA | ||
|
||
To help confirm valid output `nanoemoji` can optionally perform image diffs | ||
between cairosvg rendering and Skia rendering from the compiled font. Usage: | ||
between resvg rendering of the original SVGs and Skia rendering from the compiled font. Usage: | ||
|
||
``` | ||
# Mac only for now, make sure colr_test is compiled and on PATH | ||
|
@@ -30,6 +30,10 @@ git clone [email protected]:rsheeter/skia_colr.git | |
export PATH="$PATH:$(cd skia_colr/out/Static/ && pwd)" | ||
which colr_test | ||
# Make sure resvg tool is compiled and on PATH. E.g. you can use cargo to install it | ||
cargo install resvg | ||
which resvg | ||
# Get some svgs to play with | ||
git clone --recursive [email protected]:googlefonts/color-fonts.git | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters