mirror of
https://github.com/welpo/tabi.git
synced 2025-12-17 04:48:44 +01:00
📝 docs: include layout features in font subset
This commit is contained in:
parent
fa9229377d
commit
44980f1418
3 changed files with 5 additions and 5 deletions
|
|
@ -128,7 +128,7 @@ temp_subset=$(mktemp)
|
|||
# Run the pyftsubset command with the filtered characters as --text argument.
|
||||
pyftsubset "$font_file" \
|
||||
--text="$unique_chars" \
|
||||
--layout-features="" --flavor="woff2" --output-file="$temp_subset" --with-zopfli
|
||||
--layout-features="*" --flavor="woff2" --output-file="$temp_subset" --with-zopfli
|
||||
|
||||
# Base64 encode the temporary subset.woff2 file and create the CSS file.
|
||||
base64_encoded_font=$(base64 -i "$temp_subset")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue