Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
File renamed without changes.
File renamed without changes.
77 changes: 77 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
#!/bin/sh

# -------------------------------------------------------------------
# UPDATE THIS VARIABLE ----------------------------------------------

# thisFont="League" # must match the name in the font file, e.g. FiraCode-VF.ttf needs the variable "FiraCode"

# -------------------------------------------------------------------
# Update the following as needed ------------------------------------
set -e


echo "Generating VFs"
# mkdir -p ./fonts/variable
fontmake -g source/LeagueGothic.glyphs -o variable --round-instances --output-path ./fonts/vf/LeagueGothic\[slnt,wdth\].ttf



echo "Generating Statics" ##run fixes on statics as well.

fontmake -g source/LeagueGothic.glyphs -o ttf --round-instances -a --keep-direction -i --output-dir ./fonts/vf/static/


echo "Statics Built" ##run fixes on statics as well.

echo "Removing Build UFOS"

rm -rf master_ufo/ instance_ufo/

echo "Build UFOS Removed"

echo "Post processing"

vfs=$(ls ./fonts/vf/*.ttf)
for vf in $vfs
do
gftools fix-dsig -f $vf;
gftools fix-nonhinting $vf "$vf.fix";
mv "$vf.fix" $vf;
ttx -f -x "MVAR" $vf; # Drop MVAR. Table has issue in DW
rtrip=$(basename -s .ttf $vf)
new_file=./fonts/vf/$rtrip.ttx;
rm $vf;
ttx $new_file
rm ./fonts/vf/*.ttx
done
rm ./fonts/vf/*backup*.ttf


stat=$(ls ./fonts/vf/static/*.ttf)
for st in $stat
do
gftools fix-dsig -f $st;
gftools fix-hinting $st; #if this doesn't work rename as done above and figure diff solution.
mv "$st.fix" $st;
ttx -f -x "MVAR" $st; # Drop MVAR. Table has issue in DW
rtrip=$(basename -s .ttf $st)
new_file=./fonts/vf/static/$rtrip.ttx;
rm $st;
ttx $new_file
rm ./fonts/vf/static/*.ttx
done
# rm ./fonts/vf/static/*backup*.ttf





echo "fix vf meta? ok let's try that. I'm trying to fix VF meta"
gftools fix-vf-meta $vfs;
for vf in $vfs
do
mv "$vf.fix" $vf;
done

echo "Post processing complete"

Binary file added fonts/vf/LeagueGothic[slnt,wdth].ttf
Binary file not shown.
Binary file added fonts/vf/static/LeagueGothic-Condensed.ttf
Binary file not shown.
Binary file added fonts/vf/static/LeagueGothic-CondensedItalic.ttf
Binary file not shown.
Binary file added fonts/vf/static/LeagueGothic-Italic.ttf
Binary file not shown.
Binary file added fonts/vf/static/LeagueGothic-Regular.ttf
Binary file not shown.
Binary file added fonts/vf/static/LeagueGothic-SemiCondensed.ttf
Binary file not shown.
Binary file not shown.
Binary file added fonts/vf/static/LeagueGothic-SemiExpanded.ttf
Binary file not shown.
Binary file not shown.
7 changes: 7 additions & 0 deletions leaguegothic/DESCRIPTION.en_us.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<p>
By Caroline Hadilaksono, Micah Rich, & Tyler Finck, Mirko Velimirovic. League Gothic is a revival of an old classic, and one of our favorite typefaces, Alternate Gothic &#x23;1. It was originally designed by Morris Fuller Bentonfor the American Type Founders Company in 1903.
</p>

<p>
We decided to make our own version, and contribute it to the Open Source Type Movement. Thanks to a commission from the fine & patient folks over at WND.com, it’s been revised & updated with contributions from Micah Rich, Tyler Finck, and Dannci, who contributed extra glyphs. In 2020 Mirko Velimirovic converted League Gothic to a variable font and extended the character-set. If you would like to contribute to the project please see <a href="https://github.com/bghryct/league-gothic">github.com/bghryct/league-gothic</a>
</p>
Binary file added leaguegothic/LeagueGothic[slnt,wdth].ttf
Binary file not shown.
27 changes: 27 additions & 0 deletions leaguegothic/METADATA.pb
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: "League Gothic"
designer: "League Of Movable Type, Mirko Velimirovic"
license: "OFL"
category: "SANS_SERIF"
date_added: "2020-01-30"
fonts {
name: "League Gothic"
style: "normal"
weight: 400
filename: "LeagueGothic[slnt,wdth].ttf"
post_script_name: "LeagueGothic-Regular"
full_name: "League Gothic Regular"
copyright: "Copyright 2020 The League Gothic Project Authors (https://github.com/bghryct/league-gothic)"
}
subsets: "latin"
subsets: "latin-ext"
subsets: "menu"
axes {
tag: "slnt"
min_value: -12.0
max_value: 0.0
}
axes {
tag: "wdth"
min_value: 75.0
max_value: 112.5
}
85 changes: 85 additions & 0 deletions leaguegothic/OFL.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
Copyright 2020 The League Gothic Project Authors (https://github.com/bghryct/league-gothic)

This Font Software is licensed under the SIL Open Font License, Version 1.1. (with no Reserved Font Name)
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

4) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
Binary file added leaguegothic/static/LeagueGothic-Condensed.ttf
Binary file not shown.
Binary file not shown.
Binary file added leaguegothic/static/LeagueGothic-Italic.ttf
Binary file not shown.
Binary file added leaguegothic/static/LeagueGothic-Regular.ttf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added leaguegothic/static/LeagueGothic-SemiExpanded.ttf
Binary file not shown.
Binary file not shown.
Loading