Post here questions, problems and suggestions in English language
Posts 166 Joined: Tue Feb 12, 2013 9:48 pm
art_zh wrote: SVN: // programs/other/font_conv
Thank you art_zh.
I don't understand how to use that.
Posts 2810 Joined: Mon Sep 24, 2007 11:11 am
Sources of char.mt is text file. You can compile it with font_conv tool.
Posts 166 Joined: Tue Feb 12, 2013 9:48 pm
Posts 166 Joined: Tue Feb 12, 2013 9:48 pm
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?
Posts 166 Joined: Tue Feb 12, 2013 9:48 pm
I tried use CHAR.MT as font but no changes.
Posts 2810 Joined: Mon Sep 24, 2007 11:11 am
Wed Feb 20, 2013 10:58 am
Please, provide some more information. How did you use it?
Posts 2810 Joined: Mon Sep 24, 2007 11:11 am
For boot you can use usual binary format font.
Posts 166 Joined: Tue Feb 12, 2013 9:48 pm
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.
Posts 2810 Joined: Mon Sep 24, 2007 11:11 am
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
Posts 166 Joined: Tue Feb 12, 2013 9:48 pm
Thank you!
Now I understand.
Posts 166 Joined: Tue Feb 12, 2013 9:48 pm
Last edited by
stefano on Wed Feb 20, 2013 5:30 pm, edited 1 time in total.
Posts 2810 Joined: Mon Sep 24, 2007 11:11 am
Posts 166 Joined: Tue Feb 12, 2013 9:48 pm
Attachments
Downloaded 216 times
Posts 166 Joined: Tue Feb 12, 2013 9:48 pm
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.
Attachments
Downloaded 210 times
Posts 2810 Joined: Mon Sep 24, 2007 11:11 am
Did you use right encoding for your file? It shouldn't be UTF-8.
Users browsing this forum: No registered users and 10 guests