Werner Lemberg
46f92ef2d9
Finishing David's latest changes (there were some errors in it).
2000-11-04 08:33:38 +00:00
David Turner
a3d302571a
defining new types to hold "internal" fields of public
...
objects:
FT_Face_Internal, FT_Size_Internal, FT_Slot_Internal
these contain some fields that may change between releases
of FreeType, without affecting the size of FT_FaceRec,
FT_SizeRec, FT_GlyphSlotRec, etc.., which means that
drivers wouldn't need to be recompiled if we only add new
fields to an internal structure..
I plan to hack a few things related to the auto-hinter and
I need this move to ensure that we will not break binary
compatibility between 2.0 and 2.1 :-)
- David
2000-11-04 02:52:02 +00:00
David Turner
d2d1701333
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
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
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
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
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
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
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
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
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
795ec46f9a
Make ftsynth.c work again.
...
Renamed FT_*_Outline to FT_Outline_*
2000-10-15 21:59:58 +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
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
Werner Lemberg
47dcfcce39
Added new `ft_glyph_bbox_unscaled' enum; fixing documentation of
...
FT_Glyph_Get_CBox().
ftnames.c has been omitted from the Makefile.
2000-10-11 23:31:12 +00:00
Werner Lemberg
01bd7d5825
provide `export "C"' guard only for default fterror handling.
2000-10-10 03:58:32 +00:00
Werner Lemberg
efd108b60b
fix documentation
2000-10-07 15:51:50 +00:00
Werner Lemberg
c817a7ee73
minor formatting issues
2000-10-05 04:53:31 +00:00
David Turner
3ee4450879
changing the linkage type of
...
FT_New_GlyphSlot and FT_Done_GlyphSlot to
BASE_DEF instead of FT_EXPORT_DEF
2000-10-03 18:02:02 +00:00
Werner Lemberg
59266f23c9
Fixing comment in unixddef.mk which caused a trailing blank.
...
Adding a new error, FT_Err_Invalid_Pixel_Size (used in winfnt.c)
Fixing FT_Read_Fields() which failed for ft_frame_{bytes,skip}. This bug
disabled the Winfont driver.
Minor formatting issues.
2000-09-29 06:41:56 +00:00
David Turner
36afdb3a8b
fixed a bug in the Type 1 and CID font drivers:
...
the value of the descent returned was positive,
instead of being negative..
2000-09-27 01:01:10 +00:00
Werner Lemberg
d1242ba4bb
Fixed typo in ftimage.h
...
Fixed sbit on/off flag in cache code.
2000-09-22 06:52:20 +00:00
David Turner
214a13db23
final touches. Cache seems working after all, though the
...
default cache size of 300 Kb is certainly too high for
now :-)
Need to implement abstract chunk cache and bitmap chunck cache
2000-09-19 02:08:09 +00:00
David Turner
2905ff93b1
removed obsolete file (ftcimage.h)
...
updated header files
2000-09-19 01:10:25 +00:00
David Turner
71441881ab
adding updated cache header files
2000-09-15 22:50:59 +00:00
David Turner
76ca167b28
major revamp of the build system
2000-09-15 22:42:06 +00:00
Werner Lemberg
3254bd1f00
small formatting issues.
2000-09-11 22:50:13 +00:00
David Turner
99fbfd9a68
- added a new function called FT_SqrtFixed to compute the
...
16.16 square root of a 16.16 number (this could come handy
in a later version of the auto-hinter)
- small fixes to the smooth renderer. It used to use way too
much line segments when drawing beziers !!
2000-09-02 00:20:42 +00:00
Werner Lemberg
4222466667
Small improvement.
2000-09-01 05:35:49 +00:00
David Turner
80c2a6ec1d
- 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
a935908615
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
f96983e003
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
312b59b7c0
Formatting.
...
docmaker.py will now run with older Python versions also. Small fix.
2000-08-27 07:12:40 +00:00
Werner Lemberg
ec54ffde03
Introducing new error code FT_Err_Invalid_Cache_Handle.
...
Regrouping of error codes.
2000-08-26 22:16:44 +00:00
Werner Lemberg
1a6f111f6f
Formatting, small fixes.
...
Adding basic input parameter checking for exported functions.
2000-08-24 16:29:15 +00:00
David Turner
0266129b63
changed the FTC_Manager_New function to accept "max_faces" and
...
"max_sizes" parameters
fixed some bugs. the cache manager is now tested and validated
(now, it's time for the glyph image cache)
2000-08-24 11:53:35 +00:00
David Turner
325c26417b
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
ce73def57c
completing the FreeType Cache subsystem files
2000-08-23 21:11:13 +00:00
Werner Lemberg
fcb56c9094
Formatting, small fixes.
...
Adding copyright notices etc.
2000-08-23 17:32:42 +00:00
David Turner
de3f4a73c8
updated "psaux" and "type1z".
...
The Type 1 driver now completely relies on "psaux". I
now need to change the CID driver accordingly, then
finally move the Type 2 parsing routines to "psaux"
when appropriate..
2000-08-23 02:47:57 +00:00