Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/theleagueof/league-spartan
A fantastic new revival of ATF's classic Spartan, a geometric sans-serif that has no problem kicking its enemies in the chest.
https://github.com/theleagueof/league-spartan
Last synced: about 2 months ago
JSON representation
A fantastic new revival of ATF's classic Spartan, a geometric sans-serif that has no problem kicking its enemies in the chest.
- Host: GitHub
- URL: https://github.com/theleagueof/league-spartan
- Owner: theleagueof
- License: ofl-1.1
- Created: 2014-09-22T02:45:35.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2022-06-13T07:23:57.000Z (over 2 years ago)
- Last Synced: 2024-08-03T22:14:41.029Z (5 months ago)
- Homepage:
- Size: 12.9 MB
- Stars: 577
- Watchers: 22
- Forks: 55
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
- awesome-design - theleagueof/league-spartan
README
![League Spartan Variable](documentation/leaguespartan-variable.gif)
League Spartan Variable
=======================[![Latest Release](https://img.shields.io/github/v/release/theleagueof/league-spartan?label=Download%20Release&logo=Github)](https://github.com/theleagueof/league-spartan/releases/latest)
[![All Releases](https://img.shields.io/github/downloads/theleagueof/league-spartan/total)](https://github.com/theleagueof/league-spartan/releases)
[![Fontship Build Status](https://img.shields.io/github/workflow/status/theleagueof/league-spartan/Fontship?label=Fontship&logo=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQyLjgiIGhlaWdodD0iMTA2LjgiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZmlsbC1ydWxlPSJldmVub2RkIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjEzIDBhMy4wOTQgMy4wOTQgMCAwMC0zLjA4MyAyLjgyNEwuMDE0IDgzLjIzNGEzLjA5MyAzLjA5MyAwIDAwMy4wODIgMy4zNjNoOS43Mj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cmlhbnQtbGlnYXR1cmVzOm5vcm1hbDtmb250LXZhcmlhbnQtbnVtZXJpYzpub3JtYWw7Zm9udC12YXJpYW50LXBvc2l0aW9uOm5vcm1hbDtmb250LXZhcmlhdGlvbi1zZXR0aW5nczpub3JtYWw7aW5saW5lLXNpemU6MDtpc29sYXRpb246YXV0bzttaXgtYmxlbmQtbW9kZTpub3JtYWw7c2hhcGUtbWFyZ2luOjA7c2hhcGUtcGFkZGluZzowO3RleHQtZGVjb3JhdGlvbi1jb2xvcjojMDAwO3RleHQtZGVjb3JhdGlvbi1saW5lOm5vbmU7dGV4dC1kZWNvcmF0aW9uLXN0eWxlOnNvbGlkO3RleHQtaW5kZW50OjA7dGV4dC1vcmllbnRhdGlvbjptaXhlZDt0ZXh0LXRyYW5zZm9ybTpub25lO3doaXRlLXNwYWNlOm5vcm1hbCIvPjxwYXRoIGQ9Ik0xMi45NiA2LjE4NmwtNi40OTQgNzQuMjNoODYuNThsNi40OTQtNzQuMjN6IiBmaWxsPSIjRkZGIiBzdHJva2U9IiNGRkYiLz48L3N2Zz4=)](https://github.com/theleagueof/league-spartan/actions?workflow=Fontship)Thanks to [Tyler Finck's](https://twitter.com/typeler) repeated and exhaustive efforts, **League Spartan** has been expanded considerably with multiple weights, from Extralight (200) to Black (900). The Bold style (700) is as close to the original League version as you’re going to get here, redrawn for better variable rendering. But take note — it will differ slightly from the [first version](https://github.com/theleagueof/league-spartan/releases/tag/1.000) (particularly in spacing).
![League Spartan Styles](documentation/leaguespartan-styles.png)
Download
--------The most recent ZIP file with all available font formats can be downloaded from from the [Github Releases page](https://github.com/theleagueof/league-spartan/releases). If you'd like to edit the font or just build it yourself, you can clone this repository or download the source of a release and build it yourself using [fontship](https://github.com/theleagueof/fontship).
Language Support
----------------Afrikaans, Albanian, Azerbaijani, Basque, Bosnian, Catalan, Croatian, Czech, Danish, Dutch, English, Estonian, Faroese, Filipino, Finnish, French, Galician, German, Hungarian, Icelandic, Indonesian, Irish, Italian, Latvian, Lithuanian, Malay, Norwegian Bokmål, Polish, Portuguese, Romanian, Slovak, Slovenian, Spanish, Swahili, Swedish, Turkish, Vietnamese, Welsh, Zulu
Names
-----It’s worth noting that you don’t need to use the variable version to get all 8 styles. The static OTF and TTF files (in their respective folders) will work and are simply named *League Spartan*.
Build the font
--------------You can build the font locally, after cloning this repo.
1. At the root of your local clone (cd path/to/local/clone), create a virtual environment: python3 -m venv env
2. Activate the virtual env: source env/bin/activate
3. Install gftools (or the requirements) in the virtual env: pip install gftools
4. go to the "sources" directory and from the terminal, run : gftools builder LeagueSpartan.glyphs
5. There! you will find the fonts in the fonts directory.Don't forget to alway activate your virtual environment before running gftools builder.
How-to
------New to variable fonts?
Great, maybe.
Desktop applications are slowly adopting this updated font format.
Install it like you would any other font, but be aware not all applications support variable font technology yet.Web use is a different story completely though. The variable TTF file will work on the web for some browsers but the variable WOFF2 file will provide almost complete support for modern browsers. That one file (lightweight at 24 kb!) can serve up all 8 pre-defined styles and whatever else you feel like using. I find that `font-variation-settings: "wght" 345;` renders better than `font-weight: 345;` Here is how you can initially call League Spartan in your css, provided your webfont is in the same directory as your stylesheet:
```css
@font-face {
font-family: 'League Spartan Variable';
src: url('LeagueSpartanVariable.woff2') format('woff2-variations');
font-weight: 200 900;
}
```License
-------This Font Software is licensed under the [SIL Open Font License, Version 1.1](OFL.md).
To understand what the OFL means to your use of these fonts, see the [detailed FAQ online](https://scripts.sil.org/OFL-FAQ_web).Questions/suggestions
---------------------Hit Tyler up on on [Twitter](https://www.twitter.com/typeler), tag [@theleagueof](https://www.twitter.com/theleagueof), or make an issue here on Github.