fix texture bug, add CJK display and IME#106
Merged
Merged
Conversation
Member
|
好酷!标点符号的问题,可以试着找一个中文比英文2:1的等宽字体,这样应该会比较好处理一些。然后 Terminal Emulator 那边需要检测一下宽字符,如果是宽字符就占用两个 cell,第一个 cell 保存那个 char,第二个 cell 不绘制。之前读过 xterm.js 的代码,印象中里面有相关的逻辑。 |
Member
|
看起来工作量不小,辛苦!做完以后,可以 request 一下 review 来告诉我,我来 review 和合并。 |
Contributor
Author
|
可以合了,看起来更改多,都是IDE右键refactor重命名的,实际更改并没有那么多 |
Member
|
@mix-il I invited you to the organization, along with @SwimmingTiger and @SolidFaker who previously contributed nontrivial work to Termony. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
之前字体位图只有一列一旦超过8192,就会立即绑定材质失败
现在改成二维图,可以容纳一万多字符,很难再超8192
并添加中文显示支持(标点等仍然排版错误)