Git Product home page Git Product logo

cjktty-patches's People

Contributors

supdrewin avatar zhmars avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cjktty-patches's Issues

kernel 5.10.186 console不能显示中文

我的kernel从5.10.46升级到5.10.186后,console就不能显示中文了。kernel的config项我都逐项比对过了没有发现异常。这是相关的kernel配置项:

CONFIG_FONTS=y
 # CONFIG_FONT_10x18 is not set
 # CONFIG_FONT_6x10 is not set
 # CONFIG_FONT_6x11 is not set
 # CONFIG_FONT_7x14 is not set
CONFIG_FONT_8x16=y
CONFIG_FONT_8x8=y
# CONFIG_FONT_ACORN_8x8 is not set
CONFIG_FONT_CJK_16x16=y
CONFIG_FONT_CJK_32x32=y
# CONFIG_FONT_MINI_4x6 is not set
# CONFIG_FONT_PEARL_8x8 is not set
# CONFIG_FONT_SUN12x22 is not set
# CONFIG_FONT_SUN8x16 is not set
CONFIG_FONT_SUPPORT=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER=y
CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
CONFIG_FRAMEBUFFER_CONSOLE_LEGACY_ACCELERATION=y
CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
CONFIG_FRAME_POINTER=y

请大佬拨冗指导。另外我用kernel 5.15测试过也不能显示中文。

【BUG】tty下的显示出来的中文字符无法用鼠标中键复制粘贴,英文字符可以。

6.7.2 内核,成功编译,在4k显示器下字体很小,尽管已经使用了 32x32 字体。

TTY 下启用了 gpm 鼠标服务,可以按住鼠标左键不放横向拖放选择英文字符,被选字符反色后,放开左键,按一下鼠标中键(滚轮)将选中的英文字符复制粘贴到当前光标闪烁处。测试发现,但凡CJK字符(比如汉字、全角的中文标点符号等)却无法用同样的方法复制粘贴。如果一次左键拖放选择的字符同时有中文和英文,则只有英文字符能被复制粘贴,中文字符直接被忽略。

这一定是一个BUG,记得很久很久以前 youbest 的 cjk 补丁是可以用鼠标复制粘贴CJK字符的。

怎么在运行时选择字体呢?

比如我想要 CJK32x32 字体,但是目前是 CJK16x16 字体。

我知道可以通过内核参数 fbcon=font:xxx 来指定。可是一开始没指定好的话就得重启。我总不能接个显示器就要重启一次,然后拔了显示器再重启一次吧……

有简单的教程么?

linux新手一个。
使用命令:patch -Np1 < **.patch; 提示让选择file to patch ,输入绝对地址,就提示,file not found

控制台下字符显示乱码

我在6.0.10内核下用补丁正常编译通过后,在控制台看起来能显示中文了,但发现有 bug!

1)测试脚本如下

echo " 你好啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊"
echo " 你好啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊"


echo "光驱设备  丢失,请检查虚拟机上是否正确配置了光驱设备
* 检查路径:虚拟拟机设置/存储/SATA控制器下是否有配置光驱设备
* SATA控制器上挂系统启动硬盘和光驱设备,请同步勾选-使用主机输入输出缓存,提高读取性能
   * 光驱设备上挂载系统镜像 ISO 文件
* SCSI控制器下挂载数据盘,请不要勾-使用主机输入输出缓存,避免丢数据"

2)在控制台上用 vim 打开也是正常的

3)执行 shell 脚本就乱码
image

Some flaws of this patch.

It's simply a great patch for people like me.
I have found some flaws of this patch, hoping they will be fixed soon.
I'm new to open source and I may make some bad issues, so just tell me what I need to add.

Flaw 1:
When using fonts that aren't 1:2 like some 10x18 fonts, there will be a border on bottom or beside in random pixels.

Flaw2:
When using fonts that need framebuffer support like some 16x32 fonts, it just outputs some unreadable bitmaps.

System: Debian 12
CPU: AMD Ryzen™ 7 4700U with Radeon™ Graphics × 8
Monitor: A notebook monitor with very high resolution that made text very small
& A normal high resolution PC monitor
Patch version: 6.6
Kernel: 6.6.16

Chinese:
这真是一个伟大的补丁。
我找到了一些小的缺陷,希望作者大大早日修复。
我是新来的,可能提的问题有一些不全面,请前辈们多多指教。

第一个缺陷:
当使用的字体不是长宽比1:2的字体时,字的下面或侧面会有一些点阵组成的乱码。

第二个缺陷:
当使用要求Framebuffer的字体,比如很多字体的16x32这样的大字号版,所有字都会成点阵乱码。

系统:Debian 12
处理器:AMD 锐龙™ 7 4700U 带内置核显 × 8
屏幕:一个分辨率很高导致字很小的笔记本屏幕,和一个普通的高分辨率的台式机屏幕。
补丁版本:6.6
内核版本:6.6.16

Note:
Locales set with "sudo dpkg-reconfigure locales"
Fonts set with "sudo dpkg-reconfigure console-setup"

我用 "sudo dpkg-reconfigure locales" 更改的本地化设置
并用"sudo dpkg-reconfigure console-setup" 更改的字体设置

能以dkms的形式安装到内核吗?

我对这方面的了解并不够深,我只是看到许多能在编译内核时添加参数的模块都能以dkms的形式安装到系统上,所以我想知道cjktty能不能也转换成支持dkms的形式呢?(这样可以减少安装别的内核后可能造成的一系列问题,比如安装nvidia驱动就还需要安装nvidia-dkms)。我的系统是Arch Linux,在包管理器里面已经有了包含cjktty的内核,但就是没有cjktty-dkms之类的东西。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.