1
0
mirror of https://github.com/Swordfish90/cool-retro-term.git synced 2025-01-18 12:15:27 +00:00

Update 3270-Regular.ttf to v3.0.0

This commit is contained in:
Ricardo Bánffy 2022-07-01 23:08:31 +01:00
parent 39181f42cf
commit 09b07e8258
2 changed files with 50 additions and 17 deletions

View File

@ -2,10 +2,13 @@
==================================
![Travis-CI](https://api.travis-ci.org/rbanffy/3270font.svg)
![Debian package](https://img.shields.io/debian/v/3270font/unstable)
![Ubuntu package](https://img.shields.io/ubuntu/v/3270font)
![Screenshot](https://raw.githubusercontent.com/wiki/rbanffy/3270font/emacs.png)
![Screenshot](
https://raw.githubusercontent.com/wiki/rbanffy/3270font/emacs.png)
![Sample](https://raw.githubusercontent.com/wiki/rbanffy/3270font/3270Medium_sample.png)
![Sample](https://3270font.s3.amazonaws.com/3270_sample.gif)
A little bit of history
-----------------------
@ -26,15 +29,18 @@ 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/zesty/fonts-3270) package repos at
(http://packages.ubuntu.com/impish/fonts-3270) package repos at
https://packages.debian.org/sid/fonts/fonts-3270 and
http://packages.ubuntu.com/xenial/fonts/fonts-3270, although the
https://packages.ubuntu.com/impish/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
http://s3.amazonaws.com/3270font/3270_fonts_4cfe95c.zip (although this
URL may not always reflect the latest version).
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_49eab4b.zip (although this
URL may not always reflect the latest build or release).
![ASCII is so 60's](
https://raw.githubusercontent.com/wiki/rbanffy/3270font/cyrillic.png)
@ -46,21 +52,18 @@ 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
grab your copy from https://fontforge.org/. I encourage you to drop by
and read the tutorials.
![Powerline-shell compatible!](
https://raw.githubusercontent.com/wiki/rbanffy/3270font/powerline.png)
![Using it on OSX (don't forget to turn antialiasing on)](
https://raw.githubusercontent.com/wiki/rbanffy/3270font/osx_terminal.png)
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).
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](
https://raw.githubusercontent.com/wiki/rbanffy/3270font/windows_7.png)
https://raw.githubusercontent.com/wiki/rbanffy/3270font/windows_10.png)
Generating usable font files
----------------------------
@ -93,6 +96,36 @@ 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```
Build Requirements
------------------
On Debian derived distros, you'll need Fontforge and python3-dev. On Red
Hat ans similar distros, you'll need Fontforge and python3-devel. Since
some packages will need to be compiled, you'll need a build system (GNU
Make, a C compiler, etc).
Screenshots
-----------
![xterm](https://3270font.s3.amazonaws.com/xterm.png)
![Gnome Terminal](
https://3270font.s3.amazonaws.com/gnome-terminal.png)
![Konsole](https://3270font.s3.amazonaws.com/konsole.png)
![Terminator](https://3270font.s3.amazonaws.com/terminator.png)
![urxvt](https://3270font.s3.amazonaws.com/urxvt.png)
Known problems
--------------