Quote:
Originally Posted by Feuer Frei!
If wanting to edit fonts, and correct me if i'm wrong but as far as i understand it the off file contains the rectangles for the same-named dds file, which then the dds calls from to render the font ingame.
|
Exact, off files define pixels in the dds file of the same name which correspond to each character. The arguments of each entry are:
- Horizontal / Vertical spacing: not 100% sure about it, but I think this is the number of pixels that the game will space out fonts of in game (both can be set to 0 if the correct spacing is already included in the font definition, i.e. blank pixels in the dds file);
- Character: the character defined;
- X/Y: horizontal/vertical offset in pixels from the top left corner;
- Width/Height: quite self-explanatory

You can add or delete as many font definition entries as you want.
Also note that most fonts are also set through an homonymous txt file, which specifies:
- number of character definitions contained in the file;
- width/height in pixels of the source dds;
- character definitions including:
- set character;
- character ASCII number;
- left/top/right/bottom offsets relatice to the dds file, defining the position and size of each character.
As you can see, there is a lot of redundant information, which makes me to wonder whether both the txt and off files are required or not
Quote:
Originally Posted by Feuer Frei!
Now, silent 3ditor can open off files however all i get is a black screen in the viewing window.
|
Probably a missing feature: I have tried opening SHIII fonts (which are in tga format), but with the same result.
Quote:
Originally Posted by Feuer Frei!
Easier to use an existing off file to edit than creating a new font set.
|
Probably yes, if your manage to find a stock font which is similar to the one you want to add to the game. If not, font spacing will be messed up, with some fonts having a bigger spacing than other ones.
If, on the other hand, you decide to create a new font definition from scratch, you should measure pixel offsets manually, and enter them in the off/txt files. The best method to do it may vary though, depending on the photo editing program you are going to use. In general using the grid and the "sticky" guides featured by photoshop and similar programs, could ease up your work a lot
P.S: I have quite a good collection of fraktur fonts on my hard drive. Let me know if you need for them