David Turner
ace5b20b61
updating the "Design of FreeType 2" document
2000-11-09 01:14:31 +00:00
David Turner
abd7fd4fb2
fixed a bug in "docs/glnames.py" which caused he generation of an
...
invalid Mac names table in the file "src/psnames/pstables.h".
This caused FT_Get_Glyph_Name to return invalid glyph names
for certain TrueType fonts..
2000-11-09 00:47:05 +00:00
David Turner
ba0eaedb55
major reformatting of the "Glyph Conventions" document.
...
It is now made of 7 different pages and has been updated
2000-11-09 00:01:38 +00:00
Werner Lemberg
7d2e40ca92
Minor fixes.
2000-11-08 20:21:38 +00:00
David Turner
9a79eb4853
fixed a small bug: the "linearHoriAdvance" and "vertHoriAdvance" were
...
not set correctly when the auto-hinter is used to load/hint a glyph..
2000-11-08 19:44:48 +00:00
David Turner
e3258dfdae
fixed max advance width for fixed-pitch T1 fonts
2000-11-08 19:40:08 +00:00
David Turner
fa09119bf0
changed comments in the cache sub-system sources
...
to indicate that it is now BETA code, instead of ALPHA
2000-11-08 00:24:58 +00:00
David Turner
8c1b2d2c82
removed the file <freetype/internal/ftlist.h> and corrected
...
files that depended on it.
the ftlist.c function definitions are now FT_EXPORT_DEF
instead of FT_BASE_DEF
2000-11-08 00:20:25 +00:00
David Turner
0ed2173597
fixed a small bug in the abstract chunk cache class
2000-11-08 00:15:58 +00:00
Werner Lemberg
4966a22cda
Moving doc comments for BASE functions from source to header files.
2000-11-07 23:56:02 +00:00
Werner Lemberg
9e0aabf443
All function comments are now removed from source files (and moved to the
...
header files if necessary).
Some minor fixes to have `make multi' run successfully (with gcc and g++).
Fixing compiler warnings.
2000-11-07 17:21:11 +00:00
Werner Lemberg
ee166f01cc
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
e8b57cf82f
removed deprecated reference to "SemTex"
2000-11-07 02:59:11 +00:00
David Turner
b67dd2d4be
removed incorrect comment
2000-11-07 02:44:04 +00:00
David Turner
be574d8119
integrated Yamano-Uchi changes to the base source code. However,
...
I've made a few modifications:
- there is no new field named "driver" in "FT_SizeRec"
- the new fields in "TT_SizeRec" are:
strike_index :: value 0xFFFF means "no sbit strike selected"
strike_metrics :: the FT_Size_Metrics structure corresponding to
the currently selected strike
- the code in "ttload.c" has been somewhat cleaned up too
thanks a lot, Y-U !!
- David
2000-11-06 23:07:51 +00:00
David Turner
9fe20e0827
added simple objects relationships model to the design documentation
2000-11-06 20:37:47 +00:00
David Turner
4cb5c853d9
adding library model graphics
2000-11-06 20:21:31 +00:00
David Turner
f1409686d5
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
Werner Lemberg
591088c021
Added/restored the `*' convention for output parameters.
...
Some documentation fixes.
2000-11-06 04:33:56 +00:00
Werner Lemberg
3d4d50ff31
minor fixes.
...
Add more gcc warnings for development on UNIX.
2000-11-05 23:41:08 +00:00
Werner Lemberg
6828c90c5f
Introduced $(space) in the makefiles to get rid of using the comment
...
separator for indicating a trailing space.
2000-11-04 23:41:02 +00:00
Werner Lemberg
65ce050bfa
removed redundant checks.
2000-11-04 09:41:45 +00:00
Werner Lemberg
7a3edb723d
Ignore build files.
2000-11-04 08:37:45 +00:00
Werner Lemberg
365c8fc1eb
Ignore some UNIX shared build files.
2000-11-04 08:35:44 +00:00
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
d2ac68bddf
Don't access freed variables...
2000-11-03 07:57:51 +00:00
Werner Lemberg
350a1c1a9e
Remove redundant code; fix computation of `last'.
2000-11-03 07:34:29 +00:00
Werner Lemberg
cf6bc2e22d
More C++ fixes.
2000-11-02 15:14:38 +00:00
Werner Lemberg
ae7dc21fd1
Adding header file for labs().
2000-11-02 08:20:15 +00:00
Werner Lemberg
19e66a8f36
Moving FreeType license to doc dir.
...
Adding GPL.
Explaining double license in LICENSE.TXT
Minor improvements to make system.
2000-11-02 07:53:08 +00:00
Werner Lemberg
b92d66ce29
new file
2000-11-01 20:27:39 +00:00
Werner Lemberg
6a753b4e8a
Adding rules for mingw32 compiler.
2000-11-01 20:27:13 +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
e566a9616f
at last, the infamous cache bug is fixed !!
2000-10-31 10:58:23 +00:00
Werner Lemberg
687d32c05e
Revised/formatted/corrected.
2000-10-31 07:36:53 +00:00
Werner Lemberg
3602c4460d
Formatting/correcting the first three parts of the design docs.
2000-10-30 20:46:41 +00:00
Werner Lemberg
322a481c73
minor formatting
2000-10-30 19:22:09 +00:00
David Turner
7bfc089dc9
added page 5 of design documentation
2000-10-30 18:55:47 +00:00
Tom Kacvinsky
d249ee7ac7
In function FTC_ChunkSet_Destroy, changed `manaher' to `manager'. Just
...
a fix for a silly typo.
2000-10-29 01:47:51 +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
Werner Lemberg
48397f5d60
Revised.
2000-10-28 16:59:44 +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
David Turner
7974b6ec04
fixing a small bug in FT_Glyph_To_Bitmap:
...
the glyph advance wasn't copied to the bitmap !!
2000-10-27 00:53:16 +00:00