Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - seed93

#1
General Development / Change rbf font for Chinese
July 19, 2016, 10:41:03 AM
I want to translate ML to Chinese but failed. I knew I need a Chinese rbf font and I got one from www.tecdee.com. This website has been discussed before because of its commercial use.

This rbf font is over 200kb and has over 6k characters. I use bmp_printf for debug. When it loads font in rbf_font.c by font_by_name, it is stucked in rbf_font_load, more specificaly in
line:204 font_read(fd, (unsigned char*)f->cTable, f->charCount*f->hdr.charSize);

I got a debug info before return bytes_read in font_read, but got nothing out of font_read. Then the camera doesn't show menu any more, using delete button or menu button, and will go wrong when taking a pic.

Hope anyone can give some help.

http://pan.baidu.com/s/1miMvIvI
This is a Chinese version for 60D downloaded from www.tecdee.com