Commit Graph

2595 Commits

Author SHA1 Message Date
David Turner c60c61c684 fixed a potential memory leak when loading embedded bitmaps 2000-05-12 15:26:58 +00:00
David Turner c06eb3b73a fixed stupid math lib bug in the Makefile 2000-05-12 15:10:21 +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 8c62a12062 another fix for the build system (the module list wasn't
taken from the correct location)

plus a small update in the tutorial to reflect the fact that
we know use the "freetype" directory prefix for header
inclusion
2000-05-11 19:06:03 +00:00
David Turner 2561b24537 I knew the first CVS commit wouldn't be good :o)
Here, the build system seems to be cured now..
(I'll need to try it on Unix too though..)
2000-05-11 18:47:39 +00:00
David Turner 787183ea64 re-added the "freetype.mk" that was mistakenly deleted 2000-05-11 18:47:02 +00:00
David Turner a9c251c457 logged directory re-organisation 2000-05-11 18:36:19 +00:00
David Turner efce08d67c major re-organisation of the FreeType 2 directory hierarchy 2000-05-11 18:23:52 +00:00
David Turner 5d6b82d9c9 formatting 2000-05-09 22:08:52 +00:00
David Turner f382328131 added experimental emboldening/outlining code. This
is incomplete and will not compile so turned off
2000-05-05 13:11:36 +00:00
David Turner 4d3e56392f closed most of the memory leaks in the Type 1 driver(s)
this is required before any serious work to implement
multiple masters
2000-05-05 12:33:23 +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 81d02dbc04 finally a auto-hinter module interface I'm satisfied with,
it's now time to change other font drivers to take advantage
of it :-)
2000-05-05 01:37:32 +00:00
David Turner d50941dc8c fixed a compilation problem that occurred with the
LCC C pre-processor. really minor
2000-05-05 01:36:56 +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 08c3875589 at last, the bug seems to be solved. Now, the source code
should be cleaned up, and we'll be done with the raster :o)
2000-05-04 16:36:34 +00:00
David Turner 8ee071a0fc very preliminray CID support 2000-05-03 18:15:52 +00:00
David Turner 4fce93e0cb still working on that damn rasterizer bug !! ;-) 2000-05-03 18:15:40 +00:00
David Turner 112be4c609 "ftrast.c" now works for monochrome bitmaps, and doesn't
produce the artefacts of the current "ftraster.c"..

I'll change it soon to handle optimised 5-levels anti-aliasing
(backwards compatibility) in order to completely replace
"ftraster.c"
2000-05-03 10:37:37 +00:00
David Turner d186a361a1 various updates to reduce the compilation warnings 2000-05-02 17:41:41 +00:00
David Turner d89489210a ftrast.c 2000-05-02 13:29:29 +00:00
David Turner 06b73729c1 added FT_CONFIG_OPTION_OLD_CALCS to ensure that
the bytecode interpretation is exactly the same as in 1.4

this is needed to find a bug in the raster..
2000-05-02 11:04:18 +00:00
David Turner eede9015a0 removed the smooth renderer from the demos directory 2000-05-02 11:03:13 +00:00
David Turner c5b993245e updates needed to compile the source programs now that
the smooth renderer is part of the library..
2000-05-02 11:02:35 +00:00
David Turner 1119baee54 added support for version 2 of the OS/2 table
five additional fields (see OT Spec 1.2)
2000-05-02 11:01:49 +00:00
David Turner b7ef2b0968 in order to ensure that the bytecode interpretation is exactly
equivalent to the one in FT 1.4, moved some code from the
old version of FreeType in order to compute vector normalization
a bit differently
2000-05-02 11:01:12 +00:00
David Turner 48641d60ae added a simple line to set "glyph.control_len" when loading
a simple glyph. This is used to compute statistics on font files..
2000-05-02 11:00:06 +00:00
David Turner 9a9315faae changes to reflect the new files
include/tttables.h
  include/t1tables.h
2000-05-02 10:59:01 +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 488cd71e4b a few updates to the OpenType Layout code
still far to go, but I'll dedicate most of my time on
it next week
2000-05-02 10:54:12 +00:00
David Turner e608a3e0d2 moved the smooth renderer to the base layer directory
it is compiled as a separate object, and its interface is
available in "include/ftgrays.h"
2000-05-02 10:53:11 +00:00
David Turner 271106133a added FT_Sqrt64 to ensure that all bytecode operations are
strictly equivalent to the ones in FT 1.4 when compiling with
the configuration macro FT_CONFIG_OPTION_OLD_CALCS
defined..
2000-05-02 10:52:28 +00:00
David Turner a8bcdf8ef6 added FT_Done_Stream 2000-05-02 10:51:41 +00:00
David Turner 68ebd1bee4 typo 2000-05-02 10:51:22 +00:00
David Turner 33ec7d473b removed an over-zealous assertation that halted the engine
with a few weird fonts.
2000-05-02 10:51:04 +00:00
David Turner 61492029a5 added macros to read little endian words from a byte stream
(e.g. NEXT_ShortLE(buffer))
2000-05-02 10:50:18 +00:00
David Turner 65e823da0f raised TT_MAX_SUBGLYPHS to 96 to avoid problems
with Asian fonts (with up to 80 contours !)
2000-04-25 16:36:31 +00:00
David Turner f8a116fb93 implemented extra interface for "FT_Get_Sfnt_Table" 2000-04-25 16:11:12 +00:00
David Turner 99a4d93b2d added FT_Get_Sfnt_Table from "include/tttables.h" 2000-04-25 16:10:50 +00:00
David Turner 2dbc54dd13 typo 2000-04-25 16:10:14 +00:00
David Turner 8ce47b1da6 added new auto-hinter driver interface !
modified tttypes.h to use the new "include/tttables.h"
2000-04-25 16:09:55 +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 77054f2909 updates for the fifth beta 2000-04-14 20:49:52 +00:00