Page 5 of 20
Re: translate kolibri
Posted: Sat Feb 16, 2013 5:32 pm
by stefano
art_zh wrote:SVN: // programs/other/font_conv
Thank you art_zh.
I don't understand how to use that.
Re: translate kolibri
Posted: Sat Feb 16, 2013 5:49 pm
by SoUrcerer
Sources of char.mt is text file. You can compile it with font_conv tool.
Re: translate kolibri
Posted: Sat Feb 16, 2013 5:52 pm
by stefano
Ok. Great.
Thank you!
Re: translate kolibri
Posted: Sun Feb 17, 2013 5:41 am
by stefano
SoUrcerer wrote:Sources of char.mt is text file. You can compile it with font_conv tool.
Can I use that file for boot? Like ETFONT.FNT?
Re: translate kolibri
Posted: Wed Feb 20, 2013 2:11 am
by stefano
I tried use CHAR.MT as font but no changes.
Re: translate kolibri
Posted: Wed Feb 20, 2013 10:58 am
by SoUrcerer
Please, provide some more information. How did you use it?
Re: translate kolibri
Posted: Wed Feb 20, 2013 2:59 pm
by SoUrcerer
For boot you can use usual binary format font.
Re: translate kolibri
Posted: Wed Feb 20, 2013 3:38 pm
by stefano
I've copied the file named et.inc that is in kernel/boot, as sp.inc.
Then I modified this lines in the file:
Code: Select all
ET_FNT:
fontfile file "ETFONT.FNT"
to
Code: Select all
SP_FNT:
fontfile file "SPFONT.FNT"
where "spfont.fnt" is "char.mt" renamed.
I added the condition for "sp" language in kernel.asm.
Re: translate kolibri
Posted: Wed Feb 20, 2013 4:44 pm
by SoUrcerer
Sorry, it wouldn't work. char.mt and char2.mt are fonts for graphics mode, while etfont.fnt is usual DOS font 8x16 (i.e. there's no headers in file, only RAW data, 16 bytes for characer from 0 to 255). You can edit these fonts with tools like
http://www.geocities.ws/ivan_llanas/sof ... edit2.html
Re: translate kolibri
Posted: Wed Feb 20, 2013 4:50 pm
by stefano
Thank you!
Now I understand.
Re: translate kolibri
Posted: Wed Feb 20, 2013 4:56 pm
by stefano
The link in the page doesn't work. I've found a mirror
http://www3.telus.net/anapan8/feditii.zip
Re: translate kolibri
Posted: Wed Feb 20, 2013 5:08 pm
by SoUrcerer
Hope that'll help.
Re: translate kolibri
Posted: Wed Feb 20, 2013 5:32 pm
by stefano
Re: translate kolibri
Posted: Wed Feb 20, 2013 5:59 pm
by stefano
The file ETFONT is right for spanish.
I have modified the file bootcode.inc to support spanish, but the ó and the í don't show right.
Re: translate kolibri
Posted: Wed Feb 20, 2013 6:12 pm
by SoUrcerer
Did you use right encoding for your file? It shouldn't be UTF-8.