File tree Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ apk update
34
34
apk upgrade
35
35
apk add zip
36
36
python -m pip install --upgrade pip
37
- pip install opentype-feature-freezer
37
+ pip install fonttools opentype-feature-freezer
38
38
39
39
# -----------------------------------------------------------------------------
40
40
# Phase 1: Acquire Input
@@ -51,6 +51,12 @@ echo "Downloading $SRC_URL"
51
51
echo " Unpacking $SRC_ZIP "
52
52
unzip -j " $SRC_ZIP " " *.ttf" " *.txt"
53
53
54
+ # Add zero feature to NL fonts
55
+ for src in * NL-* .ttf; do
56
+ echo " $src <- zero feature"
57
+ fonttools feaLib -o " $src " /src/zero.fea " $src "
58
+ done
59
+
54
60
# -----------------------------------------------------------------------------
55
61
# Phase 2: Input -> Output
56
62
Original file line number Diff line number Diff line change
1
+ # Zero Feature for JetBrains Mono Slashed
2
+ # Copyright 2020 Subatomix Research Inc
3
+ # SPDX-License-Identifier: Apache-2.0
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ feature zero {
18
+ substitute zero by zero.zero ;
19
+ } zero ;
You can’t perform that action at this time.
0 commit comments