src


Log

Author Commit Date CI Message
Werner Lemberg 521a2d7a 2001-03-20T22:58:56 * builds/win32/detekt.mk: Fix .PHONY target for Intel compiler. Renamed "ftnames.h" to "ftsnames.h", and FT_NAMES_H to FT_SFNT_NAMES_H. * docs/docmaker.py: Added generation of INDEX link in table of contents. * INSTALL, docs/BUILD: Updated documentation to indicate that the compilation process has changed slightly (no more `src' required in * builds/*/*-def.mk: Changed the objects directory from "obj" to "objs". * include/freetype/config/ftheader.h: Removed obsolete macros like FT_SOURCE_FILE, etc. and added cache-specific macro definitions that were previously defined in <freetype/ftcache.h>. Added comments to be included in a new API Reference section. * src/*/*: Removed the use of FT_SOURCE_FILE, etc. Now, each component needs to add its own directory to the include path at compile time. Modified all "rules.mk" and "descrip.mms" accordingly. * src/cid/cidobjs.c, src/cid/cidload.c, src/pcf/pcfread.c, src/type1/t1load.c, src/type1/t1objs.c: Added a few casts to remove compiler warnings in pedantic modes. * include/config/ft2build.h, include/config/ftheader.h: The file top-level <ft2build.h>. * include/config/ftheader.h: Added new section describing the #include macros. the Type 2 glyph charstring (used by conversion programs). * docs/docmaker.py: Added cross-references generation as well as seac emulation provided by the Type 2 endchar operator. * src/cid/cidafm.c, src/cid/cidafm.h: removed un-needed files, Added support for clipped direct rendering in the smooth renderer. * src/cff/t2objs.c (T2_Init_Face): For pure CFF fonts, set
David Turner 6ce03efb 2001-03-20T14:50:04 * include/freetype/config/ftheader.h, include/freetype/ftsnames.h: renamed "ftnames.h" to "ftsnames.h", and FT_NAMES_H to FT_SFNT_NAMES_H * docs/docmaker.py: added generation of INDEX link in table of contents
David Turner 8d3a401f 2001-03-20T11:14:24 * builds/*/*-def.mk: changed the objects directory from "obj" to "objs" * include/freetype/config/ftheader.h: removed obsolete macros like FT_SOURCE_FILE, etc.. and added cache-specific macro definitions that were previously defined in <freetype/ftcache.h>. Added comments to be included in a new API Reference section. * src/*/*: removed the use of FT_SOURCE_FILE, etc.. now, each component needs to added its own directory to the include path at compile time. Modified all "rules.mk" and "descrip.mms" accordingly..
Tom Kacvinsky f3dad68b 2001-03-19T13:52:31 In function parse_font_matrix(), make sure that the units per em value is assigned an unsigned short value, first by shifting right 16 bits, then by casting the results to FT_UShort.
Tom Kacvinsky 70d6f38e 2001-03-19T13:44:15 Change units per EM assignment in cff_parse_font_bbox().
David Turner 3798110f 2001-03-19T11:34:49 fixed a small bug
David Turner 168e39a1 2001-03-17T23:25:34 small update to remove compiler warnings
Tom Kacvinsky c24eff8d 2001-03-17T19:01:25 Another minor typo fix in cff_parse_font_bbox().
Tom Kacvinsky b2712e2e 2001-03-17T16:46:25 Corrected a typo in function cff_parse_font_bbox().
Tom Kacvinsky ea48f458 2001-03-17T16:38:49 In function cff_parse_font_bbox(), obtain rounded FT_Fixed values for the bounding box numbers.
Tom Kacvinsky 8958d03a 2001-03-17T16:36:51 In function CFF_Init_Face(), when we process a pure CFF font, set `root->ascender' (`root->descender') to the integer part of the `root->bbox.yMax' (`root->bbox.yMin', respectively).
Tom Kacvinsky 84ad2a22 2001-03-16T15:03:13 Added function get_cff_glyph_name() in order to facilitate getting a glyph name for glyph index via FT_Get_Glyph_Name(). In function cff_get_interface(), added support for getting a glyph name via the "glyph_name" module interface (used in the function FT_Get_Glyph_Name()). We use the new function get_cff_glyph_name().
Tom Kacvinsky b9561b78 2001-03-16T13:40:50 In function CFF_Init_Face(), logical or the face flags with FT_FACE_FLAG_GLYPH_NAMES only if FT_CONFIG_OPTION_NO_GLYPH_NAMES is not defined. This is to add support for getting a glyph name from a glyph index vi FT_Get_Glyph_Name().
Tom Kacvinsky 8316bc59 2001-03-16T13:35:56 In function CFF_Parse_CharStrings(), added support for deprecated operator "dotsection". Submitted by Sander van der Wal <svdwal@xs4all.nl>
Werner Lemberg 9a8b536f 2001-03-12T22:33:52 * src/psaux/t1decode.c (T1_Decoder_Parse_Charstrings): Fix error messages. * INSTALL, docs/BUILD: We need GNU make 3.78.1 or newer.
Tom Kacvinsky 68621135 2001-03-12T02:17:50 In cid_read_subrs, decode subroutines only if lenIV >= 0.
Tom Kacvinsky e355d008 2001-03-12T02:05:17 In cid_load_glyph, decrypt charstrings only if lenIV >= 0.
Tom Kacvinsky 9b59f2c3 2001-03-12T01:42:38 In function T1_Decoder_Parse_Charstrings, take into account lenIV seed bytes at the start of a decrypted subroutine.
Werner Lemberg 22e812a8 2001-03-11T13:11:43 * src/pcf/pcfread.c: Put READ_Fields() always in a conditional to avoid compiler warnings.
Werner Lemberg 29bac136 2001-03-11T11:28:39 * TODO: Updated. * src/cid/cidload.c (parse_font_matrix): Added units_per_EM * src/type1/t1load.c (parse_font_bbox): Changed to use FT_Fixed
Tom Kacvinsky e5b8bbb8 2001-03-10T19:10:25 In function T1_Init_Face, changed the assignment code for ascender, descender, and max_advance_width.
Tom Kacvinsky 5d362b6b 2001-03-10T19:08:44 Changed parse_font_bbox to use FT_Fixed values for the bbox assignment, and use rounded values instead.
Tom Kacvinsky 00169a30 2001-03-10T19:06:54 In CID_Init_Face, use calculated units_per_EM, and if that is not available, default to 100 units per EM. Changed assignment code for ascender and descender values.
Tom Kacvinsky 025c2f3f 2001-03-10T19:04:41 Added units_per_EM processing to parse_font_matrix, and added FT_Fixed number handling to parse_font_bbox.
Tom Kacvinsky c2f44c16 2001-03-10T19:02:51 Added implementation of three new functions: FT_RoundFix, FT_CeilFix, and FT_FloorFix.
Werner Lemberg 914b289f 2001-03-10T17:07:42 * src/*/*.c: Added many casts to make code more 64bit-safe.
Tom Kacvinsky bdcfd524 2001-03-07T20:53:08 Minor correction in T1_Init_Face: we must wait until parse_font_bbox is changed before we use logical shift rights in the assignments of `root->ascender', `root->descender', and `root->max_advance_width'.
Tom Kacvinsky 3f06635b 2001-03-07T20:42:18 2001-03-07 Tom Kacvinsky <tjk@ams.org> * src/type1/t1objs.c (T1_Done_Face): Free `char_name' table to avoid a memory leak. Submitted by Sander van der Wal <svdwal@xs4all.nl>
Werner Lemberg 2e35c9b4 2001-03-06T13:56:42 formatting
Tom Kacvinsky e20035ae 2001-03-05T16:22:25 2001-03-05 Tom Kacvinsky <tjk@ams.org> * src/cff/cffgload.c (CFF_Load_Glyph): Set glyph control data to the the Type 2 glyph charstring (used by conversion programs). Submitted by Ha Shao <hashao@chinese.com>.
Werner Lemberg e274cfd3 2001-03-04T21:53:08 * src/autohint/ahtypes.h (AH_Hinter): Add elements `disable_horz_edges', `disable_vert_edges'. * src/autohint/ahhint.c (ah_hint_edges_3, ah_hinter_hint_edges): Use them (and remove static variables with the same names). * src/pcf/pcfutil.c (BitOrderInvert): Add `const'. * docs/glnames.py: Updated to latest pstables.h changes. * src/psnames/pstables.h: Add more `const'. * src/pcf/pcfutil.c: Ditto. * src/base/ftglyph.c (FT_Glyph_To_Bitmap): Fixing typo (FT_Glyph_Done -> FT_Done_Glyph). * include/freetype/ttnameid.h: Added some new Microsoft language codes and LCIDs as found in Office Xp. * builds/hurd/detect.mk: New file. Added support to detect the GNU Hurd operating system as Unix-like. Fix submitted by Anthony Fok <foka@debian.org>. * src/type1/t1gload.c (T1_Load_Glyph): Set glyph control data to the the Type 1 glyph charstring (used by conversion programs). Submitted by Ha Shao <hashao@chinese.com>. * src/base/ftgrays.c (grays_sweep): The function didn't exit immediately if `num_cells' was 0 as it should. Thanks to Boris for finding this out. * src/base/ftglyph.c (FT_Glyph_To_Bitmap): Fixed memory leak when bitmap rendering fails (thanks to Graham Asher). * docs/docmaker.py, include/freetype/*.h: Updated the DocMaker script to support chapters and section block ordering. Updated the public header files accordingly. * src/base/ftglyph.c (FT_Glyph_Copy): Advance width and glyph format were not correctly copied.
David Turner 8a8d5c88 2001-02-28T09:36:13 the Type 1 glyph loader now sets the glyph control data to the T1 charstrings program.
David Turner 5aeaad6c 2001-02-23T17:47:41 fixed a bug reported by Graham Asher
David Turner 8fe916ca 2001-02-16T16:27:35 fixed a small bug (the advance and format were not copied in FT_Glyph_Copy)
Werner Lemberg 500dc854 2001-02-10T17:45:01 formatting
Tom Kacvinsky 1e5f0ee6 2001-02-08T23:23:46 Removed an unnecessary fprintf( stderr, ... ) from cff_parse_font_matrix
Tom Kacvinsky 97094311 2001-02-07T03:45:49 In function is_alpha, make `-' a legal alphanumeric character. This is so that font names with `-' are fully parsed, etc...
Tom Kacvinsky 7b91bead 2001-02-07T01:14:53 In function T1_Init_Face, added code to get the units_per_EM from the value assigned in parse_font_matrix, if available. Default to 1000 if not available.
Tom Kacvinsky c27cd28e 2001-02-07T01:11:54 In function cff_parse_font_matrix, added logic to get the units_per_EM from the FontMatrix. Added a new function (cff_parse_fixed_thousand) that gets a real number fromt he CFF font, but multiplies by 1000 (this is to avoid rounding errors when placing this real number into a 16.16 fixed number). In function cff_parse_real, added code so that the integer part is moved into the high sixtenn bits of the 16.16 fixed number.
Tom Kacvinsky c97cf17a 2001-02-07T01:08:34 In function CFF_Init_Face, added logic to get the units per EM from the CFF dictionary, if available.
Werner Lemberg e56b411f 2001-02-03T04:34:53 * src/psaux/psobjs.c (shift_elements): Remove if clause (which is obsolete now). (reallocate_t1_table, PS_Table_Done): Replace REALLOC() with ALLOC() + MEM_Copy() to avoid a memory bug.
Tom Kacvinsky b2d5fefe 2001-01-24T22:41:20 In function parse_font_matrix, added heuristic to get units_per_EM from the font matrix. In parse_dict, deleted test to see if the FontInfo keyword has been seen. Deletion of this test allows fonts without FontInfo dictionaries to be parsed by the Type 1 driver. In T1_Open_Face, deleted empty subroutines array test to make sure fonts with no subroutines still are parsed.
Werner Lemberg 3dac27d9 2001-01-18T04:00:12 * src/pcfread.c (pcf_get_properties, pcf_get_metrics, pcf_get_bitmaps): Fix compiler errors. * src/pcf/pcfread.c: Removed some compilation warnings related
David Turner db071787 2001-01-12T21:49:08 some minor changes to allow compilation in all modes, without warnings
Werner Lemberg d573c7e7 2001-01-03T07:14:12 formatting
Werner Lemberg c3e987e2 2001-01-03T06:47:10 * builds/vms: Support files for VMS architecture added. * descrip.mms, src/*/descrip.mms: VMS makefiles added. * README.VMS: New file. * LICENSE.TXT: Added info about PCF driver license.
Tom Kacvinsky 8d1f6049 2001-01-03T00:21:59 Changed to use cffgload.{c,h} instead of t2gload.{c,h}. Also, all occurences of t2_ (T2_) were replaced with cff_ (CFF_, resp.).
Tom Kacvinsky 8050a6b8 2001-01-03T00:17:58 This file was previously known as t2gload.h.
Tom Kacvinsky 167e2be4 2001-01-03T00:17:15 Renamed to cffgload.h.
Tom Kacvinsky ceac7b9f 2001-01-03T00:16:24 Changed to reflect the changes made in the source files: we now use cffgload.{c,h} instead of t2gload.{c,h}.
Tom Kacvinsky cd92b11d 2001-01-03T00:15:00 This file was previously known as t2gload.c.
Tom Kacvinsky fa3d6e94 2001-01-03T00:14:11 Renamed t2gload.c to cffgload.c.
Werner Lemberg 389acc62 2001-01-01T17:25:21 * src/pcf/*: New driver module for PCF font format (used in X Windows). * include/freetype/internal/ftdebug.h (FT_Trace): Added values for PCF driver. * include/freetype/internal/pcftypes.h: New file. * include/freetype/config/ftmodule.h: Added PCF driver module. * src/winfonts/winfnt.c (FNT_Get_Char_Index): Fix parameter type. * builds/modules.mk (clean_module_list): Fixed deletion of module file in case `make make_module_list' is called before `make setup'.
Werner Lemberg f28b7bfa 2001-01-01T17:24:31 Initial revision
Werner Lemberg 6b766636 2000-12-30T22:14:58 * src/cff/cffload.c (CFF_Load_Charset): Improved error messages. (CFF_Load_Charset, CFF_Load_Encoding): Remove unnecessary variable definition. * src/cff/t2gload.c (t2_lookup_glyph_by_stdcharcode, t2_operator_seac): Added these functions for use in implementing the seac emulation provided by the Type 2 endchar operator. (T2_Parse_CharStrings): Added seac emulation for the endchar operator. CFF_Done_Encoding, CFF_Done_Charset): Extended to load and parse the charset/encoding tables, and free the memory used by them when the CFF driver is finished with them. Added tables
Tom Kacvinsky abe0d472 2000-12-30T00:39:40 Added functions t2_lookup_glyph_by_stdcharcode and t2_operator_seac for use in implementing the seac emulation provided by the Type 2 endchar operator. Extended T2_Parse_CharStrings to add seac emulation for the endchar operator.
Tom Kacvinsky 4ba1c0ad 2000-12-30T00:37:14 Added tables cff_isoadobe_charset cff_expert_charset cff_expertsubset_charset cff_standard_encoding cff_expert_encoding Extended functions CFF_Load_Encoding, CFF_Load_Charset, CFF_Done_Encoding, and CFF_Done_Charset to load and parse the charset/encoding tables, and free the memory used by them when FreeType is finished with them.
Tom Kacvinsky 91a0b65f 2000-12-24T10:01:54 In function T2_Load_Glyph, added code so that the font transform is applied.
Tom Kacvinsky a05c02c9 2000-12-24T09:57:28 Added code to cff_parse_font_matrix so that the font matrix numbers are scaled by 1/(matrix->yy). Also, the offset vector now contains integer values instead of 16.16 fixed numbers.
Tom Kacvinsky 45fbecbb 2000-12-22T07:24:02 Removed unnecessary comments and commented-out code from ah_hinter_load_glyph.
David Turner 55b7403b 2000-12-22T03:40:14 removing obsolete "cidafm" files
Tom Kacvinsky f8d841a7 2000-12-21T01:25:13 Changed functions ah_hinter_load and ah_hinter_load_glyph so that synthetic fonts render correctly. Previously, the first glyph rendered from such a font did not have the FontMatrix applied.
Werner Lemberg 594f0c96 2000-12-20T22:09:41 * *.mk: Added lots of `.PHONY' targets. * *.mk: Implemented `platform' target to disable auto-detection. Added support for clipped direct rendering in the smooth renderer. This should not break binary compatibility of existing applications. * include/freetype/fttypes.h, include/freetype/ftimage.h: Move definition of the FT_BBox structure from the former to the latter. * include/freetype/ftimage.h: Add `ft_raster_flag_clip' value to FT_Raster_Flag enumeration. Add `clip_box' element to FT_Raster_Params structure. * src/smooth/ftgrays.c (grays_convert_glyph): Implement it. * src/raster/ftraster.c (ft_black_render): Test for unsupported direct rendering before testing arguments.
David Turner 1eb9a43a 2000-12-14T21:24:27 fixed small bug (no need to test target pixmap in direct rendering mode)
David Turner 859a18a3 2000-12-14T18:50:40 support for clipped direct rendering updated INSTALL file for Win32 case
Werner Lemberg 63408a12 2000-12-13T23:44:37 include/freetype/internal/internal.h: Fixed header inclusion macros to use direct definitions. This is the only way to do these things in a portable way :-( The rest of the code should follow shortly though everything compiles now. * builds/compiler/intelc.mk, builds/compiler/watcom.mk: New files. * builds/win32/detect.mk: Added support for the Intel C/C++ compiler, as well as _preliminary_ (read: doesn't work!) support for Watcom. Also added a new setup target. Type "make setup list" for a list of supported command-line compilers on Win32. * src/base/ftdebug.c: Added dummy symbol to avoid empty file if conditionals are off.
David Turner 170c0d4c 2000-12-13T19:55:11 * include/freetype/config/ft2build.h, include/freetype/internal/internal.h: fixed header inclusion macros to use direct definitions. This is the only way to do these things in a portable way :-( The rest of the code should follow shortly though everything compiles now.. * builds/compiler/intelc.mk, builds/compiler/watcom.mk, builds/win32/detect.mk: added support for the Intel C/C++ compiler, as well as _preliminary_ (read: doesn't work !!) support for Watcom. Also added a new setup target. Type "make setup list" for a list of supported command-line compilers on Win32..
Werner Lemberg d5c1b27d 2000-12-12T22:28:12 * include/freetype/config/ft2build.h (FT2_ROOT, FT2_CONFIG_ROOT): Removed. ANSI C doesn't (explicitly) allow macro expansion in arguments using `##'. (FT2_PUBLIC_FILE, FT2_CONFIG_FILE, FT2_INTERNAL_FILE): Use directory names directly. Make them configurable. Use `##' to strip leading and trailing spaces from arguments. * builds/unix/ft2unix.h: Adapted. * src/base/ftsystem.c (ft_alloc, ft_realloc, ft_free, ft_io_stream, ft_close_stream): Use FT_CALLBACK_DEF. * builds/unix/ftsystem.c: Use new header scheme. (FT_Done_Memory): Use free() from FT_Memory structure. * src/base/ftinit.c, src/base/ftmac.c: Header scheme fixes. * include/freetype/config/ft2build.h (FT2_CONFIG_ROOT, FT2_PUBLIC_FILE, FT2_CONFIG_FILE, FT2_INTERNAL_FILE, FT_SOURCE_FILE): Use `##' operator to be really ANSI C compliant.
Werner Lemberg 16a60e87 2000-12-12T16:29:46 next try
Werner Lemberg 6d5d719d 2000-12-12T06:36:55 * include/freetype/config/build.h (FT2_CONFIG_ROOT, FT2_PUBLIC_FILE, FT2_CONFIG_FILE, FT2_INTERNAL_FILE, FT_SOURCE_FILE): Use `##' operator to be really ANSI C compliant. * builds/unix/detect.mk: Remove unused USE_CFLAGS variable. * src/truetype/ttinterp.c: Remove unused CALC_Length() macro.
Werner Lemberg 90d9964e 2000-12-09T00:45:38 * */*.h: Changed body inclusion macro names to start and end with `__' (those which haven't converted yet). Fixed minor conversion issues. * src/winfonts/winfnt.c: Updated to new header inclusion scheme. * */*.[ch]: Changed source files to adhere to the new * src/cff/cff.c, src/cff/rules.mk: Updated. * */*.[ch]: Now using <ft2build.h> as the default build and setup
Werner Lemberg cc069beb 2000-12-08T16:17:16 cleanups
David Turner 19ed8afe 2000-12-08T02:42:29 - updated all source files to adhere to the new inclusion scheme - the CFF loader now loads the encodings and charset tables though doesn't use them for now
David Turner 50840943 2000-12-06T18:02:01 * src/cache/ftlru.c (FT_Lru_Done): fixed a small memory leak
Werner Lemberg 33d02368 2000-12-06T16:31:30 * builds/module.mk: Replaced `xxx #' with `xxx$(space). * builds/os2/detekt.mk, builds/win32/detekt.mk: Moved comment to avoid trailing spaces in variable. * builds/freetype.mk: Use $(D) instead of $D to make statement more readable. * docs/docmaker.py: Formatting. * src/psaux/psauxmod.c: Fixed a broken inclusion of component header files (an FT_FLAT_COMPILE test was missing). * src/cache/ftcmanag.c (FTC_Manager_Done): Fixed a bug that caused an occasional crash when the function was called (due to a dangling pointer). * src/base/ftsystem.c (FT_Done_Memory): Fixed an obvious bug: The ANSI "free()" function was called instead of "memory->free()". * docs/docmaker.py: Added section filtering, multi-page generation (index page generation is still missing though). * builds/unix/install.mk, builds/unix/ft2unix.h: The file "ft2unix.h" is now installed as <ft2build.h> for Unix systems. Note that we still use the "freetype2/freetype" installation path for now. * many files: Now using <ft2build.h> as the default build and setup configuration file in all public headers. Internal source files still need some changes though. * builds/devel/ft2build.h, builds/devel/ftoption.h: Created a new Win32 developer builds. builds/win32/w32-dev.mk: Changed the developer build targets to "devel-gcc" and "devel-bcc" in order to be able to develop with the Borland C++ compiler.
David Turner 940d3064 2000-12-05T23:07:16 re-fixed FTC_Manager_Done :-)
David Turner 00004eef 2000-12-05T22:28:15 fixed a broken inclusion of header files (a FT_FLAT_COMPILE test was missing !!)
David Turner 91bb1658 2000-12-05T22:23:12 fixed a bug in FTC_Manager_Done
David Turner ca8d1cda 2000-12-05T21:32:02 fixed small error in last update of FT_Done_Memory
David Turner e646ff6f 2000-12-05T08:39:14 fixed an obvious bug in FT_Done_Memory. The ANSI "free" function was called, instead of "memory->free" !!
David Turner d3c8e064 2000-12-04T22:53:55 - updating the header inclusion scheme to use <ft2build.h> by default.. - created "builds/devel" to hold developer builds options for both Win32 and Unix - fixed a bug in the winfonts driver, where the glyph image format wasn't set correctly..
David Turner efa80f2b 2000-12-01T21:43:05 fixed a few warnings with Borland C++
David Turner b1aabf4c 2000-11-30T23:48:22 - added support for the free command-line Borland C++ compiler in the "builds" directory - modified a few files because BCC32 didn't like certain comparisons (UInt compared with a UShort, apparently the UShort is promoted to an Int) - updated the INSTALL file to include IDE compilation, prevent against BSD Make, and clarify the use of "make setup" (instead of "make") for build configuration
Tom Kacvinsky 16bf6da6 2000-11-30T21:56:55 Fixed computation of `face->height'.
Tom Kacvinsky 21da8484 2000-11-30T21:53:39 Added calculation of `face->height' for pure CFF fonts.
David Turner ac83e7e0 2000-11-29T23:59:08 fixed a bug in the Conic bezier extrema computation formula..
Werner Lemberg ada9503d 2000-11-29T17:48:57 * src/base/ftcalc.c (FT_SqrtFixed), src/base/ftobjs.c (FT_Set_Renderer): Use FT_EXPORT_DEF. * src/cache/ftcimage.c (FTC_Image_Cache_Lookup), src/cache/ftcmanag.c (FTC_Manager_Done, FTC_Manager_Reset, FTC_Manager_Lookup_Face, FTC_Manager_Lookup_Size, FTC_Manager_Register_Cache), src/cache/ftcsbits.c (FTC_SBit_Cache_Lookup): Ditto. * src/include/freetype/cache/ftcglyph.h (FTC_GlyphNode_Init), src/include/freetype/ftmac.h (FT_New_Face_From_FOND): Use FT_EXPORT.
Werner Lemberg f1ca2344 2000-11-29T15:18:54 * src/sfnt/sfdriver.c: Include ttsbit.h and ttpost.h only conditionally. * src/truetype/ttdriver.c (Set_Char_Sizes, Set_Pixel_Sizes): Set `size->strike_index' only conditionally. * src/type1/t1driver.c, src/type1/t1objs.c: Include t1afm.h only conditionally. * src/winfonts/winfnt.h: Move all type definitions to... * src/include/freetype/internal/fnttypes.h: New file. * src/winfonts/winfnt.c: Use it. * include/freetype/internal/ftdebug.h: Replaced FT_CAT and FT_XCAT with a direct solution (which also satifies picky compilers).
Werner Lemberg d157fcf0 2000-11-29T04:45:26 * src/truetype/ttobjs.c (TT_Init_Size): Fix #ifdef's to work with disabled interpreter also. * src/base/ftnames.c (FT_Get_Sfnt_Name_Count): Fix incorrect parentheses.
Werner Lemberg 053e24ea 2000-11-27T19:23:05 formatting
Tom Kacvinsky 6dc51e9c 2000-11-27T08:22:23 T2_Parse_CharStrings: Added more logic to glyph width setting code to take into account even/odd argument counts.
Tom Kacvinsky 834b53ed 2000-11-27T03:23:50 Simplied glyph width processing code and the comments pertaining to it.
Tom Kacvinsky 6037f084 2000-11-27T00:57:13 In function T2_Parse_CharStrings, modified glyph width assignment code to be more robust. The code now takes into account glyphs that 1. have the width given as it is, rather than as a difference against `nominal_width', and 2. have the width operand specified before one of the h/r/vmoveto commands or the endchar command.
Werner Lemberg 6dd303db 2000-11-26T21:25:53 * builds/ansi/ansi.mk: Fix inclusion order of files. * src/type1/t1objs.c (T1_Init_Face): Compute style flags.
Werner Lemberg 27695e5d 2000-11-23T08:21:13 * src/type1/t1load.c (parse_subrs, parse_charstrings): Use decrypt function from PSAux module. * src/type1/t1parse.c (T1_Done_Parse): Renamed to... (T1_Finalize_Parser): New function (to avoid name clash with a function in the PSAux module). (T1_Decrypt): Removed since it it duplicated in the PSAux module. (T1_Get_Private_Dict): Added `psaux' as new parameter; use decrypt function from PSAux module. * src/type1/t1parse.h: Adapted.
Tom Kacvinsky 3da9d565 2000-11-23T03:43:14 In function T2_Get_String, we called T2_Get_Name with an string id that was off by one.
Tom Kacvinsky a51b45c6 2000-11-22T23:34:56 Make sure that parse_t2_real correctly parses a CFF real number. Added more comments to the function.
Tom Kacvinsky c3dfbde0 2000-11-22T14:34:22 In function T2_Init_Face, make sure that root->num_faces gets set when loading a pure CFF font, and change units_per_EM to 1000 for a pure CFF font.
Werner Lemberg 5c4f5ebd 2000-11-18T04:42:41 formatting
David Turner e006675e 2000-11-16T19:06:28 added support to synthetic Type 1 fonts. Why didn't this thing get committed ??