Commit Graph

259 Commits

Author SHA1 Message Date
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
968f0c3749 update 2000-05-16 23:26:01 +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
7ce42f4443 another rather large update 2000-05-16 23:18:37 +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
33aab6e5b6 removed obsolete files + update 2000-05-16 22:36:55 +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
c91cfe1100 small update to the memory tester 2000-05-12 15:51:42 +00:00
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