All Projects → rbanffy → 3270font

rbanffy / 3270font

Licence: other
A 3270 font in a modern format

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to 3270font

Linearicons
Linearicons is the highest quality set of line icons, matching with minimalist UI designs in iOS.
Stars: ✭ 64 (-94.65%)
Mutual labels:  font, typography
Prototypo
Create your own font in a few clicks
Stars: ✭ 388 (-67.59%)
Mutual labels:  font, typography
baseline
New method for creating leading on the web
Stars: ✭ 31 (-97.41%)
Mutual labels:  font, typography
typeface-minecraft
Minecraft typeface and colors
Stars: ✭ 20 (-98.33%)
Mutual labels:  font, typography
Chinese Hershey Font
Convert Chinese Characters to Single-Line Fonts using Computer Vision
Stars: ✭ 70 (-94.15%)
Mutual labels:  font, typography
Epilogue
2 axes/Variable/18 styles/Sans
Stars: ✭ 104 (-91.31%)
Mutual labels:  font, typography
Otfcc
Optimized OpenType builder and inspector.
Stars: ✭ 348 (-70.93%)
Mutual labels:  font, typography
fdiff
An OpenType table diff tool for fonts. Based on the fontTools TTX format.
Stars: ✭ 33 (-97.24%)
Mutual labels:  font, typography
Juliamono
repository for JuliaMono, a monospaced font with reasonable Unicode support.
Stars: ✭ 625 (-47.79%)
Mutual labels:  font, typography
Qiji Font
齊伋體 - typeface from Ming Dynasty woodblock printed books
Stars: ✭ 536 (-55.22%)
Mutual labels:  font, typography
ttf2hershey
Convert True Type Fonts (.ttf) to Hershey vector fonts
Stars: ✭ 29 (-97.58%)
Mutual labels:  font, typography
P5 Hershey Js
p5.js Hershey Vector Font Library
Stars: ✭ 23 (-98.08%)
Mutual labels:  font, typography
Bellota-Font
An ornamented Sans Serif font family
Stars: ✭ 21 (-98.25%)
Mutual labels:  font, typography
Commissioner
Commissioner is a variable and static sans typeface.
Stars: ✭ 147 (-87.72%)
Mutual labels:  font, typography
Gluten
2 Axes/Variable/Super Soft/Display
Stars: ✭ 28 (-97.66%)
Mutual labels:  font, typography
Web Typography Glossary
Webタイポグラフィの基礎知識と実践
Stars: ✭ 279 (-76.69%)
Mutual labels:  font, typography
Typography
C# Font Reader (TrueType / OpenType / OpenFont / CFF / woff / woff2) , Glyphs Layout and Rendering
Stars: ✭ 246 (-79.45%)
Mutual labels:  font, typography
Urbanist
Urbanist is a low-contrast, geometric sans-serif inspired by Modernist design and typography.
Stars: ✭ 374 (-68.76%)
Mutual labels:  font, typography
Romfont
VGA and BIOS rom font extraction
Stars: ✭ 443 (-62.99%)
Mutual labels:  ibm, font
Rrpl
Describing Chinese Characters with Recursive Radical Packing Language (RRPL)
Stars: ✭ 649 (-45.78%)
Mutual labels:  font, typography

3270font: A font for the nostalgic

Travis-CI

Screenshot

Sample

A little bit of history

This font is derived from the x3270 font, which, in turn, was translated from the one in Georgia Tech's 3270tool, which was itself hand-copied from a 3270 series terminal. I built it because I felt terminals deserve to be pretty. The .sfd font file contains a x3270 bitmap font that was used for guidance.

Using with the cool-old-tern (now cool-retro-term) terminal program

Getting it

If you are running Debian or Ubuntu and you don't want to mess with building your font files, you can simply apt-get install fonts-3270 (It's available from the Debian (https://packages.debian.org/sid/fonts/fonts-3270) and Ubuntu (http://packages.ubuntu.com/focal/fonts-3270) package repos at https://packages.debian.org/sid/fonts/fonts-3270 and https://packages.ubuntu.com/focal/fonts/fonts-3270, although the packaged version may not be the latest version, but it's good enough for most purposes.

On FreeBSD the font can be installed with pkg install 3270font.

For those who don't have the luxury of a proper system-managed package, Adobe Type 1, TTF, OTF and WOFF versions are available for download on https://3270font.s3.amazonaws.com/3270_fonts_e9113f3.zip (although this URL may not always reflect the latest version).

ASCII is so 60's

The format

The "source" file is edited using FontForge. You'll need it if you want to generate fonts for your platform. On most civilized operating systems, you can simply apt-get install fontforge, yum install fontforge or even port install fontforge. On others, you may need to grab your copy from https://fontforge.org/. I encourage you to drop by and read the tutorials.

Using it on OSX (don't forget to turn antialiasing on)

If you are running Windows, you'll probably need something like WSL or Cygwin, but, in the end, the font works correctly (with some very minor hinting issues).

Works on Windows

Generating usable font files

The easiest way to generate the font files your computer can use is to run make all (if you are running Ubuntu or Debian, make install will install them too). Using make help will offer a handy list of options.

The script generate_derived.pe calls FontForge and generates PostScript, OTF, TTF and WOFF versions of the base font, as well as a slightly more condensed .sfd file with the base font narrowed to 488 units, with no glyph rescaling (or cropping - we need to fix that) and its corresponding PostScript, TTF, OTF and WOFF versions.

For your favorite editor

Contributing

I fear GitHub's pull-request mechanism may not be very FontForge-friendly. If you want to contribute (there are a lot of missing glyphs, such as most non-latin alphabets which most likely were never built into 3270 terminals), the best workflow would probably be to add the encoding slots (if needed), add/make the changes, remove the unchanged glyphs and save it as a different file. If, in doubt, get in touch and we will figure out how to do it right.

In order to generate the sample image and the grids for FontForge, you'll need a Python 3 environment with PIL or pillow installed. The requirements.txt file lists everything you need to do it.

If all you want is an easier way to provide feedback, you can use a container runtime, Docker, Podman, and etc, and use these make targets:

  • make image - builds a local image with fontforge and make
  • make generate - uses the local container image to run make font

Screenshots

xterm

Gnome Terminal

Konsole

Terminator

urxvt

Known problems

Not all symbols in the 3270 charset have Unicode counterparts. When possible, they are duplicated in the Unicode space. The 3270-only symbols are at the end of the font, along with some glyphs useful for building others.

Please refer to http://x3270.bgp.nu/Charset.html for a complete map.

Future improvements

A grid generator is provided for producing various grid sizes for the font. Those grids are not used yet, but they are intended to be used to align font features to provide better rendering at common font size choices. The captures below exemplify these choices:

x3270 with 32 pixel font (used as bitmap template for the font)

x3270 with 20 pixel font

Gnome Terminal on Ubuntu 17.10

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].