|
本帖最后由 Hackerpro 于 2015-4-30 10:24 编辑
PI2不像B+那样自带字库。配置好FBTFT后,无法修改字体
这是原官网的解决方案,直接贴上,按步骤做就可以了
我设置的字体是ProFont6x11;
除此外还有其他可选字体
MINI4x6, VGA8x8, Acorn8x8, PEARL8x8, ProFont6x11, 7x14, VGA8x16, SUN8x16, 10x18, SUN12x22
高宽比接近2的比较好一点,看起来舒服,方方的英文字太难受了
# if you use a non 8 pixel wide font, this is needed
1sudo apt-get install kbd
2sudo dpkg-reconfigure console-setup
3Encoding to use on the console: <UTF-8>
4Character set to support: <Guess optimal character set>
5Font for the console: Terminus (default is VGA)
6Font size: 6x12 (framebuffer only)
需要说明下,在小屏上选择ramebuffer only能正常用,不带framebuffer only的用nano时第一行会出错
DIY的小屏幕,实际只需要8个引脚就够了
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
|