FON字体文件格式说明 [英] FON font file format description
问题描述
嗨!
我在这里找到了FON文件说明; http://falloutmods.wikia.com/wiki/FON_File_Format
有FON文件的书面结构,但还不够。
首先 - 写了如何存储字符数据 - 但仅限于1字节宽的字符。
如何存储2字节或更宽的字节字符?
字符14x16像素是如何存储的?
前16个字节行然后16个字节一个字节行?
或单行两个字节然后下行两个字节?
即使我发现了一些带有desription的FON文件,这是在网上写的......
可以有人解释一下吗?
非常感谢。
Miro
我尝试了什么:
第一次与FON文件见面,也想用于其他平台比Windows。
Miro
Hi!
I found FON file description here; http://falloutmods.wikia.com/wiki/FON_File_Format
There's written structure of FON file, but not enough.
As first - there is written how are character data stored - but only for characters 1 byte wide.
How are stored 2 bytes or more wide characters?
Character 14x16 pixels is how stored?
First 16 one byte lines and then next 16 one byte lines?
Or single line two bytes and then next line two bytes?
Even I found some FON files with desription and this was on that web not written...
Can anybody explain it me?
Thank you very much.
Miro
What I have tried:
First meeting with FON file, want to use also for other platforms than Windows.
Miro
推荐答案
只是查看链接的格式,FON文件是一种简单的栅格格式,并且似乎不支持每个字符超过一个字节。换句话说,除了0到255之外没有其他字符。
Just looking at the format you linked to, FON files are a simplistic, raster format and don't appear to support more than one byte per character. In other words, there are no characters other than 0 to 255.
这篇关于FON字体文件格式说明的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!