[cantarell-fonts/respacing] experiment with ci, etc
- From: Nikolaus Waxweiler <nwaxweiler src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cantarell-fonts/respacing] experiment with ci, etc
- Date: Thu, 2 Jan 2020 09:57:34 +0000 (UTC)
commit 27cec65f62a052e647447f31b616d107bec33afd
Author: Nikolaus Waxweiler <madigens gmail com>
Date: Thu Jan 2 10:57:26 2020 +0100
experiment with ci, etc
.gitlab-ci.yml | 5 +----
NEWS | 33 +++++++++++++++++++++++++++------
scripts/make-static-fonts.py | 8 +++++++-
scripts/make-variable-font.py | 6 ++----
4 files changed, 37 insertions(+), 15 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3bf40c94..85ce5c26 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,9 +1,6 @@
-image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/base:latest
-
build:
script:
- - dnf install -y libappstream-glib-devel gettext
- - pip3 install meson ninja -r requirements.txt
+ - pip3 install -r requirements.txt
- meson build
- ninja -C build install
diff --git a/NEWS b/NEWS
index b15bccdd..1ac7cc8d 100644
--- a/NEWS
+++ b/NEWS
@@ -1,24 +1,45 @@
0.200:
+- (The design points below are mostly the result of design reviews by Alexei
+ Vanyashin, Jacques Le Bailly and Stephen Nixon, in no particular order).
- Respacing of uppercase letters in the regular master and complete thin and
extra bold masters. Uppercase letters space better next to lowercase letters
now. Cyrillics are more consistently spaced.
-- Tweak numerals some. Especially the "one".
-- Various tweaks to various shapes, especially symbols.
-- Added variable font, CFF2 flavor.
+- Tweak numerals some. Especially the "one" and fractions.
+- Various tweaks to various shapes across the board, especially symbols. Braces
+ are curlier now. Detail tweaks to Cyrillics.
+- Basic mathy symbols and currency symbols now have tabular number width. I found
+ no advantage to having proportional variants.
+- Removed .tosf numerals. Fiddly work without clear purpose.
+- Experimental alternative form of "l" without the tail, contributed by Jacques
+ Le Bailly. Accessible via the ss01 feature.
+- Added variable font, CFF2 flavor. postscriptBlueFuzz is set to 1 explicitly
+ to avoid rounding issues with blue zone coverage in FreeType.
+- Removed f-ligatures without their own Unicode code points, as the design doesn't
+ currently need them. They were mainly added to fill up the Google glyph set.
+- The following glyphs now represent more than one Unicode code point to keep the
+ glyph view tidier:
+ emdash: U+2014, U+2015
+ emspace: U+2001, U+2003
+ enspace: U+2000, U+2002
+ hyphen: U+002D, U+00AD, U+2010, U+2011
+ space: U+0020, U+00A0
+ In PDFs where the generator removed the text stream, copy-paste may lead to the
+ others turning into the first. Meh.
+- Filled in hryvnia (U+20B4), tugrik (U+20AE) and tenge (U+20B8).
- Static fonts use same rounding method as varLib uses for the variable font.
- Fixed Ustraight-cy (U+04AE), ustraight-cy (U+04AF), Ustraightstroke-cy
(U+04B0), ustraightstroke-cy (U+04B1), they didn't have a proper production
name before and may not have been properly accessible.
- Removed some building components that made it into the final font.
-- Fixed various production names of combined diacritics.
- Limited anchor propagation to letters, excluding ligatures. Generate GDEF
table properly.
- Set one simple `gasp` table for hinted display for e.g. Windows.
- Removed `ccmp` from the `aalt` lookup.
- The OS/2 table fsType now says that no Digital Rights Management is applied
to the fonts, the name table now says the fonts are OFL 1.1 licensed.
-- Internal housekeeping: Sources are in UFO and Designspace format now, with
- various cleanups like removed unused layers.
+- Internal housekeeping: Sources are stored in the open UFO and Designspace format
+ now, with various cleanups like removed unused layers.
+- Internal housekeeping: Removed composite diacritics that served no design purpose.
0.111
- Fix the wrongly assigned OS/2 weight class values that e.g. led to Extra Bold
diff --git a/scripts/make-static-fonts.py b/scripts/make-static-fonts.py
index 1a3adb0c..7b2a9c17 100644
--- a/scripts/make-static-fonts.py
+++ b/scripts/make-static-fonts.py
@@ -25,7 +25,13 @@ def generate_and_write_autohinted_instance(
# instance.save(output_dir / f"{file_stem}.ufo", overwrite=True)
# 4. Compile and write instance OTF to disk.
- instance_font = ufo2ft.compileOTF(instance, removeOverlaps=True, overlapsBackend="pathops", inplace=True)
+ instance_font = ufo2ft.compileOTF(
+ instance,
+ removeOverlaps=True,
+ overlapsBackend="pathops",
+ inplace=True,
+ useProductionNames=True,
+ )
output_path = output_dir / f"{file_stem}.otf"
instance_font.save(output_path)
diff --git a/scripts/make-variable-font.py b/scripts/make-variable-font.py
index 4b70b9c5..e8a0f89d 100644
--- a/scripts/make-variable-font.py
+++ b/scripts/make-variable-font.py
@@ -23,9 +23,7 @@ parser.add_argument(
parser.add_argument(
"stylespace_path", type=Path, help="The path to the Stylespace file."
)
-parser.add_argument(
- "psautohint_path", type=Path, help="The path to psautohint."
-)
+parser.add_argument("psautohint_path", type=Path, help="The path to psautohint.")
parser.add_argument("output_path", type=Path, help="The variable TTF output path.")
args = parser.parse_args()
@@ -44,7 +42,7 @@ designspace.instances = [
]
# 2. Compile variable OTF from the masters.
-varfont = ufo2ft.compileVariableCFF2(designspace, inplace=True)
+varfont = ufo2ft.compileVariableCFF2(designspace, inplace=True, useProductionNames=True)
# 3. Generate STAT table.
stylespace = statmake.classes.Stylespace.from_file(stylespace_path)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]