Jump to content

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.3 version by ykas.

usage: jaFont <command> <fontfile> <size> <JAfontname> [-cyr] [scale:<scale>] [yshift:<y_shift>]

Required parameters (order matters):
<command> - should be always equal to -create\n");
<fontfile> - name of the font (ttf) file including file extension
<size> - font size
<JAfontname> - font name used in JO/JA

Optional parameters:
-cyr - add this keyword to use cyrillc encoding (Windows-1251)
scale:<float> - scale down font size, use with large <size> values to increase font resolution (default value: 1.)
yshift:<integer> - add vertical offset to all symbols to adjust text vertical coorinate (default value: 0)

Example: jaFont -create SW_Foxes.ttf 28 anewhope -cyr scale:0.5

Resulting .fontdat and .png images will be placed in the executeable's directory. In the example above, anewhope.fontdat and anewhope.png would be created.

When packaging the fonts it is important that you do NOT alter the original PK3 files, and place your new fonts in a new PK3 file, this is pretty much standard procedure for "replacing" game assets.

Note:
Since 0.0.2 version doesn't work anymore, this version is based on the original 0.0.1a sources. Changes:
* support of cyrillic fonts
* font scale
* vertical shift

Note #2: For Jedi Outcast, manually convert png image to tga (and don't forget about alpha channel).

THIS FILE IS NOT MADE, DISTRIBUTED, OR SUPPORTED BY ACTIVISION PUBLISHING, INC., RAVEN SOFTWARE, OR LUCASARTS ENTERTAINMENT COMPANY, LLC. ELEMENTS™ & © LUCASFILM LTD.™ & DISNEY, INC.™ AND/OR ITS LICENSORS. STAR WARS®, JEDI®, & JEDI KNIGHT® ARE REGISTERED TRADEMARKS OF LUCASFILM LTD™ AND WALT DISNEY, INC.™ STAR WARS®, JEDI®, & JEDI KNIGHT® ARE REGISTERED TRADEMARKS OF LUCASFILM LTD™ & DISNEY, INC.™


What's New in Version 0.0.3

Released

Since 0.0.2 version doesn't work anymore, this version is based on the original 0.0.1a sources. Changes:
* support of cyrillic fonts
* font scale
* vertical shift


User Feedback

Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...