/modules/freetype2/ChangeLog.20

http://github.com/zpao/v8monkey · Unknown · 2613 lines · 1832 code · 781 blank · 0 comment · 0 complexity · 2312b780de134cb33eec4a8fd4007c74 MD5 · raw file

Large files are truncated click here to view the full file

  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_gl…