Export to GitHub

fbterm - issue #9

[Feature Request] Use xfonts-unifont (PCF (bitmap) version of the GNU Unifont)


Posted on Dec 23, 2008 by Helpful Horse

fbterm is really nice. Thank you for starting this project. I do enjoy it. Especially when "jfbterm" is not maintained or developed. fbterm is just the one I need. I'd like to suggest that in the future fbterm can support xfonts-unifont (/usr/share/fonts/X11/misc/unifont.pcf.gz). The reasons I'd like to use unifont.pcf in fbterm are: 1. Only one font file can meet almost all languages. 2. Because no ttf files are required, X-related programs won't be installed due to dependence.

Therefore we can use pure console environment. This is especially nice for some light-weight environment.

Thanks again.

Comment #1

Posted on Dec 29, 2008 by Happy Horse

There is a bug in version 1.3 where FbTerm will crash if you try to use xfont- unifont, I'll fix it in next version.

But xfont-unifont isn't a fixed width font, you can't get perfect result with it.

Comment #2

Posted on Dec 29, 2008 by Helpful Horse

Thanks for that. Yes, xfont-unifon is not a perfect one, but it's an option at least. Especially when what we need is a basic font to support all the languages. Thanks again.

Comment #3

Posted on Jan 28, 2009 by Grumpy Kangaroo

Hi, I have handled the pcf font with freetype in libucimf. http://ucimf.svn.sourceforge.net/viewvc/ucimf/libucimf/font.cpp?revision=215&view=markup ( about 82-106 lines of font.cpp )

81

82 if( face->available_sizes !=0 ) // stand for the pcf font. 83 { ...

BTW, there is an open font could be useful too. http://damieng.com/blog/2007/11/14/droid-font-family-courtesy-of-google-ascender http://people.debian.org.tw/~chihchun/2008/12/31/free-as-speech-font-droid/

Hope this helps :-)

Comment #4

Posted on Mar 15, 2009 by Happy Horse

This bug has been fixed in version 1.4, please check it.

Comment #5

Posted on Mar 17, 2009 by Happy Wombat

Yes. Thanks. One more question. I'd like to make fbterm work with xfonts-unifont (PCF (bitmap) only, i.e. without any dependence on libfontconfig1 and libfreetype6 on Debian or Ubuntu, what shall I do before I compile it ? Thank in advance.

Comment #6

Posted on Mar 18, 2009 by Happy Horse

you want to use fbterm in embedded platform?

In order to remove fontconfig/freetype's dependences, class Font(src/font.cpp) should be rewritten!

Comment #7

Posted on Mar 18, 2009 by Happy Wombat

Not really in embedded platform, but I'd like to use it on console mode only, where no ttf font or any X-related program is available. Thanks again.

Comment #8

Posted on Jun 15, 2009 by Happy Wombat

Hi, About "In order to remove fontconfig/freetype's dependences, class Font(src/font.cpp) should be rewritten!", will you do this ? Thanks.

Status: Fixed

Labels:
Type-Defect Priority-Medium