From 0a24f497cc581cad4c000db608d2d61be8b1c246 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20B=C3=A1nffy?= Date: Mon, 29 Feb 2016 17:24:31 +0000 Subject: [PATCH 1/2] Update 3270 font to v1.2.11, with added glyphs --- app/qml/fonts/1971-ibm-3278/3270Medium.ttf | Bin 52936 -> 53988 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/app/qml/fonts/1971-ibm-3278/3270Medium.ttf b/app/qml/fonts/1971-ibm-3278/3270Medium.ttf index bfdd594085a8539971e18109c87ab35a128c5142..43b26c74164a66c1efd30c8ad25836aed4d170a4 100644 GIT binary patch delta 4099 zcmcgvdsGzX760xG?85rUiik+k3HyG*0yDGAYnR3oI$>^0g;fDkgCG!UBPXJ*cQq%7sRD}0^g_Q+0S5^qe2?=Q@MA1^XsxF$SsMUl_bmM%`vVz*0Kmb=JXIoJZ zSyr*Sq}}qEj*uuVA?veBiwnF(a&zmaIQb>QUW%6BZ7>%DpaapCR@T+$&snk?bxcTh zwW7MP;K)-K-54MP^`6Rt`WpH#um|U}&_BAWpt5+qpc4q$RY6EZUrlvwUB(V0MaVlj zg#2pO&}MPNr^^1+zvKbOO)@5ozK$1?vv;hghFMU86RLgL5K7xRNF7;85=atB{?V|b zE+USwLm1ZWWTj9VbQv_h%wP}gO~%W`zhDH`fy5vbSemOtsgRH+w2B>wL6+=6K^>^K zU`J#`2{uT93|I_hum)~Y)2XA>U#Sb!C3*vWl%bh1%)?9q<6)*TiIQ-L?Dt-_Nf;pQlP! z*_79)>$u|<+#?a@$)5Fnq^O}nTSXQBW(t|(Ui4nTex?&bU6KIUYkGqOn1*}=aTI+r z@l0ZG87!>We+CQ4j6rz@G9FsyVU%YgCrE&7WEaAN_F2fdE`#gAY-Buh%p#PLy-YqT z1*klVyc|)EaxQYC1js|i1ejxJUqVQ15)p;+6UYxC#2v3eepUjkMLsP7 zyoBhm#3G;p87n6Oo<<%k0oEZaMMou0;BIx{5@0B16bg#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c_SmAlt?Uu;g6n)p%X0(|Ccj|CH}8aK4zLrIP<$q>PG|MA#XwrybQIl6L!IF zsDq!u9^9cp@~Aq#msR2Q0HtKKbrpo9}YgX From 1574d5ab4c66fa88f97085b05b53653992daf651 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20B=C3=A1nffy?= Date: Mon, 29 Feb 2016 21:30:54 +0000 Subject: [PATCH 2/2] Update README --- app/qml/fonts/1971-ibm-3278/README.md | 59 +++++++++++++++++---------- 1 file changed, 38 insertions(+), 21 deletions(-) diff --git a/app/qml/fonts/1971-ibm-3278/README.md b/app/qml/fonts/1971-ibm-3278/README.md index 56d2756..f1ffddc 100644 --- a/app/qml/fonts/1971-ibm-3278/README.md +++ b/app/qml/fonts/1971-ibm-3278/README.md @@ -1,6 +1,7 @@ 3270font: A font for the nostalgic ================================== -https://github.com/rbanffy/3270font + +![Travis-CI](https://api.travis-ci.org/rbanffy/3270font.svg) ![Screenshot](https://raw.githubusercontent.com/wiki/rbanffy/3270font/emacs.png) @@ -16,23 +17,31 @@ for guidance. ![Using with the cool-old-tern (now cool-retro-term) terminal program] (https://raw.githubusercontent.com/wiki/rbanffy/3270font/cool-retro-term.png) +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'll most likely not the latest version, with all new +glyphs I add from time to time, 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/rbanffy/3270_fonts_14e43fc.zip +(although this URL may not always reflect the latest version). + The format ---------- -This font was built with 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. +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. ![Powerline-shell compatible!] (https://raw.githubusercontent.com/wiki/rbanffy/3270font/powerline.png) -Adobe Type 1, TTF, OTF and WOFF versions are available for download on -http://s3.amazonaws.com/rbanffy/3270_fonts_1aeb375.zip for those who -would just like to use them. - ![Using it on OSX (don't forget to turn antialiasing on)] (https://raw.githubusercontent.com/wiki/rbanffy/3270font/osx_terminal.png) @@ -43,28 +52,36 @@ minor hinting issues). ![Works on Windows] (https://raw.githubusercontent.com/wiki/rbanffy/3270font/windows_7.png) -Generating derived files ------------------------- +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 and its corresponding PostScript, TTF, -OTF and WOFF versions. +units, with no glyph rescaling (or cropping - we need to fix that) and +its corresponding PostScript, TTF, OTF and WOFF versions. Contributing ------------ -I don't think GitHub's pull-request mechanism is 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), get in touch and we will figure out how to do it -right. +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. Preserving history ------------------ -I regard the history of electronic computing a very important part of +I regard the evolution of electronic computing a very important part of our civilization's history. Consider donating to entities that help preserve it, such as the Computer History Museum (http://www.computerhistory.org/), the IT History Society