cnCalc计算器论坛

 找回密码
 注册
搜索
查看: 5041|回复: 12

[求助] 通过G1L文件显示中文

[复制链接]
发表于 2012-8-12 12:24:45 | 显示全部楼层 |阅读模式
最近由yzhang37提出的8x8字库引出了饕的7x7字库...很多人开始打起了9860系统中文化的主意。毕竟8x8与8x6很接近了。
但是我有几个问题。首先,G1L文件该用什么制作?我这里上不了edu.casio.com,希望有人能提供给我工具。

第二,我对那个俄语的g1l里面的内容报有疑问,要知道ti、casio的字符集都不是标准的ASCII,它们都有相应的数学符号拓展和国际化文字拓展(双字节字符,0xE5xx,0xE6xx等),里面就有拉丁语系的带注音符号的字符。如果这样的话。不需要其他拓展字库就可以本地化。我疑惑的是俄语g1l里面有没有包含字库?!?




第三,在前两个问题都顺利解决的前提下,字库是否有格式限定?(比如限定8x6)
我们的中文字库是不是也要妥协(改小)?

测试:俄语的hello world!
第一行使用中字库显示的字符(电脑上直接粘贴过来的)
第二行是根据映射表一个个查的,用Print直接显示
代码:
  1. print_chs_str(0,0,0,(uchar*)"Всем привет!");
  2. locate(1,3);Print((uchar*)"Bcem \xE6\x4Fp\xE6\x69\xE6\x62\xE6\x65\xE6\x73");
复制代码
效果:


我觉得我对中文化不抱希望了...

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
发表于 2012-8-12 12:44:23 | 显示全部楼层
我只知道7*7都要8*8的空间,而且“非常难看”,所以6*8是绝对不可以的了
但lz可以尝试一下12*8j_0002.gif
 楼主| 发表于 2012-8-12 13:06:27 | 显示全部楼层
我是想直到g1l里面是否包含字库...看我做的俄语的测试,我猜不会包含的..
这关乎g1l是简单的字符串资源替换还是会调用不同的绘制方法
发表于 2012-8-12 21:41:45 | 显示全部楼层
本帖最后由 朔雪X忆 于 2012-8-12 21:42 编辑

以下。helder7的回复
No casio doesnt provide any software to do this, however, this type of files (.G1l) is easy to hack with a hex editor.  

i think russian characters are included in the OS, and chinese characters no (since diameter and other CS chinese devs uses a custom font)

if indeed, the Chinese caracters are not Included in os, there are one solution: Os Modding to inject Chinese font in os and create a custom (.g1l)

for casio fx-cg10/20, casio released a software update (1.04) to add support for Chinese characters, fx9860 and was never updated after this

嗯嗯,没希望做g1l、、、
所以,小饕,入PRIZM吧~~~
 楼主| 发表于 2012-8-12 21:50:30 | 显示全部楼层
看来中文化只能靠wudy提供的思路了...
回复 支持 1 反对 0

使用道具 举报

发表于 2012-8-13 10:26:58 | 显示全部楼层
本帖最后由 朔雪X忆 于 2012-8-13 11:03 编辑

Art_of_camelot提供的思路是在本机储存字库,把g1l文件修改一下把字体重定向到指定位置。我的求助帖在这里:http://www.omnimaga.org/index.php?topic=14180.0
建议研究一下十六进制的g1l文件。
小饕能提供一下那个俄语的g1l么,网上找不到的样子。这里是关于修改PRIZM字体的:(咦SimonLothar大神~
http://www.omnimaga.org/index.php?topic=12596.0
供参考。

顺便水一个,http://www.omnimaga.org/index.php?topic=9152.0
好帅的管理器~
发表于 2012-8-13 14:13:31 | 显示全部楼层
话说那个cg20的字体不喜欢啊。。
发表于 2012-8-13 18:39:57 | 显示全部楼层
g1l确实不包含字库

因为俄语字库在fx-9860G内置的系统内呢
发表于 2012-8-13 18:43:13 | 显示全部楼层
那那个7*7的汉子字库可以发上来吗?

我们也许可以跟卡西欧说,让他们把中文字库以及日语字库给塞进去。毕竟可能卡西欧株式会社都没有想到9860这个分辨率竟然足够用7*7点阵来显示汉字。
发表于 2012-8-14 17:54:35 | 显示全部楼层
10# ExAcler

下一代9860可以考虑增加一个独立的字库
但我觉得用7x7的中文字库会一定程度上破坏用户体验。
 楼主| 发表于 2012-8-14 19:07:56 | 显示全部楼层
我可以明确的回答,日文的平假名片假名包含在了我们的gb2312里面了。
包括很多全角字符(比如俄文、日文等早就包括在hzk里面啦)
不信看1L的全角俄文测试

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
回复 支持 1 反对 0

使用道具 举报

发表于 2012-8-26 23:17:18 | 显示全部楼层
here is some chinese char codes in casio fx-cg20:


发表于 2012-8-29 19:48:07 | 显示全部楼层
Then can it be used in *.G1L on fx-9860G Series?
no, i tested this keycodes on a fx9860 sdk, and they do not exist.

Can you export the chinese character codes from the rom of fx-cg20?
no, because this 2 calculators (fxcg20 and fx9860) are very different (one has color screen, the other is monochrome with small resolution screen). Additionally, no one (i think) has the rom of the fx-cg20 yet.

One possibility to put chinese in fx9860 is create add-in like Hull using syscalls and chinese fonts.
Hull: http://www.casiocalc.org/SITE/outpages/to/hull-1-00?load_that=1

Another possibility: In insight.g1a there are one optin to redirect language, maybe this can help.


By the way,what is new about casio sene?
im  working in a new and better website using a free and open source cms! When it opens, I will give news...  Maybe I need more 1 or 2 weeks.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|cnCalc计算器论坛

GMT+8, 2024-4-25 06:49 , Processed in 0.077356 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表