2014-08-07 17:58:11 +02:00
|
|
|
3270font: A font for the nostalgic
|
|
|
|
==================================
|
2016-02-29 21:30:54 +00:00
|
|
|
|
|
|
|

|
2014-08-07 17:58:11 +02:00
|
|
|
|
2015-10-18 23:13:05 -02:00
|
|
|

|
2014-08-07 17:58:11 +02:00
|
|
|
|
2016-11-26 20:21:41 +00:00
|
|
|

|
|
|
|
|
2014-08-07 17:58:11 +02:00
|
|
|
A little bit of history
|
|
|
|
-----------------------
|
|
|
|
|
2016-11-26 20:21:41 +00:00
|
|
|
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.
|
2014-08-07 17:58:11 +02:00
|
|
|
|
2017-10-25 22:08:23 +01:00
|
|
|

|
2014-08-07 17:58:11 +02:00
|
|
|
|
2016-02-29 21:30:54 +00:00
|
|
|
Getting it
|
|
|
|
----------
|
|
|
|
|
|
|
|
If you are running Debian or Ubuntu and you don't want to mess with
|
2016-11-26 20:21:41 +00:00
|
|
|
building your font files, you can simply `apt-get install fonts-3270`
|
2017-10-25 22:08:23 +01:00
|
|
|
(It's available from the Debian
|
|
|
|
(https://packages.debian.org/sid/fonts/fonts-3270) and Ubuntu
|
|
|
|
(http://packages.ubuntu.com/zesty/fonts-3270) package repos at
|
2016-11-26 20:21:41 +00:00
|
|
|
https://packages.debian.org/sid/fonts/fonts-3270 and
|
|
|
|
http://packages.ubuntu.com/xenial/fonts/fonts-3270, although the
|
|
|
|
packaged version may not be the latest version, but it's good enough for
|
|
|
|
most purposes. 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
|
2017-10-25 22:08:23 +01:00
|
|
|
http://s3.amazonaws.com/3270font/3270_fonts_d250fd9.zip (although this
|
2016-11-26 20:21:41 +00:00
|
|
|
URL may not always reflect the latest version).
|
|
|
|
|
2017-10-25 22:08:23 +01:00
|
|
|

|
2016-02-29 21:30:54 +00:00
|
|
|
|
2014-08-07 17:58:11 +02:00
|
|
|
The format
|
|
|
|
----------
|
|
|
|
|
2016-02-29 21:30:54 +00:00
|
|
|
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 http://fontforge.org/. I encourage you to drop by
|
|
|
|
and read the tutorials.
|
2014-08-07 17:58:11 +02:00
|
|
|
|
2017-10-25 22:08:23 +01:00
|
|
|

|
2014-08-07 17:58:11 +02:00
|
|
|
|
2017-10-25 22:08:23 +01:00
|
|
|

|
2015-10-18 23:13:05 -02:00
|
|
|
|
|
|
|
If you are running Windows, you'll probably need something like
|
|
|
|
Cygwin, but, in the end, the font works correctly (with some very
|
|
|
|
minor hinting issues).
|
|
|
|
|
2017-10-25 22:08:23 +01:00
|
|
|

|
2014-08-07 17:58:11 +02:00
|
|
|
|
2016-02-29 21:30:54 +00:00
|
|
|
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.
|
2014-08-07 17:58:11 +02:00
|
|
|
|
|
|
|
The script `generate_derived.pe` calls FontForge and generates
|
2015-10-18 23:13:05 -02:00
|
|
|
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
|
2016-02-29 21:30:54 +00:00
|
|
|
units, with no glyph rescaling (or cropping - we need to fix that) and
|
|
|
|
its corresponding PostScript, TTF, OTF and WOFF versions.
|
2014-08-07 17:58:11 +02:00
|
|
|
|
2017-10-25 22:08:23 +01:00
|
|
|

|
2016-11-26 20:21:41 +00:00
|
|
|
|
2014-08-07 17:58:11 +02:00
|
|
|
Contributing
|
|
|
|
------------
|
|
|
|
|
2016-02-29 21:30:54 +00:00
|
|
|
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 the APL set and most non-latin alphabets which
|
|
|
|
most likely were never built into 3270 terminals), the best workflow
|
|
|
|
would be to make add the encoding slots (if needed), add/make the
|
|
|
|
changes, reencode it in "Unicode, Full", compact it and validate
|
|
|
|
it. Check if the `git diff` command gives out something sensible (does
|
|
|
|
not change things you didn't intend to) and make a pull request. If, in
|
|
|
|
doubt, get in touch and we will figure out how to do it right.
|
2014-08-07 17:58:11 +02:00
|
|
|
|
|
|
|
Known problems
|
|
|
|
--------------
|
|
|
|
|
2015-10-18 23:13:05 -02:00
|
|
|
Not all symbols in the 3270 charset have Unicode counterparts. When
|
|
|
|
possible, they are duplicated in the Unicode space. The 3270-only
|
2016-11-26 20:21:41 +00:00
|
|
|
symbols are at the end of the font, along with some glyphs useful for
|
|
|
|
building others.
|
2015-10-18 23:13:05 -02:00
|
|
|
|
|
|
|
Please refer to http://x3270.bgp.nu/Charset.html for a complete map.
|