1
0
forked from 0ad/0ad
0ad/source/tools/fontbuilder
2005-06-20 22:04:08 +00:00
..
platform Run-time selection of FreeType DLL, to let the user decide whether to enable glyph hinting 2004-08-10 15:51:06 +00:00
Construct Finally, a mostly-working font builder on Linux 2004-06-19 13:46:11 +00:00
fileformat.txt Various ancient changes that were never committed (since they don't quite work yet) 2004-11-23 18:19:27 +00:00
filemanip.cpp Finally, a mostly-working font builder on Linux 2004-06-19 13:46:11 +00:00
filemanip.h Even more Linuxness 2004-06-19 12:56:09 +00:00
font.cpp Various ancient changes that were never committed (since they don't quite work yet) 2004-11-23 18:19:27 +00:00
font.h Various ancient changes that were never committed (since they don't quite work yet) 2004-11-23 18:19:27 +00:00
FontBuilder.ico Font builder code 2004-06-17 19:32:04 +00:00
fontbuilder.icproj Run-time selection of FreeType DLL, to let the user decide whether to enable glyph hinting 2004-08-10 15:51:06 +00:00
FontBuilder.rc Font builder code 2004-06-17 19:32:04 +00:00
FontBuilder.sln Minor warning-fixes and miscellaneous tidiness 2005-06-20 22:04:08 +00:00
FontBuilder.vcproj Minor warning-fixes and miscellaneous tidiness 2005-06-20 22:04:08 +00:00
freetypea.dll Run-time selection of FreeType DLL, to let the user decide whether to enable glyph hinting 2004-08-10 15:51:06 +00:00
freetypeb.dll Run-time selection of FreeType DLL, to let the user decide whether to enable glyph hinting 2004-08-10 15:51:06 +00:00
freetypedll_funcs.h Various ancient changes that were never committed (since they don't quite work yet) 2004-11-23 18:19:27 +00:00
freetypedll.cpp Various ancient changes that were never committed (since they don't quite work yet) 2004-11-23 18:19:27 +00:00
freetypedll.h Various ancient changes that were never committed (since they don't quite work yet) 2004-11-23 18:19:27 +00:00
imagemanip.cpp Font builder code 2004-06-17 19:32:04 +00:00
imagemanip.h Font builder code 2004-06-17 19:32:04 +00:00
packer.cpp Removed the single-pixel borders between glyphs; most font textures are now half their former size 2004-08-24 14:58:50 +00:00
packer.h Even more Linuxness 2004-06-19 12:56:09 +00:00
readme.html Font builder code 2004-06-17 19:32:04 +00:00
resource.h Font builder code 2004-06-17 19:32:04 +00:00
stdafx.cpp Font builder code 2004-06-17 19:32:04 +00:00
stdafx.h Various ancient changes that were never committed (since they don't quite work yet) 2004-11-23 18:19:27 +00:00
todo.txt Various ancient changes that were never committed (since they don't quite work yet) 2004-11-23 18:19:27 +00:00
version.h Removed the single-pixel borders between glyphs; most font textures are now half their former size 2004-08-24 14:58:50 +00:00
wxapp.cpp Run-time selection of FreeType DLL, to let the user decide whether to enable glyph hinting 2004-08-10 16:01:18 +00:00
wxconfig.cpp Finally, a mostly-working font builder on Linux 2004-06-19 13:46:11 +00:00
wxconfig.h Even more Linuxness 2004-06-19 12:56:09 +00:00
wxframe.cpp Various ancient changes that were never committed (since they don't quite work yet) 2004-11-23 18:19:27 +00:00
wxframe.h Even more Linuxness 2004-06-19 12:56:09 +00:00
wxspinner.h Even more Linuxness 2004-06-19 12:56:09 +00:00

<html>
 <head>
  <title>Font Builder</title>
 </head>
 <body bgcolor="#fff4e6" text="black" style="font-family:sans-serif">

<h2>Font Builder</h2>

<h3>Usage</h3>

<ol>
<li>Choose a <i>primary font</i>, which will be used for as much as
 it can be used for.
<li>Optionally, choose a different <i>secondary font</i> which is used
 when the primary font is missing certain characters - for example,
 Trebuchet doesn't include any Greek/Cyrillic/Hebrew characters, so
 these will be taken from Arial Unicode MS (by default) instead.
<li>Use the <i>Preview font</i> button to see what the font looks like
 by rendering the contents of the textbox. Adjust the font settings
 until perfection is attained.
<li>Choose a desired <i>character list</i> - a text file containing
 all the characters that must be in the final font. The standard files
 are <tt>latin.txt</tt> (containing ASCII plus some accented characters,
 mainly useful for non-localised text) and <tt>standard.txt</tt>
 (containing Latin, Greek, Cyrillic and Hebrew characters, for text that
 could be in any language).
<li>Click <i>Generate texture</i>, and select a name for the <tt>.fnt</tt>
 file. A <tt>.tga</tt> texture will also be generated, in the same directory
 with the same name. Depending on several random coincidences, the texture
 generation might be very fast or might take quite a while. When it finishes, the
 excitingly patterned texture will be displayed.
<li>Save your settings through the <i>File</i> menu so that you can
 easily recreate the font later.
</ol>

<h3>Unicode fonts</h3>

<p>

The font builder is intended to be used with Unicode characters.
Unfortunately, most fonts aren't. The font builder tries
to use <i>Arial Unicode MS</i> by default: this seems to
be installed by some versions of Microsoft Office, or can
be downloaded from locations such as
<a href="http://wildfiregames.com/~code/libraries/fonts/arialuni.exe">this</a> (12MB
self-extracting 7-Zip). It's probably worth getting, since it
includes almost every Unicode glyph that you could wish for.

</p><p>

Another potentially useful Unicode font is Bitstream Cyberbit
(available from <a href="ftp://ftp.netscape.com/pub/communicator/extras/fonts/windows/Cyberbit.ZIP">Netscape's FTP server</a>,
6MB).

</p><p>

All fonts must be installed into Windows before you can use
them in the font builder.

</p>

<h3>Font settings</h3>

<ul>
<li><b>Size</b> - size of the font in arbitrary units.
<li><b>Boldness</b> - if you don't have a proper bold variation of the
  font, the boldness setting fakes it by drawing
  the character several times.
<li><b>Italicness</b> - if you don't have a proper italic variaton,
  the italicness setting slants it in 5-degree increments. Negative
  values slant the other way.
<li><b>Tracking</b> - extra spacing in pixels added between every
  non-zero-width glyph.
<li><b>Leading</b> - extra spacing in pixels between lines of text.
</ul>

 </body>
</html>