Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-10-2013, 03:12 PM   #1
Registered: Mar 2009
Location: Pennsylvania
Distribution: Lubuntu, BetterLinux
Posts: 370

Rep: Reputation: 29
New C Library released!!! Reads Linux console fonts (PC Screen Font format)

Hello everyone.
I just completed my new C library called libPSF. The library is a very simple library that can be used to read PSF format fonts (Linux console fonts). With this library, you can render text on the screen without using overly complicated TTF fonts. This library works with both type 1 and type 2 PSF fonts. It can also read gzipped fonts if built with zlib support (default).

The tarball includes an example (ex.c) which renders the psf fonts to the screen using SDL. The example shows how you can use the library to read PSF glyphs directly into SDL surfaces.

API documentation is provided in the tarball in the file called DOC.
Compilation and installation instructions are provided in the tarball as well in the README file.

The library is licensed under the Beerware license, which is a non-copyleft free software license.

A sample PSF font is included in the tarball. Linux console fonts are usually installed at /usr/share/consolefonts/ or /usr/share/kbd/consolefonts/.

The library is available here:


bitmap font, console font, font, library, psf

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Change Linux console font shahinism Linux - Software 2 10-29-2012 10:39 AM
Set console locale, font, and font size? penyuan Debian 3 12-09-2011 08:54 PM
Ubuntu 9.04 Server - console font too big and starts off screen Phin666 Linux - Server 1 01-05-2010 02:39 AM
[Console] an xterm type with ttf fonts as fonts ? frenchn00b Linux - Desktop 1 08-04-2007 05:32 PM
Any way to convert ttf fonts to linux console fonts? Glockage Linux - Software 7 12-30-2002 07:41 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:51 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration