Commit Graph

1999 Commits

Author SHA1 Message Date
David Turner 2e421319fc moved a lot of things from the TrueType driver to the SFNT
module (whose interface has changed, by the way)

This allows even more code re-use between TrueType and
OpenType formats..
2000-05-26 22:13:17 +00:00
David Turner 1118720679 finalised the multiple masters support
fixed some nasty little bugs too
2000-05-26 17:13:23 +00:00
David Turner 7c388ba491 added support for multiple master fonts in "type1z". It is
now working, but there is no way currently to change the default
weight vector (tested with custom vectors though).

Note that you should remove the "type1" driver from the
module list to be able to test it..
2000-05-26 02:07:40 +00:00
David Turner 4e18369491 formatting 2000-05-24 22:05:35 +00:00
David Turner 1c9a1cab3f important modifications to the Type1z driver
these are used to prepare for multiple master fonts
2000-05-24 21:12:02 +00:00
David Turner 1fb6eea7d1 EXPORT_DEF renamed to FT_EXPORT_DEF +
reformating/spacing
2000-05-24 00:31:14 +00:00
David Turner 5e4c2cb3bf fixed some header files inclusions
added C++ stubs to public header files
2000-05-22 16:25:14 +00:00
David Turner 51179f0ae3 some fixes for 64-bit systems. Mainly changed some
FT_TRACE calls to use %p instead of %lx when dumping
a pointer address
2000-05-18 16:18:05 +00:00
David Turner 109fcf6086 fixed the sbit loader (src/base/sfnt/ttsbit.c)
introduced a new load flag (FT_LOAD_CROP_BITMAP) used
to indicate that we want embedded bitmaps to be cropped..

Thanks a lot to Yamano-uchi, Hidetoshi
2000-05-17 23:35:37 +00:00
David Turner 3475e7fba3 removed TT_MAX_SUBGLYPHS macro, there is no static
limit on the number of subglyphs in a TrueType font..

changed the default number of gray levels used by the
smooth renderer to 256 (instead of 128). Of course, the
human eye can't tell a difference ;-)
2000-05-17 20:56:01 +00:00
David Turner e49ab25c08 formatting - removed trailing spaces 2000-05-16 23:44:38 +00:00
David Turner ea44d5ec3d formatting 2000-05-16 23:22:41 +00:00
David Turner 07c52d255c copyright update 2000-05-16 23:22:21 +00:00
David Turner 701d754665 removed obsolete header file 2000-05-16 23:21:59 +00:00
David Turner 414f38c572 at last, fixed the bug, and re-enabled 5-gray levels support
for backwards compatibility..
2000-05-16 22:37:30 +00:00
David Turner 529d4ea7a0 created new header files, formatting and other minor
stuff..
2000-05-16 19:51:49 +00:00
David Turner 20c15add91 added the tag for the "DSIG" table 2000-05-16 19:50:08 +00:00
David Turner 0a29c6979d implemented FT_Select_Charmap and FT_Set_Charmap
(at last :-)
2000-05-12 17:09:38 +00:00
David Turner c60c61c684 fixed a potential memory leak when loading embedded bitmaps 2000-05-12 15:26:58 +00:00
David Turner c30aea9846 another massive changes in order to completely avoid
compiler warnings with GCC + "-ansi -pedantic -Wall -W"
and LCC.

Also fixed the compilation of "type1z" with Win32-LCC
(its pre-processor is broken !!)

Updated the BUILD document too
2000-05-12 15:01:18 +00:00
David Turner bfe2f98f1f a new massive grunt work. Redefined the EXPORT_DEF,
EXPORT_FUNC, BASE_DEF and BASE_FUNC macros to
let them take an argument..

This is needed to compile the library as a DLL on some platforms
that have different compiler conventions..
2000-05-12 12:17:15 +00:00
David Turner 4f2c5544bb additional changes, this time in order to pass extra parameters
to font drivers when creating a new face object.

The FT_Open_Args structure has been changed to simplify
its use and allow generic parameters too..
2000-05-12 10:19:41 +00:00
David Turner efce08d67c major re-organisation of the FreeType 2 directory hierarchy 2000-05-11 18:23:52 +00:00
David Turner a1656abd8f fixed a typo 2000-05-05 01:39:02 +00:00
David Turner c1205799f5 changes the type of the "mode" parameter in FT_Set_Raster_Mode
to unsigned long (easier than string to compare)
2000-05-05 01:38:46 +00:00
David Turner c136b409eb an update to FT_Outline_Funcs used to improve
the accuracy of outline decomposition
2000-05-04 17:24:54 +00:00
David Turner 8ee071a0fc very preliminray CID support 2000-05-03 18:15:52 +00:00
David Turner 6eebf9053e first version of "t1tables", which will be used to access the
content of Type 1 fonts.

