src


Log

Author Commit Date CI Message
Werner Lemberg 98add9e6 2002-09-18T11:32:12 Formatting, minor doc fixes.
David Turner 56106fb9 2002-09-17T22:57:29 * include/freetype/freetype.h, include/freetype/ftimage.h, include/freetype/ftstroker.h, include/freetype/ftsysio.h, include/freetype/ftsysmem.h, include/freetype/ttnameid.h: updating the in-source documentation * src/tools/docmaker/tohtml.py: updating the HTML formatter in the DocMaker tool * src/tools/docmaker.py: removing obsolete file
Werner Lemberg 55e80ec2 2002-09-17T13:56:44 More 16bit fixes. * src/psaux/psobjs.c (reallocate_t1_table): Use FT_Long for second parameter.
Werner Lemberg bc1837a1 2002-09-17T12:39:19 16bit fixes from Wolfgang Domröse. * src/type1/t1parse.h (T1_ParserRec): Change type of `base_len' and `private_len' to FT_Long. * src/type1/t1parse.c (T1_Get_Private_Dict): Remove cast for `private_len'. * src/type1/t1load.c: Use FT_Int cast for most calls of T1_ToInt. Use FT_PtrDist where appropriate. (parse_encoding): Use FT_Long for `count' and `n'. (read_binary_data): Use FT_Long* for second parameter. * src/type1/t1afm.c (afm_atoindex): Use FT_PtrDist. * src/cache/ftcsbits.c (ftc_sbit_node_load): Remove unused label. * src/pshinter/pshalgo3.c (psh3_hint_align): Remove unused variable.
Werner Lemberg 7a99b507 2002-09-17T07:31:17 * src/type1/t1parse.h (T1_ParserRec): Change type of `base_len' and `private_len' to FT_Long. * src/cache/ftcsbits.c (ftc_sbit_node_load): Remove unused label. * src/pshinter/pshalgo3.c (psh3_hint_align): Remove unused variable.
Werner Lemberg 5dfbdf76 2002-09-16T06:15:31 Making ftgrays.c compile stand-alone again. * include/freetype/ftimage.h: Include ft2build.h only if _STANDALONE_ isn't defined. * src/smooth/ftgrays.c [_STANDALONE_]: Define ft_memset, FT_BEGIN_HEADER, FT_END_HEADER. (FT_MEM_ZERO): Define. (TRaster) [GRAYS_USE_GAMMA]: Use `unsigned char' instead of FT_Byte. (gray_render_span, gray_init_gamma): Don't use `FT_UInt'. Don't cast with `FT_Byte'. (grays_init_gamma): Don't use `FT_UInt'. * src/base/ftinit.c (FT_Add_Default_Modules): Improve error message. * src/pcf/pcfdriver.c (PCF_Face_Done): Improve tracing message. * include/freetype/config/ftoption.h (FT_MAX_MODULES): Increased to 32.
David Turner 25f845aa 2002-09-09T23:45:29 * src/cache/ftccache.i: fixed a bug that prevented compilation in debug mode of template instantiation * src/cff/cffparse.c: fixed the CFF table loader. It didn't accept empty arrays, and this prevented the loading of certain fonts. * src/pshinter/pshalgo2.c, src/pshinter/pshalgo3.c: adding fix to prevent seg fault when hints are provided in an empty glyph !! * include/freetype/ftimage.h: removed incorrect "zft_" definitions and updated constants documentation comments * include/freetype/freetype.h (FT_FaceRec): updating documentation comment. The "descender" value is always *negative*, not positive !
David Turner 00d9f40c 2002-09-08T21:29:11 * src/smooth/ftsmooth.c, src/base/ftobjs.c, include/freetype/config/ftmodule.h: updated to correctly support sub-pixel rendering * include/freetype/cache/ftcimage.h, include/freetype/cache/ftcsbits.h, src/cache/ftcimage.c, src/cache/ftcsbit.c: updated to support sub-pixel rendering correctly. Definition of FTC_ImageTypeRec that replaces the obsolete FTC_ImageDesc, and has slightly different fields. The image type is now determined directly by "load_flags" values. * src/autohint/ahtypes.h, src/autohint/ahhint.c, src/pshinter/pshalgo3.c, src/pshinter/pshalgo3.h: various enhancements to the automatic and Postscript hinters !! and sub-pixel hinting now works correctly (see demo programs)
Werner Lemberg 6b5c669b 2002-09-05T15:10:54 * src/cid/cidobjs.c (CID_Size_Init): Renamed to... (cid_size_init): This. * src/psaux/psobjs.c (T1_Builder_Add_Point1): Renamed to... (t1_builder_add_point1): This. Updated all affected code. * src/pshinter/pshalgo3.c (psh3_hint_align): Fix compiler warnings. * src/type1/t1gload.c (T1_Compute_Max_Advance): Ditto. Formatting, minor doc fixes.
David Turner d53bfeb8 2002-08-29T22:50:17 * src/pshinter/pshalgo.c: slight modification to the Postscript hinter to slightly increase the contrast of smooth hinting. This is very similar to what the auto-hinter does when it comes to stem width computations. However, it produces better results with well-hinted fonts..
David Turner d1245c0d 2002-08-27T22:34:20 updating sources to support the new FT_LOAD_TARGET_ constants to support target-specific hinting
David Turner b08fe2dc 2002-08-27T20:20:29 * massive re-formatting changes to many, many source files. I don't want to list them all here. The operations performed were all logical transformations of the sources: - trying to convert all enums and constants to CAPITALIZED_STYLE, with #define definitions like #define my_old_constants MY_NEW_CONSTANT - big, big update of the documentation comments * include/freetype/freetype.h, src/base/ftobjs.c, src/smooth/ftsmooth.c, include/freetype/ftimage.h: adding support for LCD-optimized rendering though the new constants/enums: FT_RENDER_MODE_LCD, FT_RENDER_MODE_LCD_V FT_PIXEL_MODE_LCD, FT_PIXEL_MODE_LCD_V this is still work in progress, don't expect everything to work correctly though most of the features have been implemented. * adding new FT_LOAD_XXX flags, used to specify both hinting and rendering targets: FT_LOAD_TARGET_NORMAL :: anti-aliased hinting & rendering FT_LOAD_TARGET_MONO :: monochrome bitmaps FT_LOAD_TARGET_LCD :: horizontal RGB/BGR decimated hinting & rendering FT_LOAD_TARGET_LCD_V :: vertical RGB/BGR decimated hinting & rendering note that FT_LOAD_TARGET_NORMAL is 0, which means that the default behaviour of the font engine is _unchanged_.
Graham Asher 9eefed12 2002-08-23T10:08:38 Simplified the incremental loading system for CFF fonts and fixed a problem with the handling of the deprecated version of the Type 2 endchar command, that emulates Type 1 'seac'. This version now works with the GhostScript-to-FreeType bridge currently under development.
David Turner 5c0d3a4d 2002-08-22T20:35:36 * src/base/ftobject.c, src/base/ftsynth.c, src/base/ftstroker.c, src/bdf/bdfdrivr.c: removed compiler warnings
Werner Lemberg edbcbde7 2002-08-22T08:49:42 Formatting.
Werner Lemberg ec810f8c 2002-08-22T06:04:32 * src/pshinter/pshalgo3.c (psh3_glyph_compute_inflections, psh3_glyph_compute_extrema, psh3_hint_table_find_strong_point): Fix compiler warnings and resolve shadowing of local variables.
David Turner 21f433ce 2002-08-21T22:06:41 * src/pshinter/pshalgo3.c, src/base/ftobjs.c, src/base/ftobject.c, src/autohint/ahglyph.c, include/freetype/freetype.h: fixing typos and removing compiler warnings
David Turner f467e6a9 2002-08-21T21:39:28 * include/freetype/freetype.h, src/base/ftobjs.c: changing the type of the "load_flags" parameter of FT_Load_Glyph and FT_Load_Char from "FT_Int" to "FT_Int32", this in order to support more options. this should only break binary and/or source compatibility on 16-bit platforms (Atari?)
David Turner a8199d60 2002-08-21T21:36:26 * src/tools/docmaker/docmaker.py, src/tools/docmaker/utils.py, src/tools/docmaker/tohtml.py: updating the DocMaker tool
David Turner 66456162 2002-08-21T21:34:59 * src/pshinter/pshalgo3.c, src/autohint/ahangles.c, src/autohint/ahangles.h, src/autohint/ahglyph.c, src/autohint/ahhint.c, src/autohint/ahtypes.h: the automatic and Postscript hinter now automatically detect inflection points in glyph outlines and treats them specially. This is very useful to prevent nasty effect like the disappearing diagonals of "S" and "s" in many, many fonts..
Werner Lemberg 215bf444 2002-08-21T17:36:20 * src/truetype/ttgload.c (TT_Get_Metrics): Add guard for k = 0.
David Turner fd5770b3 2002-08-19T06:06:44 - removal of compiler warnings - slight improvements to the Postscript hinter
Werner Lemberg d580f9d6 2002-08-18T22:02:03 * src/pcf/pcfdriver.c (PCF_Glyph_Load): Fix computation of horiBearingX. * src/bdf/bdfdrivr.c (BDF_GlyphLoad): Fix computation of horiBearingY.
Werner Lemberg 1039234c 2002-08-18T07:15:52 Adding some comments.
Werner Lemberg eed446d0 2002-08-16T12:46:52 Add support for Apple composite glyphs. * include/freetype/config/ftoption.h (TT_CONFIG_OPTION_COMPONENT_OFFSET_SCALED): New macro. * src/truetype/ttgload.c (OVERLAP_COMPOUND, SCALED_COMPONENT_OFFSET, UNSCALED_COMPONENT_OFFSET): New macros for additional OpenType glyph loading flags. (load_truetype_glyph): Implement it.
Werner Lemberg f25ce9d0 2002-08-15T23:07:18 * src/cff/cffgload.c (cff_free_glyph_data), src/cff/cffload.c (cff_font_load): Use FT_UNUSED. * src/base/ftglyph.c (FT_Glyph_To_Bitmap): Initialize `error'. * src/sfnt/sfobjs.c (SFNT_Load_Face): Fix compiler warning.
Graham Asher 824daa58 2002-08-15T12:58:21 Fixed compiler warnings about unreferenced formal parameters when FT_CONFIG_OPTION_INCREMENTAL is not defined.
Graham Asher bd9ca33e 2002-08-15T12:15:08 Corrected incremental interface implementation to suit the new system.
Graham Asher 3fd12f14 2002-08-15T12:10:48 Implemented incremental loading for the CFF driver.
Werner Lemberg 3c403e4c 2002-08-06T21:47:40 Some formatting. * src/cff/cffcmap.c: Remove compiler warnings. * src/cache/ftccache.c, src/cache/ftccache.i, src/pfr/pfrload.c, src/pfr/pfrgload.c: s/index/idx/. * src/cff/cffload.c: s/select/fdselect/. * src/raster/ftraster.c: s/wait/waiting/.
Graham Asher 733c2557 2002-08-01T16:16:16 T1_Open_Face now tolerates a face with no charstrings if there is an incremental loading interface. This is essential if incremental loading of Type 1 fonts supplied by PostScript is to work.
Graham Asher ce12182c 2002-08-01T15:29:17 Modified incremental loading interface to be closer to David Turner's preferences. The header freetype.h is not now affected, the interface is specified via an FT_Parameter, the pointer to the interface is hidden in an internal part of the face record, and all the definitions are in ftincrem.h.
David Turner f52165cc 2002-07-30T18:49:52 * src/tools/docmaker/*: adding new (more advanced) version of the DocMaker tool. Python with regular expressions rocks..
Werner Lemberg b3d5e9cf 2002-07-28T05:05:24 s/ft_memset/FT_MEM_SET/. s/FT_MEM_SET/FT_MEM_ZERO/ where appropriate.
Werner Lemberg bdb10748 2002-07-27T22:51:28 * src/sfnt/ttload.c (sfnt_dir_check): Make it work with TTCs.
Werner Lemberg b94f3d3e 2002-07-26T14:52:29 * src/pshinter/pshalgo3.c (psh3_hint_table_record, psh3_hint_table_init, psh3_hint_table_activate_mask): Fix error message. Formatting.
Werner Lemberg 7f74a52a 2002-07-26T09:09:10 Fixing ChangeLog entries. Some formatting. * src/truetype/ttgload.c (load_truetype_glyph) [FT_CONFIG_OPTION_INCREMENTAL]: s/memset/ft_memset/. * src/autohint/ahhint.c (ah_hint_edges_3): Fix compiler warning. * src/cff/cffload.c (cff_encoding_load): Remove `memory' variable. * src/cff/cffcmap.c (cff_cmap_encoding_init): Remove `psnames' variable. * src/truetype/ttgload.c (load_truetype_glyph): Remove statement without effect. * src/truetype/ttdriver (Get_Char_Index, Get_Next_Char): Removed.
Graham Asher 11f0ab7d 2002-07-24T13:58:21 FIX for bug reported by Sven Neumann [sven@gimp.org] on the FreeType development forum: "If FT_CONFIG_OPTION_INCREMENTAL is undefined (this is the default), the TrueType loader crashes in line 852 of src/truetype/ttgload.c when it tries to access face->glyph_locations.".
Graham Asher 320da730 2002-07-19T11:40:51 More work on supporting fonts passed from GhostScript: sfnt_dir_check now ignores the tables 'glyx' and 'locx' which are hacked-out versions of 'glyf' and 'loca' in some PostScript Type 42 fonts, and will generally be invalid.
Graham Asher bd8b0851 2002-07-18T16:57:43 Added support for incrementally loaded Type 1 faces.
Graham Asher cd0d1dfa 2002-07-18T16:38:07 Changes to support incremental Type 42 fonts: assume a font has glyphs if it has an incremental interface object.
Graham Asher ea94abb1 2002-07-18T16:25:57 Added the incremental loading system for the CID driver. Tested using my own unit test code.
Graham Asher 13217f25 2002-07-18T15:59:23 Added the incremental loading system for the TrueType driver. Tested using my own unit test code.
Graham Asher d53cf1df 2002-07-18T15:04:29 Added incremental loading capability to FT_Open_Face. Not implemented for any drivers yet.
David Turner fed59b7c 2002-07-17T22:51:06 * src/sfnt/ttload.c (TT_Load_SFNT_Header): fixed a recent bug that prevented OpenType fonts to be recognized by FreeType
David Turner 3e19d85d 2002-07-17T21:52:20 * include/freetype/config/ftoption.h, include/freetype/internal/tttypes.h, src/base/ftobjs.c, src/bdf/bdfdrivr.c, src/cff/cffobjs.c, src/pcf/pcfdrivr.c, src/sfnt/sfobjs.c, src/sfnt/ttcmap0.c, src/sfnt/ttcmap0.h, src/sfnt/ttload.c, src/type1/t1objs.c, src/type42/t42objs.c, src/winfonts/winfnt.c: code cleanup, FT_CONFIG_OPTION_USE_CMAPS is now the default
David Turner d1214ac9 2002-07-17T21:14:23 * include/freetype/config/ftoption.h, include/freetype/internal/tttypes.h, src/base/ftobjs.c, src/bdf/bdfdrivr.c, src/cff/cffobjs.c, src/pcf/pcfdrivr.c, src/sfnt/sfobjs.c, src/sfnt/ttcmap0.c, src/sfnt/ttcmap0.h, src/sfnt/ttload.c, src/type1/t1objs.c, src/type42/t42objs.c, src/winfonts/winfnt.c: code cleanup, FT_CONFIG_OPTION_USE_CMAPS is now the default
David Turner 075c35de 2002-07-17T20:56:48 * include/freetype/cache/ftccache.h, src/cache/ftccache.i, src/cache/ftccache.c: cleaning up the cache sub-system code, linear hashing is now the default
David Turner b55464fa 2002-07-11T23:55:18 small fix
David Turner 3314a975 2002-07-11T23:51:44 small fix
David Turner 7acd73fd 2002-07-11T23:41:14 * src/sfnt/ttload.c, src/sfnt/ttload.h, src/sfnt/ttdriver.c: changing the SFNT loader to check for SFNT-based font files differently. We now ignore the range "helper" fields and check the "head" table's magic number instead.
David Turner 66013875 2002-07-11T16:27:16 updatinf the object sub-system and dynamic hash table implementations
David Turner 8db6a070 2002-07-11T11:26:21 * include/freetype/t1tables.h, include/freetype/internal/psaux.h, src/psaux/psobjs.c, src/type1/t1load.c, src/type1/t1tokens.h: fixing a bug in the Type 1 loader that prevented valid font bounding boxes to be loaded from multiple master fonts.
David Turner d473204c 2002-07-10T17:10:21 * src/cff/cffobjs.c: small fix to select the Unicode charmap by default when needed
David Turner a87bb792 2002-07-10T16:58:10 * src/cff/cffobjs.c: small fix to allow OpenType fonts to support Adobe charmaps when needed.
David Turner b9b2cac6 2002-07-10T16:52:06 * src/cff/cffcmap.c, src/cff/cffcmap.h, Jamfile, rules.mk: new files added to support charmaps for CFF fonts * src/cff/cffload.c, src/cff/cffload.h, src/cff/cffobjs.c, src/cff/cffobjs.h, src/cff/cffparse.c, src/cffparse.h, src/cff/cffgload.c, src/cff/cffgload.h: adding support for CFF charmaps, reformatting the sources, and removing some bugs in the Encoding and Charset loaders
David Turner ee06410b 2002-07-09T16:49:12 * src/pshinter/pshglob.c: fixed a bug that prevented the hinter from using correct standard width and height values. resulting in hinting bugs with certain fonts (e.g. Utopia)
David Turner 971517ac 2002-07-08T23:13:25 * src/pshinter/pshglob.h, src/pshinter/pshglob.c: adding support for blue fuzz
David Turner f0f1b6ae 2002-07-08T23:05:14 * src/base/ftglyph.c (FT_Glyph_To_Bitmap): added code to return succesfully when the function is called with a bitmap glyph (the previous code simply returned with an error)
David Turner 02c3aede 2002-07-08T23:02:32 * docs/DEBUG.TXT: adding debugging support documentation * src/base/ftdebug.c (ft_debug_init), builds/win32/ftdebug.c (ft_debug_init), builds/amiga/src/ftdebug.c (ft_debug_init): changed the syntax of the FT2_DEBUG environment variable used to control debugging output (i.e. logging and error messages). It must now look like: any:6 memory:4 io:3 or any:6,memory:4,io:3 or any:6;memory:4;io:3
David Turner 27c322e9 2002-07-08T22:26:11 * include/freetype/freetype.h, src/base/ftobjs.h, freetype/internal/ftobjs.h, freetype/internal/psaux.h, freetype/internal/pshints.h, src/psaux/t1decode.c, src/cff/cffgload.h, src/cff/cffgload.c, src/pshinter/pshalgo1.h, src/pshinter/pshalgo1.c, src/pshinter/pshalgo2.h, src/pshinter/pshalgo2.c, src/pshinter/pshalgo3.h, src/pshinter/pshalgo3.c: Adding support for hinter-specific bit flags, and the new FT_Set_Hint_Flags high-level API
David Turner dcb61e47 2002-07-05T15:54:26 * src/pfr/pfrobjs.c (pfr_slot_load): fixed a small bug that returned incorrect advances when the outline resolution was different from the metrics resolution * src/autohint/ahhint.c: removing compiler warnings * src/autohint/ahglyph.c: slight improvements to the serif detection code. More work is needed though..
David Turner 699053ca 2002-07-04T22:48:12 2002-07-03 David Turner <david@freetype.org> * src/autohint/ahglobal.c, src/autohint/ahtypes.h, src/autohint/ahhint.c: small improvements to the automatic hinter. un-even stem-widths have now disappeared and everything looks much better, even if there are still issues with serifed fonts.
David Turner 9f7d079c 2002-07-03T21:00:26 adding Owen Taylor's patches to the Postscript hinter for testing
David Turner 26438805 2002-07-01T21:57:36 where, if a glyph has more than hint mask, the second mask gets applied to points that should have been covered by the first mask.
David Turner 0c46f70e 2002-07-01T21:53:54 * include/freetype/ftstroker.h, src/base/ftstroker.c, src/base/Jamfile: adding path stroker component (work in progress)
David Turner d36b4a59 2002-07-01T21:52:49 formatting
David Turner 6ec3f347 2002-07-01T21:50:12 * src/sfnt/ttcmap0.c: fixing the cmap 8 and 12 parsing routines
David Turner ac90c0e8 2002-07-01T21:35:17 * include/freetype/fttrigon.h, src/base/fttrigon.c: adding FT_Vector_From_Polar and FT_Angle_Diff to the trigonometric functions
David Turner 3dff94f5 2002-07-01T21:34:07 * include/freetype/internal/ftobject.h: updating the object sub-system definitions (still experimental)
David Turner 58ad559a 2002-07-01T21:33:48 * include/freetype/ftsynth.h, src/base/ftsynth.c: rewriting the automatic style synthesis functions, now renamed to FT_GlyphSlot_Oblique and FT_GlyphSlot_Embolden
David Turner 0d73b0c4 2002-06-26T23:45:21 * include/freetype/internal/ftobject.h: updating the object sub-system definitions (still experimental) * src/base/fthash.c (ft_hash_remove): fixing a small reallocation bug * include/freetype/fttrigon.h, src/base/fttrigon.c: adding FT_Vector_From_Polar and FT_Angle_Diff to the trigonometric functions * include/freetype/ftstroker.h, src/base/ftstroker.c: adding path stroker component (work in progress)
David Turner b7e18efc 2002-06-26T22:05:05 adding path stroker component (first steps)
David Turner 318f3bef 2002-06-26T20:30:37 * src/truetype/ttgload.c (TT_Load_Composite_Glyph), src/base/ftoutln.c (FT_Vector_Transform): fixed Werner's latest fix. FT_Vector_Transform wasn't buggy, the TrueType composite loader was...
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