Commit Graph

605 Commits

Author SHA1 Message Date
Werner Lemberg d2ac68bddf Don't access freed variables... 2000-11-03 07:57:51 +00:00
Werner Lemberg 350a1c1a9e Remove redundant code; fix computation of `last'. 2000-11-03 07:34:29 +00:00
Werner Lemberg cf6bc2e22d More C++ fixes. 2000-11-02 15:14:38 +00:00
Werner Lemberg ae7dc21fd1 Adding header file for labs(). 2000-11-02 08:20:15 +00:00
Werner Lemberg 19e66a8f36 Moving FreeType license to doc dir.
Adding GPL.

Explaining double license in LICENSE.TXT

Minor improvements to make system.
2000-11-02 07:53:08 +00:00
Werner Lemberg b92d66ce29 new file 2000-11-01 20:27:39 +00:00
Werner Lemberg 6a753b4e8a Adding rules for mingw32 compiler. 2000-11-01 20:27:13 +00:00
Werner Lemberg 6d437b09d5 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.
2000-10-31 22:13:54 +00:00
Werner Lemberg dcff1129fe Removing trailing whitespace. 2000-10-31 20:42:18 +00:00
Werner Lemberg b571ce70f0 Formatting.
Adding a .cvsignore file.
2000-10-31 19:42:53 +00:00
Werner Lemberg 110d236f6d Formatting.
Removed double src/cache/ftcimage.h.

Replaced FTC_Image_Type with #defines since this contains bit flags and not
enumerated values.
2000-10-31 17:49:07 +00:00
David Turner e566a9616f at last, the infamous cache bug is fixed !! 2000-10-31 10:58:23 +00:00
Werner Lemberg 687d32c05e Revised/formatted/corrected. 2000-10-31 07:36:53 +00:00
Werner Lemberg 3602c4460d Formatting/correcting the first three parts of the design docs. 2000-10-30 20:46:41 +00:00
Werner Lemberg 322a481c73 minor formatting 2000-10-30 19:22:09 +00:00
David Turner 7bfc089dc9 added page 5 of design documentation 2000-10-30 18:55:47 +00:00
Tom Kacvinsky d249ee7ac7 In function FTC_ChunkSet_Destroy, changed `manaher' to `manager'. Just
a fix for a silly typo.
2000-10-29 01:47:51 +00:00
David Turner 7d0f1137db completed the sbit cache, though it's still buggy :-(
major reformatting of the cache subsystem (again)
added substantial documentation too in header files
2000-10-28 23:34:45 +00:00
Werner Lemberg 241cc2cc4f Renamed z1* files back to t1*; the same transition for Z1_* structures
Removed obsolete raster1/* files.
2000-10-28 17:10:06 +00:00
Werner Lemberg 48397f5d60 Revised. 2000-10-28 16:59:44 +00:00
David Turner 6b4a4610eb - completed the abstract chunk cache class
- started implementin a "small-bitmaps" cache derived from it
- (soon a "metrics" cache will be written too)
2000-10-28 13:17:11 +00:00
David Turner 843997b2ca 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..
2000-10-28 07:26:59 +00:00
David Turner 7974b6ec04 fixing a small bug in FT_Glyph_To_Bitmap:
the glyph advance wasn't copied to the bitmap !!
2000-10-27 00:53:16 +00:00
Werner Lemberg e4c39bf2f6 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.
2000-10-26 10:04:16 +00:00
David Turner f81ce2c4c5 updates to the API reference generators
the basic parsing routines seem to work ok
we now generate a list of DocBlock objects from
a list of input file, we now need to sort them
by "kind" (i.e. type/macro/functions) to generate
several web pages, as well as a global index
2000-10-26 07:52:40 +00:00
David Turner ab88a56eed 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 :-)
2000-10-26 00:30:33 +00:00
David Turner 782cadcacb adding "ftbbox" to build rules 2000-10-26 00:08:15 +00:00
David Turner aaef89dcff - reviving the "ftbbox" component, used to compute exact bounding
box computations

- minor update to docmaker.py, more is coming
2000-10-26 00:06:35 +00:00
David Turner 691a9571dd updating the FT2 design documentation
- note that the "modules.html" will soon disappear, it is now replaced
  by a more general and more detailed series of pages named "design-??.html"

- the images have been seriously reworked, more will come tomorrow
2000-10-25 23:42:02 +00:00
Werner Lemberg 7b028719d8 fixes for fixes :-)
formatting; compiles now without warnings on my Linux box
2000-10-24 05:44:59 +00:00
David Turner 2fab8b7fc7 - minor reformatting of "ftmodule.h"
- added missing "const" statements in the source code in order
  to really get rid of writable static variables
2000-10-23 22:46:56 +00:00
David Turner 7fd0ce4ef8 - reformatting and tiny doc update 2000-10-23 18:33:30 +00:00
David Turner 7a785934ec - added first draft of "Modules in FreeType 2"
- minor formatting / testing in docmaker.py
2000-10-23 18:32:55 +00:00
Werner Lemberg 7fc393b699 added development header files to CONFIG_H in the makefiles
increased T1_MAX_CHARSTRINGS_OPERANDS (again) to 256 -- one glyph of the
Chinese MingTiEG-Medium needs it that large
2000-10-19 15:56:22 +00:00
Werner Lemberg dc356a19af Converting tabs to spaces in z1load.
Edited FT1's convntns.txt and added it to FT2.
2000-10-19 05:12:00 +00:00
Tom Kacvinsky 968b31154f 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.
2000-10-17 20:25:30 +00:00
Werner Lemberg d2e9536258 Fixed two typos spotted by Ryan Martindale <ryan@qsicorp.com>. 2000-10-17 14:29:48 +00:00
Werner Lemberg a444ee94cd Added copyright messages to all Makefiles.
Added documentation to FT_Get_Sfnt_* stuff (in ftnames.[ch])

minor other doc fixes
2000-10-17 03:38:43 +00:00
Werner Lemberg fbe54e4098 ftnames.c has been erroneously included twice. 2000-10-15 23:32:01 +00:00
Werner Lemberg 795ec46f9a Make ftsynth.c work again.
Renamed FT_*_Outline to FT_Outline_*
2000-10-15 21:59:58 +00:00
Werner Lemberg 54035b41a9 Fix typo (FT_... -> TT_...) 2000-10-15 17:59:17 +00:00
Tom Kacvinsky f5e39e2002 Minor fix in Z1_Open_Face for building char_index table 2000-10-15 08:53:27 +00:00
Werner Lemberg c5930ddbb0 updated, formatted 2000-10-14 15:24:39 +00:00
Werner Lemberg d1008823d8 Enabled TT interpreter in development version of ftoption.h 2000-10-14 05:18:59 +00:00
Werner Lemberg 07e32f6b04 More fixes to the tutorial.
Added artificial Type 1 pid/eid paors to ttnameid.h.
2000-10-13 21:00:36 +00:00
Werner Lemberg 9a2a55a48f complete revision 2000-10-13 07:08:44 +00:00
Werner Lemberg cd8cb7f5c4 Completely revised. 2000-10-12 16:09:49 +00:00
Werner Lemberg 1d4dec05e9 formatting
small fixes
2000-10-12 05:05:40 +00:00
David Turner b45b08fa39 formatting 2000-10-12 01:29:14 +00:00
David Turner 621573d1c3 formatting 2000-10-12 01:22:29 +00:00