5

FbTerm: 终端下的中文显示和输入解决方案

 1 year ago
source link: http://z-rui.github.io/post/2018/09/fbterm/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

FbTerm: 终端下的中文显示和输入解决方案

Sun Sep 30, 2018

Linux 内核支持 Unicode。 但是它的显示驱动只支持 256 个不同的字符。 所以没有办法显示中文。 一般的解决办法是使用 fbterm (该项目已停止开发)。

FbTerm 用最新版本的 FreeType 渲染时会有一些问题, 主要表现为西文字母显示出较多毛刺。 这个问题可以通过这个补丁解决。

FbTerm 也提供了一个输入法框架。 我把我之前为 ibus 编写的输入法移植到了 FbTerm 中, 只不过功能更加薄弱了:

屏幕录像


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK