src


Log

Author Commit Date CI Message
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 ??
Werner Lemberg 34e52707 2000-11-13T16:58:01 Formatting; removing tabs.
Tom Kacvinsky 200a1a41 2000-11-13T07:31:21 In function TT_Load_Generic_Header, change tracing output to indicate if a `bhed' or `head' table is being read. In function TT_LookUp_Table, change tracing output to indicate success or failure of table loading, and place output on one line.
Tom Kacvinsky e0bd0c01 2000-11-13T07:26:31 In function SFNT_Load_Face, set has_outline to true only if the font has a `CFF ' or `glyf' table.
Werner Lemberg a82cd844 2000-11-10T22:43:37 Small fixes and formatting.
David Turner c9d7b5e3 2000-11-09T03:18:32 minor warning with VC++ solved
David Turner cd1afc4e 2000-11-09T00:47:05 fixed a bug in "docs/glnames.py" which caused he generation of an invalid Mac names table in the file "src/psnames/pstables.h". This caused FT_Get_Glyph_Name to return invalid glyph names for certain TrueType fonts..
David Turner a6c747d2 2000-11-08T19:44:48 fixed a small bug: the "linearHoriAdvance" and "vertHoriAdvance" were not set correctly when the auto-hinter is used to load/hint a glyph..
David Turner 5387d894 2000-11-08T19:40:08 fixed max advance width for fixed-pitch T1 fonts
David Turner 23a0670b 2000-11-08T00:20:25 removed the file <freetype/internal/ftlist.h> and corrected files that depended on it. the ftlist.c function definitions are now FT_EXPORT_DEF instead of FT_BASE_DEF
David Turner 94e3bfaf 2000-11-08T00:15:58 fixed a small bug in the abstract chunk cache class
Werner Lemberg 8ec9dfd9 2000-11-07T23:56:02 Moving doc comments for BASE functions from source to header files.
Werner Lemberg 90a03301 2000-11-07T17:21:11 All function comments are now removed from source files (and moved to the header files if necessary). Some minor fixes to have `make multi' run successfully (with gcc and g++). Fixing compiler warnings.
Werner Lemberg 4b68007b 2000-11-07T06:30:29 Complementing David's changes with formatting, adding documentation, etc. More `*'-convention formatting, adding the `a' resp. `an' prefix to variables.
David Turner f96594fa 2000-11-06T23:07:51 integrated Yamano-Uchi changes to the base source code. However, I've made a few modifications: - there is no new field named "driver" in "FT_SizeRec" - the new fields in "TT_SizeRec" are: strike_index :: value 0xFFFF means "no sbit strike selected" strike_metrics :: the FT_Size_Metrics structure corresponding to the currently selected strike - the code in "ttload.c" has been somewhat cleaned up too thanks a lot, Y-U !! - David
David Turner 25dee217 2000-11-06T19:29:06 some updates to the cache sub-system. some methods were moved from the concrete "FTC_Image_Cache" and "FTC_SBit_Cache" to the abstract "FTC_Glyph_Cache" and "FTC_Chunk_Cache", respectively.. note: this is not the end of changes to the cache sub-system
Werner Lemberg 8c883fb5 2000-11-05T23:41:08 minor fixes. Add more gcc warnings for development on UNIX.
Werner Lemberg 77fb4ced 2000-11-04T09:41:45 removed redundant checks.
Werner Lemberg dc72aff4 2000-11-04T08:33:38 Finishing David's latest changes (there were some errors in it).
David Turner 54e75749 2000-11-04T02:52:02 defining new types to hold "internal" fields of public objects: FT_Face_Internal, FT_Size_Internal, FT_Slot_Internal these contain some fields that may change between releases of FreeType, without affecting the size of FT_FaceRec, FT_SizeRec, FT_GlyphSlotRec, etc.., which means that drivers wouldn't need to be recompiled if we only add new fields to an internal structure.. I plan to hack a few things related to the auto-hinter and I need this move to ensure that we will not break binary compatibility between 2.0 and 2.1 :-) - David
David Turner 76a5f623 2000-11-04T01:55:49 major reformatting of the sources: FT_EXPORT_DEF => FT_EXPORT FT_EXPORT_FUNC => FT_EXPORT_DEF BASE_DEF => FT_BASE BASE_FUNC => FT_BASE_DEF LOCAL_DEF => FT_LOCAL LOCAL_FUNC => FT_LOCAL_DEF LOCAL_FUNC_X => FT_CALLBACK_DEF LOCAL_DEF_X => FT_CALLBACK_TABLE FT_CPLUSPLUS => FT_CALLBACK_TABLE_DEF
Werner Lemberg 40911094 2000-11-03T07:57:51 Don't access freed variables...
Werner Lemberg 7b45c28d 2000-11-03T07:34:29 Remove redundant code; fix computation of `last'.
Werner Lemberg a13a473d 2000-11-02T15:14:38 More C++ fixes.
Werner Lemberg 21fb2d95 2000-11-02T08:20:15 Adding header file for labs().
Werner Lemberg ab855232 2000-10-31T22:13:54 Fixing include header for a `make multi' build. Finishing formatting of cache stuff. Fixed getDriverClass stuff -- added it to winfnt.c also. Note that this still has to be documented.
Werner Lemberg e4b32a5d 2000-10-31T20:42:18 Removing trailing whitespace.
Werner Lemberg 3dc4374f 2000-10-31T17:49:07 Formatting. Removed double src/cache/ftcimage.h. Replaced FTC_Image_Type with #defines since this contains bit flags and not enumerated values.
David Turner 29094757 2000-10-31T10:58:23 at last, the infamous cache bug is fixed !!
Tom Kacvinsky 6043b240 2000-10-29T01:47:51 In function FTC_ChunkSet_Destroy, changed `manaher' to `manager'. Just a fix for a silly typo.
David Turner ece63798 2000-10-28T23:34:45 completed the sbit cache, though it's still buggy :-( major reformatting of the cache subsystem (again) added substantial documentation too in header files
Werner Lemberg b5084e11 2000-10-28T17:10:06 Renamed z1* files back to t1*; the same transition for Z1_* structures Removed obsolete raster1/* files.
David Turner 4e4a4363 2000-10-28T13:17:11 - completed the abstract chunk cache class - started implementin a "small-bitmaps" cache derived from it - (soon a "metrics" cache will be written too)
David Turner 9b8f5c4c 2000-10-28T07:26:59 small updates: - reworked slightly the cache manager to better differentiate between the abstract class in "ftcglyph.h" and the FT_Glyph sub-class in "ftcimage.h", and slightly reduced the size of FTC_GlyphNodeRec, saving 8 bytes on a 32-bit system. Yes, I'm crazy ;-) - added build files to compile with LCC on Unix too (compile speeds _are_ insane with it). There is unfortunately a bug in the version I'm using (LCC 4.1) that prevents it to compile FT_MulTo64 correctly (in src/base/ftcalc.c) the generated assembly is incorrect, I don't know what to do ?? the build files are ok, though.. you should invoke "make setup lcc" to select them..
David Turner 47c14b9d 2000-10-27T00:53:16 fixing a small bug in FT_Glyph_To_Bitmap: the glyph advance wasn't copied to the bitmap !!
Werner Lemberg ddbb8e7b 2000-10-26T10:04:16 Some formatting. Fixed some data types/added header files to remove compiler warnings. Added trivial input data check to FT_Outline_Get_BBox(). Fixed type1z -> type1 file inclusions.
David Turner a4e2894e 2000-10-26T00:30:33 simple renaming of directories: "type1z" -> "type1" "raster1" -> "raster" note that I didn't rename all files. We'll have to endure the "z1..." crazyness unless we perform a _big_ sed on the sources :-)
David Turner 3a3ffedc 2000-10-26T00:08:15 adding "ftbbox" to build rules
David Turner 54169b35 2000-10-26T00:06:35 - reviving the "ftbbox" component, used to compute exact bounding box computations - minor update to docmaker.py, more is coming
Werner Lemberg 6a425338 2000-10-24T05:44:59 fixes for fixes :-) formatting; compiles now without warnings on my Linux box
David Turner dc26e7b7 2000-10-23T22:46:56 - minor reformatting of "ftmodule.h" - added missing "const" statements in the source code in order to really get rid of writable static variables
Werner Lemberg 05f0ad09 2000-10-19T05:12:00 Converting tabs to spaces in z1load. Edited FT1's convntns.txt and added it to FT2.
Tom Kacvinsky 40822003 2000-10-17T20:25:30 In function parse_encoding, initialize encoding_table.elements to have .notdef in each entry. In function parse_charstrings, place the .notdef glyph in index 0, and add a .notdef glyph if it is missing. In function Z1_Open_Face, only change min/max encoded char if it is not .notdef.
Werner Lemberg 5a96b07c 2000-10-17T14:29:48 Fixed two typos spotted by Ryan Martindale <ryan@qsicorp.com>.
Werner Lemberg 47a5f41d 2000-10-17T03:38:43 Added copyright messages to all Makefiles. Added documentation to FT_Get_Sfnt_* stuff (in ftnames.[ch]) minor other doc fixes
Werner Lemberg c1635d44 2000-10-15T23:32:01 ftnames.c has been erroneously included twice.
Werner Lemberg 0bf381f7 2000-10-15T21:59:58 Make ftsynth.c work again. Renamed FT_*_Outline to FT_Outline_*
Werner Lemberg dc268f24 2000-10-15T17:59:17 Fix typo (FT_... -> TT_...)
Tom Kacvinsky 95ac657e 2000-10-15T08:53:27 Minor fix in Z1_Open_Face for building char_index table
Werner Lemberg e67e349a 2000-10-13T21:00:36 More fixes to the tutorial. Added artificial Type 1 pid/eid paors to ttnameid.h.
Werner Lemberg eddd9909 2000-10-12T05:05:40 formatting small fixes
David Turner f88969ab 2000-10-12T00:28:00 the function FTC_Manager_Lookup_Size will return a valid FT_Face handle, even if no size was found..
David Turner b89fb71c 2000-10-11T23:39:03 fixed a subtle 64-bit problem that only appears with Compaq C compiler (though it's really a bug)
Werner Lemberg a7096374 2000-10-11T23:31:12 Added new `ft_glyph_bbox_unscaled' enum; fixing documentation of FT_Glyph_Get_CBox(). ftnames.c has been omitted from the Makefile.
Werner Lemberg 3d568ac7 2000-10-11T14:59:46 A fix from Yamano'uchi to get correct font names.
Werner Lemberg eadc8df2 2000-10-11T05:52:42 A fix from Tom to fix the last=first point problem if it is a control point.
Werner Lemberg 0634cedb 2000-10-09T01:44:40 patch from Tom to fix a problem with path_begun.
Werner Lemberg 6fbe4db6 2000-10-05T04:53:31 minor formatting issues
David Turner f00a4de9 2000-10-03T22:03:09 fixed two bugs: - one bug in the auto-hinter that could cause some program crashes with certain fonts - fixed the loading of the font matrix "offset" parameters in Type 1 and CID-keyed fonts..
David Turner ec0b2cd9 2000-10-03T19:22:52 small fix: when in direct rendering mode, the target bitmap buffer is not checked..
David Turner 78dd7104 2000-10-03T19:13:11 small fix: when in direct rendering mode, the target bitmap buffer is not checked..
David Turner a0be99f1 2000-10-03T18:02:02 changing the linkage type of FT_New_GlyphSlot and FT_Done_GlyphSlot to BASE_DEF instead of FT_EXPORT_DEF
Werner Lemberg 8bb45ec8 2000-09-29T06:41:56 Fixing comment in unixddef.mk which caused a trailing blank. Adding a new error, FT_Err_Invalid_Pixel_Size (used in winfnt.c) Fixing FT_Read_Fields() which failed for ft_frame_{bytes,skip}. This bug disabled the Winfont driver. Minor formatting issues.
David Turner 42022c8c 2000-09-27T01:01:10 fixed a bug in the Type 1 and CID font drivers: the value of the descent returned was positive, instead of being negative..
Werner Lemberg 8925009f 2000-09-26T13:25:15 Adding missing code for flat compiling mode.
Werner Lemberg f50c2954 2000-09-22T06:52:20 Fixed typo in ftimage.h Fixed sbit on/off flag in cache code.
Werner Lemberg 50dd5858 2000-09-22T03:37:45 Applied a patch from Hidetoshi for embedded bitmap metrics support.
Werner Lemberg 1a2908bb 2000-09-21T14:10:23 Added support for (3,0) pid/eid.
David Turner 4e38576a 2000-09-19T19:44:42 fixed a bug that happened when rendering spaces in monochrome mode.. actually, when outline.num_points == 0, it is legal to have outline.points == 0 too. The code did return a FT_Err_Invalid_Outline error incorrectly then because the checks were not performed in the correct order
David Turner ebdce834 2000-09-19T01:11:11 updated the cache sub-system. Major internal rewrite please be aware that major bug persist..
David Turner b71c6af0 2000-09-17T17:17:16 fixed minor bug in the smooth renderer which forced the span callback to be called with y == -1 and count == 0
David Turner d38a4f65 2000-09-15T22:42:43 removed obsolete files
David Turner b8817177 2000-09-15T17:17:17 small bug-fix, the linearHoriBearing value was not loaded not computed correctly
David Turner c9ce9e4e 2000-09-15T17:16:49 small bug-fix
David Turner f2545e80 2000-09-15T03:37:16 fixed a very stupid bug that prevented FT_Outline_Render from working correctly..
Werner Lemberg f9b03750 2000-09-11T22:50:13 small formatting issues.
David Turner a8194a97 2000-09-02T00:20:42 - added a new function called FT_SqrtFixed to compute the 16.16 square root of a 16.16 number (this could come handy in a later version of the auto-hinter) - small fixes to the smooth renderer. It used to use way too much line segments when drawing beziers !!
Werner Lemberg 21a27ee3 2000-09-01T14:36:39 Fixed a long outstanding bug with an incorrect offset for reading post tables.
David Turner 79096739 2000-08-30T21:40:45 - the file "ftlist.h" was moved from <freetype/internal/..> to <freetype/...> - bugfix for the cache sub-system..
Werner Lemberg 353dfeaf 2000-08-29T18:58:41 More warnings fixed.
Werner Lemberg 4a5c142a 2000-08-29T18:37:25 Minor fixes.
Werner Lemberg 4e9dae68 2000-08-29T16:50:01 Introducing new macro LOCA_VAR to solve some problems with structures containing function pointers. FT will now compile again with C++.
David Turner 80b96f35 2000-08-29T16:04:28 fixed some bugs in the caching sub-system and improved its API to enable many kinds of glyph images.. (note that the "ftview" program has been changed to use the caching sub-system, "ftmulti" and "ftstring" should come soon).
David Turner e12e313a 2000-08-29T16:03:28 a small optimisation that should speed things a bit. I'm surprised I didn't do it before..
David Turner 5878a6d2 2000-08-29T16:03:01 a fix to the computation of the font "text height" (i.e. the baseline-to-baseline distance). Unfortunately, we cannot rely on the OS/2 fields, like sTypoAscender or usWinAscent to compute it. Rather, we only look at the horizontal header's content. In case the "line gap" is set to 0, we compute the text height as 115% of the ascender+descender value.. (this percentage is based on the values found in many Windows fonts).
Werner Lemberg 95853c87 2000-08-26T22:16:44 Introducing new error code FT_Err_Invalid_Cache_Handle. Regrouping of error codes.
Just van Rossum 9b4bb291 2000-08-25T20:00:58 #include <freetype/internal/ftdebug.h> /* for FT_ERROR() */
Werner Lemberg d1b7475b 2000-08-24T16:29:15 Formatting, small fixes. Adding basic input parameter checking for exported functions.
David Turner 35db7322 2000-08-24T12:39:40 - fixed an horrible FT_LOAD_RENDER bug that returned empty bitmaps !! - tested and fixed the image cache object. I'm performing a few more checks though, and we'll call the cache sub-system completed !!
David Turner 98d2701c 2000-08-24T11:53:35 changed the FTC_Manager_New function to accept "max_faces" and "max_sizes" parameters fixed some bugs. the cache manager is now tested and validated (now, it's time for the glyph image cache)
Just van Rossum 4a47f668 2000-08-24T00:43:08 fixed typo in FT_FLAT_COMPILE section
David Turner fcf5e686 2000-08-24T00:30:24 renamed "psmodule.c" to "psauxmod.c"
David Turner 888706a3 2000-08-23T22:50:39 removing obsolete files
David Turner b8a7a0bd 2000-08-23T22:48:50 removing obsolete files. These are moved to a new CVS module called "ftlayout"
David Turner 34f1c2f5 2000-08-23T22:47:44 finally, the CID and Type1z driver are finished !! Werner, please have a look at the code and start re-formatting it :-)
David Turner 3b2c50eb 2000-08-23T21:11:13 completing the FreeType Cache subsystem files
Werner Lemberg 8728f294 2000-08-23T17:32:42 Formatting, small fixes. Adding copyright notices etc.