Log

Author Commit Date CI Message
Werner Lemberg 26eccb40 2004-04-13T08:35:05 * configure: Accept makepp also. * builds/unix/detect.mk: Use proper path to unix-def.mk. * builds/unix/unix-def.in (BUILD_DIR, PLATFORM): Remove. * builds/unix/unix.mk (BUILD_DIR, PLATFORM): Define. Use BUILD_DIR. * docs/INSTALL, docs/INSTALL.GNU, docs/INSTALL.UNX: Update documentation on makepp.
Antoine Leca 497cc7c4 2004-04-12T18:09:00 Jamfile to bring in the new lzw module. My first try at this exercise, please report problems, I lack experience! Antoine
Werner Lemberg 161438c5 2004-04-12T15:31:30 * src/lzw/zopen.c: Don't include sys/param.h and sys/stat.h.
Werner Lemberg 391de1a6 2004-04-11T16:44:54 * src/lzw/ftlzw.c: Include zopen.h dependent on FT_CONFIG_OPTION_USE_LZW. * src/base/ftdebug.c: s/index/idx/ to avoid compiler warnings.
David Turner 4c03580f 2004-04-05T22:35:00 file Jamfile was initially added on branch LAYOUT.
David Turner 746b91f7 2004-04-05T22:16:12 file oterrors.h was initially added on branch LAYOUT.
David Turner a578d8e4 2004-04-05T22:16:12 file otdemo.c was initially added on branch LAYOUT.
David Turner 50bec622 2004-04-05T22:16:12 file otobjs.c was initially added on branch LAYOUT.
David Turner ff39eca2 2004-04-05T22:16:12 file otltypes.h was initially added on branch LAYOUT.
David Turner d33e7d87 2004-04-05T22:16:12 file otdriver.h was initially added on branch LAYOUT.
David Turner e7b385cc 2004-04-05T22:16:12 file ot-unicode.h was initially added on branch LAYOUT.
David Turner 614d7197 2004-04-05T22:16:12 file otdriver.c was initially added on branch LAYOUT.
David Turner fea640a4 2004-04-05T22:16:12 file otobjs.h was initially added on branch LAYOUT.
David Turner d28d8587 2004-04-05T22:16:12 file rules.mk was initially added on branch LAYOUT.
David Turner 22e3ea5c 2004-04-05T22:16:12 file ot.c was initially added on branch LAYOUT.
David Turner 4af82cd8 2004-04-05T22:16:12 file otlayout.c was initially added on branch LAYOUT.
David Turner 4e7c4d38 2004-04-05T22:16:11 file ot-array.c was initially added on branch LAYOUT.
David Turner 732e7b5f 2004-04-05T22:16:11 file ot-info.c was initially added on branch LAYOUT.
David Turner 17ab9c96 2004-04-05T22:16:11 file ftxgsub.h was initially added on branch LAYOUT.
David Turner 9265ad59 2004-04-05T22:16:11 file ot-array.h was initially added on branch LAYOUT.
David Turner 1c963405 2004-04-05T22:16:11 file ot-ruleset.c was initially added on branch LAYOUT.
David Turner fd9176c7 2004-04-05T22:16:11 file ot-types.h was initially added on branch LAYOUT.
David Turner 89bfe8f0 2004-04-05T22:16:11 file ftxopenf.h was initially added on branch LAYOUT.
David Turner 58eda203 2004-04-05T22:16:11 file ftxgpos.h was initially added on branch LAYOUT.
David Turner ba0235dc 2004-04-05T22:16:11 file ftxopen.c was initially added on branch LAYOUT.
David Turner 5d4bac8a 2004-04-05T22:16:11 file ot-ruleset.h was initially added on branch LAYOUT.
David Turner 35837346 2004-04-05T22:16:11 file ftxgsub.c was initially added on branch LAYOUT.
David Turner 245910eb 2004-04-05T22:16:11 file ot-unicode.c was initially added on branch LAYOUT.
David Turner a5686490 2004-04-05T22:16:11 file module.mk was initially added on branch LAYOUT.
David Turner 91e427a0 2004-04-05T22:16:11 file ot-info.h was initially added on branch LAYOUT.
David Turner d22f51c3 2004-04-05T22:16:11 file ftxopen.h was initially added on branch LAYOUT.
David Turner f8e7b708 2004-04-05T22:16:10 file gxlayout.h was initially added on branch LAYOUT.
David Turner d2a980b5 2004-04-05T22:16:10 file gxobjs.h was initially added on branch LAYOUT.
David Turner 2145381d 2004-04-05T22:16:10 file gxaccess.c was initially added on branch LAYOUT.
David Turner 40f1aa11 2004-04-05T22:16:10 file otlayout.h was initially added on branch LAYOUT.
David Turner 82fc217a 2004-04-05T22:16:10 file gxvm.c was initially added on branch LAYOUT.
David Turner 83e92c1a 2004-04-05T22:16:10 file fi.c was initially added on branch LAYOUT.
David Turner cfe6687b 2004-04-05T22:16:10 file ftltypes.h was initially added on branch LAYOUT.
David Turner 8b0540a4 2004-04-05T22:16:10 file gxltypes.h was initially added on branch LAYOUT.
David Turner 2ba203d6 2004-04-05T22:16:10 file gxlfeatreg.c was initially added on branch LAYOUT.
David Turner bd6e5719 2004-04-05T22:16:10 file svlayout.h was initially added on branch LAYOUT.
David Turner 846d1419 2004-04-05T22:16:10 file gxdriver.h was initially added on branch LAYOUT.
David Turner feb8752b 2004-04-05T22:16:10 file gxobjs.c was initially added on branch LAYOUT.
David Turner d2805804 2004-04-05T22:16:10 file fterrcompat.h was initially added on branch LAYOUT.
David Turner 0a970758 2004-04-05T22:16:10 file ftxgdef.h was initially added on branch LAYOUT.
David Turner 5f8622b4 2004-04-05T22:16:10 file demo.mk was initially added on branch LAYOUT.
David Turner 9f92bb7e 2004-04-05T22:16:10 file ftxgdef.c was initially added on branch LAYOUT.
David Turner 8e65d4e1 2004-04-05T22:16:10 file ftxgpos.c was initially added on branch LAYOUT.
David Turner 783ebb28 2004-04-05T22:16:10 file README was initially added on branch LAYOUT.
David Turner 702d44e3 2004-04-05T22:16:10 file ftlayout.c was initially added on branch LAYOUT.
David Turner 0881f69b 2004-04-05T22:16:10 file gxerrors.h was initially added on branch LAYOUT.
David Turner c0ffb2e4 2004-04-05T22:16:10 file gxutils.h was initially added on branch LAYOUT.
David Turner 9d64b63f 2004-04-05T22:16:10 file gxfeatreg.h was initially added on branch LAYOUT.
David Turner 83a1807a 2004-04-05T22:16:10 file gxload.h was initially added on branch LAYOUT.
David Turner 8792d834 2004-04-05T22:16:10 file gxfeatreg.c was initially added on branch LAYOUT.
David Turner 4ac5f853 2004-04-05T22:16:10 file gxdump.h was initially added on branch LAYOUT.
David Turner 1e6b8e90 2004-04-05T22:16:10 file gxdemo.c was initially added on branch LAYOUT.
David Turner 45471f61 2004-04-05T22:16:10 file gx.c was initially added on branch LAYOUT.
David Turner 9a386fe7 2004-04-05T22:16:10 file gxdriver.c was initially added on branch LAYOUT.
David Turner 74ab4701 2004-04-05T22:16:10 file gxvm.h was initially added on branch LAYOUT.
David Turner c1e5a3d6 2004-04-05T22:16:10 file gxload.c was initially added on branch LAYOUT.
David Turner 5cb8ee1d 2004-04-05T22:16:10 file gxtypes.h was initially added on branch LAYOUT.
David Turner fed172e2 2004-04-05T22:16:10 file gxstatetbl.c was initially added on branch LAYOUT.
David Turner 9ff92778 2004-04-05T22:16:10 file gxlayout.c was initially added on branch LAYOUT.
David Turner c9637485 2004-04-05T22:16:10 file gxutils.c was initially added on branch LAYOUT.
David Turner 96b2e20e 2004-04-05T22:16:10 file gxdump.c was initially added on branch LAYOUT.
David Turner c46f3791 2004-04-05T22:16:10 file gxlookuptbl.h was initially added on branch LAYOUT.
David Turner 4d79423a 2004-04-05T22:16:10 file gxaccess.h was initially added on branch LAYOUT.
David Turner f9412430 2004-04-05T22:16:10 file gxstatetbl.h was initially added on branch LAYOUT.
David Turner 0a5511bc 2004-04-05T22:16:10 file gxlfeatreg.h was initially added on branch LAYOUT.
David Turner 83fa0eb3 2004-04-05T22:16:10 file gxlookuptbl.c was initially added on branch LAYOUT.
David Turner a4800136 2004-04-05T22:16:09 file ftlayout.txt was initially added on branch LAYOUT.
David Turner f29c1c5e 2004-04-05T22:16:09 file ftlayout.h was initially added on branch LAYOUT.
Werner Lemberg 7947796c 2004-04-03T20:13:43 * builds/unix/ltmain.sh: Regenerated with `libtoolize --force --copy' from libtool 1.5.2. * builds/unix/aclocal.m4: Regenerated with `aclocal -I .' from automake 1.8a. * builds/unix/configure: Regenerated with autoconf 2.59a.
Werner Lemberg 33e90642 2004-04-02T07:13:53 * builds/unix/ft-munmap.m4 (FT_MUNMAP_PARAM): Fix arguments of AC_COMPILE_IFELSE. * builds/unix/aclocal.m4: Regenerated with `aclocal -I .' from automake 1.8a. * builds/unix/configure: Regenerated with autoconf 2.59a. * builds/unix/config.guess, builds/unix/config.sub: Updated from `config' CVS module at subversions.gnu.org * builds/unix/install-sh, builds/unix/mkinstalldirs: Updated from `texinfo' CVS module at subversions.gnu.org. * builds/freetype.mk (refdoc): Updated.
Werner Lemberg 611eaa7f 2004-04-01T20:35:57 Handle broken FNT files which don't have a trailing NULL byte in the face name string. * src/winfnt/winfnt.h (FNT_FontRec): New member `family_name'. * src/winfnt/winfnt.c (fnt_font_done): Free font->family_name. (FNT_Face_Init): Append a final zero byte to the font face name. * src/sfnt/ttload.c (tt_face_load_sfnt_header): Fix change from 2004-03-19.
Werner Lemberg aeaafaa2 2004-03-30T07:58:20 * src/base/descrip.mms (OBJS): Add ftbbox.obj.
Werner Lemberg 8bb07e63 2004-03-27T08:43:17 Add vertical phantom points. * include/freetype/internal/tttypes.h (TT_LoaderRec): Add `top_bearing', `vadvance', `pp3, and `pp4'. * src/autofit/afloader.c (af_loader_load_g): Handle two more points. * src/autohint/ahhint.c (ah_hinter_load): Handle two more points. * src/truetype/ttgload.c (Get_VMetrics): New function. (TT_Load_Simple_Glyph, TT_Process_Simple_Glyph): Handle two more points. (load_truetype_glyph): Use Get_VMetrics. Handle two more points. (compute_glyph_metrics): Thanks to vertical phantom points we now can always compute `advance_height' and `top_bearing'. * src/truetype/ttobjs.h (TT_SubglyphRec): Add vertical phantom points. * src/autohint/ahglyph.c (ah_outline_load): Fix allocation of `news'. Converting some files to Unix end-of-line convention.
Werner Lemberg 60e0a4d5 2004-03-22T09:25:04 * src/bdf/bdfdrivr.c (BDF_Glyph_Load): Fix left side bearing.
Werner Lemberg 9a38e3dd 2004-03-20T20:44:45 * src/cache/ftcmru.c (FTC_MruList_RemoveSelection): Handle a NULL value for `selection' as `select all'.
Werner Lemberg 2630e54d 2004-03-20T14:26:38 * src/sfnt/ttload.c (tt_face_load_sfnt_header): Reject face_index values > 0 if loading non-TTC fonts. * src/base/ftmac.c (open_face_from_buffer): Set positive face_index to zero before calling FT_Open_Face. * docs/CHANGES: Updated.
Werner Lemberg 0113f26b 2004-03-05T10:09:20 Delete Jamfile.in, add include/freetype/ftlzw.h.
Werner Lemberg 42153c88 2004-03-05T10:07:37 LZW support
Werner Lemberg 6ea2054f 2004-03-05T10:07:37 Initial revision
Werner Lemberg dfa46199 2004-03-05T09:26:24 * Jamfile, vms_make.com, builds/win32/visualc/freetype.dsp, builds/win32/visualc/freetype/vcproj, include/freetype/ftmoderr.h: Add LZW module. * Jamfile.in: Removed. * docs/CHANGES: Updated. * include/freetype/internal/ftobjs.h: s/MIN/FT_MIN/, s/MAX/FT_MAX/, s/ABS/FT_ABS/. Updated all callers. * src/type1/t1load.c (parse_dict), src/pcf/pcfdrivr.c (PCF_Face_Init): Use FT_ERROR_BASE. Add support for PCF fonts compressed with LZW (extension .pcf.Z, created with `compress'). * include/freetype/config/ftoption.h, devel/ftoption.h (FT_CONFIG_OPTION_USE_LZW): New macro. * include/freetype/ftlzw.h: New file. * include/freetype/config/ftheader.h (FT_LZW_H): New macro for ftlzw.h. * src/lzw/*: New files. * src/pcf/pcfdrivr.c: Include FT_LZW_H. (PCF_Face_Init): Try LZW also. * src/gzip/ftgzip.c: s/0/Gzip_Err_Ok/ where appropriate. Beautify.
Werner Lemberg ed279ac7 2004-03-03T16:06:17 * src/pshinter/pshalgo.c (psh_hint_table_init): Simplify code.
Werner Lemberg bfb712fb 2004-03-03T08:21:12 Add embedded bitmap support to CFF driver. * src/cff/cffobjs.h (CFF_SizeRec): New structure. * src/cff/cffgload.c (cff_builder_init): Updated. (cff_slot_load): Updated. [TT_CONFIG_OPTION_EMBEDDED_BITMAPS]: Load sbit. * src/cff/cffobjs.c (sbit_size_reset) [TT_CONFIG_OPTION_EMBEDDED_BITMAPS]: New function. (cff_size_get_globals_funcs, cff_size_done, cff_size_init): Updated. (cff_size_reset): Updated. [TT_CONFIG_OPTION_EMBEDDED_BITMAPS]: Call sbit_size_reset. * src/cff/cffdrivr.c (Load_Glyph): Updated. (cff_driver_class): Use CFF_SizeRec. * docs/CHANGES: Updated.
Werner Lemberg 0399e121 2004-03-02T07:01:20 * src/pshinter/pshglob.c (psh_globals_scale_widths): Don't use FT_RoundFix but FT_PIX_ROUND. (psh_blues_snap_stem): Don't use blue_shift but blue_threshold. *src/pshinter/pshalgo.c (PSH_STRONG_THRESHOLD_MAXIMUM): New macro. (psh_glyph_find_string_points): Use PSH_STRONG_THRESHOLD_MAXIMUM. (psh_glyph_find_blue_points): New function. Needed for fonts like p052003l.pfb (URW Palladio L Roman) which have flex curves at the base line within blue zones, but the flex curves aren't covered by hints. (ps_hints_apply): Use psh_glyph_find_blue_points.
Werner Lemberg ca7ef5ee 2004-02-28T19:12:01 * builds/unix/configure.ac: Fix compiler flags for `--with-old-mac-fonts'. * builds/unix/configure: Regenerated. * src/base/ftmac.c: s/TARGET_API_MAC_CARBON/!TARGET_API_MAC_OS8/. (FT_New_Face_From_Resource): New function. (FT_New_Face): Use FT_New_Face_From_Resource. (FT_New_Face_From_FSSpec): Use FT_New_Face_From_Resource. [__MWERKS__]: Don't include FSp_fopen.h.
Werner Lemberg 4387e430 2004-02-27T20:33:53 Fix ChangeLog.
Werner Lemberg d4af90b2 2004-02-27T20:32:39 * src/pshinter/pshglob.c (psh_globals_new): Fix value of `dim->stdw.count'. Don't assign default values to blue scale and blue shift.
Werner Lemberg e2455bad 2004-02-26T21:56:27 * docs/CHANGES: Updated. Improve MacOS fond support. Provide a new API `FT_New_Face_From_FSSpec' similar to `FT_New_Face'. * src/base/ftmac.c [__MWERKS__]: Include FSp_fpopen.h. STREAM_FILE [__MWERKS__]: New macro. (ft_FSp_stream_close, ft_FSp_stream_io) [__MWERKS__]: New functions. (file_spec_from_path) [__MWERKS__]: Updated #if statement. (get_file_type, make_lwfn_spec): Use `const' for argument. (is_dfont) [TARGET_API_MAC_CARBON]: Removed. (count_face_sfnt, count_faces): New functions. (parse_fond): Do some range checking. (read_lwfn): Change type of second argument. No longer call FSpOpenResFile. (OpenFileAsResource): New function. (FT_New_Face_From_LWFN): Use `const' for second argument. Use OpenFileAsResource. (FT_New_Face_From_Suitcase): Change type of second argument. No longer call FSpOpenResFile. Loop over all resource indices. (FT_New_Face_From_dfont) [TARGET_API_MAC_CARBON]: Removed. (FT_GetFile_From_Mac_Name): Use `const' for first argument. (ResourceForkSize): Removed. (FT_New_Face): Updated to use new functions. (FT_New_Face_From_FSSpec): New function. * include/freetype/ftmac.h: Updated.
Werner Lemberg 50aedae2 2004-02-26T09:08:51 * src/autohint/ahhint.c (ah_hinter_load) <FT_GLYPH_FORMAT_OUTLINE>: Handle case where outline->num_vedges is zero while computing hinted metrics. * src/cff/cffcmap.c (cff_cmap_unicode_init): Provide correct value for `count'.
Werner Lemberg 675431be 2004-02-25T21:17:49 * include/freetype/t1tables.h (PS_PrivateRec): Add `expansion_factor'. * src/pshinter/pshglob (psh_blues_scale_zones): Fix computation of blues->no_overshoots -- `blues_scale' is stored with a magnification of 1000, and `scale' returns fractional pixels. * src/type1/t1load.c (T1_Open_Face): Initialize `blue_shift', `blue_fuzz', `expansion_factor', and `blue_scale' according to the Type 1 specification. * src/type1/t1tokens.h: Handle `ExpansionFactor'. * docs/CHANGES: Updated.
Werner Lemberg 75435334 2004-02-25T12:58:54 Provide generic access to MacOS resource forks. * src/base/ftrfork.c, include/freetype/internal/ftrfork.h: New files. * src/base/ftobjs.c: Include FT_INTERNAL_RFORK_H. (Mac_Read_POST_Resource, Mac_Read_sfnt_Resource): Remove arguments `resource_listoffset' and `resource_data' and adapt code accordingly. These values are calculated outside of the function now. Add new argument `offsets'. (IsMacResource): Use `FT_Raccess_Get_HeaderInfo' and `FT_Raccess_Get_DataOffsets'. (load_face_in_embedded_rfork): New function. (load_mac_face): Use load_face_in_embedded_rfork. (ft_input_stream_new): Renamed to... (FT_Stream_New): This. Use FT_BASE_DEF. Updated all callers. (ft_input_stream_free): Renamed to... (FT_Stream_Free): This. Use FT_BASE_DEF. Updated all callers. * src/base/ftbase.c: Include ftrfork.c. * src/base/rules.mk (BASE_SRC), src/base/Jamfile: Updated. * include/freetype/internal/internal.h (FT_INTERNAL_RFORK_H): New macro. * include/freetype/internal/fttrace.h: Added `rfork' as a new trace definition. * include/freetype/internal/ftstream.h: Declare FT_Stream_New and FT_Stream_Free. * include/freetype/config/ftoption.h, devel/ftoption.h (FT_CONFIG_OPTION_GUESSING_EMBEDDED_RFORK): New option. * include/freetype/config/ftstdlib.h (ft_strrchr): New macro.
Werner Lemberg 460355a5 2004-02-24T07:52:45 * docs/CHANGES: Updated. * include/freetype/internal/ftdebug.h: Include FT_FREETYPE_H. Provide a simple API to control FreeType's tracing levels. * include/freetype/internal/ftdebug.h (FT_Trace_Get_Count, FT_Trace_Get_Name): New declarations. * src/base/ftdebug.c (FT_Trace_Get_Count, FT_Trace_Get_Name): New functions.
David Turner 9bfbf79c 2004-02-23T21:08:37 adding support for dummy script, i.e. no-hinting for non latin glyphs
David Turner 1029ed26 2004-02-23T20:40:30 * src/autofit/afhints.c, src/autofit/afhints.h, src/autofit/aflatin.c, src/autofit/afloader.c, src/types.h: grave bugs were fixed. The auto-fitter works, doesn't crashes, but still produces unexpected results !!
Werner Lemberg 4cb09724 2004-02-23T18:22:32 * src/pshinter/pshalgo.c (PSH_STRONG_THRESHOLD): Changed to hold the accepted shift for strong points in fractional pixels (which is a heuristic value). (psh_glyph_find_strong_points): Compute threshold for psh_hint_table_find_strong_points. (psh_hint_table_find_strong_point): Add parameter to pass threshold.
Werner Lemberg a5724ef8 2004-02-21T16:47:20 * src/pshinter/pshrec.c (ps_mask_table_set_bits): Don't call ps_mask_table_alloc but ps_mask_table_last. (ps_hints_t2mask): Use correct position and number for vertical and horizontal hinter mask bits. * docs/CHANGES: Updated.