OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 8:56 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Public domain PSF fonts
PostPosted: Thu Nov 25, 2021 6:28 pm 
Offline
Member
Member
User avatar

Joined: Sun Oct 11, 2020 9:46 pm
Posts: 363
Location: United States
For my OS project, I was originally using bzt's SSFN2 library. The problem is that it proves to be massively unstable, and also takes up a lot of space (for a fallback kernel TTY that I intended to use it for). It has page-faulted several, several times even after I concluded that my memory management functions were not the cause of fault. I also prefer to write things on my own.

Instead, I am writing a new font renderer using PSF-format fonts. It's a nice mix between modularity, standard, and simplicity.

Only issue is that I am not aware if built-in Linux PSF-format fonts are GPL'ed or not. My project is licensed under CC0, and while nobody is going to hunt for my head for using GPL'ed material, my OS is designed to be consistent and clean, and used as a resource for learning.

Is there any source of PSF fonts that are in the public domain?

_________________
Skylight: https://github.com/austanss/skylight

I make stupid mistakes and my vision is terrible. Not a good combination.

NOTE: Never respond to my posts with "it's too hard".


Top
 Profile  
 
 Post subject: Re: Public domain PSF fonts
PostPosted: Thu Nov 25, 2021 8:37 pm 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 5099
In the United States, bitmap fonts (such as PSF files) are not copyrightable.

In other countries, you might have to pay more attention to the license included with the PSF files. Your distro's package manager can tell you where to find it. The PSF files included with Linux distros are usually GPL.

If you find a font in some other format with a permissive enough license, you could convert it to PSF. I found someone who already did that with one font. (I haven't tried it myself, so I can't say how good the conversion is.)


Top
 Profile  
 
 Post subject: Re: Public domain PSF fonts
PostPosted: Thu Nov 25, 2021 9:06 pm 
Offline
Member
Member
User avatar

Joined: Sun Oct 11, 2020 9:46 pm
Posts: 363
Location: United States
Octocontrabass wrote:
In the United States, bitmap fonts (such as PSF files) are not copyrightable.

Good to know.

_________________
Skylight: https://github.com/austanss/skylight

I make stupid mistakes and my vision is terrible. Not a good combination.

NOTE: Never respond to my posts with "it's too hard".


Top
 Profile  
 
 Post subject: Re: Public domain PSF fonts
PostPosted: Thu Nov 25, 2021 11:00 pm 
Offline
Member
Member

Joined: Mon Jul 05, 2021 6:57 pm
Posts: 118
The Tamsyn font has no restrictions on use or redistribution.

It can be found here: http://www.fial.com/~scott/tamsyn-font/


Top
 Profile  
 
 Post subject: Re: Public domain PSF fonts
PostPosted: Thu Nov 25, 2021 11:13 pm 
Offline
Member
Member

Joined: Wed Mar 30, 2011 12:31 am
Posts: 676
austanss wrote:
Octocontrabass wrote:
In the United States, bitmap fonts (such as PSF files) are not copyrightable.

Good to know.

To clarify this..

Fonts in the US follow similar copyright rules to cookbooks: The things they describe are not copyrightable, but the presentation may be. Typefaces - the design of the glyphs in a font - are specifically not copyrightable under 37 C.F.R. ยง 202.1(e). But, a font file may be subject to copyright if it involves creative representation or artistry: That includes being a "program". This means TrueType/OpenType fonts and even just vector descriptions in general are still considered copyrightable, even if the glyph shapes they are describing are not. Bitmap font files, though, don't meet the same conditions.

Japan is similar, the courts here having decided that typefaces are meant to convey information - not artistic expression. However, many countries do extend copyright protection to typefaces. Germany, the UK, Ireland, Israel...

All that said, there's plenty of typefaces and corresponding fonts available under the SIL Open Font License, which has some unique requirements (eg. you can't sell a SIL licensed font alone, though you can sell it in a bundle, so including a SIL licensed font in a commercial product is totally fine) but is otherwise approved of by all the FOSS orgs.

For my bitmap font needs, I baked a bitmap version of Deja Vu (which has its own license that is basically the same as a BSD license but with some requirements for not distributing modified versions under the names of its originating sources), which then matches up nicely with the original TrueType version I use in userspace.

_________________
toaruos on github | toaruos.org | gitlab | twitter | bim - a text editor


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot], DotBot [Bot] and 61 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group