fcambus / spleen Goto Github PK
View Code? Open in Web Editor NEWMonospaced bitmap fonts
Home Page: https://www.cambus.net/spleen-monospaced-bitmap-fonts/
License: BSD 2-Clause "Simplified" License
Monospaced bitmap fonts
Home Page: https://www.cambus.net/spleen-monospaced-bitmap-fonts/
License: BSD 2-Clause "Simplified" License
Windows can use .FON
font files in applications that support it, like CMD, Notepad++, etc.
While using .OTF
fonts is possible and works fine, in certain programs such as CMD, Notepad++, Visual Studio Code, etc these fonts appear blurry because of anti-aliasing, and because this font is not vector based, having it stored in a vector format kind of defeats the purpose of it being a bitmap.
I may eventually look into how to achieve this but maybe someone here knows a thing or two regarding this and how to achieve it.
I've provided some comparisons below, please open the images in a new tab to see the full size.
Hi, to make it easier for people to know how to determine the correct pt size perhaps the text provided below could be added.
X.org is using a dpi of 96 at 100% scale. If someone is using a logical dpi of 144 (150% scale) then the correct pt size is pt / logical dpi's scale %:
Spleen 6x12: 9 Pt (12 pixels) = 9/150%=6 pt, 9/200%=4.5 pt
Spleen 8x16: 12 Pt (16 pixels) = 12/150%=8 pt, 12/200%=6 pt
Spleen 12x24: 18 Pt (24 pixels) = 18/150%=12 pt, 18/200%=9 pt
Spleen 16x32: 24 Pt (32 pixels) = 24/150%=16 pt, 24/200%=12 pt
Spleen 32x64: 48 Pt (64 pixels) = 48/150%=32 pt, 48/200%=24 pt
The general formula is pt size = font pixels / logical dpi * 72. So, 32 pixels/144 dpi*72=16 pt
Scaling % | DPI
100% | 96
125% | 120
150% | 144
175% | 168
200% | 192
225% | 216
250% | 240
300% | 288
400% | 384
500% | 480
64/384*72=12 pt for the 32x64 font if you were using 400% scaling on your fancy high resolution display.
Considering this font is just liquid-gold for me, I was wondering if I could publish this font on fontspace.com
This would let anyone generate .png s with the font with custom text. This is just amazing for graphic design.
If you aren't comfortable with this, I fully understand.
How can I add some vietnamese charater and export bdf font . tks
Thanks very much for this wonderful font, please add a bold variant for .psfu fonts , for linux console , it will looks brillant.
Spleen vertically aligns tilde's to the top of the glyph, but it arguably looks better when centered.
Doesn't seem to be any link to it.
I absolutely love this font, it would be great if it had a vector version of the font so I could use it for GTK and Firefox. The 32x64 TTF does look okay on scaling down.
Hello @fcambus,
In dos/spleen.asm
, it says
mov ax, 4Ch
int 21h
I believe what you meant was
mov ax, 4C00h
int 21h
with the syscall number in ah
.
(Though I suppose exiting the program via syscall 0x00
also happens to work in this case.)
Thank you!
I just would like to say thank you a million times for this font.
Thanks for the big sizes that allow me to use a very crisp font for programming.
I spend 8hours a day at the monitor and this font is pure gold.
Thanks to anyone contributed to this, and kudos.
Cheers!
We have some fonts.
Spleen, obviously, OTF and FON.
Ubuntu monospace, TTF ( https://design.ubuntu.com/font )
Ubuntu LIGATURIZED, TTF ( https://github.com/vizhub-core/ubuntu-mono-ligaturized )
Kepler-452-b, TTF ( https://github.com/weirdoonthebus/Kepler-452b )
"Terminal". We have no more information on this.
"javanese text", TTF, some font in my windows installation with seriously f-ed up delimiters
"SimSun-ExtB" TTf, one of the few fonts selectable in conhost
here is a little table:
font\usability conhost | available in VS | USABLE in VS | info when viewing font
spleen OTF ❌ | ✅ | ✅ "postscript outlines"
spleen FON ❌ | ✅ | ✅ no info
Ubuntu mono ✅ | ✅ | ✅ "opentype layout, digitally signed, truetype outlines"
Ubuntu ligaturized ✅ | ✅ | ✅ "opentype layout, truetype outlines"
kepler ✅ | ✅ | ❌ "opentype layout, truetype outlines"
"Terminal" ✅ | ✅ | ❌ no info
javanese text ❌ | ✅ | ✅ "opentype layout, digitally signed, truetype outlines"
"SimSun-ExtB" ✅ | ✅ | ✅ "opentype layout, digitally signed, truetype outlines"
"available in VS" means that the font is visible in the list of fonts, you can actually select it.
USABLE in VS means that if you select that font for "Plain text" in VS for the Text Editor, it actually uses the font.
Nothing makes sense to me. This, is how the "javanese text" font looks like in VS:
So the glyph dimensions is not something that VS really cares about.
What is conhost's problem and it doesn't let me use spleen, at all, no version?
Readme.md reads:
"### Mac OS X / macOS
macOS users should use the provided .dfont
files."
However .dfont file not in git.
Thank you.
The bdf-spleen
font is no longer present in the AUR. The new name is spleen-font
. I assume the old package was orphaned and removed.
Please include cyrillic symbols in the font.
I downloaded the release tarball, but no .dfont files, nor are there .otf or the other windows format.
I tried downloading it via the macports library, but nothing happens.
Please elaborate on how to use it, maybe the @fcambus could create a .ttf or a more compatible font format for this?
Thanks in advance
I really love the Spleen fonts in all their sizes and am thinking about using them for an art project or "hacker themed" things in general.
The vast majority of art and design software supports the OTF file format. The other formats in the Spleen releases don't seem to be supported as frequently, if at all.
Because of this, I'd love to see future releases including the 5x8 version in the OTF format.
Are you planning to add support to Spleen for something like that? I'm asking as recently found some apps which on the console are using up/down arrows for download and upload indication:
⬇ ⬆
\xe2\xac\x87 \xe2\xac\x86
U+2B07 U+2B06
and was wondering is this Unicode block on your roadmap or maybe not?
Title really says it all, and I'll probably patch it manually in the meantime, but any intention of adding the nerd glyphs?
I just wanted to mention, that I included spleen fonts for u8g2 project (Arduino / Microcontroller monochrome display driver, https://github.com/olikraus/u8g2/wiki/gallery)
Spleen Font page in the U8g2 Wiki: https://github.com/olikraus/u8g2/wiki/fntgrpspleen
Thanks a lot for providing such a nice and clear font!
I can change my console font of spleen manually:
setfont /usr/local/share/fonts/spleen/spleen-6x12.psfu
But how do I make it permanent? Or how do I have spleen be an option when I run dpkg-reconfigure console-setup
? Is this possible?
Thanks!
Ubuntu 21.10
spleen 1.9.1
Hello, do you think a truetype version could be made out of this? Thanks!
Could a screenshot of at least 5x8 and 32x64 be included in the README?
I really like this font but find the available sizes either too big or too small for my laptop. Are there any plans for creating mid-size versions of this font? I'll be particularly happy with the 9-12 px range. If not, how could one generate such bitmaps?
Hi,
You may wish to add to your readme that users of Xterm version 341 may run into problems displaying the Spleen font. It basically gives this error: Selected font has no non-zero height for ISO-8859-1 encoding
and exits. The solution is to upgrade to at least version 342 or higher.
(I ran into this trying to run Xterm 341 with Spleen font on FreeBSD 12)
Thanks!
Please consider to also provide the typeface in GRX/Allegro compatible FNT format.
BDF can be converted to FNT using https://github.com/SuperIlu/GrxFntConv
Hi, I have a low dpi display (92) and want to use spleen.
Is there a difference between:
xterm*faceName: spleen:pixelsize=16:antialias=false
XTerm*font:-misc-spleen-medium-r-normal--16-160-72-72-c-80-iso10646-1
For my eyes when using the second line, the font is smaller. When I am using the first line - do I use bitmap font or something else? Or is it all the same? I've read bitmap is preffered on low dpi screens because of the sharpness, what I understand. But sadly -misc-spleen-medium-r-normal--24-240-72-72-c-120-iso10646-1 is too big and some symbols dont show correctly. The first line however works in this regard .
Would be glad if someone can enlighten me up a bit :)
Hello, it is more of question than issue
What software you use to generate wsfont .h files?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.