2011-12-19 02:27:56 +04:00
|
|
|
Tamzen font
|
|
|
|
===========
|
|
|
|
|
2015-03-26 10:45:40 +03:00
|
|
|
![Screenshot](https://github.com/sunaku/tamzen-font/raw/master/README.png)
|
|
|
|
|
2015-03-26 09:39:51 +03:00
|
|
|
This is [my personal fork][1] of the wonderful [Tamsyn font by Scott Fial][2].
|
|
|
|
It is programatically forked from Tamsyn version 1.11 by the `Rakefile` script
|
|
|
|
(see the "Building" section below) which backports glyphs from older versions
|
|
|
|
while deleting deliberately empty glyphs (which are marked as unimplemented)
|
|
|
|
to allow secondary/fallback fonts to provide real glyphs at those codepoints.
|
2012-10-13 21:28:53 +04:00
|
|
|
|
2013-10-21 01:09:52 +04:00
|
|
|
The "TamzenForPowerline" fonts provide additional [Powerline symbols][5],
|
2015-03-26 09:39:51 +03:00
|
|
|
which are programatically injected with [ZyX_I's bitmap-font-patcher][6].
|
2016-05-23 09:23:51 +03:00
|
|
|
I later hand-tweaked those symbols to perfection in the gbdfed(1) editor:
|
|
|
|
|
|
|
|
* For all icons, I expanded them to occupy the maximum available space.
|
|
|
|
* For the fork icon ( U+E0A0), I made the branch larger than the trunk.
|
|
|
|
* For the newline icon ( U+E0A1), I made the "N" at the bottom larger.
|
|
|
|
* For the padlock icon ( U+E0A2), I replaced the keyhole with // lines.
|
2013-10-21 01:09:52 +04:00
|
|
|
|
2012-03-05 08:03:42 +04:00
|
|
|
Screenshots
|
|
|
|
-----------
|
|
|
|
|
2015-11-11 06:04:42 +03:00
|
|
|
### TamzenForPowerline-20
|
|
|
|
![TamzenForPowerline10x20r.bdf](https://github.com/sunaku/tamzen-font/raw/master/png/TamzenForPowerline10x20r.png)
|
|
|
|
![TamzenForPowerline10x20b.bdf](https://github.com/sunaku/tamzen-font/raw/master/png/TamzenForPowerline10x20b.png)
|
2013-07-06 01:21:32 +04:00
|
|
|
|
2015-11-11 06:04:42 +03:00
|
|
|
### TamzenForPowerline-16
|
|
|
|
![TamzenForPowerline8x16r.bdf](https://github.com/sunaku/tamzen-font/raw/master/png/TamzenForPowerline8x16r.png)
|
|
|
|
![TamzenForPowerline8x16b.bdf](https://github.com/sunaku/tamzen-font/raw/master/png/TamzenForPowerline8x16b.png)
|
2013-07-06 01:21:32 +04:00
|
|
|
|
2015-11-11 06:04:42 +03:00
|
|
|
### TamzenForPowerline-15
|
|
|
|
![TamzenForPowerline8x15r.bdf](https://github.com/sunaku/tamzen-font/raw/master/png/TamzenForPowerline8x15r.png)
|
|
|
|
![TamzenForPowerline8x15b.bdf](https://github.com/sunaku/tamzen-font/raw/master/png/TamzenForPowerline8x15b.png)
|
2013-07-06 01:21:32 +04:00
|
|
|
|
2015-11-11 06:04:42 +03:00
|
|
|
### TamzenForPowerline-14
|
|
|
|
![TamzenForPowerline7x14r.bdf](https://github.com/sunaku/tamzen-font/raw/master/png/TamzenForPowerline7x14r.png)
|
|
|
|
![TamzenForPowerline7x14b.bdf](https://github.com/sunaku/tamzen-font/raw/master/png/TamzenForPowerline7x14b.png)
|
2013-07-06 01:21:32 +04:00
|
|
|
|
2015-11-11 06:04:42 +03:00
|
|
|
### TamzenForPowerline-13
|
|
|
|
![TamzenForPowerline7x13r.bdf](https://github.com/sunaku/tamzen-font/raw/master/png/TamzenForPowerline7x13r.png)
|
|
|
|
![TamzenForPowerline7x13b.bdf](https://github.com/sunaku/tamzen-font/raw/master/png/TamzenForPowerline7x13b.png)
|
2013-07-06 01:21:32 +04:00
|
|
|
|
2015-11-11 06:04:42 +03:00
|
|
|
### TamzenForPowerline-12
|
|
|
|
![TamzenForPowerline6x12r.bdf](https://github.com/sunaku/tamzen-font/raw/master/png/TamzenForPowerline6x12r.png)
|
|
|
|
![TamzenForPowerline6x12b.bdf](https://github.com/sunaku/tamzen-font/raw/master/png/TamzenForPowerline6x12b.png)
|
2012-03-05 08:03:42 +04:00
|
|
|
|
2013-10-21 01:09:52 +04:00
|
|
|
### TamzenForPowerline-9
|
2015-05-20 22:11:36 +03:00
|
|
|
![TamzenForPowerline5x9r.bdf](https://github.com/sunaku/tamzen-font/raw/master/png/TamzenForPowerline5x9r.png)
|
|
|
|
![TamzenForPowerline5x9b.bdf](https://github.com/sunaku/tamzen-font/raw/master/png/TamzenForPowerline5x9b.png)
|
2013-10-21 01:09:52 +04:00
|
|
|
|
2015-11-11 06:04:42 +03:00
|
|
|
### Tamzen-20
|
|
|
|
![Tamzen10x20r.bdf](https://github.com/sunaku/tamzen-font/raw/master/png/Tamzen10x20r.png)
|
|
|
|
![Tamzen10x20b.bdf](https://github.com/sunaku/tamzen-font/raw/master/png/Tamzen10x20b.png)
|
2013-10-21 01:09:52 +04:00
|
|
|
|
2015-11-11 06:04:42 +03:00
|
|
|
### Tamzen-16
|
|
|
|
![Tamzen8x16r.bdf](https://github.com/sunaku/tamzen-font/raw/master/png/Tamzen8x16r.png)
|
|
|
|
![Tamzen8x16b.bdf](https://github.com/sunaku/tamzen-font/raw/master/png/Tamzen8x16b.png)
|
2013-10-21 01:09:52 +04:00
|
|
|
|
2015-11-11 06:04:42 +03:00
|
|
|
### Tamzen-15
|
|
|
|
![Tamzen8x15r.bdf](https://github.com/sunaku/tamzen-font/raw/master/png/Tamzen8x15r.png)
|
|
|
|
![Tamzen8x15b.bdf](https://github.com/sunaku/tamzen-font/raw/master/png/Tamzen8x15b.png)
|
2013-10-21 01:09:52 +04:00
|
|
|
|
2015-11-11 06:04:42 +03:00
|
|
|
### Tamzen-14
|
|
|
|
![Tamzen7x14r.bdf](https://github.com/sunaku/tamzen-font/raw/master/png/Tamzen7x14r.png)
|
|
|
|
![Tamzen7x14b.bdf](https://github.com/sunaku/tamzen-font/raw/master/png/Tamzen7x14b.png)
|
2013-10-21 01:09:52 +04:00
|
|
|
|
2015-11-11 06:04:42 +03:00
|
|
|
### Tamzen-13
|
|
|
|
![Tamzen7x13r.bdf](https://github.com/sunaku/tamzen-font/raw/master/png/Tamzen7x13r.png)
|
|
|
|
![Tamzen7x13b.bdf](https://github.com/sunaku/tamzen-font/raw/master/png/Tamzen7x13b.png)
|
2013-10-21 01:09:52 +04:00
|
|
|
|
2015-11-11 06:04:42 +03:00
|
|
|
### Tamzen-12
|
|
|
|
![Tamzen6x12r.bdf](https://github.com/sunaku/tamzen-font/raw/master/png/Tamzen6x12r.png)
|
|
|
|
![Tamzen6x12b.bdf](https://github.com/sunaku/tamzen-font/raw/master/png/Tamzen6x12b.png)
|
|
|
|
|
|
|
|
### Tamzen-9
|
|
|
|
![Tamzen5x9r.bdf](https://github.com/sunaku/tamzen-font/raw/master/png/Tamzen5x9r.png)
|
|
|
|
![Tamzen5x9b.bdf](https://github.com/sunaku/tamzen-font/raw/master/png/Tamzen5x9b.png)
|
2013-10-21 01:09:52 +04:00
|
|
|
|
2011-12-19 02:27:56 +04:00
|
|
|
Installation
|
|
|
|
------------
|
|
|
|
|
2016-05-24 20:41:43 +03:00
|
|
|
In Arch Linux:
|
|
|
|
|
|
|
|
* Install [from the AUR](https://aur.archlinux.org/packages/tamzen-font-git/).
|
2015-05-20 21:01:15 +03:00
|
|
|
|
2016-05-24 20:41:43 +03:00
|
|
|
On any Linux:
|
2015-05-20 21:01:15 +03:00
|
|
|
|
2016-05-24 20:41:43 +03:00
|
|
|
* [Download] or clone this repository to `~/.fonts/tamzen-font` and run:
|
|
|
|
[Download]: https://github.com/sunaku/tamzen-font/archive/master.zip
|
2015-05-18 19:52:35 +03:00
|
|
|
|
2016-05-24 20:41:43 +03:00
|
|
|
xset +fp ~/.fonts/tamzen-font/bdf
|
|
|
|
xset fp rehash
|
2011-12-19 02:27:56 +04:00
|
|
|
|
2016-05-24 20:41:43 +03:00
|
|
|
* You should now be able to see the "Tamzen" font family in `xfontsel`.
|
2011-12-19 02:27:56 +04:00
|
|
|
|
2016-05-24 20:41:43 +03:00
|
|
|
Other platforms:
|
2011-12-19 02:27:56 +04:00
|
|
|
|
2016-05-24 20:41:43 +03:00
|
|
|
* Try using the font files in these subfolders:
|
|
|
|
* `dfont/` - Apple bitmap only sfnt (dfont)
|
|
|
|
* `otb/` - X11 bitmap only sfnt (otb)
|
|
|
|
* `fon/` - Win FON
|
|
|
|
* `fnt/` - Win FNT
|
|
|
|
* `pdb/` - Palm OS Bitmap
|
|
|
|
* `pt3/` - PS Type3 Bitmap
|
2015-05-20 22:11:36 +03:00
|
|
|
|
2016-05-24 05:35:50 +03:00
|
|
|
### Linux VT integration
|
|
|
|
|
|
|
|
1. Switch to a Linux VT (virtual terminal) by pressing Control-Alt-F1.
|
|
|
|
|
|
|
|
2. Run `showconsolefont` to see how the character map currently looks.
|
|
|
|
|
|
|
|
3. Run `setfont ~/.fonts/tamzen-font/psf/TamzenForPowerline10x20.psf`.
|
|
|
|
|
|
|
|
4. See how the character map now displays glyphs from the Tamzen font.
|
|
|
|
|
|
|
|
5. Try running `setfont` with other Tamzen fonts in the `psf/` folder.
|
|
|
|
|
|
|
|
See <https://wiki.archlinux.org/index.php/Fonts#Console_fonts> for details.
|
|
|
|
|
2013-10-07 01:20:32 +04:00
|
|
|
### XTerm integration
|
|
|
|
|
|
|
|
The following Xresources let you dynamically switch between the various Tamzen
|
|
|
|
fonts by holding down Control and right-clicking in [the XTerm terminal][3].
|
|
|
|
|
2015-03-26 09:39:51 +03:00
|
|
|
XTerm*font : -*-tamzen-medium-*-*-*-16-*-*-*-*-*-*-*
|
|
|
|
XTerm*font1 : -*-tamzen-medium-*-*-*-9-*-*-*-*-*-*-*
|
2013-10-07 01:20:32 +04:00
|
|
|
XTerm*font2 : -*-tamzen-medium-*-*-*-12-*-*-*-*-*-*-*
|
2015-03-26 09:39:51 +03:00
|
|
|
XTerm*font3 : -*-tamzen-medium-*-*-*-13-*-*-*-*-*-*-*
|
2013-10-07 01:20:32 +04:00
|
|
|
XTerm*font4 : -*-tamzen-medium-*-*-*-15-*-*-*-*-*-*-*
|
2015-03-26 09:39:51 +03:00
|
|
|
XTerm*font5 : -*-tamzen-medium-*-*-*-16-*-*-*-*-*-*-*
|
2013-10-07 01:20:32 +04:00
|
|
|
XTerm*font6 : -*-tamzen-medium-*-*-*-20-*-*-*-*-*-*-*
|
|
|
|
|
2013-10-21 01:09:52 +04:00
|
|
|
! Tamzen fonts for use with Powerline
|
2015-03-26 09:39:51 +03:00
|
|
|
XTerm*font : -*-tamzenforpowerline-medium-*-*-*-16-*-*-*-*-*-*-*
|
|
|
|
XTerm*font1 : -*-tamzenforpowerline-medium-*-*-*-9-*-*-*-*-*-*-*
|
2013-10-21 01:09:52 +04:00
|
|
|
XTerm*font2 : -*-tamzenforpowerline-medium-*-*-*-12-*-*-*-*-*-*-*
|
2015-03-26 09:39:51 +03:00
|
|
|
XTerm*font3 : -*-tamzenforpowerline-medium-*-*-*-13-*-*-*-*-*-*-*
|
2013-10-21 01:09:52 +04:00
|
|
|
XTerm*font4 : -*-tamzenforpowerline-medium-*-*-*-15-*-*-*-*-*-*-*
|
2015-03-26 09:39:51 +03:00
|
|
|
XTerm*font5 : -*-tamzenforpowerline-medium-*-*-*-16-*-*-*-*-*-*-*
|
2013-10-21 01:09:52 +04:00
|
|
|
XTerm*font6 : -*-tamzenforpowerline-medium-*-*-*-20-*-*-*-*-*-*-*
|
|
|
|
|
2013-10-07 01:20:32 +04:00
|
|
|
Feed the above snippet into the xrdb(1) program and then start a new XTerm to
|
|
|
|
see its effect. Afterwards, you can add this snippet to your ~/.Xdefaults or
|
|
|
|
~/.Xresources files to have these settings be automatically applied by XTerm.
|
|
|
|
|
2013-03-13 04:37:28 +04:00
|
|
|
### URxvt integration
|
|
|
|
|
|
|
|
The following aliases let you dynamically switch between the various Tamzen
|
2015-05-18 20:06:50 +03:00
|
|
|
fonts when run inside a shell that is attached to [the URxvt terminal][4].
|
2013-03-13 04:37:28 +04:00
|
|
|
|
|
|
|
```sh
|
2013-07-06 01:21:32 +04:00
|
|
|
alias font="printf '\e]710;%s\007'"
|
|
|
|
|
|
|
|
alias Tamzen-9=Tamzen5x9r
|
|
|
|
alias Tamzen5x9r='font -misc-tamzen-medium-r-normal--9-65-100-100-c-50-iso8859-1'
|
|
|
|
alias Tamzen5x9b='font -misc-tamzen-bold-r-normal--9-65-100-100-c-50-iso8859-1'
|
|
|
|
|
|
|
|
alias Tamzen-12=Tamzen6x12r
|
|
|
|
alias Tamzen6x12r='font -misc-tamzen-medium-r-normal--12-87-100-100-c-60-iso8859-1'
|
|
|
|
alias Tamzen6x12b='font -misc-tamzen-bold-r-normal--12-87-100-100-c-60-iso8859-1'
|
|
|
|
|
2015-03-26 09:39:51 +03:00
|
|
|
alias Tamzen-13=Tamzen7x13r
|
|
|
|
alias Tamzen7x13r='font -misc-tamzen-medium-r-normal--13-101-100-100-c-70-iso8859-1'
|
|
|
|
alias Tamzen7x13b='font -misc-tamzen-bold-r-normal--13-101-100-100-c-70-iso8859-1'
|
2013-07-06 01:21:32 +04:00
|
|
|
|
|
|
|
alias Tamzen-14=Tamzen7x14r
|
|
|
|
alias Tamzen7x14r='font -misc-tamzen-medium-r-normal--14-101-100-100-c-70-iso8859-1'
|
|
|
|
alias Tamzen7x14b='font -misc-tamzen-bold-r-normal--14-101-100-100-c-70-iso8859-1'
|
|
|
|
|
|
|
|
alias Tamzen-15=Tamzen8x15r
|
|
|
|
alias Tamzen8x15r='font -misc-tamzen-medium-r-normal--15-108-100-100-c-80-iso8859-1'
|
|
|
|
alias Tamzen8x15b='font -misc-tamzen-bold-r-normal--15-108-100-100-c-80-iso8859-1'
|
|
|
|
|
2015-03-26 09:39:51 +03:00
|
|
|
alias Tamzen-16=Tamzen8x16r
|
|
|
|
alias Tamzen8x16r='font -misc-tamzen-medium-r-normal--16-108-100-100-c-80-iso8859-1'
|
|
|
|
alias Tamzen8x16b='font -misc-tamzen-bold-r-normal--16-108-100-100-c-80-iso8859-1'
|
2013-07-06 01:21:32 +04:00
|
|
|
|
|
|
|
alias Tamzen-20=Tamzen10x20r
|
|
|
|
alias Tamzen10x20r='font -misc-tamzen-medium-r-normal--20-145-100-100-c-100-iso8859-1'
|
|
|
|
alias Tamzen10x20b='font -misc-tamzen-bold-r-normal--20-145-100-100-c-100-iso8859-1'
|
2013-10-21 01:09:52 +04:00
|
|
|
|
|
|
|
# Tamzen fonts for use with Powerline
|
|
|
|
alias TamzenForPowerline-9=TamzenForPowerline5x9r
|
|
|
|
alias TamzenForPowerline5x9r='font -misc-tamzenforpowerline-medium-r-normal--9-65-100-100-c-50-iso10646-1'
|
|
|
|
alias TamzenForPowerline5x9b='font -misc-tamzenforpowerline-bold-r-normal--9-65-100-100-c-50-iso10646-1'
|
|
|
|
|
|
|
|
alias TamzenForPowerline-12=TamzenForPowerline6x12r
|
|
|
|
alias TamzenForPowerline6x12r='font -misc-tamzenforpowerline-medium-r-normal--12-87-100-100-c-60-iso10646-1'
|
|
|
|
alias TamzenForPowerline6x12b='font -misc-tamzenforpowerline-bold-r-normal--12-87-100-100-c-60-iso10646-1'
|
|
|
|
|
2015-03-26 09:39:51 +03:00
|
|
|
alias TamzenForPowerline-13=TamzenForPowerline7x13r
|
|
|
|
alias TamzenForPowerline7x13r='font -misc-tamzenforpowerline-medium-r-normal--13-101-100-100-c-70-iso10646-1'
|
|
|
|
alias TamzenForPowerline7x13b='font -misc-tamzenforpowerline-bold-r-normal--13-101-100-100-c-70-iso10646-1'
|
2013-10-21 01:09:52 +04:00
|
|
|
|
|
|
|
alias TamzenForPowerline-14=TamzenForPowerline7x14r
|
|
|
|
alias TamzenForPowerline7x14r='font -misc-tamzenforpowerline-medium-r-normal--14-101-100-100-c-70-iso10646-1'
|
|
|
|
alias TamzenForPowerline7x14b='font -misc-tamzenforpowerline-bold-r-normal--14-101-100-100-c-70-iso10646-1'
|
|
|
|
|
|
|
|
alias TamzenForPowerline-15=TamzenForPowerline8x15r
|
|
|
|
alias TamzenForPowerline8x15r='font -misc-tamzenforpowerline-medium-r-normal--15-108-100-100-c-80-iso10646-1'
|
|
|
|
alias TamzenForPowerline8x15b='font -misc-tamzenforpowerline-bold-r-normal--15-108-100-100-c-80-iso10646-1'
|
|
|
|
|
2015-03-26 09:39:51 +03:00
|
|
|
alias TamzenForPowerline-16=TamzenForPowerline8x16r
|
|
|
|
alias TamzenForPowerline8x16r='font -misc-tamzenforpowerline-medium-r-normal--16-108-100-100-c-80-iso10646-1'
|
|
|
|
alias TamzenForPowerline8x16b='font -misc-tamzenforpowerline-bold-r-normal--16-108-100-100-c-80-iso10646-1'
|
2013-10-21 01:09:52 +04:00
|
|
|
|
|
|
|
alias TamzenForPowerline-20=TamzenForPowerline10x20r
|
|
|
|
alias TamzenForPowerline10x20r='font -misc-tamzenforpowerline-medium-r-normal--20-145-100-100-c-100-iso10646-1'
|
|
|
|
alias TamzenForPowerline10x20b='font -misc-tamzenforpowerline-bold-r-normal--20-145-100-100-c-100-iso10646-1'
|
2013-03-13 04:37:28 +04:00
|
|
|
```
|
|
|
|
|
2013-10-22 04:21:01 +04:00
|
|
|
Building
|
|
|
|
--------
|
|
|
|
|
2016-05-24 20:41:43 +03:00
|
|
|
You can build the Tamzen fonts for yourself by running these commands:
|
|
|
|
|
|
|
|
```sh
|
|
|
|
bundle exec rake # build things only when necessary
|
|
|
|
bundle exec rake clobber # destroy everything that we built
|
|
|
|
bundle exec rake clobber default # rebuild everything from scratch
|
|
|
|
```
|
2013-10-22 04:21:01 +04:00
|
|
|
|
|
|
|
### Requirements
|
|
|
|
|
|
|
|
```sh
|
2016-05-24 05:35:50 +03:00
|
|
|
sudo apt-get install ruby git imagemagick mercurial bdftopcf bdf2psf
|
2013-10-22 04:21:01 +04:00
|
|
|
gem install bundler
|
|
|
|
bundle install
|
|
|
|
```
|
2015-11-02 09:36:42 +03:00
|
|
|
|
2013-10-21 01:09:52 +04:00
|
|
|
Requirements for [bitmap-font-patcher][6]:
|
|
|
|
|
|
|
|
```sh
|
2014-05-27 09:22:31 +04:00
|
|
|
sudo apt-get install python python-fontforge python-pip python-dev libfreetype6-dev
|
2015-03-26 22:08:32 +03:00
|
|
|
pip install --user bdflib
|
2013-10-21 01:09:52 +04:00
|
|
|
pip install --user Pillow
|
|
|
|
```
|
2013-10-22 04:21:01 +04:00
|
|
|
|
2015-05-20 21:01:15 +03:00
|
|
|
Requirements for non-Linux font formats:
|
|
|
|
|
|
|
|
```sh
|
|
|
|
sudo apt-get install fontforge
|
|
|
|
```
|
|
|
|
|
2011-12-19 02:27:56 +04:00
|
|
|
License
|
|
|
|
-------
|
|
|
|
|
2013-07-06 01:21:32 +04:00
|
|
|
Distributed under the same terms as the Tamsyn font. See `LICENSE` file.
|
2011-12-19 02:27:56 +04:00
|
|
|
|
2016-05-24 20:41:43 +03:00
|
|
|
[1]: https://sunaku.github.io/tamsyn-1.7b-font-review.html
|
2011-12-19 02:27:56 +04:00
|
|
|
[2]: http://www.fial.com/~scott/tamsyn-font/
|
2015-05-18 20:06:50 +03:00
|
|
|
[3]: http://invisible-island.net/xterm/
|
|
|
|
[4]: http://software.schmorp.de/pkg/rxvt-unicode.html
|
2015-03-27 02:35:16 +03:00
|
|
|
[5]: https://powerline.readthedocs.org/en/master/overview.html#screenshots
|
2013-10-21 01:09:52 +04:00
|
|
|
[6]: https://bitbucket.org/ZyX_I/bitmap-font-patcher
|