kajgan / fbterm

Automatically exported from code.google.com/p/fbterm
0 stars 0 forks source link

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

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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.

Original issue reported on code.google.com by ste...@nchc.org.tw on 23 Dec 2008 at 8:14

GoogleCodeExporter commented 8 years ago
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.

Original comment by zgchan...@gmail.com on 29 Dec 2008 at 4:01

GoogleCodeExporter commented 8 years ago
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.

Original comment by ste...@nchc.org.tw on 29 Dec 2008 at 4:17

GoogleCodeExporter commented 8 years ago
Hi, I have handled the pcf font with freetype in libucimf. 
http://ucimf.svn.sourceforge.net/viewvc/ucimf/libucimf/font.cpp?revision=215&vie
w=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 :-)

Original comment by MatLinuxer2 on 28 Jan 2009 at 6:59

GoogleCodeExporter commented 8 years ago
This bug has been fixed in version 1.4, please check it.

Original comment by zgchan...@gmail.com on 15 Mar 2009 at 1:11

GoogleCodeExporter commented 8 years ago
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.

Original comment by ste...@stevenshiau.org on 17 Mar 2009 at 1:58

GoogleCodeExporter commented 8 years ago
you want to use fbterm in embedded platform?

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

Original comment by zgchan...@gmail.com on 18 Mar 2009 at 4:13

GoogleCodeExporter commented 8 years ago
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.

Original comment by ste...@stevenshiau.org on 18 Mar 2009 at 4:19

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

Original comment by ste...@stevenshiau.org on 15 Jun 2009 at 3:19