David Turner
19ed8afe60
- updated all source files to adhere to the new inclusion scheme
...
- the CFF loader now loads the encodings and charset tables
though doesn't use them for now
2000-12-08 02:42:29 +00:00
Werner Lemberg
ada9503d22
* src/base/ftcalc.c (FT_SqrtFixed), src/base/ftobjs.c
...
(FT_Set_Renderer): Use FT_EXPORT_DEF.
* src/cache/ftcimage.c (FTC_Image_Cache_Lookup),
src/cache/ftcmanag.c (FTC_Manager_Done, FTC_Manager_Reset,
FTC_Manager_Lookup_Face, FTC_Manager_Lookup_Size,
FTC_Manager_Register_Cache), src/cache/ftcsbits.c
(FTC_SBit_Cache_Lookup): Ditto.
* src/include/freetype/cache/ftcglyph.h (FTC_GlyphNode_Init),
src/include/freetype/ftmac.h (FT_New_Face_From_FOND): Use FT_EXPORT.
2000-11-29 17:48:57 +00:00
Werner Lemberg
a82cd844fb
Small fixes and formatting.
2000-11-10 22:43:37 +00:00
Werner Lemberg
4b68007b4f
Complementing David's changes with formatting, adding documentation, etc.
...
More `*'-convention formatting, adding the `a' resp. `an' prefix to
variables.
2000-11-07 06:30:29 +00:00
David Turner
25dee217ab
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
2000-11-06 19:29:06 +00:00
David Turner
76a5f62323
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
2000-11-04 01:55:49 +00:00
Werner Lemberg
a13a473dd9
More C++ fixes.
2000-11-02 15:14:38 +00:00
Werner Lemberg
21fb2d9513
Adding header file for labs().
2000-11-02 08:20:15 +00:00
Werner Lemberg
ab8552321c
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
e4b32a5dc5
Removing trailing whitespace.
2000-10-31 20:42:18 +00:00
David Turner
ece6379859
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
David Turner
4e4a43631c
- 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
9b8f5c4ce1
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
Werner Lemberg
ddbb8e7b6a
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
Werner Lemberg
eddd9909e2
formatting
...
small fixes
2000-10-12 05:05:40 +00:00
Werner Lemberg
f50c2954d4
Fixed typo in ftimage.h
...
Fixed sbit on/off flag in cache code.
2000-09-22 06:52:20 +00:00
David Turner
ebdce8344a
updated the cache sub-system. Major internal rewrite
...
please be aware that major bug persist..
2000-09-19 01:11:11 +00:00
David Turner
7909673992
- the file "ftlist.h" was moved from <freetype/internal/..> to
...
<freetype/...>
- bugfix for the cache sub-system..
2000-08-30 21:40:45 +00:00
Werner Lemberg
4e9dae68b7
Introducing new macro LOCA_VAR to solve some problems with structures
...
containing function pointers.
FT will now compile again with C++.
2000-08-29 16:50:01 +00:00
David Turner
80b96f350c
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).
2000-08-29 16:04:28 +00:00
Werner Lemberg
95853c87f5
Introducing new error code FT_Err_Invalid_Cache_Handle.
...
Regrouping of error codes.
2000-08-26 22:16:44 +00:00
Werner Lemberg
d1b7475be1
Formatting, small fixes.
...
Adding basic input parameter checking for exported functions.
2000-08-24 16:29:15 +00:00
David Turner
35db73220c
- 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 !!
2000-08-24 12:39:40 +00:00
David Turner
34f1c2f5f4
finally, the CID and Type1z driver are finished !!
...
Werner, please have a look at the code and start
re-formatting it :-)
2000-08-23 22:47:44 +00:00
David Turner
3b2c50eb3b
completing the FreeType Cache subsystem files
2000-08-23 21:11:13 +00:00
Werner Lemberg
8728f294bc
Formatting, small fixes.
...
Adding copyright notices etc.
2000-08-23 17:32:42 +00:00
David Turner
b466a7650c
The FreeType Caching Subsystem - first lines of code
...
beware, this code is not tested, and probably doesn't compile
correctly.. more information will follow..
2000-08-23 11:22:30 +00:00