Skip to content

saward/tamzen-font

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tamzen font

This is my personal fork of the wonderful Tamsyn font by Scott Fial. It is programatically forked from Tamsyn version 1.9 by the Tamzen.rb script (see the "Building" section below) and diverges from it in the following ways:

  • Medium "g" is backported from Tamsyn 1.6.
  • Medium "h" is backported from Tamsyn 1.6.
  • Medium "m" is backported from Tamsyn 1.6.
  • Bold and medium "l" are backported from Tamsyn 1.6.
  • Bold and medium "w" are backported from Tamsyn 1.6.
  • Bold and medium "y" are backported from Tamsyn 1.6.
  • Deliberately empty glyphs are deleted (marked as unimplemented) so that they do not block secondary fonts from supplying real glyphs at those codepoints.

For the new 10x20 size introduced in Tamsyn 1.9:

  • Medium "U" is manually derived from Tamsyn 1.6.
  • Bold and medium "g" are manually derived from Tamsyn 1.6.

The "TamzenForPowerline" fonts provide additional Powerline symbols, which were programatically added using ZyX_I's bitmap-font-patcher.

Screenshots

Tamzen-9

Tamzen5x9r.bdf Tamzen5x9b.bdf

Tamzen-11

Tamzen6x11r.bdf Tamzen6x11b.bdf

Tamzen-12

Tamzen6x12r.bdf Tamzen6x12b.bdf

Tamzen-13

Tamzen7x12r.bdf Tamzen7x12b.bdf

Tamzen-14

Tamzen7x14r.bdf Tamzen7x14b.bdf

Tamzen-15

Tamzen8x15r.bdf Tamzen8x15b.bdf

Tamzen-17

Tamzen8x17r.bdf Tamzen8x17b.bdf

Tamzen-20

Tamzen10x20r.bdf Tamzen10x20b.bdf

TamzenForPowerline-9

TamzenForPowerline5x9r.bdf TamzenForPowerline5x9b.bdf

TamzenForPowerline-11

TamzenForPowerline6x11r.bdf TamzenForPowerline6x11b.bdf

TamzenForPowerline-12

TamzenForPowerline6x12r.bdf TamzenForPowerline6x12b.bdf

TamzenForPowerline-13

TamzenForPowerline7x12r.bdf TamzenForPowerline7x12b.bdf

TamzenForPowerline-14

TamzenForPowerline7x14r.bdf TamzenForPowerline7x14b.bdf

TamzenForPowerline-15

TamzenForPowerline8x15r.bdf TamzenForPowerline8x15b.bdf

TamzenForPowerline-17

TamzenForPowerline8x17r.bdf TamzenForPowerline8x17b.bdf

TamzenForPowerline-20

TamzenForPowerline10x20r.bdf TamzenForPowerline10x20b.bdf

Installation

Copy the Tamzen*.bdf files into your ~/.fonts directory and run:

mkfontdir ~/.fonts
xset +fp ~/.fonts
xset fp rehash

Now you should be able to access the "Tamzen" font family in xfontsel.

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.

XTerm*font  : -*-tamzen-medium-*-*-*-15-*-*-*-*-*-*-*
XTerm*font1 : -*-tamzen-medium-*-*-*-11-*-*-*-*-*-*-*
XTerm*font2 : -*-tamzen-medium-*-*-*-12-*-*-*-*-*-*-*
XTerm*font3 : -*-tamzen-medium-*-*-*-14-*-*-*-*-*-*-*
XTerm*font4 : -*-tamzen-medium-*-*-*-15-*-*-*-*-*-*-*
XTerm*font5 : -*-tamzen-medium-*-*-*-17-*-*-*-*-*-*-*
XTerm*font6 : -*-tamzen-medium-*-*-*-20-*-*-*-*-*-*-*

! Tamzen fonts for use with Powerline
XTerm*font  : -*-tamzenforpowerline-medium-*-*-*-15-*-*-*-*-*-*-*
XTerm*font1 : -*-tamzenforpowerline-medium-*-*-*-11-*-*-*-*-*-*-*
XTerm*font2 : -*-tamzenforpowerline-medium-*-*-*-12-*-*-*-*-*-*-*
XTerm*font3 : -*-tamzenforpowerline-medium-*-*-*-14-*-*-*-*-*-*-*
XTerm*font4 : -*-tamzenforpowerline-medium-*-*-*-15-*-*-*-*-*-*-*
XTerm*font5 : -*-tamzenforpowerline-medium-*-*-*-17-*-*-*-*-*-*-*
XTerm*font6 : -*-tamzenforpowerline-medium-*-*-*-20-*-*-*-*-*-*-*

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.

URxvt integration

The following aliases let you dynamically switch between the various Tamzen fonts when run inside a shell that is attached to the URxvt terminal.

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-11=Tamzen6x11r
alias Tamzen6x11r='font -misc-tamzen-medium-r-normal--11-79-100-100-c-60-iso8859-1'
alias Tamzen6x11b='font -misc-tamzen-bold-r-normal--11-79-100-100-c-60-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'

alias Tamzen-13=Tamzen7x12r
alias Tamzen7x12r='font -misc-tamzen-medium-r-normal--12-87-100-100-c-70-iso8859-1'
alias Tamzen7x12b='font -misc-tamzen-bold-r-normal--12-87-100-100-c-70-iso8859-1'

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'

alias Tamzen-17=Tamzen8x17r
alias Tamzen8x17r='font -misc-tamzen-medium-r-normal--17-123-100-100-c-80-iso8859-1'
alias Tamzen8x17b='font -misc-tamzen-bold-r-normal--17-123-100-100-c-80-iso8859-1'

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'

# 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-11=TamzenForPowerline6x11r
alias TamzenForPowerline6x11r='font -misc-tamzenforpowerline-medium-r-normal--11-79-100-100-c-60-iso10646-1'
alias TamzenForPowerline6x11b='font -misc-tamzenforpowerline-bold-r-normal--11-79-100-100-c-60-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'

alias TamzenForPowerline-13=TamzenForPowerline7x12r
alias TamzenForPowerline7x12r='font -misc-tamzenforpowerline-medium-r-normal--12-87-100-100-c-70-iso10646-1'
alias TamzenForPowerline7x12b='font -misc-tamzenforpowerline-bold-r-normal--12-87-100-100-c-70-iso10646-1'

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'

alias TamzenForPowerline-17=TamzenForPowerline8x17r
alias TamzenForPowerline8x17r='font -misc-tamzenforpowerline-medium-r-normal--17-123-100-100-c-80-iso10646-1'
alias TamzenForPowerline8x17b='font -misc-tamzenforpowerline-bold-r-normal--17-123-100-100-c-80-iso10646-1'

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'

Building

You can build the Tamzen fonts for yourself by following this procedure.

Requirements

sudo apt-get install ruby git imagemagick mercurial
gem install bundler
bundle install

Requirements for bitmap-font-patcher:

sudo apt-get install python python-fontforge python-pip python-dev libfreetype6-dev
pip install --user git+git://gitorious.org/bdflib/mainline.git
pip install --user Pillow

Procedure

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

License

Distributed under the same terms as the Tamsyn font. See LICENSE file.

About

Programmatic fork of Tamsyn font.

Resources

License

Stars

Watchers

Forks

Packages

No packages published