comic-mono-font/README.md

48 lines
2.4 KiB
Markdown
Raw Normal View History

2019-06-07 11:05:30 +00:00
# Comic Mono
2019-09-25 11:55:21 +00:00
A legible monospace font... the very typeface youve been trained to recognize since childhood. This font is a fork of [Shannon Miwa](https://github.com/shannpersand)s [Comic Shanns](https://github.com/shannpersand/comic-shanns).
2018-07-27 02:23:55 +00:00
2019-06-07 11:07:33 +00:00
<p class="website-hidden">
<a href="https://dtinth.github.io/comic-mono-font/">
<img src="https://repository-images.githubusercontent.com/164606802/cd83d680-894c-11e9-83f7-c353c70df1cb" alt="Screenshot">
</a>
</p>
2019-06-07 11:05:38 +00:00
## Download
- [ComicMono.ttf](https://dtinth.github.io/comic-mono-font/ComicMono.ttf)
- [ComicMono-Bold.ttf](https://dtinth.github.io/comic-mono-font/ComicMono-Bold.ttf)
## Differences from Comic Shanns
1. All glyphs have been adjusted to have exactly the same width (using code based on [monospacifier](https://github.com/cpitclaudel/monospacifier)).
2019-06-07 11:05:30 +00:00
2. The glyph metrics have been adjusted to make it display better alongside system font, based on [Cousine](https://fonts.google.com/specimen/Cousine)s metrics.
3. The name is changed to `Comic Mono`.
2019-06-07 11:05:38 +00:00
4. A bold version of the font is generated using [FontForges Embolden](https://fontforge.github.io/Styles.html#Embolden) operation.
2019-06-07 11:05:38 +00:00
I have no font creation skills; Im just a software developer. This font family is created by patching the original font, [Comic Shanns](https://github.com/shannpersand/comic-shanns), using a Python script, [`generate.py`](generate.py).
2018-07-27 02:23:55 +00:00
## What does it look like?
2019-06-07 11:05:38 +00:00
<p class="website-hidden">
<a href="https://dtinth.github.io/comic-mono-font/#what-does-it-look-like">
Check it out!
</a>
</p>
2018-08-17 17:18:18 +00:00
2019-06-07 11:05:38 +00:00
```python
{% include_relative generate.py %}
```
2018-08-17 17:22:14 +00:00
2020-11-14 04:57:29 +00:00
## CDN
You can use this font in your web pages by including the stylesheet. CDN is provided by [jsDelivr](https://www.jsdelivr.com/package/npm/comic-mono).
```html
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/comic-mono@0.0.1/index.css">
```
## npm Package
2020-12-24 17:14:17 +00:00
The contents of this package is also [published to npm](https://www.npmjs.com/package/comic-mono), although the font files are not optimized. See fontsource package (below) for a better option.
2020-11-14 04:57:29 +00:00
## Packages published by third parties
2020-12-24 17:14:17 +00:00
- Fontsource: [@fontsource/comic-mono](https://www.npmjs.com/package/@fontsource/comic-mono) ([thanks @DecliningLotus](https://github.com/fontsource/fontsource/pull/117))
2020-11-14 04:57:29 +00:00
- Arch Linux AUR: [ttf-comic-mono-git](https://aur.archlinux.org/packages/ttf-comic-mono-git/) (maintained by DBourgeoisat)
2019-06-07 11:05:30 +00:00
## License
It is licensed under the [MIT License](LICENSE).