src


Log

Author Commit Date CI Message
Werner Lemberg bff86cbe 2002-06-26T05:58:24 Minor fixes and grammatical corrections/additions.
Werner Lemberg 9cbb166d 2002-06-22T13:35:41 Minor fixes. Formatting.
David Turner 0460c1d9 2002-06-22T10:07:24 * include/freetype/internal/t42types.h, src/base/fttype1.c, src/type42/t42objs.h: removed duplicate definition of T42_FaceRec
David Turner 37b263e9 2002-06-22T09:36:53 * src/pfr/pfrgload.c (pfr_glyph_load_compound): fixing a small composite glyph loader bug that caused accents to be misplaced in a number of glyphs..
David Turner 38f8e894 2002-06-21T07:33:23 * src/pfr/pfrobjs.h, src/pfr/pfrobjs.c, src/pfr/pfrload.c, src/pfr/pfrtypes.h: adding Kerning support to the PFR driver
Werner Lemberg 7e3df82e 2002-06-20T21:03:48 * src/base/fttype1.c: Include FT_INTERNAL_TYPE42_TYPES_H. (t1_face_check_cast): Removed. (FT_Get_PS_Font_Info): Make it work with CID and Type 42 drivers also. * src/type42/t42parse.c (t42_parse_sfnts): Fix compiler warning.
Werner Lemberg 87a2bc7b 2002-06-20T10:57:04 * src/base/ftoutln.c (FT_Vector_Transform): Fix serious typo (xy <-> yx). * src/truetype/ttgload.c (load_truetype_glyph): Replace `|' with `||' to make code easier to read.
Werner Lemberg 0657a8ac 2002-06-19T19:43:15 * src/type42/t42objs.c (t42_check_size_change): Removed. (T42_Size_SetChars, T42_Size_SetPixels): Use FT_Activate_Size instead. (T42_GlyphSlot_Load): Remove call to t42_check_size_change.
Werner Lemberg 0bb4a0f9 2002-06-19T15:57:55 * src/psaux/t1cmap.c (t1_cmap_custom_char_index, t1_cmap_custom_char_next): Fix index computation -- indices start with 0 and not with cmap->first. Provide default charmaps. * src/bdf/bdfdrivr.c (BDF_Face_Init), src/pcf/pcfdriver.c (PCF_Face_Init), src/pfr/pfrobjs.c (pfr_face_init), src/type1/t1objs (T1_Face_Init), src/winfonts/winfnt.c (FNT_Face_Init): Implement it.
Werner Lemberg 3afd706d 2002-06-18T20:30:13 * src/pfr/pfrobjs.c (pfr_face_init): Fix typo.
Werner Lemberg 0270c36c 2002-06-17T08:01:32 Install freetype2.m4. * builds/unix/install.mk (install, uninstall): Handle it. Fix glyph indices for PFR driver. * src/pfr/pfrcmap.c (pfr_cmap_char_index, pfr_cmap_char_next): Increase return value by 1. * src/pfr/pfrobjs.c (pfr_slot_load): Decrease index by 1.
Werner Lemberg fd97d137 2002-06-16T01:14:16 Fix glyph indices to make index zero always the undefined glyph. * src/bdf/bdfdrivr.c (bdf_cmap_init): Don't decrease cmap->num_encodings. (bdf_cmap_char_index, bdf_cmap_char_next, BDF_Get_Char_Index): Increase result by 1 for normal cases. (BDF_Glyph_Load): Decrease index by 1. * src/pcf/pcfdriver.c (pcf_cmap_char_index, pcf_cmap_char_next, PCF_Char_Get_Index): Increase result by 1 for normal cases. (PCF_Glyph_Load): Decrease index by 1. * src/pcf/pcfread.c (pcf_get_encodings): Don't decrease j for allocating `encoding'. * src/base/ftobjs.c (FT_Load_Glyph, FT_Get_Glyph_Name): Fix bounding tests.
Werner Lemberg d2e3d4ff 2002-06-14T08:54:02 Add new cmap support to BDF driver * src/bdf/bdfdrivr.c (BDF_CMapRec) [FT_CONFIG_OPTION_USE_CMAPS]: New structure. (bdf_cmap_init, bdf_cmap_done, bdf_cmap_char_index, bdf_cmap_char_next) [FT_CONFIG_OPTION_USE_CMAPS]: New functions. (BDF_Get_Char_Index) [!FT_CONFIG_OPTION_USE_CMAPS]: Use only conditionally. (BDF_Face_Init): Handle `AVERAGE_WIDTH' and `POINT_SIZE' keywords. Implement new cmap handling. (bdf_driver_class): Updated.
Werner Lemberg bd8e324a 2002-06-12T08:43:58 * src/bdf/bdflib.c: s/FT_Short/short/ for consistency.
David Turner a1e45652 2002-06-11T20:35:58 * builds/win32/ftdebug.c: added a missing #endif * src/sfnt/ttload.c, src/bdf/bdflib.c: removing compiler warnings * src/type42/t42objs.c: removed the bug that prevented un-hinted outlines to be loaded
David Turner 25a6e3a1 2002-06-10T23:03:35 * include/freetype/internal/ftobjs.h, src/autohint/ahglyph.c, src/base/ftobjs.c, src/objs/fttype1.c, src/sfnt/ttcmap0.c, src/smooth/ftgrays.c: changed uses of "setjmp" and "longjmp" to "ft_setjmp" and "ft_lonjmp". Removed direct references to <stdio.h> and <setjmp.h> when appropriate, to eventually replace them with a FT_CONFIG_STANDARD_LIBRARY_H. Useful for the XFree86 Font Server backend based on FT2.
David Turner b1d8f73d 2002-06-10T22:41:57 * src/pcf/pcfdriver.c (pcf_cmap_char_next): fixed a bug that caused the function to return invalid values.
Werner Lemberg 4d12d89d 2002-06-08T14:23:50 New file.
David Turner 957fa856 2002-06-08T13:48:41 - removing a typo in ftccache.i that prevented it from compiling correctly - fixed the infamous bug that caused the cache to crash with large fonts. the hash table buckets array wasn't shrinked correctly during cache flushes..
Werner Lemberg 995d1165 2002-06-08T12:50:18 * src/cache/ftccache.i (GEN_CACHE_LOOKUP): Move declaration of `family' and `hash' up to make it compilable with g++.
Werner Lemberg 8c90c22d 2002-06-08T06:47:18 * src/cache/ftccache.c (ftc_node_hash_unlink, ftc_node_hash_link) [FTC_CACHE_USE_LINEAR_HASHING]: Fix returned error code. Fix debugging messages. * src/type42/t42error.h: New file. * src/type42/t42drivr.c, src/type42/t42objs.c, src/type42/t42parse.c: Use t42 error codes. * src/type42/rules.mk: Updated. * src/base/ftnames.c: Include FT_INTERNAL_STREAM_H. Formatting, adding copyright messages.
David Turner 5a2f39e8 2002-06-08T01:06:31 adding template cache lookup routine
David Turner 4927e37a 2002-06-08T01:05:56 commit last fixes and optimisations to the cache manager. The performance of cache hits has increased between 20 and 50% !!
David Turner f47d5f0b 2002-06-07T22:09:20 debugging new cache hash table implementation
David Turner 08b7ad44 2002-06-07T20:07:44 * include/freetype/cache/ftccache.h, src/cache/ftccache.c, src/cache/ftccache.i, src/cache/ftcsbits.c: adding various experimental optimisations to the cache manager * src/type42/t42parse.c: removing duplicate function
David Turner 7504e48e 2002-06-07T07:24:55 * src/base/ftobjs.c (FT_Render_Glyph_Internal): changed definition from FT_EXPORT_DEF to FT_BASE_DEF
David Turner 9f95babf 2002-06-07T07:23:06 * src/type42/t42drivr.c, src/type42/t42drivr.h, src/type42/t42parse.c, src/type42/t42parse.h, src/type42/t42objs.h, src/type42/t42objs.c, src/type42/type42.c: updated the Type42 driver by splitting it into several files since it makes the code easier to read and maintain. Also fixed the bug that prevented the correct display of fonts with "ftview"
Werner Lemberg 5a1fae15 2002-06-03T20:01:23 Add 8bpp support. * src/bdf/bdflib.c (_bdf_parse_start): Handle 8bpp. * src/bdf/bdfdrivr.c (BDF_Glyph_Load): Ditto. * src/bdf/README: Updated.
Werner Lemberg 5be28b0d 2002-06-02T12:11:48 * src/pfr/pfrload.c (pfr_phy_font_done): Free `blue_values' array.
Werner Lemberg 7925edce 2002-05-30T19:29:41 * src/bdf/bdflib.c (_bdf_readstream): Allocate `buf' dynamically. (_bdf_parse_glyphs): Use correct size for allocating `font->unencoded'. (bdf_load_font): Free array conditionally. Return proper error code in case of failure. * src/bdf/bdfdrivr.c (BDF_Face_Init): Make it more robust against unusual fonts.
Werner Lemberg 5bbb4940 2002-05-30T19:22:14 * src/bdf/descrip.mms, src/type42/descrip.mms: New files. * descrip.mms (all): Updated. * src/bdf/bdflib.c (_bdf_parse_glyphs): Fix typo which prevented compilation. * src/pshglob.c (psh_blues_scale_zones): Fix compiler warning.
David Turner d490e373 2002-05-28T23:40:37 * docs/CHANGES: updating file for upcoming release (2.1.1) * src/bdf/bdflib.c: removing compiler warnings
Werner Lemberg 02d4d59a 2002-05-28T22:38:05 * builds/amiga/makefile, builds/amiga/smakefile, amiga/include/freetype/config/ftmodule.h: Updated to include support for BDF and Type42 drivers. * docs/modules.txt: Updated. * src/bdf/bdflib.c (_bdf_parse_glyphs): Replace floating point math with calls to `FT_MulDiv'.
David Turner 2a4fa134 2002-05-28T22:07:49 * include/freetype/ftxf86.h, src/base/ftxf86.c: added a new API named FT_Get_X11_Font_Format to return an X11-compatible string describing the font format of a given face. This was put in a new optional base source file, corresponding to a new public header (named FT_XFREE86_H since this function should only be used within the XFree86 font server IMO). * include/freetype/config/ftheader.h: adding FT_XFREE86_H, though it's not documented yet. * include/freetype/t1tables.h, src/base/fttype1.c: adding two new APIs named "FT_Get_PS_Font_Info" and "FT_Has_PS_Glyph_Names". This required a new optional source in 'src/base' named "fttype1.c" * src/base/Jamfile, src/base/rules.mk, src/base/descrip.mms: updating build control files for the new files "ftxf86.c" and "fttype1.c" in src/base
David Turner 69e7ee03 2002-05-28T20:29:12 * src/pshinter/pshglob.c (psh_blues_scale_zones): fixed a bug that prevented family blue zones substitution from hapenning correctly
Werner Lemberg 877ff678 2002-05-28T06:03:10 * src/base/ftnames.c (FT_Get_Sfnt_Name): Don't use FT_STREAM_READ_AT but FT_STREAM_READ. Declare `stream' variable.
David Turner 791d83a6 2002-05-27T23:52:01 * include/freetype/internal/tttypes.h, src/sfnt/ttload.c, src/sfnt/sfobjs.c, src/sfnt/sfdriver.c, src/base/ftnames.c: fixing the SFNT name table loader to support various buggy fonts. it now ignores empty name entries, entries with invalid pointer offsets and certain fonts containing tables with broken "storageOffset" fields. name strings are now loaded on demand, which reduces the memory requirements for a given FT_Face tremendously (for example, the name table of Arial.ttf is about 10Kb and contains 70 names !!) finally, this is a _quick_ fix. The whole name table loader and interface will be rewritten in a much more cleanly way shortly, once CSEH have been introduced in the sources.
Werner Lemberg 4d631e44 2002-05-27T13:02:37 Fix comment.
Werner Lemberg 62c2096a 2002-05-24T22:05:43 * builds/unix/ft-munmap.m4: New file, extracted FT_MUNMAP_DECL and FT_MUNMAP_PARAM from aclocal.m4 into here, so aclocal.m4 can be rebuilt from sources. Set macro serial to 1, and use third argument to AC_DEFINE for our two custom symbols, so ftconfig.in could one day be rebuilt with autoheader (not recommended now, ftconfig.in is a custom source file)
Werner Lemberg 233302a8 2002-05-22T05:41:06 * include/freetype/config/ftheader.h (FT_BEZIER_H): Removed. (FT_BDF_H): New macro for accessing `ftbdf.h'. * src/type42/t42drivr.c (hexval): Fix typo.
Werner Lemberg b1859049 2002-05-22T04:53:25 * src/psaux/psobjs.c (T1Radix): New function. (t1_toint): Use it to handle numbers in radix format. * src/psaux/t1decode.c (T1_Decoder_Parse_Charstrings): Add dummy for undocumented, obsolete opcode 15.
David Turner b1b47621 2002-05-21T21:17:43 * src/bdf/bdflic.c: removed compiler warning, and changed all tables to the "static const" storage specifier (instead of simply 'static') * src/type42/t32drivr.c, src/bdf/bdfdrivr.c: removing compiler warnings
David Turner 18914a4f 2002-05-21T20:57:36 * src/type42/t32drivr.c: removing compiler warnings
David Turner 9e883cf6 2002-05-21T20:50:53 * include/freetype/internal/ftbdf.h, src/base/ftbdf.c, src/base/descrip.mms, src/base/Jamfile, src/base/rules.mk: Adding a new API called "FT_Get_BDF_Charset_ID" to retrieve BDF-specific strings from a face. This is much cleaner than accessing the internal types "BDF_Public_Face" defined in FT_INTERNAL_BDF_TYPES_H
Werner Lemberg 8ab32602 2002-05-21T20:22:59 * src/bdf/README: Mention Microsoft's SBIT tool. * src/cff/cffdrivr.c, src/cid/cidriver.c, src/pcf/pcfdriver.c, src/truetype/ttdriver.c, src/type1/t1driver.c, src/winfonts/winfnt.c, src/type42/t42drivr.c, src/bdf/bdfdrivr.c [FT_CONFIG_OPTION_DYNAMIC_DRIVERS]: Completely removed. It has been never used.
Werner Lemberg 7cf4d377 2002-05-21T14:13:01 * src/type42/t42drivr.c: s/T42_ENCODING_TYPE_/T1_ENCODING_TYPE_/. (parse_font_matrix): Remove unnecessary code. (parse_sfnts): Initialize some variables. (t42_driver_class) [TT_CONFIG_OPTION_BYTECODE_INTERPRETER]: Use ft_module_driver_has_hinter conditionally. Moved some type 42 specific structure definitions to... * include/freetype/internal/t42types.h: New file. * include/freetype/internal/internal.h (FT_INTERNAL_T42_TYPES_H): New macro. * include/freetype/cache/ftcsbits.h (FTC_SBit): Added a new field `num_grays' for specifying the number of used gray levels. * src/cache/ftcsbits.c (ftc_sbit_node_load): Initialize it. Adding a driver for BDF fonts written by Francesco Zappa Nardelli <Francesco.Zappa.Nardelli@ens.fr>. Heavily modified by me to better adapt it to FreeType, removing unneeded stuff. Additionally, it now supports Mark Leisher's BDF extension for anti-aliased bitmap glyphs with 2 and 4 bpp. * src/bdf/*: New driver. * include/freetype/internal/bdftypes.h: New file. * include/freetype/internal/fttrace.h: Added BDF driver components. * include/freetype/fterrdef.h: Added error codes for BDF driver. * include/freetype/config/ftmodule.h, src/Jamfile: Updated. * include/freetype/internal/internal.h (FT_INTERNAL_BDF_TYPES_H): New macro. * include/freetype/config/ftstdlib.h (ft_sprintf): New alias for sprintf. * include/freetype/internal/fttrace.h: Added Type 42 driver component. * src/type42/t42drivr.c: Use it. * include/freetype/internal/internal.h (FT_INTERNAL_PCF_TYPES_H): New macro.
David Turner 993a8d04 2002-05-18T12:03:43 adding BDF driver
Werner Lemberg b89a42c6 2002-05-17T12:10:04 * src/type42/Jamfile: New file.
Werner Lemberg 96377815 2002-05-15T06:18:24 Adding a driver for Type42 fonts written by Roberto Alameda <ojancano@geekmail.de>. * src/type42/*: New driver. * include/freetype/config/ftmodule.h, src/Jamfile: Updated. * include/freetype/config/ftstdlib.h (ft_xdigit, ft_memcmp, ft_atoi): New aliases for xdigit, memcmp, and atoi, respectively.
Werner Lemberg 347a714c 2002-05-15T06:16:57 Initial revision
Werner Lemberg bd889e5d 2002-05-12T19:59:17 * src/sfnt/ttload.c (TT_LookUp_Table): Protect against tables with a zero length value. * builds/beos/beos.mk: Include `link-std.mk'. * src/type1/t1load.h (T1_Loader): Renamed to... (T1_LoaderRec): This. (T1_Loader): Now pointer to T1_LoaderRec. * src/type1/t1load.c: Updated. * include/freetype/internal/t1types.h, src/type1/t1load.c, src/type1/t1objs.c: s/T1_ENCODING_TYPE_EXPORT/T1_ENCODING_TYPE_EXPERT/.
Werner Lemberg 26aca024 2002-05-05T07:40:16 formatting
David Turner 8cd89073 2002-05-04T18:02:59 * src/truetype/ttgload.c (TT_Load_Glyph): finally fixing the last bug that prevented FreeType 2.x and FreeType 1.x to produce bit-by-bit identical monochrome glyph bitmaps with native TrueType hinting. The culprit was a single-bit flag that wasn't set correctly by the TrueType glyph loader !! * src/otlayout/otlayout.h, src/otlayout/otlbase.c, src/otlayout/otlbase.h, src/otlayout/otlconf.h, src/otlayout/otlgdef.c, src/otlayout/otlgdef.h, src/otlayout/otlgpos.c, src/otlayout/otlgpos.h, src/otlayout/otlgsub.c, src/otlayout/otlgsub.h, src/otlayout/otljstf.c, src/otlayout/otljstf.h, src/otlayout/otltable.c, src/otlayout/otltable.h, src/otlayout/otltags.h: adding OpenType Layout source files. Module is still incomplete
Werner Lemberg 948ee807 2002-05-02T06:50:58 * src/sfnt/ttcmap0.c (tt_cmap4_char_index): Fix serious typo (0xFFFU -> 0xFFFFU). * docs/INSTALL: Fix URL of makepp. formatting
David Turner 2062286f 2002-05-01T08:48:35 removed compiler warning
David Turner 10937304 2002-05-01T08:46:56 * include/freetype/internal/fthash.h, src/base/fthash.c: adding a generic implementation of dynamic hash tables using linear algorithm (to get rid of 'stalls' during resizes). This will be used in the future in at least three parts of the library: the cache sub-system, the object sub-system and the memory debugger. * include/freetype/internal/ftcore.h: added this header file to group all new definitions related to exception handling and memory management. It's very likely that this file will disappear or be renamed in the future.. * include/freetype/internal/ftobject.h, include/freetype/ftsysmem.h: adding comments to better explain the object sub-system as well as the new memory manager interface.
David Turner 3c5a3e45 2002-05-01T08:40:32 * src/sfnt/ttcmap0.c (tt_cmap4_validate): fixed over-restrictive validation test. the charmap validator now accepts overlapping ranges in format 4 charmaps. * src/sfnt/ttcmap0.c (tt_cmap4_char_index): switched to a binary search algorithm. Certain fonts contain more than 170 distinct segments !!
David Turner af48e32c 2002-05-01T08:38:08 * src/sfnt/ttload.c (TT_Load_Names): applied a small work-around to manage fonts containing a broken name table (e.g. "hya6gb.ttf")
David Turner df689c25 2002-05-01T08:36:12 * src/sfnt/sfobjs.c (tt_face_get_name): fixing a bug that caused FreeType to crash when certain broken fonts (like "hya6gb.ttf") were opened.
Werner Lemberg 9ca7a157 2002-04-30T14:26:49 * src/base/ftmac.c (p2c_str): Removed. (file_spec_from_path) [TARGET_API_MAC_CARBON]: Added support for OS X. (is_dfont) [TARGET_API_MAC_CARBON]: Define only for OS X. Handle `nameLen' <= 6 also. (parse_fond): Remove unused variable `name_table'. Use functionality of old p2c_str directly. Add safety checks. (read_lwfn): Initialize `size_p'. Check for size_p == NULL. (new_memory_stream, open_face_from_buffer): Updated to FreeType 2.1. (FT_New_Face_From_LWFN): Remove unused variable `memory'. Remove some dead code. (FT_New_Face_From_SFNT): Remove unused variable `stream'. (FT_New_Face_From_dfont) [TARGET_API_MAC_CARBON]: Define only for OS X. (FT_New_Face_From_FOND): Remove unused variable `error'. (ResourceForkSize): New function. (FT_New_Face): Use it. Handle empty resource forks. Conditionalize some code for OS X. Add code to call normal loader as a fallback. Some more variable renames to avoid troubles on the Mac. * src/raster/ftraster.c: s/Unknown|Ascending|Descending|Flat/\1_State/. * src/smooth/ftgrays.c: s/TScan/TCoord/. Other changes for the Mac. * include/freetype/config/ftconfig.h: Define FT_MACINTOSH for Mac platforms. * src/base/ftobjs.c: s/macintosh/FT_MACINTOSH/. * src/raster/ftrend1.c (ft_raster1_render): Make `pitch' always an even number.
Werner Lemberg 5f0ee94c 2002-04-30T06:37:52 `interface' is reserved on the Mac. * include/freetype/ftoutln.h, include/freetype/internal/sfnt.h, src/base/ftoutln.c: s/interface/func_interface/. * src/base/ftbbox.c (FT_Outline_Get_BBox): s/interface/bbox_interface/. * src/cff/cffdrivr.c: s/interface/module_interface/. * src/cff/cffload.c, src/cff/cffload.h: s/interface/psnames_interface/. * src/cid/cidriver.c: s/interface/cid_interface/. * src/sfnt/sfdriver.c: s/interface/module_interface/. * src/smooth/ftgrays.c: s/interface/func_interface/. * src/truetype/ttdriver.c: s/interface/tt_interface/. * src/type1/t1driver.c: s/interface/t1_interface/.
Werner Lemberg 1573adf9 2002-04-28T12:25:31 * src/pcf/pcfdriver.c (PCF_Face_Init) [!FT_CONFIG_OPTION_USE_CMAPS]: `root' -> `face->root'. * src/sfnt/ttcmap0.c (TT_Build_CMaps) [!FT_CONFIG_OPTION_USE_CMAPS]: Removed. * src/sfnt/ttcmap0.c: Declare TT_Build_CMaps only for FT_CONFIG_OPTION_USE_CMAPS.
Werner Lemberg b658ac9e 2002-04-28T10:25:55 * src/pfr/pfrerror.h: New file. * include/freetype/ftmoderr.h: Add PFR error codes. * src/pfr/pfrgload.c: Include pfrerror.h. Use PCF error codes. (pfr_extra_item_load_stem_snaps): Fix debug message. * src/pfr/pfrgload.c: Include pfrerror.h. Use PCF error codes. (pfr_extra_item_load_bitmap_info, pfr_glyph_load_simple, pfr_glyph_load_compound): Fix debug message. * src/pfr/pfrobjs.c: Include pfrerror.h. Use PCF error codes. (pfr_face_init): Return PFR_Err_Unknown_File_Format. * src/pfr/rules.mk (PFR_DRV_H): Include pfrerror.h.
Werner Lemberg 7b3dc7bb 2002-04-28T02:48:20 * src/cache/ftccache.c (ftc_cache_lookup), src/cache/ftccmap.c (ftc_cmap_family_init), src/cache/ftcmanag.c (ftc_family_table_alloc), src/cache/ftcsbits.c (FTC_SBit_Cache_Lookup): Use FTC_Err_*. src/cache/ftcimage.c (FTC_Image_Cache_Lookup): Use FTC_Err_*. (FTC_ImageCache_Lookup): Fix handling of invalid arguments.
David Turner e7880499 2002-04-25T21:42:59 adding experimental (alpha) exception support code + system code
Werner Lemberg fadb6be7 2002-04-20T05:38:33 * src/pfr/pfrload.c (pfr_extra_items_farse): Fix debug message. (pfr_phy_font_load): s/size/Size/ for local variable to avoid compiler warning. * src/pfr/pfrobjs.c (pfr_face_init): Fix debug message. (pfr_slot_load): Remove redundant local variable. adding copyrights, formatting
David Turner 609e28c3 2002-04-19T15:13:47 * src/type1/t1gload.h, src/type1/t1gload.c: fixed incorrect parameter sign-ness in callback function * include/freetype/config/ftmodule.h, include/freetype/internal/fttrace.h, src/Jamfile, src/pfr/*: adding a PFR font driver to the FreeType sources. Not that it doesn't support embedded bitmaps or kerning tables for now.. * include/freetype/internal/ftmemory.h: adding the FT_MEM_ZERO and FT_ZERO macros * include/freetype/internal/ftstream.h: adding the FT_NEXT_OFF3, FT_NEXT_UOFF3, FT_NEXT_OFF3_LE and FT_NEXT_UOFF3_LE to parse in-memory 24-bit integers.
David Turner f5749608 2002-04-18T10:07:26 * src/base/ftobjs.c, builds/win32/ftdebug.c, builds/amiga/src/base/ftdebug.c : 2.1.0 couldn't be linked against applications in Win32 and Amiga builds due to changes to "src/base/ftdebug.c" that were not properly propagated to "builds/win32" and "builds/amiga".. this has been fixed. We'll probably make 2.1.1 real soon now.. * include/freetype/internal/ftobject.h, include/freetype/internal/ftexcept.h, include/freetype/ftsysmem.h, include/freetype/ftsysio.h, src/base/ftsysmem.c, src/base/ftsysio.c: adding new experimental files for 2.1.1 (or 2.1.2)
David Turner 88027fdd 2002-04-17T11:32:10 fixing typo preventing compilation in non-debugging modes
David Turner 11cfdd04 2002-04-17T09:37:59 fixed max advance width computation within T1 driver
Werner Lemberg 9928df86 2002-04-16T13:39:17 * src/pcf/pcfread (pcf_get_accell): Fix parsing of accelerator tables.
David Turner 39e1b17a 2002-04-15T12:05:02 removed compiler warning
Werner Lemberg 94ffae52 2002-04-14T00:54:32 * src/cff/cffgload.c (CFF_Parse_CharStrings): s/rand/Rand/ to avoid compiler warning. formatting/fixing ChangeLog
David Turner d15bc0d1 2002-04-12T09:31:48 * README.UNX: updated the Unix-specific quick-compilation guide to warn about the GNU Make requirement at compile time.. * include/freetype/config/ftstdlib.h, include/freetype/config/ftconfig.h, include/freetype/config/ftheader.h, include/freetype/internal/ftmemory.h, include/freetype/internal/ftobjs.h, src/autohint/ahoptim.c, src/base/ftdbgmem.c, src/base/ftdebug.c, src/base/ftmac.c, src/base/ftobjs.c, src/base/ftsystem.c, src/cache/ftcimage.c, src/cache/ftcsbits.c, src/cff/cffdriver.c, src/cff/cffload.c, src/cff/cffobjs.c, src/cid/cidload.c, src/cid/cidparse.c, src/cid/cidriver.c, src/pcf/pcfdriver.c, src/pcf/pcfread.c, src/psaux/t1cmap.c, src/psaux/t1decode.c, src/pshinter/pshalgo1.c, src/pshinter/pshalgo2.c, src/pshinter/pshrec.c, src/psnames/psmodule.c, src/raster/ftraster.c, src/sfnt/sfdriver.c, src/sfnt/ttload.c, src/sfnt/ttpost.c, src/smooth/ftgrays.c, src/type1/t1afm.c, src/type1/t1driver.c, src/type1/t1gload.c, src/type1/t1load.c, src/type1/t1objs.c, src/type1/t1parse.c: added the new configuration file "ftstdlib.h" used to define aliases for all ISO C library functions used by the engine (e.g. strlen, qsort, setjmp, etc...) this eases the porting of FreeType 2 to exotic environments like XFree86 modules/extensions.. also removed many #include <string.h>, #include <stdlib.h>, etc... from the engine's sources where they're not needed..
David Turner 2c7558ce 2002-04-11T14:21:16 * README, docs/CHANGES, Jamfile.in: updating for the 2.1.0 release
Werner Lemberg 04728a8b 2002-04-02T14:50:31 Fixes from the stable branch: * include/freetype/config/ftoption.h (FT_CONFIG_OPTION_OLD_CALCS): Removed. [FT_CONFIG_OPTION_OLD_CALCS]: Removed. * include/freetype/internal/ftcalc.h, src/base/ftcalc.c [FT_CONFIG_OPTION_OLD_CALCS]: Removed. * src/base/fttrigon.c (FT_Vector_Length): Change algorithm to match output of FreeType 1. * src/pshinter/pshglob.c (psh_globals_scale_widths): Fixed a small bug that created un-even stem widths when hinting Postscript fonts. formatting, updating copyright
Werner Lemberg efa99615 2002-04-01T22:01:46 * src/type1/t1driver.c, src/type1/t1parse.c: 16bit fixes. formatting, copyright updates
Werner Lemberg 91db04cb 2002-04-01T14:25:28 * src/truetype/ttgload.c: 16bit fixes. (TT_Load_Simple_Glyph): Improve debug messages. (load_truetype_glyph): Remove dead code. * src/truetype/ttinterp.c: 16bit fixes. * src/truetype/ttobjs.c: Ditto. * include/freetype/ftsnames.h, include/freetype/internal/sfnt.h, src/cff/cffload.h, src/psaux/psobjs.h, src/truetype/ttinterp.[ch], src/sfnt/ttpost.h: s/index/idx/. formatting, copyright updates.
Werner Lemberg b7b163cb 2002-03-31T18:48:24 * src/sfnt/ttcmap.c: 16bit fixes (0xFFFF -> 0xFFFFU). * src/sfnt/ttcmap0.c: 16bit fixes. (TT_Build_CMaps): Simplify debug messages. (tt_cmap12_char_next): Fix offset. * src/sfnt/ttload.c (TT_Load_Names, TT_Load_CMap): Fix debug messages. (TT_Load_OS2): 16bit fix.
Werner Lemberg 545a75fd 2002-03-31T11:18:15 * src/psaux/t1cmap.c: s/index/idx/. * src/psaux/t1decode.c (T1_Decoder_Parse_Charstrings): Fix debug messages.
Werner Lemberg 1987fb2f 2002-03-31T06:56:56 * src/truetype/ttobjs.c (TT_Size_Init): Fix typo. * src/otlayout/otlcommn.c, src/otlayout/otlcommn.h: s/index/idx/.
Werner Lemberg 44be4d56 2002-03-30T17:08:04 formatting, copyright
Werner Lemberg 48c984b5 2002-03-30T16:41:09 * src/cff/cffdrivr.c (cff_get_glyph_name): Fix debug message. * src/cff/cffobjs.c (CFF_Driver_Init, CFF_Driver_Done) [TT_CONFIG_OPTION_EXTEND_ENGINE]: Removed. * src/cff/sfobjs.c (SFNT_Load_Face) [TT_CONFIG_OPTION_EXTEND_ENGINE]: Ditto. * src/truetype/ttobjs.c (TT_Init_Driver, TT_Done_Driver) [TT_CONFIG_OPTION_EXTEND_ENGINE]: Ditto. * src/truetype/ttdriver.c, src/truetype/ttobjs.c, src/truetype/ttobjs.h: Renaming driver functions to the FT_<Subject>_<Action> scheme: TT_Init_Driver => TT_Driver_Init TT_Done_Driver => TT_Driver_Done TT_Init_Face => TT_Face_Init TT_Done_Face => TT_Face_Done TT_Init_Size => TT_Size_Init TT_Done_Size => TT_Size_Done TT_Reset_Size => TT_Size_Reset
David Turner 56054f31 2002-03-30T16:32:47 fixing the function that computes an ASCII face name
David Turner d76050ab 2002-03-30T16:14:48 removing compiler warnings
Werner Lemberg f8ba2005 2002-03-30T13:16:35 * include/freetype/t1tables.h (t1_blend_max): Fix typo. * src/base/ftstream.c: Simplify FT_ERROR calls. formatting, copyright update
Werner Lemberg b1e6e597 2002-03-29T07:43:04 * builds/vms/ftconfig.h: Rename LOCAL_DEF and LOCAL_FUNC to FT_LOCAL and FT_LOCAL_DEF, respectively, as with other ftconfig.h files. * builds/unix/ftconfig.in: Add argument to FT_LOCAL and FT_LOCAL_DEF. * src/truetype/ttinterp.c: s/FT_Assert/FT_ASSERT/. * builds/unix/configure.ac: Temporarily deactivate creation of ../../Jamfile. * builds/unix/configure: Updated.
Werner Lemberg 2282f341 2002-03-28T14:21:15 * src/sfnt/sfdriver.c (get_sfnt_postscript_name): Fix serious typos.
Werner Lemberg 1305f261 2002-03-28T08:07:16 * include/freetype/internal/psaux.h (PSAux_ServiceRec): Fix compiler warnings. * include/freetype/internal/t1types.h (T1_FaceRec): Use `const' for some members. * src/base/ftapi.c (FT_New_Memory_Stream): Fix typos. * src/psaux/t1cmap.c (t1_cmap_std_init, t1_cmap_unicode_init): Add cast. (t1_cmap_{standard,expert,custom,unicode}_class_rec): Use `FT_CALLBACK_TABLE_DEF'. * src/psaux/t1cmap.h: Updated. * src/sfnt/ttcmap0.c (TT_Build_CMaps): Use `ft_encoding_none' instead of zero. * src/type1/t1objs.c (T1_Face_Init): Use casts.
David Turner 94dbf7f0 2002-03-26T02:38:39 fixed a small bug in FT_CMaps support
David Turner 4b29d587 2002-03-25T17:02:26 removing compiler warnings
David Turner 2ded2c1d 2002-03-22T22:37:40 * src/base/ftobjs.c, src/sfnt/ttcmap0.c, src/type1/t1objs.c: various fixes to make the FT_CMaps support work correctly (more tests are still needed)
David Turner ed54f28e 2002-03-22T17:09:52 various fixes to the FT_CMaps support
David Turner fa77c87f 2002-03-22T15:56:12 polishing FT_CMaps support for Type 1 format
David Turner effa9649 2002-03-22T15:55:55 formatting
David Turner fd88e7c7 2002-03-22T15:02:38 * include/freetype/internal/ftobjs.h, src/sfnt/Jamfile, src/sfnt/rules.mk, src/sfnt/sfnt.c, src/sfnt/sfobjs.c, src/sfnt/ttload.c, src/sfnt/ttcmap0.c, src/sfnt/ttcmap0.h: updated the SFNT charmap support to use FT_CMaps
David Turner e459d742 2002-03-22T13:52:37 * include/freetype/internal/ftmemory.h, and a lot of other files !!: changed the names of memory macros. Examples: MEM_Set => FT_MEM_SET MEM_Copy => FT_MEM_COPY MEM_Move => FT_MEM_MOVE ALLOC => FT_ALLOC FREE => FT_FREE REALLOC = >FT_REALLOC FT_NEW was introduced to allocate a new object from a _typed_ pointer.. note that ALLOC_ARRAY and REALLOC_ARRAY have been replaced by FT_NEW_ARRAY and FT_RENEW_ARRAY which take _typed_ pointer arguments. This results in _lots_ of sources being changed, but makes the code more generic and less error-prone..
David Turner a890c29c 2002-03-22T12:55:23 * include/freetype/internal/ftstream.h, src/base/ftstream.c, src/cff/cffload.c, src/pcf/pcfread.c, src/sfnt/ttcmap.c, src/sfnt/ttcmap0.c, src/sfnt/ttload.c, src/sfnt/ttpost.c, src/sfnt/ttsbit.c, src/truetype/ttgload.c, src/truetype/ttpload.c, src/winfonts/winfnt.c: changed the definitions of stream macros. Examples: NEXT_Byte => FT_NEXT_BYTE NEXT_Short => FT_NEXT_SHORT NEXT_UShortLE => FT_NEXT_USHORT_LE READ_Short => FT_READ_SHORT GET_Long => FT_GET_LONG etc.. also introduced the FT_PEEK_XXXX functions..
David Turner 42372fd4 2002-03-21T15:02:54 * src/psaux/t1cmap.h, src/psaux/t1cmap.c, src/type1/t1cmap.h, src/type1/t1cmap.c: updating and moving the Type 1 FT_CMap support from "src/type1" to "src/psaux" since it's going to be shared by the Type 1 and CID font drivers.. * src/psaux/Jamfile, src/psaux/psaux.c, src/psaux/psauxmod.c, src/psaux/rules.mk, include/freetype/internal/psaux.h: added support for Type 1 FT_CMaps.
David Turner e2f4e52a 2002-03-21T15:00:13 * src/base/ftobjs.c (FT_Get_Next_Char): updated to new FT_CMap definitions