Content-Length: 310275 | pFad | http://github.com/sharpjs/JetBrainsMonoSlashed/commit/d4e8bf03eb6682874e4a0fe3c97104116e7e468f

B9 Synthesize zero feature in NL fonts. · sharpjs/JetBrainsMonoSlashed@d4e8bf0 · GitHub
Skip to content

Commit d4e8bf0

Browse files
committed
Synthesize zero feature in NL fonts.
1 parent 0a355f4 commit d4e8bf0

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

build.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ apk update
3434
apk upgrade
3535
apk add zip
3636
python -m pip install --upgrade pip
37-
pip install opentype-feature-freezer
37+
pip install fonttools opentype-feature-freezer
3838

3939
# -----------------------------------------------------------------------------
4040
# Phase 1: Acquire Input
@@ -51,6 +51,12 @@ echo "Downloading $SRC_URL"
5151
echo "Unpacking $SRC_ZIP"
5252
unzip -j "$SRC_ZIP" "*.ttf" "*.txt"
5353

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+
5460
# -----------------------------------------------------------------------------
5561
# Phase 2: Input -> Output
5662

zero.fea

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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;

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/sharpjs/JetBrainsMonoSlashed/commit/d4e8bf03eb6682874e4a0fe3c97104116e7e468f

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy