pcface
vga-text-mode-fonts
pcface | vga-text-mode-fonts | |
---|---|---|
13 | 1 | |
78 | 116 | |
- | - | |
5.3 | - | |
10 months ago | over 3 years ago | |
Python | ||
GNU General Public License v3.0 or later | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pcface
-
Game Font Forensics
I hold VileR's work on int10h.org in high esteem, given its exceptional quality. As someone whose initial exposure to computers was through IBM PCs, I find VileR's website to be a treasure trove of IBM PC fonts, BIOS fonts, and related resources.
Inspired by IBM PC games from the 1990s, I aspired to create my own invaders-like game. However hindered by limited access to computers and limited computer programming knowledge, the most I could manage to make were a few text-based adventure games. Although 25 years too late, during the COVID-19 pandemic, I revisited this dream and spent a weekend writing my own Invaders game[1] using HTML5 Canvas.
Initially, I used CanvasRenderingContext2D: fillText() to display text (current score, info screen, etc.). However, dissatisfied with the text rendering quality, I began looking for IBM PC OEM fonts online and came across the Oldschool PC Fonts[2] on int10h.org. I downloaded the font packs from the website, used a Python script to convert them to bitmaps[3] (arrays of integers), and then used the bitmaps to draw text on the canvas, one cell at a time, to get pixel-perfect results!
I eventually switched to a different font pack called Modern DOS[4] developed by Jayvee Enaguas. Nevertheless given how extensive VileR's website is and how convenient the font preview tools[5] on the website are, int10h.org remains as my go-to website whenever I am doing any type of retrocomputing work for fun.
[1] https://susam.net/invaders.html
[2] https://int10h.org/oldschool-pc-fonts/
[3] https://github.com/susam/pcface
[4] https://www.dafont.com/modern-dos.font
[5] https://int10h.org/oldschool-pc-fonts/fontlist/font?ibm_vga_...
-
Demo of Bitmap Arrays for Rendering CP437 Glyphs Using IBM PC OEM Fonts
Although not included in this demo, VileR does provide aspect-correct variants of the fonts at https://int10h.org/oldschool-pc-fonts/fontlist/. One can take the scripts at https://github.com/susam/pcface and generate the bitmap arrays for the aspect-correct variants too.
-
What Is Textmode?
> It typically uses 256 characters exemplified by the font CP437
I have very fond memories of code page 437 (CP437). ASCII code 1 is a smiley face in CP437. How cool is that!
Shameless plug: I recently wrote a small toolkit to render CP437 characters on HTML5 canvas for a retro-style game project I was working on. Source: https://github.com/susam/pcface Demo: https://susam.github.io/pcface/src/demo.html
- Bitmap arrays for rendering CP437 glyphs using IBM PC OEM fonts
- Show HN: Bitmap arrays for rendering CP437 glyphs using IBM PC OEM fonts
- Show HN: PC Face: Bitmap arrays for rendering CP437 glyphs using PC OEM fonts
- PC Face: Bitmap arrays for rendering CP437 glyphs using IBM PC OEM fonts
- Bitmap Arrays for Rendering CP437 Glyphs Using IBM PC OEM Fonts
- PC Face: Bitmap Arrays for Rendering CP437 Glyphs Using IBM PC OEM Fonts
vga-text-mode-fonts
-
Game Font Forensics
Thanks for those comments, much appreciated. I'm still planning future updates to that font collection, and I'll probably include straight-up binary dumps of the characters, so you won't have to jump through hoops to convert them (although many of them are already available in this form at https://github.com/viler-int10h/vga-text-mode-fonts - all you need is a hex dump).
Do the Modern DOS fonts have a particular advantage for you, in terms of implementation? If they do, let me know and I'll consider those improvements as well!
What are some alternatives?
saman - Saman Dere Sans-Serif Font
bitmap-font-css - Trying to make bitmap web fonts look better.
chiron-sans-hk - 昭源黑體:現代筆形風格,平衡標準字形和印刷體慣用筆形的免費開源黑體字型
public-sans - A strong, neutral, principles-driven, open source typeface for text or display
Monocraft - A monospaced programming font inspired by the Minecraft typeface
Work-Sans - A grotesque sans.
fixedsys-css - Fixedsys - Old Fashion Font
beautiful-web-type - In-depth guide to the best open-source typefaces: https://beautifulwebtype.com
awesome-css-frameworks - List of awesome CSS frameworks in 2024