I am trying to edit a font so that this font can support my language. However, I do not have much knowledge about this file, can you help me? Thank you very much
Link font file: https://drive.google.com/file/d/0Bwg-L6 ... sp=sharing
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
CHRONICLES OF SEALING GODS binary font
-
- advanced
- Posts: 47
- Joined: Sat Aug 09, 2014 10:44 pm
-
- ultra-veteran
- Posts: 603
- Joined: Fri Nov 06, 2009 12:13 am
- Has thanked: 74 times
- Been thanked: 137 times
Re: CHRONICLES OF SEALING GODS binary font
dead simple format:
script for quickbms - these will need converting to a bitmap and reimporting or something
Code: Select all
// 010 binary template
// WRS
uint count;
struct d
{
ushort glyph_code;
ubyte w, h;
ubyte data[(int)w*(int)h];
};
d data[count] <optimize=false>;
// Ensure the whole file is parsed
Assert(FTell() == FileSize());
Code: Select all
get NUM long
for J = 1 to NUM
get CHARCODE short
get WIDTH byte
get HEIGHT byte
savepos FTELL
math SIZE = WIDTH
math SIZE *= HEIGHT
string NAME p= "%u.font" CHARCODE
log NAME FTELL SIZE
math FTELL += SIZE
goto FTELL
next J
Useful tool links:
-
- advanced
- Posts: 47
- Joined: Sat Aug 09, 2014 10:44 pm
Re: CHRONICLES OF SEALING GODS binary font
Thanks so much WRS.WRS wrote:dead simple format:
script for quickbms - these will need converting to a bitmap and reimporting or somethingCode: Select all
// 010 binary template // WRS uint count; struct d { ushort glyph_code; ubyte w, h; ubyte data[(int)w*(int)h]; }; d data[count] <optimize=false>; // Ensure the whole file is parsed Assert(FTell() == FileSize());
Code: Select all
get NUM long for J = 1 to NUM get CHARCODE short get WIDTH byte get HEIGHT byte savepos FTELL math SIZE = WIDTH math SIZE *= HEIGHT string NAME p= "%u.font" CHARCODE log NAME FTELL SIZE math FTELL += SIZE goto FTELL next J