PageRenderTime 62ms CodeModel.GetById 15ms RepoModel.GetById 0ms app.codeStats 0ms

/modules/freetype2/ChangeLog.20

http://github.com/zpao/v8monkey
Unknown | 2613 lines | 1832 code | 781 blank | 0 comment | 0 complexity | 2312b780de134cb33eec4a8fd4007c74 MD5 | raw file
Possible License(s): MPL-2.0-no-copyleft-exception, LGPL-3.0, AGPL-1.0, LGPL-2.1, BSD-3-Clause, GPL-2.0, JSON, Apache-2.0, 0BSD
  1. 2002-02-09 Werner Lemberg <wl@gnu.org>
  2. * README: Fix typo.
  3. * docs/CHANGES: Minor fixes.
  4. * Version 2.0.8 released.
  5. =========================
  6. 2002-02-08 David Turner <david@freetype.org>
  7. * docs/CHANGES: Updating for 2.0.8.
  8. * include/freetype/freetype.h: Setting `PATCH_LEVEL' to 8 and
  9. removing `FT_Get_Next_Char' from the API (temporarily).
  10. * include/freetype/freetype.h: Adding comments to FT_Get_Next_Char;
  11. note that this function might temporarily be removed for the 2.0.8
  12. release.
  13. 2002-02-07 David Turner <david@freetype.org>
  14. * src/pcf/pcfread.c (pcf_load_font): Removed immature support of
  15. the AVERAGE_WIDTH property.
  16. 2002-02-06 David Turner <david@freetype.org>
  17. * src/sfnt/sfobjs.c (SFNT_Load_Face): Since many fonts embedded in
  18. PDF documents do not include 'cmap', 'post' and 'name' tables, the
  19. SFNT face loader has been changed to not immediately report an
  20. error if these are not present.
  21. Note that the specification _requires_ these tables, but Adobe
  22. seems to ignore it completely.
  23. * src/sfnt/ttcmap.c: Removing compiler warnings.
  24. * src/pcf/pcfread.c (pcf_read_TOC): Use FT_UInt.
  25. (pcf_parse_metric, pcf_parse_compressed_metric): Removed. Code
  26. is now in ...
  27. (pcf_get_metric): Here.
  28. (pcfSeekToType): Renamed to ...
  29. (pcf_seek_to_table_type): This.
  30. Use FT_Int.
  31. (pcfHasType): Renamed to ...
  32. (pcf_has_table_type): This.
  33. Use FT_Int.
  34. (find_property): Renamed to ...
  35. (pcf_find_property): This.
  36. Use FT_Int.
  37. (pcf_get_bitmaps, pcf_get_encodings): Handle invalid PCF fonts
  38. better (delaying format checks out of FT_Access_Frame ..
  39. FT_Forget_Frame blocks to avoid leaving the stream in an incorrect
  40. state when encountering an invalid PCF font).
  41. * src/pcf/pcfdriver.c (PCF_Done_Face): Renamed to ...
  42. (PCF_Face_Done): This.
  43. (PCF_Init_Face): Renamed to ...
  44. (PCF_Face_Init): This.
  45. (PCF_Get_Char_Index): Renamed to ...
  46. (PCF_Char_Get_Index): This.
  47. (PCF_Get_Next_Char): Renamed to ...
  48. (PCF_Char_Get_Next): This.
  49. (pcf_driver_class): Updated.
  50. * src/pcf/pcf.h (PCF_Done_Face): Removed.
  51. 2002-02-06 Detlef Würkner <TetiSoft@apg.lahn.de>
  52. * src/pcf/pcfdriver.c (FT_Done_Face): Fixed small memory leak.
  53. * src/pcf/pcfread.c (pcf_load_font): Now handles the `AVERAGE_WIDTH'
  54. property to return correct character pixel (width/height) pairs for
  55. embedded bitmaps.
  56. 2002-02-04 Keith Packard <keithp@keithp.com>
  57. Adding the function `FT_Get_Next_Char', doing the obvious thing
  58. w.r.t. the selected charmap.
  59. * include/freetype/freetype.h: Add prototype.
  60. * include/freetype/internal/ftdriver.h: Add `FTDriver_getNextChar'
  61. typedef.
  62. (FT_Driver_Class): Use it.
  63. * include/freetype/internal/psnames.h: Add `PS_Next_Unicode_Func'
  64. typedef.
  65. (PSNames_Interface): Use it.
  66. * include/freetype/internal/tttypes.h: Add `TT_CharNext_Func'
  67. typedef.
  68. (TT_CMapTable): Use it.
  69. * src/base/ftobjs.c (FT_Get_Next_Char): New function, implementing
  70. high-level API.
  71. * src/cff/cffdrivr.c (cff_get_next_char): New function.
  72. (cff_driver_class): Add it.
  73. * src/cid/cidriver.c (Cid_Get_Next_Char): New function.
  74. (t1cid_driver_class): Add it.
  75. * src/pcf/pcfdriver.c (PCF_Get_Next_Char): New function.
  76. (pcf_driver_class): Add it.
  77. * src/psnames/psmodule.c (PS_Next_Unicode): New function.
  78. (psnames_interface): Add it.
  79. * src/sfnt/ttcmap.c (code_to_next0, code_to_next2, code_to_next4,
  80. code_to_next6, code_to_next_8_12, code_to_next_10): New auxiliary
  81. functions.
  82. (TT_CharMap_Load): Use them.
  83. * src/truetype/ttdriver.c (Get_Next_Char): New function.
  84. (tt_driver_class): Add it.
  85. * src/type1/t1driver.c (Get_Next_Char): New function.
  86. (t1_driver_class): Add it.
  87. * src/winfonts/winfnt.c (FNT_Get_Next_Char): New function.
  88. (winfnt_driver_class): Add it.
  89. * src/pcf/pcfread.c (pcf_load_font): For now, report Unicode for
  90. Unicode and Latin 1 encodings.
  91. 2002-02-02 Keith Packard <keithp@keithp.com>
  92. * builds/unix/freetype-config.in: Add missing `fi'.
  93. * Version 2.0.7 released.
  94. =========================
  95. 2002-02-01 David Turner <david@freetype.org>
  96. * include/freetype/freetype.h: Increasing FREETYPE_PATCH to 7
  97. for the new release.
  98. 2002-01-31 David Turner <david@freetype.org>
  99. * README, README.UNX, docs/CHANGES: Updating documentation for the
  100. 2.0.7 release.
  101. 2002-01-30 David Turner <david@freetype.org>
  102. * INSTALL: Moved to ...
  103. * docs/INSTALL: Here to avoid conflicts with the `install' script on
  104. Windows, where the filesystem doesn't preserve case.
  105. 2002-01-29 David Turner <david@freetype.org>
  106. * configure: Fixed the script. It previously didn't accept more
  107. than one argument correctly. For example, when typing:
  108. ./configure --disable-shared --disable-nls
  109. the `--disable-nls' was incorrectly sent to the `make' program.
  110. 2002-01-29 Werner Lemberg <wl@gnu.org>
  111. * README.UNX: Fix typo.
  112. * builds/unix/install.mk (uninstall): Fix library name for libtool.
  113. 2002-01-28 Francesco Zappa Nardelli <Francesco.Zappa.Nardelli@ens.fr>
  114. * src/pcf/pcfdriver.c (PCF_Done_Face): Fix incorrect destruction of
  115. the face object (face->toc.tables, face->root.family_name,
  116. face->root.available_size, face->charset_encoding,
  117. face->charset_registry are now freed). Thanks to Niels Moseley.
  118. 2002-01-28 Roberto Alameda <ojancano@geekmail.de>
  119. * src/type1/t1load.c (parse_encoding): Set `loader->num_chars'.
  120. 2002-01-28 Werner Lemberg <wl@gnu.org>
  121. * src/type1/t1load.c (parse_subrs, parse_charstrings): Use copy
  122. of `base' string for decrypting to not modify the original data.
  123. Based on a patch by Jakub Bogusz <qboosh@pld.org.pl>.
  124. 2002-01-27 Giuliano Pochini <pochini@shiny.it>
  125. * src/smooth/ftgrays.c (gray_render_scanline): Fix bug which caused
  126. bad rendering of thin lines (less than one pixel thick).
  127. 2002-01-25 Werner Lemberg <wl@gnu.org>
  128. * src/cff/cffdrivr.c (cff_get_name_index): Make last patch work
  129. actually.
  130. 2002-01-25 Martin Zinser <zinser@decus.de>
  131. * src/cache/ftccache.c (ftc_node_done, ftc_node_destroy): Fix
  132. compilation warnings.
  133. * src/base/descrip.mms (OBJS): Add `ftmm.obj'.
  134. * src/cache/descrip.mms (ftcache.obj): Dependencies added.
  135. 2002-01-25 WANG Yi <wangyi@founder.com.cn>
  136. * src/cff/cffdrivr.c (cff_get_name_index): Fix deallocation bug.
  137. 2002-01-21 Antoine Leca <Antoine-Freetype@Leca-Marti.org>
  138. * docs/PATENTS: Typo fixed (thanks to Detlef `Hawkeye' Würkner) in
  139. the URL for the online resource.
  140. 2002-01-18 Ian Brown <ian.brown@printsoft.de>
  141. * builds/win32/ftdebug.c: New file.
  142. * builds/win32/visualc/freetype.dsp: Updated.
  143. 2002-01-18 Detlef Würkner <TetiSoft@apg.lahn.de>
  144. * builds/amiga/src/base/ftsystem.c: Updated for AmigaOS 3.9.
  145. * builds/amiga/README: Updated.
  146. 2002-01-18 Ian Brown <ian.brown@printsoft.de>
  147. * builds/win32/visualc/freetype.dsp: Updated.
  148. 2002-01-13 Werner Lemberg <wl@gnu.org>
  149. * builds/unix/freetype2.a4: The script was still buggy.
  150. * builds/unix/freetype-config.in: Make it really work for any install
  151. prefix.
  152. 2002-01-10 Werner Lemberg <wl@gnu.org>
  153. * builds/unix/freetype2.a4: Fix some serious bugs.
  154. 2002-01-09 David Turner <david@freetype.org>
  155. * builds/unix/configure.ac: Build top-level Jamfile.
  156. 2002-01-09 Maxim Shemanarev <mcseemagg@yahoo.com>
  157. * src/smooth/ftgrays.c (gray_render_line): Small optimization to
  158. the smooth anti-aliased renderer that deals with vertical segments.
  159. This results in a 5-7% speedup in rendering speed.
  160. 2002-01-08 David Turner <david@freetype.org>
  161. Added some wrapper scripts to make the installation more
  162. Unix-friendly.
  163. * configure, install: New files.
  164. * INSTALL, README.UNX: Updated installation documentation to use the
  165. new 'configure' and 'install' scripts.
  166. 2002-01-07 David Turner <david@freetype.org>
  167. * Version 2.0.6 released.
  168. =========================
  169. * docs/BUGS, docs/CHANGES: Updating documentation for 2.0.6 release.
  170. * src/tools/docmaker.py: Fixed HTML quoting in sources.
  171. (html_format): Replaced with ...
  172. (html_quote): New function.
  173. (html_quote0): New function.
  174. (DocCode::dump_html): Small improvement.
  175. (DocParagraph::dump, DocBlock::html): Use html_quote0 and html_quote.
  176. * include/freetype/config/ftoption.h: Setting default options for
  177. a release build (debugging off, bytecode interpreter off).
  178. * src/base/ftobjs.c, src/base/ftoutln.c, src/cache/ftccmap.c,
  179. src/cff/cffload.c, src/cff/cffobjs.c, src/pshinter/pshalgo2.c,
  180. src/sfnt/ttload.c, src/sfnt/ttsbit.c: Removing small compiler
  181. warnings (in pedantic compilation modes).
  182. 2002-01-05 David Turner <david@freetype.org>
  183. * src/autohint/ahhint.c (ah_align_linked_edge): Modified computation
  184. of auto-hinted stem widths; this avoids color fringes in
  185. `ClearType-like' rendering.
  186. * src/truetype/ttgload.c (TT_Load_Glyph_Header,
  187. TT_Load_Simple_Glyph, TT_Load_Composite_Glyph, load_truetype_glyph):
  188. Modified the TrueType loader to make it more paranoid; this avoids
  189. nasty buffer overflows in the case of invalid glyph data (as
  190. encountered in the output of some buggy font converters).
  191. 2002-01-04 David Turner <david@freetype.org>
  192. * README.UNX: Added special README file for Unix users.
  193. * builds/unix/ftsystem.c (FT_New_Stream): Fixed typo.
  194. * src/base/ftobjs.c: Added #include FT_OUTLINE_H to get rid
  195. of compiler warnings.
  196. * src/base/ftoutln.c (FT_Outline_Check): Remove compiler warning.
  197. 2002-01-03 Werner Lemberg <wl@gnu.org>
  198. * src/type1/t1objs.c (T1_Face_Init): Add cast to avoid compiler
  199. warning.
  200. 2002-01-03 Keith Packard <keithp@keithp.com>
  201. * builds/unix/ftsystem.c (FT_New_Stream): Added a fix to ensure that
  202. all FreeType input streams are closed in child processes of a `fork'
  203. on Unix systems. This is important to avoid (potential) access
  204. control issues.
  205. 2002-01-03 David Turner <david@freetype.org>
  206. * src/type1/t1objs.c (T1_Face_Init): Fixed a bug that crashed the
  207. library when dealing with certain weird fonts like `Stalingrad', in
  208. `sadn.pfb' (this font has no full font name entry).
  209. * src/base/ftoutln.c, include/freetype/ftoutln.h (FT_Outline_Check):
  210. New function to check the consistency of outline data.
  211. * src/base/ftobjs.c (FT_Load_Glyph): Use `FT_Outline_Check' to
  212. ensure that loaded glyphs are valid. This allows certain fonts like
  213. `tt1095m_.ttf' to be loaded even though it appears they contain
  214. really funky glyphs.
  215. There still is a bug there, though.
  216. * src/truetype/ttgload.c (load_truetype_glyph): Fix error condition.
  217. 2001-12-30 David Turner <david@freetype.org>
  218. * src/autohint/ahhint.c (ah_hinter_load): Fix advance width
  219. computation of auto-hinted glyphs. This noticeably improves the
  220. spacing of letters in KDE and Gnome.
  221. 2001-12-25 Antoine Leca <Antoine-Freetype@Leca-Marti.org>
  222. * builds/dos/detect.mk: Correcting the order for Borland compilers:
  223. 16-bit bcc was never selected, always overridden by 32-bit bcc32.
  224. 2001-12-22 Francesco Zappa Nardelli <Francesco.Zappa.Nardelli@ens.fr>
  225. * src/pfc/pcfread.c (pcf_load_font): Handle property `POINT_SIZE'
  226. and fix incorrect computation of `available_sizes'.
  227. 2001-12-22 David Turner <david@freetype.org>
  228. * src/autohint/ahhint.c (ah_hinter_load): Auto-hinted glyphs had an
  229. incorrect glyph advance in the case of mono-width fonts (like
  230. Courier, Andale Mono, and others).
  231. 2001-12-22 Detlef Würkner <TetiSoft@apg.lahn.de>
  232. * builds/amiga/*: Adaptations to latest changes.
  233. Support added for MorphOS.
  234. 2001-12-22 Werner Lemberg <wl@gnu.org>
  235. * src/pshinter/pshrec.c (FT_COMPONENT): Redefine to `trace_pshrec'.
  236. (ps_mask_table_merge, ps_hints_open, ps_hints_stem,
  237. ps_hints_t1stem3, ps_hints_t2mask, ps_hints_t2counter): Fix
  238. FT_ERROR messages.
  239. * src/pshinter/pshalgo1.c (FT_COMPONENT): Define as
  240. `trace_pshalgo1'.
  241. * src/pshinter/pshalgo2.c (FT_COMPONENT): Define as
  242. `trace_pshalgo2'.
  243. * include/freetype/internal/ftdebug.h (FT_Trace): Updated.
  244. * docs/modules.txt: New file.
  245. 2001-12-21 David Turner <david@freetype.org>
  246. * src/pshinter/pshrec.c (ps_hints_t2mask, ps_hints_t2counter):
  247. Ignore invalid `hintmask' and `cntrmask' operators (instead of
  248. returning an error). Glyph 2028 of the CFF font `MSung-Light-Acro'
  249. couldn't be rendered otherwise (it seems its charstring is buggy,
  250. though this requires more analysis).
  251. (FT_COMPONENT): Define.
  252. * src/cff/cffgload.c (CFF_Parse_CharStrings), src/psaux/t1decode.c
  253. (T1_Decoder_Parse_Charstrings), src/pshinter/pshalgo2.c (*), Fixed a
  254. bug where the X and Y axis where inverted in the postscript hinter.
  255. This caused problem when displaying on non-square surfaces.
  256. * src/pshinter/pshalgo2.c: s/vertical/dimension/.
  257. * src/pshinter/pshglob.c (psh_globals_new): Replaced a floating
  258. point constant with a fixed-float equivalent. For some reasons not
  259. all compilers are capable of directly computing a floating pointer
  260. constant casted to FT_Fixed, and will link a math library instead.
  261. 2001-12-20 Werner Lemberg <wl@gnu.org>
  262. * src/cache/ftccache.c (ftc_node_destroy, ftc_cache_lookup): Fix
  263. tracing strings.
  264. * src/cache/ftccmap.c (ftc_cmap_family_init): Ditto.
  265. * src/cache/ftcmanag.c (ftc_family_table_alloc,
  266. ftc_family_table_free, FTC_Manager_Check): Ditto.
  267. * src/cache/ftcsbits.c (ftc_sbit_node_load): Ditto.
  268. * src/base/ftobjs.c (FT_Done_Library): Remove compiler warning.
  269. 2001-12-20 David Turner <david@freetype.org>
  270. Added PostScript hinter support to the CFF and CID drivers.
  271. * include/freetype/internal/cfftypes.h (CFF_Font): New member
  272. `pshinter'.
  273. * src/cff/cffload.c (CFF_Get_Standard_Encoding): New function.
  274. * src/cff/cffload.h: Updated.
  275. * src/cff/cffgload.c (CFF_Init_Builder): Renamed to ...
  276. (CFF_Builder_Init): This.
  277. Added new argument `hinting'.
  278. (CFF_Done_Builder): Renamed to ...
  279. (CFF_Builder_Done): This.
  280. (CFF_Init_Decoder): Added new argument `hinting'.
  281. (CFF_Parse_CharStrings): Implement vstem support.
  282. (CFF_Load_Glyph): Updated.
  283. Add hinting support.
  284. (cff_lookup_glyph_by_stdcharcode): Use CFF_Get_Standard_Encoding().
  285. (cff_argument_counts): Updated.
  286. * src/cff/cffgload.h: Updated.
  287. * src/cff/cffobjs.c: Include FT_INTERNAL_POSTSCRIPT_HINTS_H.
  288. (CFF_Size_Get_Globals_Funcs, CFF_Size_Done, CFF_Size_Init,
  289. CFF_Size_Reset, CFF_GlyphSlot_Done, CFF_GLyphSlot_Init): New
  290. functions.
  291. (CFF_Init_Face): Renamed to ...
  292. (CFF_Face_Init): This.
  293. Add hinter support.
  294. (CFF_Done_Face): Renamed to ...
  295. (CFF_Face_Done): This.
  296. (CFF_Init_Driver): Renamed to ...
  297. (CFF_Driver_Init): This.
  298. (CFF_Done_Driver): Renamed to ...
  299. (CFF_Driver_Done): This.
  300. * src/cff/cffobjs.h: Updated.
  301. * src/cff/cffdrivr.c (cff_driver_class): Updated.
  302. * include/freetype/internal/t1types.h (CID_FaceRec): New member
  303. `pshinter'.
  304. * src/cid/cidgload.c (CID_Load_Glyph): Add hinter support.
  305. * src/cid/cidobjs.c: Include FT_INTERNAL_POSTSCRIPT_HINTS_H.
  306. (CID_GlyphSlot_Done, CID_GlyphSlot_Init, CID_Size_Get_Globals_Funcs,
  307. CID_Size_Done, CID_Size_Init, CID_Size_Reset): New functions.
  308. (CID_Done_Face): Renamed to ...
  309. (CID_Face_Done): This.
  310. (CID_Init_Face): Renamed to ...
  311. (CID_Face_Init): This.
  312. Add hinting support.
  313. (CID_Init_Driver): Renamed to ...
  314. (CID_Driver_Init): This.
  315. (CID_Done_Driver): Renamed to ...
  316. (CID_Driver_Done): This.
  317. * src/cid/cidobjs.h: Updated.
  318. * src/cidriver.c: Updated.
  319. * src/pshinter/pshrec.c (t2_hint_stems): Fixed.
  320. * src/base/ftobjs.c (FT_Done_Library): Fixed a stupid bug that
  321. crashed the library on exit.
  322. * src/type1/t1gload.c (T1_Load_Glyph): Enable font matrix
  323. transformation of hinted glyphs.
  324. * src/cid/cidload.c (cid_read_subrs): Fix error condition.
  325. * src/cid/cidobjs.c (CID_Face_Done): Fixed a memory leak; the subrs
  326. routines were never released when CID faces were destroyed.
  327. * src/cff/cffload.h, src/cff/cffload.c, src/cff/cffgload.c: Updated
  328. to move the definition of encoding tables back within `cffload.c'
  329. instead of making them part of a shared header (causing problems in
  330. `multi' builds). This reverts change 2001-08-08.
  331. * docs/CHANGES: Updated for 2.0.6 release.
  332. * docs/TODO: Added `stem3 and counter hints support' to the TODO
  333. list for the Postscript hinter.
  334. * docs/BUGS: Closed the AUTOHINT-NO-SBITS bug.
  335. 2001-12-19 David Turner <david@freetype.org>
  336. * include/freetype/cache/ftcache.h: Added comments to indicate that
  337. some of the exported functions should only be used by applications
  338. that need to implement custom cache types.
  339. * src/truetype/ttgload.c (cur_to_org, org_to_cur): Fixed a nasty bug
  340. that prevented composites from loading correctly, due to missing
  341. parentheses around macro parameters.
  342. * src/sfnt/sfobjs.c (SFNT_Load_Face): Make the `post' and `name'
  343. tables optional to load PCL fonts properly.
  344. * src/truetype/ttgload.c (TT_Load_Glyph), src/base/ftobjs.c
  345. (FT_Load_Glyph), include/freetype/freetype.h (FT_LOAD_SBITS_ONLY):
  346. `Fixed' the bug that prevented embedded bitmaps to be loaded when
  347. the auto-hinter is used. This actually is a hack but will be enough
  348. until the internal re-design scheduled for FreeType 2.1.
  349. * src/raster/ftrend1.c (ft_raster1_render): Fixed a nasty outline
  350. shifting bug in the monochrome renderer.
  351. * README: Updated version numbers to 2.0.6.
  352. 2001-12-17 Werner Lemberg <wl@gnu.org>
  353. * src/truetype/ttgload.c (load_truetype_glyph): Fix test for invalid
  354. glyph header.
  355. 2001-12-15 Werner Lemberg <wl@gnu.org>
  356. * src/base/ftglyph.c (FT_Glyph_To_Bitmap): Remove compiler warning.
  357. * include/freetype/ftcache.h (FTC_Node_Unref): Removed. It is
  358. already in ftcmanag.h.
  359. * src/cache/ftcsbits.c (ftc_sbit_node_load): Remove unused variable
  360. `gfam'.
  361. * src/cache/ftcmanag.c (ftc_family_table_alloc,
  362. * ftc_family_table_free): Use FT_EXPORT_DEF.
  363. * include/freetype/cache/ftcmanag.h: Updated.
  364. * src/cache/ftccache.c (ftc_node_destroy): Use FT_EXPORT_DEF.
  365. * src/cache/ftccmap.c (ftc_cmap_node_init): Remove unused variable
  366. `cfam'.
  367. Remove compiler warning.
  368. (FTC_CMapCache_Lookup): Remove compiler warnings.
  369. (ftc_cmap_family_init): Ditto.
  370. (FTC_CMapCache_Lookup): Ditto.
  371. * builds/unix/configure.ac: Increase `version_info' to 8:0:2.
  372. * builds/unix/configure: Regenerated.
  373. 2001-12-14 Werner Lemberg <wl@gnu.org>
  374. * builds/mac/README: Updated.
  375. 2001-12-14 Scott Long <scott@swiftview.com>
  376. * src/truetype/ttgload.c (load_truetype_glyph): Fixing crash when
  377. dealing with invalid fonts (i.e. glyph size < 10 bytes).
  378. 2001-12-14 Sam Latinga <slouken@devolution.com>
  379. * builds/mac/freetype.make: A new Makefile to build with MPW on
  380. MacOS classic.
  381. 2001-12-14 David Turner <david@freetype.org>
  382. * src/truetype/ttgload.c (TT_Load_Glyph), src/type1/t1gload.c
  383. (T1_Load_Glyph), src/cid/cidgload.c (CID_Load_Glyph),
  384. src/cff/cffgload.c (CFF_Load_Glyph): Fixed a serious bug common to
  385. all font drivers (the advance width was never hinted when it
  386. should).
  387. * include/freetype/freetype.h (FREETYPE_PATCH): New macro.
  388. * src/base/ftdbgmem.c (debug_mem_dummy) [!FT_DEBUG_MEMORY]: Don't
  389. use `extern' keyword.
  390. 2001-12-12 David Turner <david@freetype.org>
  391. * src/pshinter/pshglob.c (psh_blues_scale_zones, psh_blues_snap_stem
  392. psh_globals_new): Adding correct BlueScale/BlueShift support, plus
  393. family blues processing.
  394. * src/pshinter/pshglob.h (PSH_BluesRec): Updated.
  395. Started adding support for the Postscript hinter in the CFF module.
  396. * src/cff/cffgload.c: Include FT_INTERNAL_POSTSCRIPT_HINTS_H.
  397. (CFF_Parse_CharStrings): Implement it.
  398. * src/cff/cffgload.h: Updated.
  399. 2001-12-12 Werner Lemberg <wl@gnu.org>
  400. * builds/unix/freetype2.m4: Some portability fixes.
  401. 2001-12-11 Jouk Jansen <joukj@hrem.stm.tudelft.nl>
  402. * src/base/descrip.mms (OBJS): Add ftdebug.obj.
  403. 2001-12-11 Werner Lemberg <wl@gnu.org>
  404. * src/sfnt/ttload.c (TT_Load_Generic_Header): Typos.
  405. 2001-12-11 David Turner <david@freetype.org>
  406. * builds/unix/freetype-config.in: Modified the script to prevent
  407. passing `-L/usr/lib' to gcc.
  408. * docs/FTL.TXT: Simple fix (change `LICENSE.TXT' to `FTL.TXT').
  409. * builds/unix/freetype2.m4: New file for checking configure paths.
  410. We need to install it in $(prefix)/share/aclocal/freetype2.m4 but I
  411. didn't modify builds/unix/install.mk yet.
  412. * INSTALL: Updated the instructions to build shared libraries with
  413. Jam. They were simply wrong.
  414. * src/base/fttrigon.c (FT_Cos): Fixed a small bug that caused
  415. slightly improper results for `FT_Cos' and `FT_Sin' (example:
  416. FT_Sin(0) == -1!).
  417. 2001-12-11 Detlef Würkner <TetiSoft@apg.lahn.de>
  418. * include/freetype/internal/ftstream.h (GET_LongLE, GET_ULongLE):
  419. Fixed incorrect argument types.
  420. 2001-12-10 Francesco Zappa Nardelli <Francesco.Zappa.Nardelli@ens.fr>
  421. * src/pcf/pcfdriver.c (PCF_Init_Face): Allow Xft to use PCF fonts
  422. by setting the `face->metrics.max_advance' correctly.
  423. 2001-12-07 David Turner <david@freetype.org>
  424. * include/freetype/cache/ftccmap.h, src/cache/ftccmap.c: Added new
  425. charmap cache.
  426. * src/cache/ftcache.c: Updated.
  427. * src/autohint/ahhint.c (ah_hinter_hint_edges): s/UNUSED/FT_UNUSED/.
  428. 2001-12-06 Leonard Rosenthol <leonardr@lazerware.com>
  429. Added support for reading .dfont files on Mac OS X. Also added a
  430. new routine which looks up a given font by name in the Mac OS and
  431. returns the disk file where it resides.
  432. * src/base/ftmac.c: Include <Files.h> and <TextUtils.h>.
  433. (is_dfont): New auxiliary function.
  434. (FT_New_Face_From_dfont): New function.
  435. (FT_GetFile_From_Mac_Name): New exported function.
  436. (FT_New_Face): Updated.
  437. * include/freetype/ftmac.h: Updated.
  438. 2001-12-06 David Turner <david@freetype.org>
  439. * src/cache/Jamfile, src/cache/rules.mk: Updated.
  440. 2001-12-06 Werner Lemberg <wl@gnu.org>
  441. * INSTALL: Small update.
  442. 2001-12-05 David Turner <david@freetype.org>
  443. * src/base/ftglyph.c (FT_Glyph_To_Bitmap): Re-ordered code for
  444. debugging purposes.
  445. Comment out use of `origin'.
  446. * src/smooth/ftsmooth.c (ft_smooth_render): Fixed a nasty hidden bug
  447. where outline shifting wasn't correctly undone after bitmap
  448. rasterization. This created problems with certain glyphs (like '"'
  449. of certain fonts) and the cache system.
  450. * src/pshinter/pshalgo1.c (psh1_hint_table_init): Fix typo.
  451. * src/pshinter/pshalgo2.c (psh2_hint_table_init): Fix typo.
  452. (ps2_hints_apply): Small fix.
  453. 2001-12-05 David Turner <david@freetype.org>
  454. * src/pshinter/pshalgo2.c (psh2_hint_table_init),
  455. src/pshinter/pshalgo1.c (psh1_hint_table_init): Removed compiler
  456. warnings.
  457. * include/freetype/ftcache.h, include/freetype/cache/*, src/cache/*:
  458. Yet another massive rewrite of the caching sub-system in order to
  459. both increase performance and allow simpler cache sub-classing. As
  460. an example, the code for the image and sbit caches is now much
  461. simpler.
  462. I still need to update the documentation in
  463. www/freetype2/docs/cache.html to reflect the new design though.
  464. * include/freetype/config/ftheader.h (FT_CACHE_CHARMAP_H): New
  465. macro.
  466. (FT_CACHE_INTERNAL_CACHE_H): Updated.
  467. 2001-12-05 David Krause <freetype@davidkrause.com>
  468. * docs/license.txt: s/X Windows/X Window System/.
  469. 2001-12-04 Werner Lemberg <wl@gnu.org>
  470. * src/raster/ftraster.c: Fix definition condition of MEM_Set().
  471. * src/smooth/ftgrays.c (M_Y): Change value to 192.
  472. * src/base/ftdbgmem.c (ft_mem_table_destroy): Fix printf() parameter.
  473. Remove unused variable.
  474. * src/cache/ftcimage.c (ftc_image_node_init,
  475. ftc_image_node_compare): Remove unused variables.
  476. * src/cache/ftcsbits.c (ftc_sbit_node_weight): Remove unused
  477. variable.
  478. * src/raster/ftraster.c (MEM_Set): Move definition down to avoid
  479. compiler warning.
  480. * src/autohint/ahhint.c (ah_hinter_hint_edges): Use UNUSED() to
  481. avoid compiler warnings.
  482. * src/pcf/pcfread.c (tableNames): Use `const'.
  483. (pcf_read_TOC): Change counter name to avoid compiler warning.
  484. Use `const'.
  485. * src/pshinter/pshrec.c (ps_hints_close): Remove redundant
  486. declaration.
  487. * src/pshinter/pshalgo1.c (psh1_hint_table_init): Rename variables
  488. to avoid shadowing.
  489. * src/pshinter/pshalgo2.c (psh2_hint_table_activate_mask): Ditto.
  490. * src/type1/t1objs.h: Remove double declarations of `T1_Size_Init()'
  491. and `T1_Size_Done()'.
  492. 2001-11-20 Antoine Leca <antoineleca@multimania.com>
  493. * include/freetype/ttnameid.h: Added some new Microsoft language
  494. codes and LCIDs as found in MSDN (Passport SDK). Also added
  495. comments about the meaning of bit 57 of the `OS/2' table
  496. (TT_UCR_SURROGATES) which (with OpenType v.1.3) now means `there is
  497. a character beyond 0xFFFF in this font'. Thanks to Detlef Würkner
  498. <TetiSoft@apg.lahn.de> for noticing this.
  499. 2001-11-20 David Turner <david@freetype.org>
  500. * src/pshinter/{pshalgo2.c, pshalgo1.c}: Fixed stupid bug in sorting
  501. routine that created nasty alignment artefacts.
  502. * src/pshinter/pshrec.c, tests/gview.c: Debugging updates.
  503. * src/smooth/ftgrays.c: De-activated experimental gamma support.
  504. Apparently, `optimal' gamma tables depend on the monitor type,
  505. resolution and general karma, so it's better to compute them outside
  506. of the rasterizer itself.
  507. (gray_convert_glyph): Use `volatile' keyword.
  508. 2001-10-29 David Turner <david@freetype.org>
  509. Adding experimental `gamma' support. This produces smoother glyphs
  510. at small sizes for very little cost.
  511. * src/smooth/ftgrays.c (grays_init_gamma): New function.
  512. (gray_raster_new): Use it.
  513. Various fixes to the auto-hinter. They merely improve the output of
  514. sans-serif fonts. Note that there are still problems with serifed
  515. fonts and composites (accented characters).
  516. * src/autohint/ahglyph.c (ah_outline_load,
  517. ah_outline_link_segments): Implement it.
  518. Fix typos.
  519. (ah_outline_save, ah_outline_compute_segments): Fix typos.
  520. * src/autohint/ahhint.c (ah_align_serif_edge): New argument
  521. `vertical'. Implement improvement.
  522. (ah_hint_edges_3, ah_hinter_hint_edges): Implement it.
  523. Fix typos.
  524. (ah_hinter_align_strong_points, ah_hinter_align_weak_points): Fix
  525. typos.
  526. (ah_hinter_load): Set `ah_debug_hinter' if DEBUG_HINTER is defined.
  527. * src/autohint/ahmodule.c: Implement support for DEBUG_HINTER macro.
  528. * src/autohint/ahtypes.h: Ditto.
  529. (AH_Hinter): Remove `disable_horz_edges' and `disable_vert_edges'
  530. (making them global as `ah_debug_disable_horz' and
  531. `ah_debug_disable_vert').
  532. Fix typos.
  533. * tests/gview.c: Updated the debugging glyph viewer to show the
  534. hints generated by the `autohint' module.
  535. 2001-10-27 David Turner <david@freetype.org>
  536. * src/cache/ftcchunk.c (ftc_chunk_cache_lookup): Fixed a bug that
  537. considerably lowered the performance of the abstract chunk cache.
  538. 2001-10-26 David Turner <david@freetype.org>
  539. * include/freetype/ftcache.h, include/freetype/cache/*.h,
  540. src/cache/*.c: Major re-design of the cache sub-system to provide
  541. better performance as well as an `Acquire'/`Release' API. Seems to
  542. work well here, but probably needs a bit more testing.
  543. 2001-10-26 Leonard Rosenthol <leonardr@lazerware.com>
  544. * builds/mac/README: Updated to reflect my taking over the project
  545. and that is now being actively maintained.
  546. * src/base/ftmac.c (parse_fond): Applied patches from Paul Miller
  547. <paulm@profoundeffects.com> to support loading a face other than the
  548. first from a FOND resource.
  549. (FT_New_Face_From_FOND): Updated.
  550. 2001-10-25 Leonard Rosenthol <leonardr@lazerware.com>
  551. * builds/mac/ftlib.prj: Update of CodeWarrior project file for Mac
  552. OS for latest version (7) of CWPro and for recent changes to the FT
  553. source tree.
  554. 2001-10-25 David Turner <david@freetype.org>
  555. * include/freetype/config/ftoption.h: Updated comments to explain
  556. precisely how to use project-specific macro definitions without
  557. modifying this file manually.
  558. (FT_CONFIG_FORCE_INT64): Define.
  559. (FT_DEBUG_MEMORY): New macro.
  560. 2001-10-24 Tom Kacvinsky <tkacvins@freetype.org>
  561. * builds/unix/ftsystem.c (FT_New_Memory): Added a missing `{'.
  562. 2001-10-23 David Turner <david@freetype.org>
  563. * include/freetype/internal/ftmemory.h, src/base/ftdbgmem.c:
  564. Improvements to the memory debugger to report more information in
  565. case of errors. Also, some allocations that occurred through REALLOC
  566. couldn't be previously caught correctly.
  567. * src/autohint/ahglyph.c (ah_outline_compute_segments,
  568. ah_outline_compute_edges), src/raster/ftraster.c (ft_black_new),
  569. src/smooth/ftgrays.c (gray_render_span, gray_raster_new): Replaced
  570. liberal uses of memset() by the MEM_Set() macro.
  571. 2001-10-23 David Turner <david@freetype.org>
  572. * src/raster/ftraster.c (Update): Removed to be inlined in ...
  573. (Sort): Updated.
  574. 2001-10-22 David Turner <david@freetype.org>
  575. * builds/unix/ftsystem.c (FT_New_Memory, FT_Done_Memory),
  576. builds/vms/ftsystem.c (FT_New_Memory, FT_Done_Memory),
  577. builds/amiga/ftsystem.c (FT_New_Memory, FT_Done_Memory),
  578. src/base/ftdbgmem.c: Updated the memory debugger and
  579. platform-specific implementations of `ftsystem' in order to be able
  580. to debug memory allocations on Unix, VMS and Amiga too!
  581. * src/pshinter/pshalgo2.c (psh2_hint_table_record_mask): Removed
  582. some bogus warnings.
  583. * include/freetype/internal/ftmemory.h, src/base/ftdbgmem.c:
  584. Modified the debugging memory manager to report the location (source
  585. file name + line number) where leaked memory blocks are allocated in
  586. the source file.
  587. * src/base/ftdbgmem.c: New debugging memory manager. You must
  588. define the FT_DEBUG_MEMORY macro in `ftoption.h' to enable it. It
  589. will record every memory block allocated and report simple errors
  590. like memory leaks and double deletes.
  591. * src/base/Jamfile: Include ftdbgmem.
  592. * src/base/rules.mk: Ditto.
  593. * src/base/ftbase.c: Include ftdbgmem.c.
  594. * include/freetype/config/ftoption.h: Added the FT_DEBUG_MEMORY
  595. macro definition.
  596. * src/base/ftsystem.c (FT_New_Memory, FT_Done_Memory): Modified the
  597. base component to use the debugging memory manager when the macro
  598. FT_DEBUG_MEMORY is defined.
  599. 2001-10-21 Tom Kacvinsky <tkacvins@freetype.org>
  600. * src/cff/cffload.c (CFF_Done_Font): Free subfonts array only if
  601. we are working with a CID keyed CFF font. Otherwise, a variable
  602. that was never allocated memory might freed. This is a correction
  603. to the previous patch for freeing subfonts.
  604. 2001-10-21 Tom Kacvinsky <tkacvins@freetype.org>
  605. * src/cff/cffload.c (CFF_Done_Font): Free the subfonts array to
  606. avoid a memory leak.
  607. 2001-10-21 David Turner <david@freetype.org>
  608. * src/pshinter/pshalgo2.c, src/pshinter/pshalgo1.c,
  609. src/pshinter/pshglob.c: Removing compiler warnings in pedantic modes
  610. (in multi-object compilation mode, mainly).
  611. 2001-10-20 Tom Kacvinsky <tkacvins@freetype.org>
  612. * src/type1/t1load.c (parse_encoding): Add a test to make sure
  613. that custom encodings (i.e., neither StandardEncoding nor
  614. ExpertEncoding) are not loaded twice when the Type 1 font is
  615. synthetic.
  616. * src/type1/t1load.c (parse_font_name, parse_subrs): Added a test
  617. for when loading synthetic fonts to make sure that the font name
  618. and subroutines are not loaded twice. This is to remove a memory
  619. leak that occurred because the original memory blocks for these
  620. objects were not deallocated when the objects were parsed the
  621. second time.
  622. 2001-10-19 David Turner <david@freetype.org>
  623. * src/smooth/ftgrays.c, src/pshinter/pshglob.h,
  624. src/pshinter/pshrec.c, src/pshinter/pshalgo2.c: Getting rid of
  625. compiler warnings.
  626. * src/pshinter/module.mk, src/pshinter/rules.mk: Adding control
  627. files to build the PostScript hinter with the `old' build system.
  628. 2001-10-19 Jacob Jansen <joukj@hrem.stm.tudelft.nl>
  629. * descrip.mms, src/pshinter/descrip.mms: Updates to the VMS build
  630. files.
  631. 2001-10-18 David Turner <david@freetype.org>
  632. * src/psnames/pstables.h, src/tools/glnames.py: Rewrote the
  633. `glnames.py' script used to generate the `pstables.h' header file.
  634. The old one contained a serious bug that made FreeType return
  635. incorrect glyph names for certain glyphs.
  636. * src/truetype/ttdriver.c (Set_Char_Sizes): Changing computation of
  637. pixel size from character size to use rounding. This is an
  638. experiment to see whether this gives values similar to Windows for
  639. scaled ascent/descent/etc.
  640. * src/base/ftcalc.c (FT_Div64by32): Changed the implementation
  641. slightly since the original code was mis-compiled on Mac machines
  642. using the MPW C compiler.
  643. * src/base/ftobjs.c (FT_Realloc): When a memory block was grown
  644. through FT_Realloc(), the new bytes were not set to 0, which created
  645. some strange bugs in the PostScript hinter.
  646. (destroy_face): Don't deallocate unconditionally.
  647. * src/cid/cidgload.c (CID_Compute_Max_Advance, CID_Load_Glyph):
  648. Adding support to new PostScript hinter.
  649. * include/freetype/internal/psglobal.h,
  650. include/freetype/internal/pshints.h,
  651. include/freetype/config/ftmodule.h, src/pshinter/Jamfile,
  652. src/pshinter/pshalgo.h, src/pshinter/pshalgo1.h,
  653. src/pshinter/pshalgo1.c, src/pshinter/pshalgo2.h,
  654. src/pshinter/pshalgo2.c, src/pshinter/pshglob.h,
  655. src/pshinter/pshglob.c, src/pshinter/pshinter.c,
  656. src/pshinter/pshmod.c, src/pshinter/pshmod.h, src/pshinter/pshrec.c,
  657. src/pshinter/pshrec.h: Adding new PostScript hinter module.
  658. * include/freetype/internal/ftobjs.h,
  659. include/freetype/internal/internal.h,
  660. include/freetype/internal/psaux.h,
  661. include/freetype/internal/t1types.h, src/psaux/psobjs.c,
  662. src/psaux/psobjs.h, src/psaux/t1decode.h, src/psaux/t1decode.c,
  663. src/type1/t1driver.c, src/type1/t1gload.c, src/type1/t1objs.c,
  664. src/type1/t1objs.h: Updates to use the new PostScript hinter.
  665. * tests/Jamfile, tests/gview.c: Adding a new glyph hinting
  666. viewer/debugger to the source tree. Note that you will _not_ be
  667. able to compile it since it depends on an unavailable graphics
  668. library named `Nirvana' to render vector images.
  669. 2001-10-17 David Turner <david@freetype.org>
  670. * Version 2.0.5 released.
  671. =========================
  672. * include/freetype/freetype.h, include/internal/ftobjs.h,
  673. src/base/ftobjs.c, src/type1/t1driver.c: Adding a new function named
  674. 'FT_Get_Postscript_Name' to retrieve the PostScript name of a given
  675. font. Should work with all formats except pure CFF/CEF fonts (this
  676. will be added soon).
  677. * src/cid/cidriver (cid_get_postscript_name): New function.
  678. (CID_Get_Interface): Handle `postscript_name' interface.
  679. * src/sfnt/sfdriver.c (get_sfnt_postscript_name): New function.
  680. (SFNT_Get_Interface): Handle `postscript_name' interface.
  681. * src/type1/t1driver.c (t1_get_ps_name): New function.
  682. (Get_Interface): Handle `postscript_name' interface.
  683. * README, docs/CHANGES: Updated for 2.0.5 release.
  684. 2001-10-08 David Turner <david@freetype.org>
  685. Fixed a bug in `glnames.py' that prevented it from generating
  686. correct glyph names tables. This resulted in the unavailability of
  687. certain glyphs like `Cacute', `cacute' and `lslash' in Unicode
  688. charmaps, even if these were present in the font (causing problems
  689. for Polish users).
  690. * src/tools/glnames.py (mac_standard_names): Fixed.
  691. (t1_standard_strings): Some fixes and renamed to ...
  692. (sid_standard_names): This.
  693. (t1_expert_encoding): Fixed.
  694. (the_adobe_glyph_list): Renamed to ...
  695. (adobe_glyph_names): This.
  696. (the_adobe_glyphs): Renamed to ...
  697. (adobe_glyph_values): This.
  698. (dump_mac_indices, dump_glyph_list, dump_unicode_values, main):
  699. Updated.
  700. * src/psnames/pstables.h: Regenerated.
  701. * src/psnames/psmodule.c (PS_Unicode_Value): Fix offset.
  702. Fix return value.
  703. Use `sid_standard_table' and `ps_names_to_unicode' instead of
  704. `t1_standard_glyphs' and `names_to_unicode'.
  705. (PS_Macintosh_Name): Use `ps_glyph_names' instead of
  706. `standard_glyph_names'.
  707. (PS_Standard_Strings): Use `sid_standard_names' instead of
  708. `t1_standard_glyphs'.
  709. * doc/BUGS, doc/TODO: New documents.
  710. 2001-10-07 Richard Barber <rich@solutionuk.com>
  711. * src/cache/ftlru.c (FT_Lru_Lookup_Node): Fixed a bug that prevented
  712. correct LRU behaviour.
  713. 2001-10-07 David Turner <david@freetype.org>
  714. setjmp() and longjmp() are now used for rollback (i.e. when memory
  715. pool overflow occurs).
  716. Function names are now all uniformly prefixed with `gray_'.
  717. * src/smooth/ftgrays.c: Include <setjmp.h>.
  718. (ErrRaster_MemoryOverflow): New macro.
  719. (TArea): New type to store area values in each cell (using `int' was
  720. too small on 16-bit systems). <limits.h> is included to properly
  721. get the needed data type.
  722. (TCell, TRaster): Use it.
  723. (TRaster): New element `jump_buffer'.
  724. (gray_compute_cbox): Use `RAS_ARG' as the only parameter and get
  725. `outline' from it.
  726. (gray_record_cell): Use longjmp().
  727. (gray_set_cell): Use gray_record_cell() for error handling.
  728. (gray_render_line, gray_render_conic, gray_render_cubic): Simplify.
  729. (gray_convert_glyph_inner): New function, using setjmp().
  730. (gray_convert_glyph): Use it.
  731. 2001-10-07 David Turner <david@freetype.org>
  732. Provide a public API to manage multiple size objects for a given
  733. FT_Face in the new header file `ftsizes.h'.
  734. * include/freetype/ftsizes.h: New header file,
  735. * include/freetype/internal/ftobjs.h: Use it.
  736. Remove declarations of FT_New_Size and FT_Done_Size (moved to
  737. ftsizes.h).
  738. * include/freetype/config/ftheader.h (FT_SIZES_H): New macro.
  739. * src/base/ftobjs.c (FT_Activate_Size): New function.
  740. * src/cache/ftcmanag.c: Include ftsizes.h.
  741. (ftc_manager_init_size, ftc_manager_flush_size): Use
  742. FT_Activate_Size.
  743. 2001-09-20 Detlef Würkner <TetiSoft@apg.lahn.de>
  744. * builds/amiga/*: Added port to Amiga with the SAS/C compiler.
  745. 2001-09-15 Detlef Würkner <TetiSoft@apg.lahn.de>
  746. * src/type1/t1afm.c (T1_Done_AFM): Free `afm'.
  747. 2001-09-10 Yao Zhang <yzhang@sharemedia.com>
  748. * src/sfnt/ttcmap.c (code_to_index2): Handle code values with
  749. hi-byte == 0 correctly.
  750. 2001-09-10 Werner Lemberg <wl@gnu.org>
  751. * builds/link-std.mk ($(PROJECT_LIBRARY)): Fix typo.
  752. 2001-08-30 Martin Muskens <mmuskens@aurelon.com>
  753. * src/type1/t1load.c (parse_font_matrix): A new way to compute the
  754. units per EM with greater accuracy (important for embedded T1 fonts
  755. in PDF documents that were automatically generated from TrueType
  756. ones).
  757. * src/type1/t1load.c (is_alpha): Now supports `+' in font names;
  758. this is used in embedded fonts.
  759. * src/psaux/psobjs.c (PS_Table_Add): Fixed a reallocation bug that
  760. generated a dangling pointer reference.
  761. 2001-08-30 Anthony Feik <afeick@hotmail.com>
  762. * src/type1/t1afm.c (T1_Read_Afm): Now correctly sets the flag
  763. FT_FACE_FLAG_KERNING when appropriate for Type1 + AFM files.
  764. 2001-08-25 Werner Lemberg <wl@gnu.org>
  765. * src/sfnt/ttload.c (TT_Load_CMap): Fix frame length of
  766. `cmap_rec_fields'.
  767. * include/freetype/fterrors.h [!FT_CONFIG_OPTION_USE_MODULE_ERRORS]:
  768. Undefine FT_ERR_BASE before defining again.
  769. 2001-08-22 Werner Lemberg <wl@gnu.org>
  770. * src/truetype/ttinterp.h: Fix prototype of TT_Move_Func.
  771. 2001-08-21 Werner Lemberg <wl@gnu.org>
  772. * builds/dos/dos-def.mk (NO_OUTPUT): Don't use `&>' but `>'.
  773. 2001-08-21 David Turner <david@freetype.org>
  774. * include/freetype/config/ftoption.h: Changed the default setting
  775. for FT_CONFIG_OPTION_USE_MODULE_ERRORS to undefined, since it breaks
  776. source compatibility in a few cases. Updated the comment to explain
  777. that too.
  778. 2001-08-17 Martin Muskens <mmuskens@aurelon.com>
  779. * src/base/ftcalc.c (FT_MulDiv): Fixed serious typo.
  780. 2001-08-12 Werner Lemberg <wl@gnu.org>
  781. Updating to OpenType 1.3.
  782. * include/freetype/internal/tttypes.h (TT_CMap0, TT_CMap2, TT_CMap4,
  783. TT_CMap6): Adding field `language'.
  784. (TT_CMapTable): Removing field `language'.
  785. Type of `length' field changed to FT_ULong.
  786. Adding fields for cmaps format 8, 10, and 12.
  787. (TT_CMapGroup): New auxiliary structure.
  788. (TT_CMap8_12, TT_CMap10): New structures.
  789. * include/freetype/tttables.h (TT_HoriHeader, TT_VertHeader):
  790. Removed last element of `Reserved' array.
  791. * include/freetype/ttnameid.h (TT_PLATFORM_CUSTOM, TT_MS_ID_UCS_4,
  792. TT_NAME_ID_CID_FINDFONT_NAME): New macros.
  793. * src/sfnt/ttcmap.c (TT_CharMap_Load): Updated loading of `language'
  794. field to the new structures.
  795. Fixed freeing of arrays in case of unsuccessful loads.
  796. Added support for loading format 8, 10, and 12 cmaps.
  797. (TT_CharMap_Free): Added support for freeing format 8, 10, and 12
  798. cmaps.
  799. (code_to_index4): Small improvement.
  800. (code_to_index6): Ditto.
  801. (code_to_index8_12, code_to_index10): New functions.
  802. * src/sfnt/ttload.c (TT_Load_Metrics_Header): Updated to new
  803. structure.
  804. (TT_Load_CMap): Ditto.
  805. * src/sfnt/sfobjs.c (tt_encodings): Add MS UCS4 table (before MS
  806. Unicode).
  807. 2001-08-11 Werner Lemberg <wl@gnu.org>
  808. * src/type1/t1driver.c (t1_get_name_index): Fix compiler warning.
  809. 2001-08-09 Tom Kacvinsky <tkacvins@freetype.org>
  810. * src/cff/cffdrivr.c (get_cff_glyph_name): Renamed to
  811. cff_get_glyph_name for consistency.
  812. (cff_get_glyph_index): Minor documentation change.
  813. * src/type1/t1driver.c (t1_get_name_index): New function used in
  814. Get_Interface as the function returned when the `name_index'
  815. function is requested.
  816. (get_t1_glyph_name): Renamed to t1_get_glyph_name for consistency.
  817. 2001-08-08 Tom Kacvinsky <tkacvins@freetype.org>
  818. * src/cff/cffload.c: Removed definitions of cff_isoadobe_charset,
  819. cff_expert_charset, cff_expertsubset_charset, cff_standard_encoding,
  820. and cff_expert_encoding arrays to cffload.h.
  821. * src/cff/cffload.h: Added definitions of cff_isoadobe_charset,
  822. cff_expert_charset, cff_expertsubset_charset, cff_standard_encoding,
  823. and cff_expert_encoding arrays.
  824. * src/cff/cffdrivr.c (cff_get_name_index): New function, returned
  825. when `cff_get_interface' is called with a request for the
  826. `name_index' function.
  827. (cff_get_interface): Modified so that it returns the function
  828. `cff_get_name_index' when the `name_index' function is requested.
  829. * src/base/ftobjs.c (FT_Get_Name_Index): New function, used to
  830. return a glyph index for a given glyph name only if the driver
  831. supports glyph names.
  832. * include/freetype/internal/ftobjs.h (FT_Name_Index_Requester):
  833. New function pointer type definition used in the function
  834. FT_Get_Name_Index.
  835. * include/freetype/freetype.h (FT_Get_Name_Index): Added
  836. documentation and prototype.
  837. 2001-07-26 Werner Lemberg <wl@gnu.org>
  838. * builds/cygwin/*: Removed. Use the unix stuff instead.
  839. 2001-07-26 Jouk Jansen <joukj@hrem.stm.tudelft.nl>
  840. * builds/vms/ftconfig.h (FT_CALLBACK_DEF): Updated to change dated
  841. 2001-06-27.
  842. 2001-07-17 Werner Lemberg <wl@gnu.org>
  843. * include/freetype/internal/psaux.h (PS_Table): Use FT_Offset for
  844. `cursor' and `capacity'.
  845. * src/psaux/psobjc.c (reallocate_t1_table): Use FT_Long for second
  846. parameter.
  847. (PS_Table_Add): Use FT_Offset for `new_size'.
  848. Add support for version 0.5 maxp tables.
  849. * src/sfnt/ttload.c (TT_Load_MaxProfile): Implement it.
  850. (TT_Load_OS2): Initialize some values.
  851. 2001-07-13 Werner Lemberg <wl@gnu.org>
  852. * src/base/ftsynth.c: Include ftcalc.h unconditionally.
  853. 2001-07-07 David Turner <david@freetype.org>
  854. * src/truetype/ttgload.c, src/truetype/ttinterp.c, src/pcf/pcfread:
  855. Removed pedantic compiler warnings when the bytecode interpreter is
  856. compiled in.
  857. 2001-07-03 Werner Lemberg <wl@gnu.org>
  858. * src/autohint/ahhint.c (ah_hinter_align_weak_points): Remove
  859. unused variable `edges'.
  860. (ah_hinter_load): Remove unused variables `old_width' and
  861. `new_width'.
  862. * src/cid/cidload.c (cid_decrypt): Use `U' for constant (again).
  863. * src/psaux/psobjs.c (T1_Decrypt): Ditto.
  864. * src/type1/t1parse.c (T1_Get_Private_Dict): Ditto.
  865. 2001-06-28 David Turner <david@freetype.org>
  866. * include/internal/ftstream.h: Modified the definitions
  867. of the FT_GET_XXXX and NEXT_XXXX macros for 16-bit correctness.
  868. 2001-06-26 Werner Lemberg <wl@gnu.org>
  869. * src/cid/cidload.c, src/cid/cidload.h (cid_decrypt): Use FT_Offset
  870. instead of FT_Int as type for `length' parameter.
  871. * include/freetype/internal/psaux.h (PSAux_Interface): Updated.
  872. 2001-06-27 Wolfgang Domröse <porthos.domroese@harz.de>
  873. * src/psaux/psobjs.c, src/psaux/psobjs.h (T1_Decrypt): Use FT_Offset
  874. instead of FT_Int as type for `length' parameter.
  875. * Version 2.0.4 released.
  876. =========================
  877. 2001-06-27 David Turner <david@freetype.org>
  878. * builds/unix/ftconfig.in: Changed the definition of the
  879. FT_CALLBACK_DEF macro.
  880. * include/freetype/ftconfig.h, src/*/*.c: Changed the definition and
  881. use of the FT_CALLBACK_DEF macro in order to support 16-bit
  882. compilers.
  883. * builds/unix/ftconfig.in: Changed the definition of the
  884. FT_CALLBACK_DEF macro.
  885. * src/sfnt/ttload.c (TT_Load_Kern): The kern table loader now ensures
  886. that the kerning table is correctly sorted (some problem fonts don't
  887. have a correct kern table).
  888. 2001-06-26 Wolfgang Domröse <porthos.domroese@harz.de>
  889. * include/freetype/internal/ftstream.h (FT_GET_OFF3_LE): Fix typo.
  890. 2001-06-24 David Turner <david@freetype.org>
  891. * src/base/ftcalc.c (ft_div64by32): Fixed the source to work
  892. correctly on 16-bit systems.
  893. 2001-06-23 Anthony Fok <fok@debian.org>
  894. * debian/*: Added Debian package build directory for 2.0.4.
  895. 2001-06-22 David Turner <david@freetype.org>
  896. * docs/PATENTS: Added patents disclaimer. This one was missing!
  897. * docs/CHANGES, docs/todo: Updated for the upcoming 2.0.4 release.
  898. 2001-06-20 Werner Lemberg <wl@gnu.org>
  899. * include/freetype/config/ftconfig.h: Add two more `L's to
  900. constants.
  901. Add missing semicolons.
  902. * builds/toplevel.mk: Do similar change as for
  903. builds/unix/detect.mk.
  904. * include/freetype/freetype.h (FT_ENC_TAG): New version to make it
  905. easier to redefine.
  906. * include/freetype/ftimage.h (FT_IMAGE_TAG): Ditto.
  907. * src/pcf/pcfread.c (pcf_get_encodings): Add cast.
  908. 2001-06-19 David Turner <david@freetype.org>
  909. * builds/win32/visualc/freetype.dsp, builds/win32/visualc/index.html:
  910. Updated the Visual C++ project (for the 2.0.4 release).
  911. * builds/unix/detect.mk: Added rule for AIX detection (which uses
  912. /usr/sbin/init instead of /sbin/init).
  913. * include/freetype/fterrors.h, src/*/*err*.h: Updated some of the
  914. error macros to simplify handling of new error scheme.
  915. 2001-06-19 Werner Lemberg <wl@gnu.org>
  916. * include/freetype/fttypes.h (FT_ERROR_MODULE): New macro.
  917. 2001-06-19 David Turner <david@freetype.org>
  918. Removing _lots_ of compiler warnings when the most pedantic warning
  919. levels of Visual C++ and Borland C++ are used. Too many files to be
  920. listed here, but FT2 now compiles without warnings with VC++ and the
  921. `/W4' warning level (lint-style).
  922. * include/freetype/freetype.h (FT_New_Memory_Face): Updated
  923. documentation.
  924. * include/freetype/fttypes.h (FT_BOOL): New macro.
  925. * include/freetype/internal/ftdebug.h: Add #pragma for Visual C++
  926. to suppress warning.
  927. * include/freetype/internal/ftstream.h (FT_GET_SHORT_{BE,LE},
  928. FT_GET_OFF3_{BE,LE}, FT_GET_LONG_{BE,LE}): New macros.
  929. (NEXT_*): Use them.
  930. * src/autohint/ahglobal.c: Include FT_INTERNAL_DEBUG_H.
  931. (FT_New_Memory_Face): Add `const' to function declaration.
  932. 2001-06-18 Werner Lemberg <wl@gnu.org>
  933. Minor cleanups to remove compiler warnings.
  934. * include/freetype/cache/ftcmanag.h (FTC_MAX_BYTES_DEFAULT): Use
  935. `L' for constant.
  936. * include/freetype/config/ftoption.h (FT_RENDER_POOL_SIZE): Ditto.
  937. * src/base/ftcalc.c (FT_MulDiv): Use `L' for constant.
  938. * src/base/ftglyph.c (FT_Glyph_Get_CBox): Remove `error' variable.
  939. * src/base/fttrigon.c (ft_trig_arctan_table): Use `L' for constants.
  940. * src/base/ftobjs.c (FT_Done_Size): Fix return value.
  941. (FT_Set_Char_Size, FT_Set_Pixel_Sizes, FT_Get_Kerning): Remove
  942. unused `memory' variable.
  943. * src/autohint/ahglyph.c (ah_get_orientation): Use `L' for constant.
  944. * src/autohint/ahhint.c (ah_hint_edges_3,
  945. ah_hinter_align_edge_points): Remove unused `before' and `after'
  946. variables.
  947. (ah_hinter_align_weak_points): Remove unused `edge_limit' variable.
  948. (ah_hinter_load): Remove unused `new_advance', `start_contour',
  949. and `metrics' variables.
  950. * src/cff/cffload.c (CFF_Load_Encoding): Remove dead code to avoid
  951. compiler warning.
  952. * src/cff/cffobjs.c (CFF_Init_Face): Remove unused `base_offset'
  953. variable.
  954. * src/cff/cffgload.c (CFF_Parse_CharStrings): Remove unused
  955. `outline' variable.
  956. (cff_compute_bias): Use `U' for constant.
  957. * src/cid/cidload.c (cid_decrypt): Ditto.
  958. * src/psaux/psobjs.c (T1_Decrypt): Ditto.
  959. * src/psaux/t1decode.c (T1_Decoder_Parse_CharStrings): Ditto.
  960. * src/sfnt/ttload.c (TT_Load_Kern): Remove unused `version'
  961. variable.
  962. * src/sfnt/ttsbit.c (TT_Load_SBit_Image): Remove unused `top'
  963. variable.
  964. * src/truetype/ttgload.c (load_truetype_glyph): Remove unused
  965. `num_contours' and `ins_offset' variables.
  966. (compute_glyph_metrics): Remove unused `Top' and `x_scale'
  967. variables.
  968. (TT_Load_Glyph): Remove unused `memory' variable.
  969. * src/smooth/ftgrays.c (grays_raster_render): Use `L' for constants.
  970. 2001-06-18 Werner Lemberg <wl@gnu.org>
  971. Make the new error scheme source compatible with older FT versions
  972. by introducing another layer.
  973. * include/freetype/fterrors.h (FT_ERRORDEF_, FT_NOERRORDEF_): New
  974. macros.
  975. (FT_NOERRORDEF): Removed.
  976. * include/*/*err*.h: Use FT_ERRORDEF_ and FT_NOERRORDEF_.
  977. 2001-06-16 Werner Lemberg <wl@gnu.org>
  978. * include/freetype/freetype.h (FT_ENC_TAG): New macro.
  979. (FT_Encoding_): Use it.
  980. * include/freetype/ftimage.h (FT_IMAGE_TAG): Define it
  981. conditionally.
  982. 2001-06-14 David Turner <david@freetype.org>
  983. Modified the TrueType interpreter to let it use the new
  984. trigonometric functions provided in `fttrigon.h'. This gets rid of
  985. some old 64-bit computation routines, as well as many warnings when
  986. compiling the library with the `long long' 64-bit integer type.
  987. * include/freetype/config/ftoption.h: Undefine
  988. FT_CONFIG_OPTION_OLD_CALCS.
  989. * include/freetype/internal/ftcalc.h: Rearrange use of
  990. FT_CONFIG_OPTION_OLD_CALCS.
  991. * src/base/ftcalc.c: Add declaration of FT_Int64 if
  992. FT_CONFIG_OPTION_OLD_CALCS isn't defined.
  993. * src/truetype/ttinterp.c: Use FT_TRIGONOMETRY_H.
  994. (Norm): Add a special version if FT_CONFIG_OPTION_OLD_CALCS isn't
  995. defined.
  996. (Current_Ratio, Normalize): Simplify code.
  997. 2001-06-11 Mike Owens <MOwens@amtdatasouth.com>
  998. * src/base/ftcalc.c (FT_MulDiv, FT_DivFix, FT_Sqrt64): Remove
  999. compiler warnings.
  1000. 2001-06-08 Werner Lemberg <wl@gnu.org>
  1001. * builds/unix/configure.in: Renamed to ...
  1002. * builds/unix/configure.ac: This to make sure that autoconf 2.50 is
  1003. needed.
  1004. Run `autoupdate' on it.
  1005. Increase `version_info' to 7:0:1.
  1006. * builds/unix/configure: Regenerated.
  1007. 2001-06-08 David Turner <david@freetype.org>
  1008. * src/autohint/ahhint.c (ah_hinter_load_glyph): Fixed a bug that
  1009. corrupted transformed glyphs that were auto-hinted (the transform
  1010. was applied twice).
  1011. Fixed a bug that returned an invalid linear width for composite
  1012. TrueType glyphs.
  1013. * include/internal/tttypes.h (TT_Loader_): Two new elements `linear'
  1014. and `linear_def'.
  1015. * src/truetype/ttgload.c (load_truetype_glyph,
  1016. compute_glyph_metrics): Use it.
  1017. * include/fttypes.h (FT_ERROR_BASE): New macro.
  1018. * src/base/ftobjs.c (FT_Open_Face, FT_Render_Glyph_Internal): Use it
  1019. to make source code work with the new error scheme implemented by
  1020. Werner.
  1021. * src/base/ftoutln.c (FT_Outline_Render): Ditto.
  1022. 2001-06-07 Werner Lemberg <wl@gnu.org>
  1023. Updating to libtool 1.4.0 and autoconf 2.50.
  1024. * builds/unix/ltconfig: Removed.
  1025. * builds/unix/ltmain.sh, builds/unix/configure.in,
  1026. builds/unix/aclocal.m4: Updated.
  1027. * builds/unix/configure: Regenerated.
  1028. 2001-06-06 Werner Lemberg <wl@gnu.org>
  1029. Complete redesign of error codes. Please check ftmoderr.h for more
  1030. details.
  1031. * include/freetype/internal/cfferrs.h,
  1032. include/freetype/internal/tterrors.h,
  1033. include/freetype/internal/t1errors.h: Removed. Replaced with files
  1034. local to the module. All extra error codes have been moved to
  1035. `fterrors.h'.
  1036. * src/sfnt/ttpost.h: Move error codes to `fterrors.h'.
  1037. * src/autohint/aherrors.h, src/cache/ftcerror.h, src/cff/cfferrs.h,
  1038. src/cid/ciderrs.h, src/pcf/pcferror.h, src/psaux/psauxerr.h,
  1039. src/psnames/psnamerr.h, src/raster/rasterrs.h, src/sfnt/sferrors.h,
  1040. src/smooth/ftsmerrs.h, src/truetype/tterrors.h,
  1041. src/type1/t1errors.h, src/winfonts/fnterrs.h: New files defining the
  1042. error names for the module it belongs to.
  1043. * include/freetype/ftmoderr.h: New file, defining the module error
  1044. offsets. Its structure is similar to `fterrors.h'.
  1045. * include/freetype/fterrors.h (FT_NOERRORDEF): New macro.
  1046. (FT_ERRORDEF): Redefined to use module error offsets.
  1047. All internal error codes are now public; unused error codes have
  1048. been removed, some are new.
  1049. * include/freetype/config/ftheader.h (FT_MODULE_ERRORS_H): New
  1050. macro.
  1051. * include/freetype/config/ftoption.h
  1052. (FT_CONFIG_OPTION_USE_MODULE_ERRORS): New macro.
  1053. All other source files have been updated to use the new error codes;
  1054. some already existing (internal) error codes local to a module have
  1055. been renamed to give them the same name as in the base module.
  1056. All make files have been updated to include the local error files.
  1057. 2001-06-06 Werner Lemberg <wl@gnu.org>
  1058. * src/cid/cidtokens.h: Replaced with...
  1059. * src/cid/cidtoken.h: This file for 8+3 consistency.
  1060. * src/raster/ftraster.c: Use macros for header file names.
  1061. * src/include/freetype/tttables.h (TT_HoriHeader_, TT_VertHeader_):
  1062. Fix length of `Reserved' array. Note that this isn't the real fix
  1063. since recent OpenType specs have introduced a `CaretOffset' field
  1064. instead of the first reserved byte.
  1065. 2001-05-29 Werner Lemberg <wl@gnu.org>
  1066. * INSTALL: Minor fixes.
  1067. * Version 2.0.3 released.
  1068. =========================
  1069. 2001-05-29 David Turner <david@freetype.org>
  1070. * INSTALL, docs/CHANGES: Updated.
  1071. 2001-05-25 David Turner <david@freetype.org>
  1072. Moved several documents from the top-level to the `docs' directory.
  1073. * src/base/ftcalc.c (FT_DivFix): Small fix to return value.
  1074. 2001-05-16 David Turner <david@freetype.org>
  1075. * src/truetype/ttgload.c (load_truetype_glyph): Fixed a bug in the
  1076. composite loader. Spotted by Keith Packard.
  1077. * src/base/ftobjs.c (FT_GlyphLoader_Check_Points,
  1078. FT_GlyphLoader_Check_Subglyphs): Ditto.
  1079. 2001-05-14 David Turner <david@freetype.org>
  1080. Fixed the incorrect blue zone computations, and improved the
  1081. composite support. Note that these changes result in improved
  1082. rendering, while sometimes introducing their own artefacts. This is
  1083. probably the last big change to the autohinter before the
  1084. introduction of a complete replacement.
  1085. * src/autohint/ahglobal.c (sort_values): Fix loop.
  1086. * src/autohint/ahglyph.c: Removed some obsolete code.
  1087. (ah_outline_compute_edges): Modify code to set the ah_edge_round
  1088. flag.
  1089. (ah_outline_compute_blue_edges): Add code to compute active blue
  1090. zones.
  1091. * src/autohint/ahhint.c (ah_hinter_glyph_load): Change load_flags
  1092. value.
  1093. * src/base/ftcalc.c (FT_DivFix): Fixed a bug in the 64-bit code that
  1094. created incorrect scale factors!
  1095. (FT_Round_Fix, FT_CeilFix, FT_FloorFix): Minor improvements.
  1096. 2001-05-12 Werner Lemberg <wl@gnu.org>
  1097. * include/freetype/ftbbox.h: FTBBOX_H -> __FTBBOX_H__.
  1098. * include/freetype/fttrigon.h: __FT_TRIGONOMETRY_H__ ->
  1099. __FTTRIGON_H__.
  1100. Include FT_FREETYPE_H.
  1101. Beautified; added copyright.
  1102. * src/base/fttrigon.c: Beautified; added copyright.
  1103. 2001-05-11 David Turner <david@freetype.org>
  1104. * src/cff/cffparse.c (cff_parse_font_matrix), src/cid/cidload.c
  1105. (parse_font_matrix), src/type1/t1load.c (parse_font_matrix): Fixed
  1106. the incorrect EM size computation.
  1107. * include/freetype/fttrigon.h, src/base/fttrigon.c: New files,
  1108. adding trigonometric functions to the core API (using Cordic
  1109. algorithms).
  1110. * src/base/ftbase.c, src/base/Jamfile, src/base/rules.mk: Use them.
  1111. * builds/newline: New file.
  1112. * builds/top_level.mk, builds/detect.mk: Use it. This fixes
  1113. problems with Make on Windows 2000, as well as problems when `make
  1114. distclean' is invoked on a non-Unix platform when there is no
  1115. `config.mk' in the current directory.
  1116. * builds/freetype.mk: Fixed a problem with object deletions under
  1117. Dos/Windows/OS/2 systems.
  1118. Added new directory to hold tools and test programs.
  1119. * docs/docmaker.py, docs/glnames.py: Moved to...
  1120. * src/tools/docmaker.py, src/tools/glnames.py: This place.
  1121. * src/tools/cordic.py: New file used to compute arctangent table
  1122. needed by fttrigon.c.
  1123. * src/tools/test_bbox.c, src/tools/test_trig.c: New test files.
  1124. * src/tools/docmaker.py: Improved the script to add the current date
  1125. at the footer of each web page (useful to distinguish between
  1126. versions).
  1127. * Jamfile: Fixed incorrect HDRMACRO argument.
  1128. * TODO: Removed the cubic arc bbox computation note, since it has been
  1129. fixed recently.
  1130. * src/base/ftbbox.c (test_cubic_zero): Renamed to...
  1131. (test_cubic_extrema): This function. Use `UL' for unsigned long
  1132. constants.
  1133. * include/freetype/t1tables.h, include/freetype/config/ftoption.h:
  1134. Formatting.
  1135. 2001-05-10 David Turner <david@freetype.org>
  1136. * src/base/ftobjs.c (FT_Open_Face): Fixed a small memory leak
  1137. which happened when trying to open 0-size font files!
  1138. 2001-05-09 Werner Lemberg <wl@gnu.org>
  1139. * include/freetype/internal/ftcalc.h: Move declaration of
  1140. FT_SqrtFixed() out of `#ifdef FT_LONG64'.
  1141. 2001-05-08 Francesco Zappa Nardelli <Francesco.Zappa.Nardelli@ens.fr>
  1142. * src/pcfdriver.c (PCF_Load_Glyph): Fixed incorrect bitmap width
  1143. computation.
  1144. 2001-05-08 David Turner <david@freetype.org>
  1145. * docs/docmaker.py: Updated the DocMaker script in order to add
  1146. command line options (--output,--prefix,--title), fix the erroneous
  1147. line numbers reported during errors and warnings, and other
  1148. formatting issues.
  1149. * src/base/ftcalc.c (FT_MulDiv, FT_MulFix, FT_DivFix): Various tiny
  1150. fixes related to rounding in 64-bits routines and
  1151. pseudo-`optimizations'.
  1152. 2001-04-27 David Turner <david@freetype.org>
  1153. * src/base/ftbbox.c (BBox_Cubic_Check): Fixed the coefficient
  1154. normalization algorithm (invalid final bit position, and invalid
  1155. shift computation).
  1156. 2001-04-26 Werner Lemberg <wl@gnu.org>
  1157. * builds/unix/config.guess, builds/unix/config.sub: Updated to
  1158. latest versions from gnu.org.
  1159. * builds/compiler/gcc-dev.mk: Add `-Wno-long-long' flag.
  1160. * include/freetype/internal/ftcalc.h: Define FT_SqrtFixed()
  1161. unconditionally.
  1162. * src/base/ftbbox.c: Include FT_INTERNAL_CALC_H.
  1163. Fix compiler warnings.
  1164. * src/base/ftcalc.c: Fix (potential) compiler warnings.
  1165. 2001-04-26 David Turner <david@freetype.org>
  1166. * src/base/ftcalc.c (FT_SqrtFixed): Corrected/optimized the 32-bit
  1167. fixed-point square root computation. It is now used even with
  1168. 64-bits integers, as it is _much_ faster than calling FT_Sqrt64 :-)
  1169. * src/base/ftbbox.c: Removed invalid `#include FT_BEZIER_H' line.
  1170. 2001-04-25 David Turner <david@freetype.org>
  1171. * src/base/ftbbox.c (BBox_Cubic_Check): Rewrote function to use
  1172. direct computations with 16.16 values instead of sub-divisions. It
  1173. is now slower, but proves a point :-)
  1174. * src/raster/ftraster.c, src/smooth/ftgrays.c, src/base/ftbbox.c:
  1175. Fixed the Bézier stack depths.
  1176. * src/base/ftcalc.c (FT_MulFix): Minor rounding fix.
  1177. * builds/beos: Added BeOS-specific files to the old build system
  1178. (no changes were necessary to support BeOS in the Jamfile though).
  1179. 2001-04-20 David Turner <david@freetype.org>
  1180. * ftconfig.h, ftoption.h: Updated `ftconfig.h' to detect 64-bit int
  1181. types on platforms where Autoconf is not available). Also removed
  1182. FTCALC_USE_LONG_LONG and replaced it with
  1183. FT_CONFIG_OPTION_FORCE_INT64.
  1184. * builds/win32/freetype.dsp: Updated the Visual C++ project file.
  1185. Doesn't create a DLL yet.
  1186. * cffgload.c: Removed a compilation warning.
  1187. 2001-04-10 Tom Kacvinsky <tkacvins@freetype.org>
  1188. * t1load.c (parse_charstrings): Changed code for placing .notdef
  1189. glyph into slot 0 so that we no longer have a memory access
  1190. violation.
  1191. * t1load.h: In structure T1_Loader, added swap_table (of type
  1192. PS_Table) to facilitate placing the .notdef glyph into slot 0.
  1193. 2001-04-10 Francesco Zappa Nardelli <francesco.zappa.nardelli@ens.fr>
  1194. * src/pcf/pcfdriver.c (PCF_Get_Char_Index): Fix return value.
  1195. 2001-04-09 Laurence Withers <lwithers@lwithers.demon.co.uk>
  1196. * builds/dos/detect.mk: Add support for bash.
  1197. 2001-04-05 Werner Lemberg <wl@gnu.org>
  1198. * builds/os2/*.mk: These files have been forgotten to update to
  1199. the structure of similar makefiles.
  1200. * builds/dos/*.mk: Ditto.
  1201. * builds/ansi/*.mk: Ditto.
  1202. * builds/win32/win32-def.mk (BUILD): Fix typo.
  1203. * builds/compiler/*.mk (CLEAN_LIBRARY): Don't use NO_OUTPUT.
  1204. This is already used in the link_*.mk files.
  1205. 2001-04-03 Werner Lemberg <wl@gnu.org>
  1206. * src/*/Jamfile: Slight changes to make files more cryptic.
  1207. 2001-04-03 Werner Lemberg <wl@gnu.org>
  1208. * Jamfile, src/Jamfile, src/*/Jamfile: Formatted. Slight changes
  1209. to give files identical structure.
  1210. 2001-04-02 Werner Lemberg <wl@gnu.org>
  1211. * CHANGES: Reformatted, minor fixes.
  1212. * TODO: Updated.
  1213. * README: Formatting.
  1214. * include/freetype/freetype.h: Formatting.
  1215. * Jamfile: Fix typo.
  1216. * src/cff/cffparse.c: Move error code #defines to...
  1217. * include/freetype/internal/cfferrs.h: This file.
  1218. * src/cff/cffdrivr.c, src/cff/cffobjs.c, src/cff/cffload.c: Replaced
  1219. `FT_Err_*' with `CFF_Err_*'.
  1220. * src/cid/cidparse.c: Replaced `FT_Err_*' with `T1_Err_*'.
  1221. * src/psaux/psobjs.c, src/psaux/t1decode.c: Ditto.
  1222. * src/sfnt/sfobcs.c, src/sfnt/ttload.c: Replaced `FT_Err_*' with
  1223. `TT_Err_*'.
  1224. * src/truetype/ttgload.c, src/truetype/ttobjs.c: Ditto.
  1225. * src/type1/t1gload.c, src/type1/t1load.c, src/type1/t1objs.c,
  1226. src/type1/t1parse.c: Replaced `FT_Err_*' with `T1_Err_*'.
  1227. * include/freetype/internal/cfferrs.h: Add
  1228. `CFF_Err_Unknown_File_Format'.
  1229. * include/freetype/internal/t1errors.h: Add
  1230. `T1_Err_Unknown_File_Format'.
  1231. * include/freetype/internal/tterrors.h: Add
  1232. `TT_Err_Unknown_File_Format'.
  1233. * src/cff/cffload.h: Add `cff_*_encoding' and `cff_*_charset'
  1234. references.
  1235. * src/psaux/psobjs.c: Include `FT_INTERNAL_TYPE1_ERRORS_H'.
  1236. * src/cff/cffobjs.c (CFF_Init_Face, CFF_Done_Face): Use
  1237. FT_LOCAL_DEF.
  1238. * src/cid/cidobjs.c (CID_Done_Driver): Ditto.
  1239. * src/trutype/ttobjs.c (TT_Init_Face, TT_Done_Face, TT_Init_Size):
  1240. Ditto.
  1241. * src/type1/t1objs.c (T1_Done_Driver): Ditto.
  1242. * src/pcf/pcfdriver.c (PCF_Done_Face): Ditto.
  1243. * src/pcf/pcf.h: Use FT_LOCAL for `PCF_Done_Face'.
  1244. 2001-04-02 Tom Kacvinsky <tkacvins@freetype.org>
  1245. * src/sfnt/ttload.c (TT_Load_Metrics): Fix an improper pointer
  1246. dereference. Submitted by Herbert Duerr <duerr@sun.com>.
  1247. 2001-03-26 Tom Kacvinsky <tkacvins@freetype.org>
  1248. * include/freetype/config/ftconfig.h: Changed hexadecimal
  1249. constants to use suffix U to avoid problems with HP-UX's c89
  1250. compiler. Submitted by G.W. Lucas <glucas@sonalysts.com>.
  1251. 2001-03-24 David Turner <david.turner@freetype.org>
  1252. * Jamrules, Jamfile, src/Jamfile, src/*/Jamfile: Adding jamfiles to
  1253. the source tree. See www.freetype.org/jam/index.html for details.
  1254. * Version 2.0.2 released.
  1255. =========================
  1256. 2001-03-20 Werner Lemberg <wl@gnu.org>
  1257. * builds/win32/detekt.mk: Fix .PHONY target for Intel compiler.
  1258. 2001-03-20 David Turner <david.turner@freetype.org>
  1259. * include/freetype/config/ftheader.h, include/freetype/ftsnames.h:
  1260. Renamed `ftnames.h' to `ftsnames.h', and FT_NAMES_H to
  1261. FT_SFNT_NAMES_H.
  1262. * docs/docmaker.py: Added generation of INDEX link in table of
  1263. contents.
  1264. * INSTALL, docs/BUILD: Updated documentation to indicate that the
  1265. compilation process has changed slightly (no more `src' required in
  1266. the include path).
  1267. * builds/*/*-def.mk: Changed the objects directory from `obj' to
  1268. `objs'.
  1269. * include/freetype/config/ftheader.h: Removed obsolete macros like
  1270. FT_SOURCE_FILE, etc. and added cache-specific macro definitions that
  1271. were previously defined in <freetype/ftcache.h>. Added comments to
  1272. be included in a new API Reference section.
  1273. * src/*/*: Removed the use of FT_SOURCE_FILE, etc. Now, each
  1274. component needs to add its own directory to the include path at
  1275. compile time. Modified all `rules.mk' and `descrip.mms'
  1276. accordingly.
  1277. 2001-03-20 Werner Lemberg <wl@gnu.org>
  1278. * builds/unix/configure.in: Add $ft_version.
  1279. * builds/unix/freetype-config.in: Use it.
  1280. * builds/unix/configure: Updated.
  1281. 2001-03-19 Tom Kacvinsky <tkacvins@freetype.org>
  1282. * src/type1/t1load.c (parse_font_matrix): Assign the units per em
  1283. value an unsigned short value, first by shifting right 16 bits,
  1284. then by casting the results to FT_UShort.
  1285. * src/cff/cffparse.c (cff_parse_font_bbox): Assign the units per em
  1286. value an unsigned short value, first by shifting right 16 bits,
  1287. then by casting the results to FT_UShort.
  1288. 2001-03-17 David Turner <david.turner@freetype.org>
  1289. * src/cid/cidobjs.c, src/cid/cidload.c, src/pcf/pcfread.c,
  1290. src/type1/t1load.c, src/type1/t1objs.c: Added a few casts to remove
  1291. compiler warnings in pedantic modes.
  1292. * include/config/ft2build.h, include/config/ftheader.h: The file
  1293. `ft2build.h' was renamed to `ftheader.h' to avoid conflicts with the
  1294. top-level <ft2build.h>.
  1295. * include/config/ftheader.h: Added new section describing the #include
  1296. macros.
  1297. 2001-03-17 Tom Kacvinsky <tkacvins@freetype.org>
  1298. * src/cff/cffparse.c (cff_parse_font_bbox): Obtain rounded FT_Fixed
  1299. values for the bounding box numbers.
  1300. * src/cff/cffobjs.c (CFF_Init_Face): When processing a CFF/CEF font,
  1301. set `root->ascender' (`root->descender') to the integer part of
  1302. `root->bbox.yMax' (`root->bbox.yMin', respectively).
  1303. 2001-03-16 Tom Kacvinsky <tkacvins@freetype.org>
  1304. * src/cff/cffdrivr.c (get_cff_glyph_name): New function. Used in
  1305. cff_get_interface to facilitate getting a glyph name for glyph index
  1306. via FT_Get_Glyph_Name().
  1307. (cff_get_interface): Added support for getting a glyph name via the
  1308. `glyph_name' module interface. Uses the new function
  1309. get_cff_glyph_name().
  1310. Submitted by Sander van der Wal <svdwal@xs4all.nl>.
  1311. * src/cff/cffobjs.c (CFF_Init_Face): Logical or the face flags with
  1312. FT_FACE_FLAG_GLYPH_NAMES only if FT_CONFIG_OPTION_NO_GLYPH_NAMES is
  1313. not defined. This is to add support for getting a glyph name from a
  1314. glyph index via FT_Get_Glyph_Name().
  1315. Submitted by Sander van der Wal <svdwal@xs4all.nl>.
  1316. * src/cff/cffgload.c (CFF_Parse_CharStrings): Added support for
  1317. deprecated operator `dotsection'.
  1318. Submitted by Sander van der Wal <svdwal@xs4all.nl>.
  1319. 2001-03-12 Werner Lemberg <wl@gnu.org>
  1320. * src/psaux/t1decode.c (T1_Decoder_Parse_Charstrings): Fix error
  1321. messages.
  1322. * INSTALL, docs/BUILD: We need GNU make 3.78.1 or newer.
  1323. 2001-03-12 Tom Kacvinsky <tkacvins@freetype.org>
  1324. * include/freetype/internal/psaux.h: Changed the lenIV member of
  1325. the T1_Decoder_ struct to be an FT_Int instead of an FT_UInt.
  1326. * src/psaux/t1decode.c (T1_Decoder_Parse_Charstrings): Adjust
  1327. for lenIV seed bytes at the start of a decrypted subroutine.
  1328. * src/cid/cidload.c (cid_read_subrs): Decrypt subroutines only
  1329. if lenIV >= 0.
  1330. * src/cid/cidgload.c (cid_load_glyph): Decrypt charstrings only
  1331. if lenIV >= 0.
  1332. 2001-03-11 Werner Lemberg <wl@gnu.org>
  1333. * TODO: Updated.
  1334. * src/pcf/pcfread.c: Put READ_Fields() always in a conditional to
  1335. avoid compiler warnings.
  1336. 2001-03-10 Tom Kacvinsky <tkacvins@freetype.org>
  1337. * TODO: New file.
  1338. * include/freetype/freetype.h: Added prototypes and notes for
  1339. three new functions: FT_RoundFix, FT_CeilFix, and FT_FloorFix.
  1340. * src/base/ftcalc.c (FT_RoundFix, FT_CeilFix, FT_FloorFix): Added
  1341. implementation code.
  1342. * src/cid/cidobjs.c (CID_Init_Face): Use calculated units_per_EM,
  1343. and if that is not available, default to 1000 units per EM. Changed
  1344. assignment code for ascender and descender values.
  1345. * src/cid/cidload.c (parse_font_matrix): Added units_per_EM
  1346. processing.
  1347. (parse_font_bbox): Changed to use FT_Fixed number handling.
  1348. * src/type1/t1objs.c (T1_Init_Face): Changed the assignment code
  1349. for ascender, descender, and max_advance_width.
  1350. * src/type1/t1load.c (parse_font_bbox): Changed to use FT_Fixed
  1351. number handling.
  1352. 2001-03-10 Henrik Grubbström <grubba@roxen.com>
  1353. * src/*/*.c: Added many casts to make code more 64bit-safe.
  1354. 2001-03-07 Werner Lemberg <wl@gnu.org>
  1355. * INSTALL, docs/BUILD: We need GNU make 3.78 or newer.
  1356. 2001-03-07 Tom Kacvinsky <tkacvins@freetype.org>
  1357. * src/type1/t1objs.c (T1_Init_Face): Minor correction: We must wait
  1358. until parse_font_bbox is changed before we use logical shift rights
  1359. in the assignments of `root->ascender', `root->descender', and
  1360. `root->max_advance_width'.
  1361. (T1_Done_Face): Free `char_name' table to avoid a memory leak.
  1362. Submitted by Sander van der Wal <svdwal@xs4all.nl>.
  1363. 2001-03-05 Tom Kacvinsky <tkacvins@freetype.org>
  1364. * src/cff/cffgload.c (CFF_Load_Glyph): Set glyph control data to the
  1365. the Type 2 glyph charstring (used by conversion programs).
  1366. Submitted by Ha Shao <hashao@chinese.com>.
  1367. 2001-03-04 Antoine Leca <Antoine.Leca@renault.fr>
  1368. * include/freetype/ttnameid.h: Correct a stupid typo which prevented
  1369. correct compilation (TT_MS_LANGID_TIGRIGNA_ETHIOPIA appeared twice).
  1370. 2001-03-04 Werner Lemberg <wl@gnu.org>
  1371. * src/autohint/ahtypes.h (AH_Hinter): Add elements
  1372. `disable_horz_edges', `disable_vert_edges'.
  1373. * src/autohint/ahhint.c (ah_hint_edges_3, ah_hinter_hint_edges): Use
  1374. them (and remove static variables with the same names).
  1375. * src/pcf/pcfutil.c (BitOrderInvert): Add `const'.
  1376. * docs/glnames.py: Updated to latest pstables.h changes.
  1377. * builds/unix/detect.mk: Add test for Hurd.
  1378. * builds/hurd/detect.mk: Removed.
  1379. 2001-03-04 Sander van der Wal <svdwal@xs4all.nl>
  1380. * src/psnames/pstables.h: Add more `const'.
  1381. * src/pcf/pcfutil.c: Ditto.
  1382. 2001-03-04 Werner Lemberg <wl@gnu.org>
  1383. * src/base/ftglyph.c (FT_Glyph_To_Bitmap): Fixing typo
  1384. (FT_Glyph_Done -> FT_Done_Glyph).
  1385. 2001-03-01 Antoine Leca <Antoine.Leca@renault.fr>
  1386. * include/freetype/ttnameid.h: Added some new Microsoft language
  1387. codes and LCIDs as found in Office Xp.
  1388. 2001-02-28 David Turner <david.turner@freetype.org>
  1389. * builds/hurd/detect.mk: New file. Added support to detect the GNU
  1390. Hurd operating system as Unix-like. Fix submitted by Anthony Fok
  1391. <foka@debian.org>.
  1392. * src/type1/t1gload.c (T1_Load_Glyph): Set glyph control data to the
  1393. the Type 1 glyph charstring (used by conversion programs).
  1394. Submitted by Ha Shao <hashao@chinese.com>.
  1395. 2001-02-22 David Turner <david.turner@freetype.org>
  1396. * src/base/ftgrays.c (grays_sweep): The function didn't exit
  1397. immediately if `num_cells' was 0 as it should. Thanks to Boris for
  1398. finding this out.
  1399. * src/base/ftglyph.c (FT_Glyph_To_Bitmap): Fixed memory leak when
  1400. bitmap rendering fails (thanks to Graham Asher).
  1401. 2001-02-13 Werner Lemberg <wl@gnu.org>
  1402. * docs/docmaker.py (DocSection::add_element): Use
  1403. `self.print_error()'.
  1404. * builds/unix/config.{guess,sub}: Updated (from ftp.gnu.org).
  1405. 2001-02-13 David Turner <david.turner@freetype.org>
  1406. * docs/docmaker.py, include/freetype/*.h: Updated the DocMaker
  1407. script to support chapters and section block ordering. Updated the
  1408. public header files accordingly.
  1409. * src/base/ftglyph.c (FT_Glyph_Copy): Advance width and glyph format
  1410. were not correctly copied.
  1411. 2001-02-08 Tom Kacvinsky <tkacvins@freetype.org>
  1412. * src/cff/cffparse.c (cff_parse_font_matrix): Removed an
  1413. unnecessary fprintf( stderr, ... ).
  1414. 2001-02-07 Tom Kacvinsky <tkacvins@freetype.org>
  1415. * src/type1/t1objs.c (T1_Init_Face): Added code to get the
  1416. units_per_EM from the value assigned in parse_font_matrix, if
  1417. available. Default to 1000 if not available.
  1418. * src/cff/cffparse.c (cff_parse_font_matrix): Added logic to get
  1419. the units_per_EM from the FontMatrix.
  1420. (cff_parse_fixed_thousand): New function. Gets a real number from
  1421. the CFF font, but multiplies by 1000 (this is to avoid rounding
  1422. errors when placing this real number into a 16.16 fixed number).
  1423. (cff_parse_real): Added code so that the integer part is moved
  1424. into the high sixteen bits of the 16.16 fixed number.
  1425. * src/cff/cffobjs.c (CFF_Init_Face): Added logic to get the units
  1426. per EM from the CFF dictionary, if available.
  1427. * include/freetype/internal/cfftypes.h: In struct CFF_Font_Dict_,
  1428. added a units_per_em member to facilitate passing of units_per_em
  1429. from function cff_parse_font_matrix.
  1430. * src/type1/t1load.c (is_alpha): Make `-' a legal alphanumeric
  1431. character. This is so that font names with `-' are fully parsed,
  1432. etc...
  1433. 2001-02-02 Werner Lemberg <wl@gnu.org>
  1434. * src/psaux/psobjs.c (shift_elements): Remove if clause (which is
  1435. obsolete now).
  1436. (reallocate_t1_table, PS_Table_Done): Replace REALLOC() with ALLOC()
  1437. + MEM_Copy() to avoid a memory bug.
  1438. 2001-02-01 David Turner <david.turner@freetype.org>
  1439. * docs/docmaker.py: Improved the index sorting routine to place
  1440. capital letters before small ones. Added the `<order>' marker to
  1441. section blocks in order to give the order of blocks.
  1442. 2001-01-30 Antoine Leca <Antoine.Leca@renault.fr>
  1443. * include/freetype/ttnameid.h: Latest updates to Microsoft language
  1444. ID codes.
  1445. 2001-01-24 Tom Kacvinsky <tkacvins@freetype.org>
  1446. * src/cff/t1load.c (parse_font_matrix): Added heuristic to get
  1447. units_per_EM from the font matrix.
  1448. (parse_dict): Deleted test to see whether the FontInfo keyword has
  1449. been seen. Deletion of this test allows fonts without FontInfo
  1450. dictionaries to be parsed by the Type 1 driver.
  1451. (T1_Open_Face): Deleted empty subroutines array test to make sure
  1452. fonts with no subroutines still are parsed.
  1453. 2001-01-17 Francesco Zappa Nardelli <francesco.zappa.nardelli@ens.fr>
  1454. * src/pcfread.c (pcf_get_properties, pcf_get_metrics,
  1455. pcf_get_bitmaps): Fix compiler errors.
  1456. 2001-01-11 David Turner <david.turner@freetype.org>
  1457. * src/pcf/pcfread.c: Removed some compilation warnings related
  1458. to comparison of signed vs. unsigned integers.
  1459. * include/freetype/internal/ftdebug.h: Changed the debug trace
  1460. constants from trace_t2xxxx to trace_cffxxxx to be able to compile
  1461. the CFF driver in debug mode.
  1462. 2001-01-11 Matthew Crosby <mcrosby@marthon.org>
  1463. * builds/unix/freetype-config.in: Fix problems with separate
  1464. --prefix and --exec-prefix.
  1465. 2001-01-11 David Turner <david.turner@freetype.org>
  1466. * docs/docmaker.py: Added cross-references generation as well as
  1467. more robust handling of pathname wildcard matching.
  1468. 2001-01-10 Werner Lemberg <wl@gnu.org>
  1469. * docs/docmaker.py: Minor improvements to reduce unwanted spaces
  1470. and empty lines in output.
  1471. 2001-01-09 David Turner <david.turner@freetype.org>
  1472. * docs/docmaker.py: Improved script to generate table of contents
  1473. and index pages. It also supports wildcards on non Unix systems.
  1474. * include/freetype/*.h, include/freetype/cache/*.h: Updated comments
  1475. to include section definitions/delimitations for the API Reference
  1476. generator.
  1477. * include/freetype/freetype.h: Moved declaration of
  1478. `FT_Generic_Finalizer' and the `FT_Generic' structure to...
  1479. * include/freetype/fttypes.h: here.
  1480. 2001-01-04 Werner Lemberg <wl@gnu.org>
  1481. * include/freetype/ttnameid.h: Updated Unicode code range comments.
  1482. 2001-01-03 Tom Kacvinsky <tkacvins@freetype.org>
  1483. * src/cff/rules.mk: Use cffgload.{c,h} instead of t2gload.{c,h}.
  1484. * include/freetype/internal/internal.h: Changed to use cfftypes.h
  1485. (cfferrs.h) instead of t2types.h (t2errors.h, respectively).
  1486. * include/freetype/internal/cfftypes.h: Merged in changes from
  1487. t2types.h and made this the canonical `types' header for the CFF
  1488. driver.
  1489. * include/freetype/internal/t2types.h: This file was merged with
  1490. cfftypes.h and is no longer necessary.
  1491. * include/freetype/internal/t2errors.h: Renamed to cfferrs.h.
  1492. * src/cff/cffobjs.c, src/cff/cffobjs.h, src/cff/cffparse.c,
  1493. src/cff/cffdrivr.c, src/cff/cff.c, src/cff/cffload.c,
  1494. src/cff/cffgload.c, src/cff/cffgload.h: Changed to use
  1495. cffgload.{c,h} instead of t2gload.{c,h}. All occurrences of t2_
  1496. (T2_) were replaced with cff_ (CFF_, respectively).
  1497. * src/cff/t2gload.h: Renamed cffgload.h.
  1498. * src/cff/t2gload.c: Renamed cffgload.c
  1499. 2000-01-02 Jouk Jansen <joukj@hrem.stm.tudelft.nl>
  1500. * builds/vms: Support files for VMS architecture added.
  1501. * descrip.mms, src/*/descrip.mms: VMS makefiles added.
  1502. * README.VMS: New file.
  1503. 2000-01-01 Werner Lemberg <wl@gnu.org>
  1504. * LICENSE.TXT: Added info about PCF driver license.
  1505. 2001-01-01 Francesco Zappa Nardelli <francesco.zappa.nardelli@ens.fr>
  1506. * src/pcf/*: New driver module for PCF font format (used in
  1507. X Window System).
  1508. * include/freetype/internal/ftdebug.h (FT_Trace): Added values for
  1509. PCF driver.
  1510. * include/freetype/internal/pcftypes.h: New file.
  1511. * include/freetype/config/ftmodule.h: Added PCF driver module.
  1512. 2001-01-01 Werner Lemberg <wl@gnu.org>
  1513. * src/winfonts/winfnt.c (FNT_Get_Char_Index): Fix parameter type.
  1514. 2000-12-31 Werner Lemberg <wl@gnu.org>
  1515. * builds/modules.mk (clean_module_list): Fixed deletion of module
  1516. file in case `make make_module_list' is called before `make setup'.
  1517. 2000-12-30 Werner Lemberg <wl@gnu.org>
  1518. * src/cff/cffload.c (CFF_Load_Charset): Improved error messages.
  1519. (CFF_Load_Charset, CFF_Load_Encoding): Remove unnecessary variable
  1520. definition.
  1521. 2000-12-30 Tom Kacvinsky <tkacvins@freetype.org>
  1522. * include/freetype/internal/t2types.h,
  1523. include/freetype/internal/cfftypes.h: Changed the structures for
  1524. CFF_Encoding and CFF_Encoding for the new implementations of the
  1525. charset and encoding parsers in the CFF driver.
  1526. * src/cff/t2gload.c (t2_lookup_glyph_by_stdcharcode,
  1527. t2_operator_seac): Added these functions for use in implementing the
  1528. seac emulation provided by the Type 2 endchar operator.
  1529. (T2_Parse_CharStrings): Added seac emulation for the endchar
  1530. operator.
  1531. * src/cff/cffload.c (CFF_Load_Encoding, CFF_Load_Charset,
  1532. CFF_Done_Encoding, CFF_Done_Charset): Extended to load and parse the
  1533. charset/encoding tables, and free the memory used by them when the
  1534. CFF driver is finished with them. Added tables
  1535. cff_isoadobe_charset
  1536. cff_expert_charset
  1537. cff_expertsubset_charset
  1538. cff_standard_encoding
  1539. cff_expert_encoding
  1540. so that the encoding/charset parser can handle predefined encodings and
  1541. charsets.
  1542. 2000-12-24 Tom Kacvinsky <tkacvins@freetype.org>
  1543. * src/cff/t2gload.c (T2_Load_Glyph): Added code so that the font
  1544. transform is applied.
  1545. * src/cff/cffparse.c (cff_parse_font_matrix): Added code so that
  1546. the font matrix numbers are scaled by 1/(matrix->yy). Also, the
  1547. offset vector now contains integer values instead of 16.16 fixed
  1548. numbers.
  1549. 2000-12-22 Tom Kacvinsky <tkacvins@freetype.org>
  1550. * src/autohint/ahhint.c (ah_hinter_load_glyph):
  1551. Removed unnecessary comments and commented-out code.
  1552. 2000-12-21 David Turner <david.turner@freetype.org>
  1553. * src/cid/cidafm.c, src/cid/cidafm.h: removed un-needed files,
  1554. we'll work on supporting CID AFM files later I guess :-)
  1555. 2000-12-21 Tom Kacvinsky <tkacvins@freetype.org>
  1556. * src/autohint/ahhint.c (ah_hinter_load, ah_hinter_load_glyph):
  1557. Changed so that fonts with a non-standard FontMatrix render
  1558. correctly. Previously, the first glyph rendered from such a
  1559. font did not have the transformation matrix applied.
  1560. 2000-12-17 Werner Lemberg <wl@gnu.org>
  1561. * *.mk: Added lots of `.PHONY' targets.
  1562. 2000-12-17 Karsten Fleischer <kfleisc1@ford.com>
  1563. * *.mk: Implemented `platform' target to disable auto-detection.
  1564. 2000-12-14 Werner Lemberg <wl@gnu.org>
  1565. * docs/design/modules.html: Removed. Covered by design-*.html.
  1566. * INSTALL: Added info about makepp.
  1567. 2000-12-14 David Turner <david.turner@freetype.org>
  1568. Added support for clipped direct rendering in the smooth renderer.
  1569. This should not break binary compatibility of existing applications.
  1570. * include/freetype/fttypes.h, include/freetype/ftimage.h: Move
  1571. definition of the FT_BBox structure from the former to the latter.
  1572. * include/freetype/ftimage.h: Add `ft_raster_flag_clip' value to
  1573. FT_Raster_Flag enumeration.
  1574. Add `clip_box' element to FT_Raster_Params structure.
  1575. * src/smooth/ftgrays.c (grays_convert_glyph): Implement it.
  1576. * INSTALL: Updated installation instructions on Win32, listing the
  1577. new `make setup list' target used to list supported
  1578. compilers/targets.
  1579. * src/raster/ftraster.c (ft_black_render): Test for unsupported
  1580. direct rendering before testing arguments.
  1581. 2000-12-13 David Turner <david.turner@freetype.org>
  1582. * include/freetype/config/ft2build.h,
  1583. include/freetype/internal/internal.h: Fixed header inclusion macros
  1584. to use direct definitions. This is the only way to do these things
  1585. in a portable way :-( The rest of the code should follow shortly
  1586. though everything compiles now.
  1587. * builds/compiler/intelc.mk, builds/compiler/watcom.mk: New files.
  1588. * builds/win32/detect.mk: Added support for the Intel C/C++
  1589. compiler, as well as _preliminary_ (read: doesn't work!) support for
  1590. Watcom. Also added a new setup target. Type `make setup list' for
  1591. a list of supported command-line compilers on Win32.
  1592. * src/base/ftdebug.c: Added dummy symbol to avoid empty file if
  1593. conditionals are off.
  1594. 2000-12-13 Werner Lemberg <wl@gnu.org>
  1595. * builds/unix/ftsystem.c: Fixed typos. Fixed inclusion of wrong
  1596. ftconfig.h file.
  1597. 2000-12-12 Werner Lemberg <wl@gnu.org>
  1598. * include/freetype/config/ft2build.h (FT2_ROOT, FT2_CONFIG_ROOT):
  1599. Removed. ANSI C doesn't (explicitly) allow macro expansion in
  1600. arguments using `##'.
  1601. (FT2_PUBLIC_FILE, FT2_CONFIG_FILE, FT2_INTERNAL_FILE): Use directory
  1602. names directly. Make them configurable. Use `##' to strip leading
  1603. and trailing spaces from arguments.
  1604. * builds/unix/ft2unix.h: Adapted.
  1605. * src/base/ftsystem.c (ft_alloc, ft_realloc, ft_free, ft_io_stream,
  1606. ft_close_stream): Use FT_CALLBACK_DEF.
  1607. * builds/unix/ftsystem.c: Use new header scheme.
  1608. (FT_Done_Memory): Use free() from FT_Memory structure.
  1609. * src/base/ftinit.c, src/base/ftmac.c: Header scheme fixes.
  1610. 2000-12-11 Werner Lemberg <wl@gnu.org>
  1611. * include/freetype/config/ft2build.h (FT2_CONFIG_ROOT,
  1612. FT2_PUBLIC_FILE, FT2_CONFIG_FILE, FT2_INTERNAL_FILE,
  1613. FT_SOURCE_FILE): Use `##' operator to be really ANSI C compliant.
  1614. 2000-12-09 Werner Lemberg <wl@gnu.org>
  1615. * builds/unix/detect.mk: Remove unused USE_CFLAGS variable.
  1616. 2000-12-08 Werner Lemberg <wl@gnu.org>
  1617. * */*.h: Changed body inclusion macro names to start and end with
  1618. `__' (those which haven't converted yet). Fixed minor conversion
  1619. issues.
  1620. * src/winfonts/winfnt.c: Updated to new header inclusion scheme.
  1621. * src/truetype/ttinterp.c: Remove unused CALC_Length() macro.
  1622. 2000-12-07 David Turner <david.turner@freetype.org>
  1623. * */*.[ch]: Changed source files to adhere to the new
  1624. header inclusion scheme. Not completely tested but works for now
  1625. here.
  1626. * src/cff/t2driver.c: Renamed and updated to...
  1627. * src/cff/cffdrivr.c: New file.
  1628. * src/cff/t2driver.h: Renamed and updated to...
  1629. * src/cff/cffdrivr.h: New file.
  1630. * src/cff/t2load.c: Renamed and updated to...
  1631. * src/cff/cffload.c: New file.
  1632. * src/cff/t2load.h: Renamed and updated to...
  1633. * src/cff/cffload.h: New file.
  1634. * src/cff/t2objs.c: Renamed and updated to...
  1635. * src/cff/cffobjs.c: New file.
  1636. * src/cff/t2objs.h: Renamed and updated to...
  1637. * src/cff/cffobjs.h: New file.
  1638. * src/cff/t2parse.c: Renamed and updated to...
  1639. * src/cff/cffparse.c: New file.
  1640. * src/cff/t2parse.h: Renamed and updated to...
  1641. * src/cff/cffparse.h: New file.
  1642. * src/cff/t2tokens.h: Renamed and updated to...
  1643. * src/cff/cfftoken.h: New file.
  1644. * src/cff/cff.c, src/cff/rules.mk: Updated.
  1645. 2000-12-06 David Turner <david.turner@freetype.org>
  1646. * src/cache/ftlru.c (FT_Lru_Done): Fixed memory leak.
  1647. 2000-12-06 Werner Lemberg <wl@gnu.org>
  1648. * builds/module.mk: Replaced `xxx #' with `xxx$(space).
  1649. * builds/os2/detekt.mk, builds/win32/detekt.mk: Moved comment to
  1650. avoid trailing spaces in variable.
  1651. * builds/freetype.mk: Use $(D) instead of $D to make statement more
  1652. readable.
  1653. * docs/docmaker.py: Formatting.
  1654. 2000-12-05 David Turner <david.turner@freetype.org>
  1655. * src/psaux/psauxmod.c: Fixed a broken inclusion of component
  1656. header files (an FT_FLAT_COMPILE test was missing).
  1657. * src/cache/ftcmanag.c (FTC_Manager_Done): Fixed a bug that caused
  1658. an occasional crash when the function was called (due to a dangling
  1659. pointer).
  1660. * src/base/ftsystem.c (FT_Done_Memory): Fixed an obvious bug:
  1661. The ANSI `free()' function was called instead of `memory->free()'.
  1662. * docs/docmaker.py: Added section filtering, multi-page generation
  1663. (index page generation is still missing though).
  1664. 2000-12-04 David Turner <david.turner@freetype.org>
  1665. * builds/unix/install.mk, builds/unix/ft2unix.h: The file `ft2unix.h'
  1666. is now installed as <ft2build.h> for Unix systems. Note that we
  1667. still use the `freetype2/freetype' installation path for now.
  1668. * */*.[ch]: Now using <ft2build.h> as the default build and setup
  1669. configuration file in all public headers. Internal source files
  1670. still need some changes though.
  1671. * builds/devel/ft2build.h, builds/devel/ftoption.h: Created a new
  1672. directory to hold all development options for both the Unix and
  1673. Win32 developer builds.
  1674. * builds/win32/detect.mk, builds/win32/w32-bccd.mk,
  1675. builds/win32/w32-dev.mk: Changed the developer build targets to
  1676. `devel-gcc' and `devel-bcc' in order to be able to develop with the
  1677. Borland C++ compiler.
  1678. 2000-12-01 David Turner <david.turner@freetype.org>
  1679. * Version 2.0.1 released.
  1680. =========================
  1681. * builds/unix/configure.in, builds/unix/configure,
  1682. builds/cygwin/configure.in, builds/cygwin/configure: Setting
  1683. `version_info' to 6:1:0 for the 2.0.1 release.
  1684. * CHANGES: Added a summary of changes between 2.0.1 and 2.0.
  1685. * builds/unix/ftconfig.in, builds/cygwin/ftconfig.in: Changes
  1686. to allow compilation under Unix with the Unix-specific config
  1687. files.
  1688. 2000-12-01 Werner Lemberg <wl@gnu.org>
  1689. * INSTALL: Revised.
  1690. * builds/compiler/bcc-dev.mk, builds/compiler/visualage.mk,
  1691. builds/compiler/bcc.mk, builds/win32/w32-bcc.mk,
  1692. builds/win32/w32-bccd.mk: Revised.
  1693. * include/freetype/config/ftbuild.h,
  1694. include/freetype/internal/internal.h: Revised.
  1695. * include/freetype/ftimage.h: Updated to new header inclusion scheme.
  1696. 2000-11-30 Werner Lemberg <wl@gnu.org>
  1697. * builds/toplevel.mk (.PHONY): Adding `distclean'.
  1698. * builds/unix/detect.mk (.PHONY): Adding `devel', `unix', `lcc',
  1699. `setup'.
  1700. 2000-11-30 David Turner <david.turner@freetype.ogr>
  1701. * INSTALL: Slightly updated the quick starter documentation to
  1702. include IDE compilation, prevent against BSD Make, and specify `make
  1703. setup' instead of a single `make' for build configuration.
  1704. * include/config/ftbuild.h, include/internal/internal.h: Added new
  1705. configuration files used to determine the location of all public,
  1706. configuration, and internal header files for FreeType 2. Modified
  1707. all headers under `include/freetype' to reflect this change. Note
  1708. that we still need to change the library source files themselves
  1709. though.
  1710. * builds/compiler/bcc.mk, builds/compiler/bcc-dev.mk,
  1711. builds/win32/w32-bcc.mk, builds/win32/w32-bccd.mk,
  1712. builds/win32/detect.mk: Added new files to support compilation with
  1713. the free Borland C++ command-line compiler. Modified the detection
  1714. rules to recognize the new `bcc32' target in `make setup bcc32'.
  1715. * src/sfnt/ttcmap.c, src/sfnt/ttpost.c, src/sfnt/ttsbit.c,
  1716. src/truetype/ttobjs.c, src/truetype/ttgload.c,
  1717. src/truetype/ttinterp.c: Fixed a few comparisons that Borland C++
  1718. didn't really like. Basically, this compiler complains when FT_UInt
  1719. is compared to FT_UShort (apparently, it promotes `UShort' to `Int'
  1720. in these cases).
  1721. 2000-11-30 Tom Kacvinsky <tkacvins@freetype.org>
  1722. * t2objs.c (T2_Init_Face): Added calculation of `face->height' for
  1723. pure CFF fonts.
  1724. * t1objs.c (T1_Init_Face): Fixed computation of `face->height'.
  1725. 2000-11-29 David Turner <david.turner@freetype.org>
  1726. * src/base/ftbbox.c (BBox_Conic_Check): Fixed a really stupid
  1727. bug in the formula used to compute the conic Bézier extrema
  1728. of non-monotonous arcs.
  1729. 2000-11-29 Werner Lemberg <wl@gnu.org>
  1730. * src/base/ftcalc.c (FT_SqrtFixed), src/base/ftobjs.c
  1731. (FT_Set_Renderer): Use FT_EXPORT_DEF.
  1732. * src/cache/ftcimage.c (FTC_Image_Cache_Lookup),
  1733. src/cache/ftcmanag.c (FTC_Manager_Done, FTC_Manager_Reset,
  1734. FTC_Manager_Lookup_Face, FTC_Manager_Lookup_Size,
  1735. FTC_Manager_Register_Cache), src/cache/ftcsbits.c
  1736. (FTC_SBit_Cache_Lookup): Ditto.
  1737. * src/include/freetype/cache/ftcglyph.h (FTC_GlyphNode_Init),
  1738. src/include/freetype/ftmac.h (FT_New_Face_From_FOND): Use FT_EXPORT.
  1739. 2000-11-29 Werner Lemberg <wl@gnu.org>
  1740. * src/sfnt/sfdriver.c: Include ttsbit.h and ttpost.h only
  1741. conditionally.
  1742. * src/truetype/ttdriver.c (Set_Char_Sizes, Set_Pixel_Sizes): Set
  1743. `size->strike_index' only conditionally.
  1744. * src/type1/t1driver.c, src/type1/t1objs.c: Include t1afm.h only
  1745. conditionally.
  1746. * src/winfonts/winfnt.h: Move all type definitions to...
  1747. * src/include/freetype/internal/fnttypes.h: New file.
  1748. * src/winfonts/winfnt.c: Use it.
  1749. 2000-11-29 ??? ??? <darin@eazel.com>
  1750. * include/freetype/internal/ftdebug.h: Replaced FT_CAT and FT_XCAT
  1751. with a direct solution (which also satisfies picky compilers).
  1752. 2000-11-28 YAMANO-UCHI Hidetoshi <mer@din.or.jp>
  1753. * src/truetype/ttobjs.c (TT_Init_Size): Fix #ifdef's to work with
  1754. disabled interpreter also.
  1755. * src/base/ftnames.c (FT_Get_Sfnt_Name_Count): Fix incorrect
  1756. parentheses.
  1757. 2000-11-26 Tom Kacvinsky <tkacvins@freetype.org>
  1758. * src/cff/t2gload.c (T2_Parse_CharStrings): Added logic to glyph
  1759. width setting code to take into account even/odd argument counts
  1760. and glyph width operand before endchar/hmoveto/vmoveto.
  1761. 2000-11-26 Werner Lemberg <wl@gnu.org>
  1762. * builds/ansi/ansi.mk: Fix inclusion order of files.
  1763. 2000-11-26 Keith Packard <keithp@keithp.com>
  1764. * src/type1/t1objs.c (T1_Init_Face): Compute style flags.
  1765. 2000-11-26 Werner Lemberg <wl@gnu.org>
  1766. * builds/compiler/ansi-cc.mk (CLEAN_LIBRARY): Fix rule and
  1767. conditional.
  1768. 2000-11-23 Werner Lemberg <wl@gnu.org>
  1769. * src/type1/t1load.c (parse_subrs, parse_charstrings): Use decrypt
  1770. function from PSAux module.
  1771. * src/type1/t1parse.c (T1_Done_Parse): Renamed to...
  1772. (T1_Finalize_Parser): New function (to avoid name clash with a
  1773. function in the PSAux module).
  1774. (T1_Decrypt): Removed since it is duplicated in the PSAux module.
  1775. (T1_Get_Private_Dict): Added `psaux' as new parameter; use decrypt
  1776. function from PSAux module.
  1777. * src/type1/t1parse.h: Adapted.
  1778. 2000-11-22 Tom Kacvinsky <tkacvins@freetype.org>
  1779. * src/cff/t2objs.c (T2_Init_Face): For pure CFF fonts, set
  1780. `root->num_faces' to `cff->num_faces' and set `units_per_EM'
  1781. to 1000.
  1782. * src/cff/t2parse.c (parse_t2_real): Fixed real number parsing
  1783. loop.
  1784. * src/cff/t2load.c (T2_Get_String): Called T2_Get_Name with a
  1785. sid that was off by one.
  1786. 2000-11-16 David Turner <david@freetype.org>
  1787. * src/autohint/ahtypes.h (AH_Hinter): Added new fields to control
  1788. auto-hinting of synthetic Type 1 fonts.
  1789. * src/autohint/ahhint.c (ah_hinter_load, ah_hinter_load_glyph):
  1790. Added auto-hinting support of synthetic Type 1 fonts.
  1791. 2000-11-12 Tom Kacvinsky <tkacvins@freetype.org>
  1792. * src/sfnt/ttload.c (TT_LookUp_Table, TT_Load_Generic_Table): Change
  1793. tracing output.
  1794. * src/sfnt/sfobjs.c (SFNT_Load_Face): Set boolean variable
  1795. `has-outline' to true only if the font has a `glyf' or `CFF ' table.
  1796. 2000-11-11 Werner Lemberg <wl@gnu.org>
  1797. * builds/win32/visualc/freetype.dsp: Fix raster1->raster and
  1798. type1z->type1.
  1799. 2000-11-11 Tom Kacvinsky <tkacvins@freetype.org>
  1800. * builds/unix/freetype-config.in, builds/cygwin/freetype-config.in:
  1801. Added a --libtool option. When freetype-config --libtool is
  1802. invoked, the absolute path to the libtool convenience library
  1803. is returned.
  1804. 2000-11-11 Werner Lemberg <wl@gnu.org>
  1805. * builds/cygwin/cygwin-def.in: Same fix as previous.
  1806. 2000-11-10 Tom Kacvinsky <tkacvins@freetype.org>
  1807. * builds/unix/unix-def.in: Add
  1808. INSTALL_PROGRAM := @INSTALL_PROGRAM@
  1809. INSTALL_SCRIPT := @INSTALL_SCRIPT@
  1810. so that installation of freetype-config does not fail.
  1811. 2000-11-10 Werner Lemberg <wl@gnu.org>
  1812. * builds/cygwin/freetype-config.in, builds/unix/freetype-config.in:
  1813. Move test down for empty --exec-prefix.
  1814. Fix --version.
  1815. * builds/cygwin/install.mk, builds/unix/install.mk: Use
  1816. $(INSTALL_SCRIPT) for installation of freetype-config.
  1817. * builds/cygwin/install.mk: Fix clean target names.
  1818. 2000-11-09 David Turner <david@freetype.org>
  1819. * Version 2.0 released.
  1820. =======================
  1821. ----------------------------------------------------------------------------
  1822. Copyright 2000, 2001, 2002, 2007 by
  1823. David Turner, Robert Wilhelm, and Werner Lemberg.
  1824. This file is part of the FreeType project, and may only be used, modified,
  1825. and distributed under the terms of the FreeType project license,
  1826. LICENSE.TXT. By continuing to use, modify, or distribute this file you
  1827. indicate that you have read the license and understand and accept it
  1828. fully.
  1829. Local Variables:
  1830. version-control: never
  1831. coding: utf-8
  1832. End: