readme.txt 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. Bitmap Font Generator v1.14 beta by Andreas Jönsson (www.AngelCode.com)
  2. ----------------------------------------------------------------------------------------
  3. This program will allow you to generate bitmap fonts from TrueType and other Windows fonts. The application generates both image files and character descriptions that can be read by a game for easy rendering of fonts.
  4. Disclaimer
  5. ------------------------------
  6. This program is provided 'as-is' and no responsibility for any type of damage taken to your system as a consequence of installing or using this program is taken by the author.
  7. Freeware
  8. -------------------------------
  9. This program is freeware and may be used freely without charge. If you wish to distribute this program contact the author for his permission.
  10. Support
  11. --------------------------------
  12. This program has very limited support as it is freeware, but you are welcome to send your suggestions and questions to the author.
  13. Contact
  14. --------------------------------
  15. The program and any possible upgrades can be found at www.AngelCode.com. The author may also be contacted through this site.
  16. Changes
  17. -------------------------------
  18. 1.14 beta - 2014/06/17
  19. - Fixed crash with large fonts when Windows API incorrectly reported negative width for glyphs.
  20. - Improved handling of out-of-memory conditions.
  21. - Fixed crash that could occur when exporting Unicode characters above 0x10000 with kerning pairs.
  22. - Fixed crash when command line argument -c was a relative path and the configuration included font file or image files.
  23. - Fixed crash when saving configuration file with added font file from the same directory.
  24. - Corrected the cell height when using fixed height and super-sampling.
  25. - Added support for Unicode 6.2.
  26. - Fixed compatibility with Windows XP.
  27. - Fixed scaling issues and cropping when using height scale with render from outline.
  28. - Fixed application freeze when generating very large fonts.
  29. - Converted application to compile for Windows with Unicode to better support file and font names with international characters.
  30. 1.13 - 2012/08/12
  31. - Added option to export fonts using fixed cell heights for easier post processing.
  32. - Improved support for exporting kerning pairs for true types that use the GPOS table instead of KERN table.
  33. - Kerning pairs are no longer exported for char ids that have been overridden with imported icons.
  34. - Improved glyph packing when there are large out of proportion images.
  35. - The final texture no longer has boxes around glyphs when a channel is inverted or set to one.
  36. - Fixed subpixel clipping in supersampled glyphs.
  37. - Implemented an alternative glyph rasterization based on the true type outline.
  38. - The rasterization from true type outline doesn't clip glyphs that extend above or below cell height.
  39. - Allow disabling hinting when rasterizing from true type outline.
  40. - Re-added option for rendering with ClearType with native Windows font engine.
  41. - Fixed bug where saved XML format sometimes didn't close the 'kernings' tag if there were no kerning pairs.
  42. - Fixed bug with duplicate kerning pairs in non-unicode font output.
  43. - Fixed problem where double-clicking in file dialog would sometimes change the selected characters under the mouse.
  44. - Enabled run-length encoding for TGA output.
  45. - Added option to force xoffset and yoffset to 0, and xadvance to width.
  46. - It's now possible to open the app directly with a configuration file from the file explorer.
  47. - When loading a bmfc file the characters are now selected accordingly.
  48. - The font dialog no longer lists rotated fonts, i.e. those prefixed with @.
  49. - Added support for working with a font from a file so it is no longer necessary to install it first.
  50. - Imported images are now stored with a relative path in the configuration file.
  51. - Fixed clipping that could occur on left and right edges when generating a font in italic mode.
  52. - Kerning pairs can now be optionally left out in case they are defunct in the TrueType font.
  53. - The save and load configuration dialogs will now initiate where the last configuration file was loaded or saved.
  54. 1.12 - 2009/08/02
  55. - Added presets to the export options to aid choosing the correct values for the texture channels.
  56. - Fixed bug when generating font from command line where the page files in the font descriptor would have the incorrect name.
  57. - Added ability to invert individual texture channels for more export options.
  58. - Added command line tool that will wait for the generation to complete before exiting.
  59. - Fixed the yoffset when the font height was scaled.
  60. - Fixed bug in select chars from file for non-unicode with characters above ASCII 127.
  61. - The number of digits for the page id in the texture files is now adapted to the number of generated pages.
  62. - Added support for adjusting xoffset, yoffset, and advance for imported icons.
  63. 1.11b - 2009/03/08
  64. - Fixed a bug in the select chars from file with UTF16 encoded files.
  65. - Fixed a bug in the packing routine that could make characters overlap in rare situations.
  66. - Fixed the selection of unicode ranges by clicking on the check mark in the list.
  67. 1.11a - 2008/12/06
  68. - Fixed the subpixel misalignment in the glyph height caused by supersampling.
  69. - Worked around a bug in GDI where the returned glyph height is smaller than the actual glyph bitmap.
  70. 1.11 - 2008/10/11
  71. - Fixed a freeze that could happen while selecting characters from file.
  72. - Fixed cropping in some true type fonts.
  73. - Fixed the 'Select All Chars' option in ASCII mode.
  74. - Added option 'Output invalid char glyph'.
  75. - Removed the 'Disable unavailable chars' option.
  76. - Fixed problem where characters not defined in the unicode standard could be selected when selecting chars from file.
  77. - An indicator is now displayed in the character grid where images are imported.
  78. - Fixed bug where main window is moved behind other windows when closing image manager.
  79. - Fixed bug where cancelling the icon image dialog would still effectivate the changes.
  80. - It's now possible to select font size by character height, rather than line height.
  81. 1.10b - 2008/06/15
  82. - Fixed the channel indicator in the font descriptor for colored icons.
  83. - Fixed cropping of characters in small fonts.
  84. - Fixed bug with black 8bit textures when the check box for pack chars is checked.
  85. 1.10a - 2008/06/08
  86. - Corrected the documentation in regards to the block size value in the binary file format.
  87. - Fixed a bug with the 'Select chars from file' where some character might be skipped between reading blocks of 1kb.
  88. - Fixed a rounding problem with supersampling that made the exported line height be one less than the largest character height.
  89. - Removed the external dependency on the Microsoft DLLs.
  90. - Upgraded libpng to 1.2.29.
  91. 1.10 - 2008/05/11
  92. - Selecting characters from file now supports both UTF-8 and UTF-16, with automatic detection via byte-order-mark.
  93. - Fixed a bug where unicode subsets where not shown when disable undefined characters was unselected.
  94. - Status bar shows character id for the character under the mouse cursor.
  95. - Added "clear all" option.
  96. - Preview window is now automatically resized to fit the texture when scaling.
  97. - Added support for unicode characters above 0xFFFF.
  98. - Added support for generating textures with DXT1, DXT3, and DXT5 compression.
  99. - Split the font settings dialog in two dialogs, one for the font graphics and one for export options.
  100. - The content of each texture channel can now be customized.
  101. - File format updated to accomodate new feature.
  102. 1.9c - 2007/11/16
  103. - Fixed the reversed spacing values in the font settings dialog.
  104. - The font generation can now be aborted while the characters are being added to the texture.
  105. - Greatly improved the speed of generating textures.
  106. 1.9b - 2007/10/28
  107. - Fixed the padding.
  108. - Improved documentation.
  109. 1.9a - 2007/09/16
  110. - Allowing unicode for all fonts, even fonts that have only one code page.
  111. - Fixed the status messages when generating fonts.
  112. 1.9 - 2007/08/19
  113. - Added support for importing colored icons.
  114. - Supported input image formats are: bmp, tga, png, jpg, dds.
  115. - Added support for giving a black outline to characters.
  116. - Characters with outline may be encoded in 1 channel to save space.
  117. - Outline is generated with rounded corners.
  118. - Increased the binary file version because there is new information.
  119. 1.8c - 2007/01/25
  120. - Fixed a bug where the font saver got confused with the 4 chnl packed flag set, even though saving in 8bit format.
  121. 1.8b - 2007/01/06
  122. - Fixed kerning amount in binary file format when using super sampling.
  123. 1.8a - 2006/11/23
  124. - Fixed alignment bug with 8bit TGA and DDS files with non-power-of-4 widths.
  125. - Fixed crash on Windows with installed Input Method Editors, e.g. Japanese and Chinese Windows.
  126. 1.8 - 2006/11/11
  127. - Added support for binary font descriptor file.
  128. - Added support for saving PNG texture files.
  129. - The application now remembers the configuration from last execution.
  130. - Improved useability for selecting characters in unicode mode.
  131. - Added option to select all characters from a text file.
  132. - Kerning pairs with amount 0 are no longer output.
  133. - XML font descriptor file now groups the pages, chars, and kerning pairs.
  134. - The font configuration can be saved to disk, and later reloaded.
  135. - Added support for generating fonts via command line using a saved configuration.
  136. - Added support for saving DDS texture files (no compression).
  137. 1.7a - 2006/09/12
  138. - Fixed the creation of non-unicode fonts.
  139. 1.7 - 2006/09/08
  140. - Added the standard xml header.
  141. - Added support for unicode charsets.
  142. - Added the option to pack monochrome characters into each of the 4 channels of a 32 bit texture.
  143. - Added tag with texture file names in the font descriptor file.
  144. - The generation of textures is now done in a background thread.
  145. 1.6 - 2006/02/18
  146. - It's now possible to choose between XML and text for the format of the font descriptor file.
  147. - Fixed kerning sizes with super-sampling.
  148. 1.5 - 2005/10/01
  149. - Implemented stretching so that fonts can now be non-uniformly scaled (only works on Win2K or later).
  150. 1.4a - 2005/08/26
  151. - Non-TrueType fonts, such as Script and System, are now supported as well.
  152. - Minor fix to rendering when padding is used.
  153. 1.4 - 2005/07/17
  154. - The preview window now shows the page number in the title.
  155. - Characters without a defined glyph may now be automatically removed (only works on Win2K or later).
  156. - Kerning pairs are now saved as well.
  157. - Added support for chooseable charset, e.g. arabic and hebrew fonts.
  158. 1.3 - 2005/05/08
  159. - Added support for italic fonts.
  160. - Application no longer crashes when visualizing with no characters selected.
  161. 1.2 - 2005/03/09
  162. - User can now choose to generate the bitmap font with or without font smoothing.
  163. - Font smoothing is now done without ClearType, so that artifacts are no longer generated in the output texture.
  164. - Added program icon.
  165. 1.1 - 2005/03/05
  166. - User can now choose to save in 32bit and 8bit TGAs.
  167. - The spacing between characters can now be manually set.
  168. - Fixed the bug where some fonts weren't visible in the font list.
  169. 1.0a - 2004/11/27
  170. - Fixed a problem with values that where not adjusted to compensate for antialiasing level.
  171. 1.0 - 2004/02/14
  172. - First public version.
  173. copyright (c) 2004-2013 Andreas Jönsson