2014-01-10 16:24:28 +01:00
Fantasque Sans Mono
===================
2014-01-03 16:56:14 +01:00
2017-07-10 13:12:12 +02:00
A programming font, designed with functionality in mind, and with some
2013-11-18 12:12:44 +01:00
wibbly-wobbly handwriting-like fuzziness that makes it unassumingly cool.
2018-07-18 14:51:18 +02:00
[Download ](https://github.com/belluzj/fantasque-sans/releases/latest ) or
2018-07-18 16:04:53 +02:00
see [installation instructions ](#installation ).
2014-01-10 16:24:28 +01:00
2013-11-18 12:12:44 +01:00
2013-11-18 12:35:33 +01:00
![](Specimen/urxvt13.png)
2014-01-10 16:24:28 +01:00
Previously known as *Cosmic Sans Neue Mono* . It
appeared that [similar names were already in use for other
fonts](https://github.com/belluzj/cosmic-sans-neue/issues/16), and that
people tended to extend their instinctive hatred of Comic Sans to this very
font of mine (which of course can only be *loved* ). Why the previous name?
Here is my original explanation:
> The name comes from my realization that at some point it looked like the
> mutant child of Comic Sans and Helvetica Neue. Hopefully it is not the
> case any more.
2013-11-18 12:12:44 +01:00
2017-07-10 13:12:12 +02:00
Inspirational sources include Inconsolata and Monaco. I have also been using
2013-11-18 12:35:33 +01:00
Consolas a lot in my programming life, so it may have some points in common.
2013-11-18 12:12:44 +01:00
2014-06-09 22:15:10 +02:00
![](Specimen/kdevelop11.png)
2013-11-18 12:35:33 +01:00
![](Specimen/sublime11.png)
2013-11-18 12:12:44 +01:00
Weights, variants and glyph coverage
------------------------------------
2017-07-10 13:12:12 +02:00
The font includes a bold version, with the same metrics as the regular one.
2013-11-25 15:14:07 +01:00
Both versions include the same ranges of characters : latin letters, some
accented glyphs (quite a lot), some greek letters, some arrows.
Please note that I have not tested all of the glyphs I have drawn (some letters
have those two layers of crazy accents that I have never witnessed before), so
it might look bad in some cases. Please report these problems: see next section.
2013-11-18 12:12:44 +01:00
2014-01-24 14:10:16 +01:00
It also features a good italic version, which I designed in a fashion similar
to Consolas' italic version, with new glyph designs, not just an added slant.
2013-11-18 12:12:44 +01:00
2013-11-18 12:35:33 +01:00
![](Specimen/vim21.png)
2016-04-03 21:09:38 +02:00
Stylistic set(s)
----------------
### `ss01`: nondescript `k`
No ~~distractive~~ lovely loop.
2017-07-31 11:30:58 +02:00
[Get the pre-activated version here ](https://github.com/belluzj/fantasque-sans/releases/download/v1.7.2-alpha.3/FantasqueSansMono-NoLoopK.zip )
2017-05-23 21:41:40 +02:00
or see the [issue #67 ](https://github.com/belluzj/fantasque-sans/issues/67 )
for techniques to activate the stylistic set.
2016-04-03 21:09:38 +02:00
![](Specimen/noloopk.png)
2013-11-18 12:12:44 +01:00
Author and license
------------------
2013-11-18 12:35:33 +01:00
Created by Jany Belluz \<jany.belluz AT hotmail.fr\>
2017-07-10 13:12:12 +02:00
Licensed under the SIL Open Font License (see [LICENSE.txt ](LICENSE.txt )).
2013-11-18 12:12:44 +01:00
2013-11-25 15:14:07 +01:00
Please send me an e-mail or [report an issue on
2013-11-25 16:54:15 +01:00
Github](http://github.com/belluzj/cosmic-sans-neue/issues) if you stumble upon
2013-11-25 15:14:07 +01:00
bad design or rendering problems (with screen shot if possible), or if you need
2018-04-10 21:48:36 +02:00
more characters, or if you want to compliment me (I love compliments).
2014-01-03 16:56:14 +01:00
2018-07-18 12:48:49 +02:00
Installation
------------
2018-07-18 14:51:18 +02:00
You can [download the latest version ](https://github.com/belluzj/fantasque-sans/releases/latest )
and install it by hand. In the `NoLoopK` variant, the looped lowercase `k` is
replaced with a straight version. The `LargeLineHeight` variant is especially
useful for users of accented capitals. For more info, see the [CHANGELOG ](CHANGELOG.md ).
2018-07-18 13:01:29 +02:00
Automatic installation on macOS with [homebrew ](https://brew.sh ):
2018-07-18 12:48:49 +02:00
brew tap homebrew/cask-fonts #You only need to do this once for cask-fonts
brew cask install font-fantasque-sans-mono
2019-08-08 10:18:44 +02:00
Automatic installation for Ubuntu and probably most other desktop GNU/Linuxes. This will install the `Normal` variant. Adapt the code if you want to use other variants.
mkdir -p ~/.local/share/fonts/opentype/fantasque & & curl -L https://github.com/belluzj/fantasque-sans/releases/latest/download/FantasqueSansMono-Normal.tar.gz | tar xvz -C ~/.local/share/fonts/opentype/fantasque/ --wildcards "*.otf" --strip-components=1 & & sudo fc-cache -fv
2018-07-18 13:01:29 +02:00
Instructions for other platforms might follow.
2014-01-03 16:56:14 +01:00
Building installable font files
-------------------------------
2016-01-10 19:55:41 +01:00
The build process requires:
* FontForge with python scripting support,
* `ttfautohint`
* `sfnt2woff` (from the `woff-tools` package on Ubuntu)
* `ttf2eot` , for example from [this
repository](https://github.com/harrastia/ttf2eot).
* `woff2_compress` from [the Google WOFF2
tools](https://github.com/google/woff2)
2014-01-03 16:56:14 +01:00
Run `make` . You should see green stuff and some "OK" messages.
2013-11-18 12:12:44 +01:00
2016-01-09 08:14:05 +01:00
If you are using Ubuntu, please note that the FontForge version
in the default Ubuntu repositories is much outdated at the time of this writing,
and that [is known to have caused subtle problems ](https://github.com/belluzj/fantasque-sans/issues/59 ).
You are advised to install FontForge from
[this PPA ](https://launchpad.net/~fontforge/+archive/ubuntu/fontforge )
(using `sudo add-apt-repository ppa:fontforge/fontforge` prior to the installation).
Alternatively, you can always [download ](https://github.com/belluzj/fantasque-sans/releases/latest )
the latest prebuilt release of these fonts.
2017-07-10 13:12:12 +02:00
`make install` will install the TTF fonts into your local `.fonts/` directory
2014-01-03 17:02:51 +01:00
and update the font cache. It comes in handy while modifying the font.
2014-06-09 22:15:10 +02:00
[![ ](Specimen/Specimen.png )](Specimen/Specimen.pdf)
2017-07-10 18:47:01 +02:00
Webfonts
--------
Each variant has a `Webfonts/` folder which contains various font formats for
use on the web, along with the matching CSS font declarations. To use them,
you must combine in the same folder:
* a custom `.css` file that you can assemble from the `*-decl.css` fragments
(you can only pick the styles that you need, e.g. normal and bold)
* the matching `.svg` , `.woff` , `.woff2` , `.eot` files from `Webfonts/`
* the matching `.ttf` files from the `TTF/` folder
* the matching `.otf` files from the `OTF/` folder.
2013-11-18 12:12:44 +01:00
Versions
--------
2017-07-10 18:47:01 +02:00
[Check out the changelog ](CHANGELOG.md ).