Note that an update will appear with the support for
multiple master fonts..
2000-05-02 10:57:43 +00:00
David Turner 62c7af635e added the definition of the MaxProfile table 2000-05-02 10:57:00 +00:00
David Turner bb287bd1c0 added the declaration of the smooth renderer to "include" 2000-05-02 10:55:46 +00:00
David Turner f7b5c822b2 defined FT_Pointer as a typeless pointer
added the declaration of FT_Default_Drivers
(implemented in ftinit.c)
2000-05-02 10:55:33 +00:00
David Turner ffd43a6fc8 added a new include file to access TrueType tables
directly (e.g. OS/2, Head, HMTX and Postscript)..
2000-04-25 16:09:17 +00:00
David Turner 680ec37326 added the FT_LOAD_FORCE_AUOHINT flag 2000-04-25 16:08:33 +00:00
David Turner 46ab6331e0 formatting, and remove the "interface" identifier
that causes problems with MS C++
2000-04-04 16:46:12 +00:00
David Turner 37379e2170 major changes to the library:
- there is now a "convenience" API to manage glyphs in
   "include/ftglyph.h". See the demo program "ftstring" for
   an example..

  - the raster interface has been changed in order to allow
    direct composition through user-provided callbacks. This
    has been tested but isn't demonstrated for now in "demos"

 - the FT_LOAD_NO_RECURSE flag is supported, as this is
   required by some new code in the auto-hinting engine

 - some bug fixed in FT_MulFix which made FT_xxx_Transform
   return incorrect results..
2000-03-28 11:22:31 +00:00
Antoine Leca b46a2d8a74 Adding the new languages codes from Apple and the new Unicode ranges as for 3.0 2000-03-23 17:24:28 +00:00
David Turner f6dc6c17e7 renamed ttnamedid.h to ttnameid.h 2000-03-13 11:50:15 +00:00
David Turner 7f615aef5e renamed all outlines functions to the
FT_Outline_<action> syntax..
2000-03-13 11:49:20 +00:00
David Turner 41dbcbf628 reformatting, changing the FT_Outline structure:
- "flags" have been renamed to "tags"
  - "outline_flags" have been renamed to "flags"

Look for more re-formatting today..
2000-03-09 11:46:25 +00:00
David Turner 0f99ddda5f changed the structure of FT_Outline in order to pack
all outline flags in a single integer..

Changed the rest of the library and demo programs
accordingly..
2000-03-06 13:23:32 +00:00
David Turner 1d1c7eb807 small update in FT_Open_Args (more could follow though..) 2000-02-13 13:35:21 +00:00
David Turner 1a3e3d6a0d introduced the FT_Attach_File function to support additional metrics
coming from external files (e.g. Type 1 AFM files to add kerning data
to the face).

Also changed the API of FT_Open_Face in order to describe the
input stream more broadly..
2000-02-10 17:03:11 +00:00
David Turner 5eaadfcda6 added a new glyph image format:
ft_glyph_format_plotter

for plotter-like vectorial images made of
opened paths.. (seen in Windows font files
as well as some Type 1 fonts with unusual
PaintType)
2000-02-02 12:47:44 +00:00
David Turner 86fbfb5059 re-adding fterrors.h to the repository.. 2000-02-02 12:28:57 +00:00
David Turner f45ae1cf55 sorry, a small mistake made me "remove" fterrors.h with WinCVS
I need to manually clear the repository through CVS...
2000-02-02 12:28:27 +00:00
David Turner 200e097c6b updated the "FT_SubGlyph" structure 2000-02-02 12:21:35 +00:00
Werner Lemberg 7dff772e59 Added ftraster.h for better support of standalone mode.
Fixed cleaning rules for the demo programs.
2000-01-17 08:24:22 +00:00
Werner Lemberg 17ae985d38 ftbbox.h: FT_Get_Outline_BBox() must be called FT_Raster_GetBBox().
ftcalc.c: Added a missing closing paranthesis in 64bit version of
          FT_MulFix().

Some formatting; updating copyright.
2000-01-02 09:41:30 +00:00
David Turner d2b1f35704 Initial revision 1999-12-16 23:11:37 +00:00