Commit cdc3bbaf authored by Jeremy Bicha's avatar Jeremy Bicha

New upstream version 0.110

parent 6ba3398f
0.110
- Space everything a little bit tighter.
- Scale down whiteCircle and blackCircle by 50%, makes password dots smaller.
- Tweak feet of one.lf slightly for a more even appearance.
- Revise lcaron, dcaron and tcaron for collision-free rendering even at bold
weight. Will need kerning later.
- Add draft of Cyrillic (GF Cyrillic Plus set), to be improved.
- Equalize advance width of period, comma, colon, semicolon.
- Build packages with prebuilt fonts baked in.
- New contributed AppStream metadata translations for Slovakian, Slovenian,
Russian and Chinese (China).
0.101
- Countless detail updates to various glyphs
- Added contributed AppStream metdata translations for Polish, French,
Indonesian, Galician, Occitan, Chinese (Taiwan), Spanish, Catalan, Croatian,
German, Dutch, Turkish, Serbian, Serbian (Latin), Hungarian, Korean, Czech,
Lithuanian, Danish, Italian, Romanian, Punjabi, Latvian, Swedish, Icelandic,
Greek
0.100
- Redesigned from scratch to interpolate cleanly from thin to extra bold.
Currently targets the Google Fonts Latin Core and Pro glyph sets.
- Added contributed AppStream metdata translations for Brazilian Portugese,
Friulian and Finnish.
0.0.25
- Can't remember.
0.0.24
- asymmetric k for bold, fix stem width
......
......@@ -7,15 +7,26 @@ Build instructions
------------------
```
pip3 install --user fontmake
pip3 install --user git+https://github.com/adobe-type-tools/psautohint.git@v1.1.0#egg=psautohint
# Add both programs to your PATH.
python3 -m venv venv
. venv/bin/activate # Unixoids...
venv/Scripts/activate # ...or on Windows cmd.exe or PowerShell
pip3 install meson ninja # Unless already present on system.
pip3 install fontmake psautohint "glyphslib>=3.0.3"
meson build
cd build
ninja install
ninja -C build install
```
Contributing
------------
The master file is `src/Cantarell.glyphs`. To contribute, you need to:
- Use the proprietary and Mac-only Glyphs.app...
- ...or generate UFOs from it by using `fontmake -g src/Cantarell.glyphs -o ufo`. You can then open the masters in `master_ufo` with any design app that supports it. Send the contribution to Nikolaus Waxweiler somehow so he can consider it.
- ...or wait for glyphsLib 2.3.0 to be released, which will finally contain code to roundtrip between Glyphs files and UFOs, at which point I'll switch over and you'll be able to use any UFO editor you'd like. Rejoice!
History
-------
......@@ -29,14 +40,6 @@ The overall quality of the design was however far from good, given that the regu
Given the decaying state of FontForge (arcane user interface, heaps of quirky and buggy behavior) and the very early development status of alternatives such as TruFont, Nikolaus Waxweiler started redrawing Cantarell in the proprietary and Mac-only Glyphs.app under mentorship from Jacques Le Bailly ("Baron von Fonthausen"). Later, Alexei Vanyashin and Eben Sorkin reviewed the design.
Developer information
---------------------
The master file is `src/Cantarell.glyphs`. To contribute, you need to either:
- Use the proprietary and Mac-only Glyphs.app...
- ...or generate UFOs from it by using `fontmake -g src/Cantarell.glyphs -o ufo`. You can then open the masters in `master_ufo` with any design app that supports it. Send the contribution to Nikolaus Waxweiler somehow so he can consider it.
Acknowledgements
----------------
......
......@@ -22,8 +22,12 @@ pa
pl
pt_BR
ro
ru
sk
sl
sr
sr@latin
sv
tr
zh_CN
zh_TW
# Russian translation for cantarell-fonts.
# Copyright (C) 2018 cantarell-fonts's COPYRIGHT HOLDER
# This file is distributed under the same license as the cantarell-fonts package.
# Stas Solovey <whats_up@tut.by>, 2018.
#
msgid ""
msgstr ""
"Project-Id-Version: cantarell-fonts master\n"
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?"
"product=cantarell-fonts&keywords=I18N+L10N&component=general\n"
"POT-Creation-Date: 2018-03-17 20:35+0000\n"
"PO-Revision-Date: 2018-03-19 15:08+0300\n"
"Language-Team: Russian <gnome-cyr@gnome.org>\n"
"Language: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"Last-Translator: Stas Solovey <whats_up@tut.by>\n"
"X-Generator: Poedit 2.0.6\n"
#: appstream/org.gnome.cantarell.metainfo.xml.in:6
msgid "Cantarell"
msgstr "Cantarell"
#: appstream/org.gnome.cantarell.metainfo.xml.in:7
msgid "Humanist sans serif font"
msgstr "Шрифт без засечек"
#: appstream/org.gnome.cantarell.metainfo.xml.in:9
msgid ""
"The Cantarell font family is a contemporary Humanist sans serif designed for "
"on-screen reading. The fonts were originally designed by Dave Crossland."
msgstr ""
"Семейство шрифтов Cantarell — это современные шрифты без засечек, "
"предназначенные для чтения на экране. Шрифты были первоначально разработаны "
"Дейвом Кросслэндом."
# Slovak translation for cantarell-fonts.
# Copyright (C) 2018 cantarell-fonts's COPYRIGHT HOLDER
# This file is distributed under the same license as the cantarell-fonts package.
# Dušan Kazik <prescott66@gmail.com>, 2018.
#
msgid ""
msgstr ""
"Project-Id-Version: cantarell-fonts master\n"
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?"
"product=cantarell-fonts&keywords=I18N+L10N&component=general\n"
"POT-Creation-Date: 2018-03-15 00:37+0000\n"
"PO-Revision-Date: 2018-03-17 21:34+0100\n"
"Language-Team: Slovak <gnome-sk-list@gnome.org>\n"
"Language: sk\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 1 : (n>=2 && n<=4) ? 2 : 0;\n"
"Last-Translator: Dušan Kazik <prescott66@gmail.com>\n"
"X-Generator: Poedit 2.0.6\n"
#: appstream/org.gnome.cantarell.metainfo.xml.in:6
msgid "Cantarell"
msgstr "Cantarell"
#: appstream/org.gnome.cantarell.metainfo.xml.in:7
msgid "Humanist sans serif font"
msgstr "Humanistické písmo typu Sans Serif"
#: appstream/org.gnome.cantarell.metainfo.xml.in:9
msgid ""
"The Cantarell font family is a contemporary Humanist sans serif designed for "
"on-screen reading. The fonts were originally designed by Dave Crossland."
msgstr ""
"Rodinu písiem Cantarell tvoria moderné humanistické písma typu Sans Serif "
"navrhnuté pre čítanie na obrazovke. Písma pôvodne navrhol Dave Crossland."
# Slovenian translation for cantarell-fonts.
# Copyright (C) 2018 cantarell-fonts's COPYRIGHT HOLDER
# This file is distributed under the same license as the cantarell-fonts package.
#
# Matej Urbančič <mateju@svn.gnome.org>, 2018.
#
msgid ""
msgstr ""
"Project-Id-Version: cantarell-fonts master\n"
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?"
"product=cantarell-fonts&keywords=I18N+L10N&component=general\n"
"POT-Creation-Date: 2018-03-05 12:48+0000\n"
"PO-Revision-Date: 2018-03-06 22:00+0100\n"
"Last-Translator: Matej Urbančič <mateju@svn.gnome.org>\n"
"Language-Team: Slovenian GNOME Translation Team <gnome-si@googlegroups.com>\n"
"Language: sl_SI\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n"
"%100==4 ? 3 : 0);\n"
"X-Poedit-SourceCharset: utf-8\n"
"X-Generator: Poedit 2.0.4\n"
#: appstream/org.gnome.cantarell.metainfo.xml.in:6
msgid "Cantarell"
msgstr "Cantarell"
#: appstream/org.gnome.cantarell.metainfo.xml.in:7
msgid "Humanist sans serif font"
msgstr "Pisava sans serif Humanist"
#: appstream/org.gnome.cantarell.metainfo.xml.in:9
msgid ""
"The Cantarell font family is a contemporary Humanist sans serif designed for "
"on-screen reading. The fonts were originally designed by Dave Crossland."
msgstr ""
"Družina pisave Cantarell je sodobna različica neserifne pisave Humanist, "
"zasnovane za zaslonsko branje. Pisave je izvorno oblikoval Dave Crossland."
# Chinese (China) translation for cantarell-fonts.
# Copyright (C) 2018 cantarell-fonts's COPYRIGHT HOLDER
# This file is distributed under the same license as the cantarell-fonts package.
# Dz Chen <wsxy162@gmail.com>, 2018.
# Dingzhong Chen <wsxy162@gmail.com>, 2018.
#
msgid ""
msgstr ""
"Project-Id-Version: cantarell-fonts master\n"
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?"
"product=cantarell-fonts&keywords=I18N+L10N&component=general\n"
"POT-Creation-Date: 2018-02-12 14:06+0000\n"
"PO-Revision-Date: 2018-03-23 00:47+0800\n"
"Last-Translator: Dingzhong Chen <wsxy162@gmail.com>\n"
"Language-Team: Chinese (China) <i18n-zh@googlegroups.com>\n"
"Language: zh_CN\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Gtranslator 2.91.7\n"
#: appstream/org.gnome.cantarell.metainfo.xml.in:6
msgid "Cantarell"
msgstr "Cantarell"
#: appstream/org.gnome.cantarell.metainfo.xml.in:7
msgid "Humanist sans serif font"
msgstr "人文系无衬线字体"
#: appstream/org.gnome.cantarell.metainfo.xml.in:9
msgid ""
"The Cantarell font family is a contemporary Humanist sans serif designed for "
"on-screen reading. The fonts were originally designed by Dave Crossland."
msgstr ""
"Cantarell 字体系列是为屏幕阅读优化的现代人文主义无衬线字体。字体最初由 "
"Dave Crossland 设计。"
project('cantarell-fonts', version : '0.101')
project('cantarell-fonts', version : '0.110')
datadir = join_paths(get_option('prefix'), get_option('datadir'))
appdatadir = join_paths(datadir, 'metainfo')
......@@ -19,4 +19,7 @@ else
subdir('prebuilt')
endif
subdir('appstream')
buildappstream = get_option('buildappstream')
if buildappstream == true
subdir('appstream')
endif
\ No newline at end of file
......@@ -2,4 +2,7 @@ option('fontsdir', type : 'string',
description : 'The directory the fonts should be copied to.')
option('useprebuilt', type : 'boolean', value : true,
description : 'Use pre-built font binaries in "prebuilt/" instead of buiding from source')
description : 'Use pre-built font binaries in "prebuilt/" instead of buiding from source')
option('buildappstream', type : 'boolean', value : true,
description : 'Build Appstream metadata file')
"""Elaborate sed script to flip useprebuilt=True by default as I don't know
how to "" things in .gitlab-ci.yml."""
import argparse
import fileinput
parser = argparse.ArgumentParser()
parser.add_argument(
"meson_options_txt", type=str, help="The meson_options.txt file to change"
)
args = parser.parse_args()
text_to_search = "'useprebuilt', type : 'boolean', value : false"
replacement_text = "'useprebuilt', type : 'boolean', value : true"
with fileinput.FileInput(args.meson_options_txt, inplace=True, backup=".bak") as file:
for line in file:
print(line.replace(text_to_search, replacement_text), end="")
......@@ -21,10 +21,20 @@ source = Path(args.font_source).resolve()
output_dir = Path(args.output_dir)
subprocess.run(
[args.fontmake, "-g", source, "-i", "-o", "otf", "--verbose", "WARNING"],
cwd=output_dir)
[
args.fontmake,
"-g",
source,
"-i",
"-o",
"otf",
"--verbose",
"WARNING",
"--output-dir",
args.output_dir,
]
)
for otf in (output_dir / "instance_otf").glob("*.otf"):
subprocess.run([args.psautohint, "-qq", str(otf)])
output_dir.mkdir(exist_ok=True)
otf.rename(output_dir / otf.name)
otfs = output_dir.glob("*.otf")
subprocess.run([args.psautohint, *[str(otf) for otf in otfs]])
This diff is collapsed.
custom_target('cantarell-fonts',
input : 'Cantarell.glyphs',
output : [
'Cantarell-Thin.otf',
'Cantarell-Light.otf',
'Cantarell-Regular.otf',
'Cantarell-Bold.otf',
'Cantarell-ExtraBold.otf'
],
command : [python3, fontmake_wrapper, fontmake, psautohint,
'@INPUT@', '@OUTDIR@'],
install: true,
install_dir : fontsdir)
custom_target(
'cantarell-fonts',
input: 'Cantarell.glyphs',
output: [
'Cantarell-Thin.otf',
'Cantarell-Light.otf',
'Cantarell-Regular.otf',
'Cantarell-Bold.otf',
'Cantarell-ExtraBold.otf',
],
command: [python3, fontmake_wrapper, fontmake, psautohint, '@INPUT@', '@OUTDIR@'],
install: true,
install_dir: fontsdir,
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment