ChangeLog


Log

Author Commit Date CI Message
Werner Lemberg 7d69560a 2002-02-08T13:11:18 cleaning
David Turner 57b8fcac 2002-02-08T10:50:12 adding comments to FT_Get_Next_Char
Werner Lemberg 60a1fab0 2002-02-08T06:23:50 some cleaning
David Turner 5a902ec2 2002-02-07T16:59:38 * src/pcf/pcfread.c (pcf_load_font): removed immature support of the AVERAGE_WIDTH property..
David Turner 27f6a05e 2002-02-06T13:59:25 support for embedded fonts in PDF documents. These often do not have a 'cmap', 'post' and 'name' table and were not loaded by FreeType previously.. (thanks to Derek B. Noonburgs from XPDF)
David Turner 0489328e 2002-02-06T11:22:56 fixing memory leak in the PCF driver, and managing the "AVERAGE_WIDTH" property in PCF fonts to return correct character pixel (width/height) pairs for embedded bitmaps..
Werner Lemberg 0f7c2f1a 2002-02-04T20:55:58 Adding the function `FT_Get_Next_Char', doing the obvious thing w.r.t. the selected charmap. * include/freetype/freetype.h: Add prototype. * include/freetype/internal/ftdriver.h: Add `FTDriver_getNextChar' typedef. (FT_Driver_Class): Use it. * include/freetype/internal/psnames.h: Add `PS_Next_Unicode_Func' typedef. (PSNames_Interface): Use it. * include/freetype/internal/tttypes.h: Add `TT_CharNext_Func' typedef. (TT_CMapTable): Use it. * src/base/ftobjs.c (FT_Get_Next_Char): New function, implementing high-level API. * src/cff/cffdrivr.c (cff_get_next_char): New function. (cff_driver_class): Add it. * src/cid/cidriver.c (Cid_Get_Next_Char): New function. (t1cid_driver_class): Add it. * src/pcf/pcfdriver.c (PCF_Get_Next_Char): New function. (pcf_driver_class): Add it. * src/psnames/psmodule.c (PS_Next_Unicode): New function. (psnames_interface): Add it. * src/sfnt/ttcmap.c (code_to_next0, code_to_next2, code_to_next4, code_to_next6, code_to_next_8_12, code_to_next_10): New auxiliary functions. (TT_CharMap_Load): Use them. * src/truetype/ttdriver.c (Get_Next_Char): New function. (tt_driver_class): Add it. * src/type1/t1driver.c (Get_Next_Char): New function. (t1_driver_class): Add it. * src/winfnt/winfnt.c (FNT_Get_Next_Char): New function. (winfnt_driver_class): Add it. * src/pcf/pcfread.c (pcf_load_font): For now, report Unicode for Unicode and Latin 1 encodings.
Werner Lemberg 3604d5f5 2002-02-02T15:05:38 * builds/unix/freetype-config.in: Add missing `fi'.
David Turner 4c400111 2002-02-01T09:22:39 increasing FREETYPE_PATCH to 7
Werner Lemberg 32b53461 2002-02-01T01:20:11 Formatting.
David Turner 944b7298 2002-01-31T17:42:05 updating documentation for 2.0.7
Werner Lemberg b0e06e0b 2002-01-30T22:37:52 Fix ChangeLog.
David Turner a40fb43d 2002-01-30T12:56:16 moved INSTALL to docs/INSTALL to get rid of conflicts with the "install" script on Windows (where the file system doesn't preserve CASE)
David Turner 09c14ae7 2002-01-29T18:13:54 fixed the "configure" script in the top-level directory.. It didn't work correctly when several arguments were passed to it. For example, when typing: ./configure --disable-shared --prefix=/usr the "--prefix=/usr" was incorrectly sent to the "make" program..
Werner Lemberg 12a8741e 2002-01-29T01:11:23 * README.UNX: Fix typo. * builds/unix/install.mk (uninstall): Fix library name for libtool.
Werner Lemberg a9aa69c2 2002-01-28T23:52:24 * src/pcf/pcfdriver.c (PCF_Done_Face): Fix incorrect destruction of the face object (face->toc.tables, face->root.family_name, face->root.available_size, face->charset_encoding, face->charset_registry are now freed). Thanks to Niels Moseley.
Werner Lemberg 556ad08f 2002-01-28T13:34:52 * src/type1/t1load.c (parse_encoding): Set `loader->num_chars'. * src/type1/t1load.c (parse_subrs, parse_charstrings): Use copy of `base' string for decrypting to not modify the original data.
Werner Lemberg e274290d 2002-01-28T05:04:22 * src/smooth/ftgrays.c (gray_render_scanline): Fix bug which caused bad rendering of thin lines (less than one pixel thick).
Werner Lemberg 43071cb7 2002-01-25T22:55:53 * src/cff/cffdrivr.c (cff_get_name_index): Make last patch work actually.
Werner Lemberg 8880f2c1 2002-01-25T16:05:39 * src/cache/ftccache.c (ftc_node_done, ftc_node_destroy): Fix compilation warnings. * src/base/descrip.mms (OBJS): Add `ftmm.obj'. * src/cache/descrip.mms (ftcache.obj): Dependencies added.
Antoine Leca 84712cc3 2002-01-21T21:57:38 * docs/PATENTS: Typo fixed (Thanks to Detlef "Hawkeye" Wuerkner) in the URL for the on-line resource.
Werner Lemberg 9c8ee920 2002-01-19T02:20:45 * builds/win32/ftdebug.c: New file. * builds/win32/visualc/freetype.dsp: Updated. * builds/amiga/src/base/ftsystem.c: Updated for AmigaOS 3.9. * builds/amiga/README: Updated.
Werner Lemberg 5117ff0b 2002-01-18T09:00:44 * builds/win32/visualc/freetype.dsp: Updated.
Werner Lemberg 2f260409 2002-01-13T06:36:02 * builds/unix/freetype2.a4: The script was still buggy. * builds/unix/freetype-config.in: Make it really work for any install prefix.
Werner Lemberg 51f245a6 2002-01-11T02:22:40 * builds/unix/freetype2.a4: Fix some serious bugs.
Werner Lemberg 3975e2e1 2002-01-09T21:01:18 Formatting.
David Turner db3ac3b3 2002-01-09T10:48:25 small speed-up to the anti-aliased renderer
David Turner ce9a0441 2002-01-08T18:33:55 added 'configure' and 'install' wrapper scripts to make the installation process more Unix-friendly :-)
David Turner 32ee45e0 2002-01-07T12:09:51 fixed html quoting in DocMaker
David Turner 6096b5a1 2002-01-07T10:40:48 updating documentation
David Turner 66f894e7 2002-01-07T10:05:34 * include/freetype/config/ftoption.h: setting default options for a release build (debugging off, bytecode interpreter off)
David Turner f86709a1 2002-01-07T10:04:09 * src/base/ftobjs.c, src/base/ftoutln.c, src/cache/ftccmap.c, src/cff/cffload.c, src/cff/cffobjs.c, src/pshinter/pshalgo2.c, src/sfnt/ttload.c, src/sfnt/ttsbit.c: removing small compiler warnings (in pedantic compilation modes)
Werner Lemberg ac812959 2002-01-06T16:42:44 formatting
David Turner f7f82d77 2002-01-06T10:13:40 the TrueType glyph loader is now much more paranoid, this avoids unpleasant overwrites in the case of invalid glyph data (found in the output of buggy font converters) the computation of auto-hinted stem widths has been modified to avoid certain color fringes in LCD-decimation rendering (a.k.a. "ClearType")
David Turner b1748d40 2002-01-04T16:36:42 added README.UNX for Unix users
David Turner 7fe38a51 2002-01-04T09:47:30 remove compiler warnings and a typo in builds/unix/ftsystem.c
Werner Lemberg 1a0a9793 2002-01-03T22:06:13 * src/type1/t1objs.c (T1_Face_Init): Add cast to avoid compiler warning.
David Turner c48bf37b 2002-01-03T17:08:20 * builds/unix/ftsystem.c (FT_New_Stream): added a fix to ensure that all FreeType input streams are closed in child processes of a "fork" on Unix systems. This is important to avoid (potential) access control issues..
David Turner 662b344c 2002-01-03T16:56:59 * src/type1/t1objs.c (T1_Face_Init): fixed a bug that crashed the library when dealing with certain weird fonts (like "Stalingrad", in "sadn.pfb". This font has no full font name entry.. ) * src/base/ftoutln.c, include/freetype/ftoutln.h: added the FT_Outline_Check API to check the consistency of outline data * src/base/ftobjs.c (FT_Load_Glyph): added a call to the new FT_Outline_Check to ensure that loaded glyphs are valid. This allows certain fonts like "tt1095m_.ttf" to be loaded even though it appears they contain really funky glyphs.. there still is a bug there though.. !!
Werner Lemberg d3a71dd4 2001-12-31T16:04:26 Formatting.
David Turner 1127b2bf 2001-12-30T01:30:11 improving the computation of the advance widths of auto-hinted glyphs, in order to produce better letter spacing..
Antoine Leca fb009c74 2001-12-25T20:54:33 * builds/dos/detect.mk: Correcting the order for Borland compilers: 16-bit bcc was never selected, always overriden by 32-bit bcc32.
Werner Lemberg f891f911 2001-12-23T01:38:53 * src/pfc/pcfread.c (pcf_load_font): Handle property `POINT_SIZE' and fix incorrect computation of `available_sizes'.
Werner Lemberg 3681e37d 2001-12-23T00:56:36 Formatting.
David Turner 9a9edc66 2001-12-22T16:07:52 fixing the autohinter: the advance of auto-hinted glyphs in mono-spaced fonts was incorrect
Werner Lemberg af594e60 2001-12-22T14:38:40 * builds/amiga/*: Adaptations to latest changes. Support added for MorphOS. * src/pshinter/pshrec.c (FT_COMPONENT): Redefine to `trace_pshrec'. (ps_mask_table_merge, ps_hints_open, ps_hints_stem, ps_hints_t1stem3, ps_hints_t2mask, ps_hints_t2counter): Fix FT_ERROR messages. * src/pshinter/pshalgo1.c (FT_COMPONENT): Define as `trace_pshalgo1'. * src/pshinter/pshalgo2.c (FT_COMPONENT): Define as `trace_pshalgo2'. * include/freetype/internal/ftdebug.h (FT_Trace): Updated. * docs/modules.txt: New file.
David Turner b5c7de5b 2001-12-21T21:21:13 * src/cff/cffgload.c: added a comment regarding "cntrmask" operator * src/pshinter/pshrec.c: now ignores invalid "hintmask" and "cntrmask" operators (instead of returning an error). Glyph 2028 of the CFF font "MSung-Light-Acro" couldn't be rendered otherwise (it seems its charstring is buggy, though this requires more analysis)..
David Turner 7c0d2081 2001-12-21T15:59:43 * src/cff/cffgload.c, src/psaux/t1decode.c, src/pshinter/pshrec.c, src/pshinter/ahalgo2.c, src/pshinter/pshglob.h: fixed a bug where the X and Y axis where inversed in the postscript hinter. this caused problem when displaying on non-square surfaces..
David Turner 3a664fca 2001-12-21T15:26:19 * src/cid/cidobjs.c (CID_Face_Done): fixed a memory leak, the subrs routines were never released when CID faces were destroyed
David Turner 79ea4cd4 2001-12-21T15:20:48 * src/cid/cidobjs.c (CID_Face_Done): fixed a memory leak, the subrs routines were never released when CID faces were destroyed
Werner Lemberg f05003da 2001-12-21T10:57:09 Formatting.
David Turner 0515c096 2001-12-21T04:16:42 * src/pshinter/pshglob.c (psh_globals_new): replaced a floating point constant with a fixed-float equivalent. For some reason, some compilers aren't capable of directly computing a floating pointer constant casted to FT_Fixed, and will link a math library instead !!
Werner Lemberg f41e71a1 2001-12-20T21:22:02 * src/base/ftobjs.c (FT_Done_Library): Remove compiler warning. Formatting.
Werner Lemberg 21e046e0 2001-12-20T17:49:10 Formatting. * src/cache/ftccache.c (ftc_node_destroy, ftc_cache_lookup): Fix tracing strings. * src/cache/ftccmap.c (ftc_cmap_family_init): Ditto. * src/cache/ftcmanag.c (ftc_family_table_alloc, ftc_family_table_free, FTC_Manager_Check): Ditto. * src/cache/ftcsbits.c (ftc_sbit_node_load): Ditto.
David Turner 0f58446b 2001-12-20T13:34:21 disabling bytecode interpreter
David Turner 0fcb412f 2001-12-20T13:33:03 * docs/CHANGES: updated for 2.0.6 release * src/cff/cffload.h, src/cff/cffload.c, src/cff/cffgload.c: updated to mode the definition of encoding tables within "cffload.c" instead of making them part of a shared header (causing problems in "multi" builds)
David Turner c8087481 2001-12-20T13:14:18 * docs/TODO: added "stem3 and counter hints support" to the TODO list for the Postscript hinter * docs/BUGS: closed the AUTOHINT-NO-SBITS bug. * src/pshinter/pshrec.c (t2_hint_stems), src/cff/cffobjs.h, src/cff/cffobjs.c, src/cff/cffload.c, src/cff/cffload.h, src/cff/cffgload.c, src/cff/cffgload.h, src/cff/cffdriver.c, include/freetype/internal/cfftypes.h: added Postscript hinter support to the CFF driver * src/base/ftobjs.c (FT_Done_Library): fixed a stupid bug that crashed the library on exit
David Turner 85eb6695 2001-12-20T09:36:21 * src/type1/t1gload.c (T1_Load_Glyph): enable font matrix transform on hinted glyphs.. * src/cid/cidgload.c, src/cid/cidobjs.c, src/cid/cidobjs.h, src/cid/cidriver.c, include/freetype/internal/t1types.h: added Postscript hinter support to the CID font driver !!
Werner Lemberg 0d535112 2001-12-19T22:26:12 Formatting. CFF encoding tables moved back from cffload.c to cffload.h.
David Turner 4937a3eb 2001-12-19T21:09:16 * src/truetype/ttgload.c (TT_Load_Glyph), src/base/ftobjs.c (FT_Load_Glyph): "fixed" the bug that prevented embedded bitmaps from begin loaded when the auto-hinter is used.. This actually is a hack but will be enough until the internal re-design scheduled for FreeType 2.1
David Turner c40a7e2d 2001-12-19T19:17:35 * include/freetype/cache/ftcache.h: added comments to indicate that some of the exported functions should only be used by applications that need to implement custom cache types * src/truetype/ttgload.c: fixed a nasty bug that prevent composites from loading correctly. Believe it or not, this was due to an invalid macro definition !!
David Turner 8772845c 2001-12-19T14:59:23 * src/sfnt/sfobjs.c (SFNT_Load_Face): make the "post" and "name" tables optional to load PCL fonts properly
David Turner fc3a3164 2001-12-19T14:47:28 * src/raster/ftrend1.c (ft_raster1_render): fixed a nasty outline shifting bug in the monochrome renderer. * README: updated version numbers to 2.0.6
Werner Lemberg aef3fc81 2001-12-17T16:21:22 * src/truetype/ttgload.c (load_truetype_glyph): Fix test for invalid glyph header.
Werner Lemberg c2e97a30 2001-12-16T23:53:39 Updating/Formatting.
Werner Lemberg 5da9dd77 2001-12-16T08:17:33 * src/base/ftglyph (FT_Glyph_To_Bitmap): Remove compiler warning. * include/freetype/ftcache.h (FTC_Node_Unref): Removed. It is already in ftcmanag.h. * src/cache/ftcsbits.c (ftc_sbit_node_load): Remove unused variable `gfam'. * src/cache/ftcmanag.c (ftc_family_table_alloc, * ftc_family_table_free): Use FT_EXPORT_DEF. * include/freetype/cache/ftcmanag.h: Updated. * src/cache/ftccache.c (ftc_node_destroy): Use FT_EXPORT_DEF. * src/cache/ftccmap.c (ftc_cmap_node_init): Remove unused variable `cfam'. Remove compiler warning. (FTC_CMapCache_Lookup): Remove compiler warnings. (ftc_cmap_family_init): Ditto. (FTC_CMapCache_Lookup): Ditto. * builds/unix/configure.ac: Increase `version_info' to 8:0:2. * builds/unix/configure: Regenerated. * builds/mac/README: Updated.
David Turner 59c9fea6 2001-12-14T15:14:44 * src/truetype/ttgload.c (load_truetype_glyph): fixing crash when dealing with invalid fonts (i.e. glyph size < 10 bytes)..
David Turner 7a1e2c12 2001-12-14T15:06:15 * builds/mac/freetype.mac: a new Makefile to build with MPW on MacOS classic..
David Turner bce2986d 2001-12-14T14:52:58 fixing hinted advance width bug in all font drivers
David Turner 2b30c17f 2001-12-12T16:07:29 * src/pshint/pshglob.c: adding correct BlueScale/BlueShift support, plus family blues processing * src/cff/cffgload.c: started adding support for the Postscript hinter
Werner Lemberg 2f5d1b76 2001-12-12T15:15:44 * builds/unix/freetype2.m4: Some portability fixes.
Werner Lemberg fa4ca883 2001-12-11T14:11:11 * src/base/descrip.mms (OBJS): Add ftdebug.obj.
Werner Lemberg 04bfe312 2001-12-11T14:09:06 * src/sfnt/ttload.c (TT_Load_Generic_Header): Typos.
David Turner 09feefee 2001-12-11T13:49:55 * src/base/fttrigon.c (FT_Cos): fixed a small bug that caused slightly improper results for FT_Cos and FT_Sin (example: FT_Sin(0) == -1 !!)
David Turner dd271820 2001-12-11T13:38:52 * builds/unix/freetype-config.in: modified the script to prevent passing "-L/usr/lib" to gcc * docs/FTL.TXT: simple fix (change "LICENSE.TXT" to "FTL.TXT") * builds/unix/freetype2.m4: added autoconf macro, we need to install it in $(prefix)/share/aclocal/freetype2.m4 but I didn't modified builds/unix/install.mk yet..
David Turner 7da4824d 2001-12-11T13:14:41 * include/freetype/internal/ftstream.h: fixed the definitions of GET_LongLE and GET_ULongLE which where incorrect (creating problems in the pcf driver).. * INSTALL: updated the instructions to build shared libraries with Jam.. they were simply erroneous..
David Turner 640078d4 2001-12-10T10:47:47 * src/pcf/pcfdriver.c (PCF_Init_Face): allow Xft to use PCF fonts by setting the "face->metrics.max_advance" correctly..
Werner Lemberg e9e130c0 2001-12-07T21:56:32 Formatting.
David Turner 145f94cb 2001-12-07T14:43:45 added new charmap cache. see include/freetype/cache/ftccmap.h
Leonard Rosenthol 6b2e4d4e 2001-12-07T01:51:48 Noted my Mac OS changes from today
Werner Lemberg 69905a2f 2001-12-06T18:37:52 Fix ChangeLog.
David Turner c8ad30a7 2001-12-05T17:24:34 * src/base/ftglyph.c (FT_Glyph_To_Bitmap): re-ordered code for debugging purposes.. * src/smooth/ftsmooth.c (ft_smooth_render): fixed a nasty hidden bug where outline shifting wasn't correctly undone after bitmap rasterization. this created problems with certain glyphs (like '"' of certain fonts..) and the cache system..
David Turner 14183ea0 2001-12-05T15:59:33 First of all, a big thanks to Werner and Antoine for their latest work !! * src/pshinter/pshalgo2.c (psh2_hint_table_init), src/pshinter/pshalgo1.c (psh1_hint_table_init): removed compiler warnings * include/freetype/cache/*, src/cache/*: yet another massive rewrite of the caching sub-system, in order to both increase performance and allow simpler cache sub-classing. As an example, the code for the image and sbit caches is now much simpler I still need to update the documentation in www/freetype2/docs/cache.html to reflect the new design though..
Werner Lemberg c3b21608 2001-12-05T01:22:05 Formatting. Cleaning up of ChangeLog. * docs/license.txt: s/X Windows/X Window System/. * src/raster/ftraster.c: Fix definition condition of MEM_Set(). * src/smooth/ftgrays.c (M_Y): Change value to 192. * src/base/ftdbgmem.c (ft_mem_table_destroy): Fix printf() parameter. Remove unused variable. * src/cache/ftcimage.c (ftc_image_node_init, ftc_image_node_compare): Remove unused variables. * src/cache/ftcsbits.c (ftc_sbit_node_weight): Remove unused variable. * src/raster/ftraster.c (MEM_Set): Move definition down to avoid compiler warning. * src/autohint/ahhint.c (ah_hinter_hint_edges): Use UNUSED() to avoid compiler warnings. * src/pcf/pcfread.c (tableNames): Use `const'. (pcf_read_TOC): Change counter name to avoid compiler warning. Use `const'. * src/pshinter/pshrec.c (ps_hints_close): Remove redundant declaration. * src/pshinter/pshalgo1.c (psh1_hint_table_init): Rename variables to avoid shadowing. * src/pshinter/pshalgo2.c (psh2_hint_table_activate_mask): Ditto. * src/type1/t1objs.h: Remove double declarations of `T1_Size_Init()' and `T1_Size_Done()'.
Antoine Leca d0e6ad63 2001-11-20T19:22:13 * include/freetype/ttnameid.h: Added some new Microsoft language codes and LCIDs as found in MSDN (Passport SDK). Also added comments about the meaning of bit 57 of OS/2 (TT_UCR_SURROGATES) which with OpenType v.1.3 now means "there is a character beyond FFFF in this font". Thanks to Detlef Wuerkner <TetiSoft@apg.lahn.de> for noticing this.
David Turner f2c56515 2001-11-20T01:29:34 * src/pshinter/{pshalgo2.c, pshalgo1.c}: fixed stupid bug in sorting routine that created nasty alignment artefacts. * src/pshinter/pshrec.c, tests/gview.c: debugging updates.. * src/smooth/ftgrays.c: de-activated experimental gamme support, apparently, "optimal" gamma tables depend on the monitor type, resolution and general karma, so it's better to compute them outside of the rasterizer itself..
David Turner adf07a93 2001-10-30T23:51:24 * src/smooth/ftgrays.c: adding experimental "gamma" support. This produces smoother glyphs at small sizes for very little cost * src/autohint/ahglyph.c, src/autohint/ahhint.c: various fixes to the auto-hinter. They merely improve the output of sans-serif fonts. Note that there are still problems with serifed fonts and composites (accented characters) * tests/gview.c: updated the debugging glyph viewer to show the hints generated by the "autohint" module
David Turner 75133bff 2001-10-27T17:36:04 fixed a small performance bug in the new cache sub-system implementation
Tom Kacvinsky 8d14d472 2001-10-26T18:02:15 Changed a minor typo.
Tom Kacvinsky 0805ec25 2001-10-26T18:01:32 Changed tjk@ams.org to tkacvins@freetype.org.
David Turner cd605b63 2001-10-26T16:58:27 _major_ re-design of the caching sub-system. Still using the same API though :-)
Leonard Rosenthol 91ff4225 2001-10-26T13:23:38 Added changes about MacOS stuff
Leonard Rosenthol 2f553a2c 2001-10-25T16:04:24 Added change about ftlib.prj
David Turner dcb2b27e 2001-10-24T23:33:31 updated comment explaining how to use project-specific option (and module) files
Tom Kacvinsky 40da4e40 2001-10-24T14:45:15 * builds/unix/ftsystem.c (FT_New_Memory): Added a missing `}'.
David Turner aa007cd2 2001-10-24T08:04:00 * include/freetype/internal/ftmemory.h, src/base/ftdbgmem.c: improvements to the memory debugger to report more information in case of errors. Also, some allocations that occured through REALLOC couldn't be previously catched correctly..
David Turner 3a65746f 2001-10-24T07:31:03 replaced liberal uses of "memset" by the "MEM_Set" macro call (some platforms don't provide this ANSI function !!)
David Turner 6e34ec93 2001-10-23T20:19:01 updating the debugging memory manager to run on Unix, VMS and Amiga too (since they use a custom version of "ftsystem.c" !!)
David Turner 88cdbb34 2001-10-22T15:24:32 removed bogus warnings
David Turner 950c6690 2001-10-22T14:50:41 * include/freetype/internal/ftmemory.h, src/base/ftdbgmem.c: modified the debugging memory manager to report the location (source file name + line number) where leaked memory blocks are allocated in the source file.. funny, isn't it ??