About This File
JAFont is a tool that converts .ttf fonts to a usable font format in JA. It was created by JAfont by Wudan, OJP et al, built with help from Bejitt and Fracman. 0.0.4 version by ykas.
Usage:
1. Copy font files (TTF, OTF) to JAFont/fonts directory.
2. Call jaFont.exe <command> <fontfile> <size> <JAfontname> [-cyr] [scale:<scale>] [format:q3] [outsize:<size>]
Required parameters (order matters):
- <command> - should be always -create
- <fontfile> - name of the font (ttf) file, including extension
- <size> - font size
- <JAfontname> - font name used in JO/JA
Optional parameters (order doesn't matter, but should be added at the right from required parameters):
- -cyr - use cyrillc encoding (Windows-1251)
- -koreanhack - don't use this setting
- scale:<integer> - font resolution scale, the value is integer (1 - normal, 2 - high-res font)
- yshift:<integer> - add vertical offset to all symbols to adjust text vertical coorinate (default value: 0). Don't use this setting.
- format:q3 - JO format (default is JA)
- outsize:<value> - in-game size (pt) of the font (for example, [<size>=18 ... outsize:9] creates 18pt font, but saves it as 9pt for better resolution)
As you can see, there are two ways to scale font, both give a bit different result, and in both cases positioning of scaled glyphs in game isn't very accurate.
Example #1: JAFont.exe -create ARIALNB.TTF 9 arialnb scale:2
Example #2: JAFont.exe -create ARIALNB.TTF 18 arialnb outsize:9
Resulting .fontdat and .png files will be placed in JAFont/output directory.
Notes:
- Since 0.0.2 version doesn't work anymore and doesn't include sources, this version is based on the original 0.0.1a.
- for Jedi Outcast, manually convert png image to tga (and don't forget about alpha channel).
This file is not developed, distributed, or endorsed by Activision Publishing, Inc., Raven Software, Lucasfilm Ltd., Disney, Inc., or any of their affiliated entities. All trademarks, copyrights, and intellectual property rights belong to their respective owners. Star Wars®, Jedi®, and Jedi Knight® are registered trademarks of Lucasfilm Ltd.™ and Disney, Inc.™. This file is intended for educational, non-commercial, or fan-based use under the principles of fair use. No copyright infringement is intended. Any claims of ownership or DMCA takedown requests can be submitted here.
What's New in Version 0.0.4
Released
- Positioning of scaled glyphs improved, although it still isn't accurate
- vertical offset is correct by default for scaled fonts, and yshift isn't needed anymore