|
075cdf12
|
2000-06-28T05:35:58
|
|
fixed a _nasty_ bug in the CFF driver. Note that there are still escapement problems though..
|
|
98c2fde0
|
2000-06-28T04:31:24
|
|
removed obsolete files... :-(
|
|
81bb4ad9
|
2000-06-28T04:19:49
|
|
latest clean-ups..
The code compiles with NO WARNINGS with GCC and
Visual C++ (also with LCC minus debugging options)
|
|
9d636b6d
|
2000-06-27T23:32:27
|
|
various cleanups to reduce compiler warnings
+ support for CID-keyed fonts in the CFF driver
(still some unexpected bugs though..)
|
|
74abee8e
|
2000-06-27T23:31:53
|
|
various cleanups to reduce compiler warnings
|
|
7ed5a057
|
2000-06-27T23:23:22
|
|
small bugfix
|
|
385bedb8
|
2000-06-27T23:22:49
|
|
formatting
|
|
728da1c8
|
2000-06-27T23:21:51
|
|
changed file names and some functions names to avoid
conflicts with the "type1" driver.
|
|
a1be2dce
|
2000-06-27T23:20:35
|
|
cleaned up source code to avoid function name
conflicts with Type 1 driver(s)
|
|
5ae1bad3
|
2000-06-27T23:18:39
|
|
added new renderer module
|
|
314bf4a1
|
2000-06-27T20:54:06
|
|
fix typo in w32-vcc.mk
allow direct setting of X11_PATH for unusual X11 paths.
|
|
b3880dde
|
2000-06-27T05:58:22
|
|
fixing __cplusplus block end.
|
|
d7a04683
|
2000-06-25T23:02:11
|
|
More formatting.
About previous commitment: Added latest versions of (still unused)
config.guess and config.sub files.
|
|
dcd2e14c
|
2000-06-25T07:43:15
|
|
forgotten fixes.
|
|
a929ba9b
|
2000-06-25T06:47:11
|
|
applying formatting again
|
|
994d7747
|
2000-06-25T04:49:19
|
|
various hacks to the TrueType driver that I cannot
explain now, but they'll be very useful in the near future :-)
|
|
2a98b3c4
|
2000-06-23T13:47:55
|
|
reduced some nasty memory leaks
|
|
90f68b72
|
2000-06-23T12:26:14
|
|
still more updates to the TrueType driver to make it more
"extensible"..
|
|
b51a58fa
|
2000-06-23T11:36:51
|
|
added a few missing commits !!
|
|
873a9543
|
2000-06-23T08:36:07
|
|
fix
|
|
c3128615
|
2000-06-23T05:02:13
|
|
bugfixes in the Type1 drivers
|
|
5b58f5e3
|
2000-06-23T04:19:36
|
|
fixed *top++ bug present in type1/t1gload.c as well
|
|
7802d466
|
2000-06-23T04:18:55
|
|
*top++-bug was not a compiler bug, therefore the comment about the
affected compiler was misleading and has been removed
|
|
d0079e66
|
2000-06-23T00:07:06
|
|
improved the Type1 drivers to deal with the case where
the lenIV field is set to -1 to indicate unencoded charstrings
fixed some source code to prevent a compiler bug on IRIX
fixed the module version's in the "type1z" driver
|
|
910c597d
|
2000-06-22T00:31:01
|
|
updated for new design
|
|
aa4c28f9
|
2000-06-22T00:27:15
|
|
added new files
|
|
53078ee7
|
2000-06-22T00:26:54
|
|
removed obsolete headers, added new ones
|
|
20629743
|
2000-06-22T00:26:21
|
|
small bugfix
|
|
e82a82af
|
2000-06-22T00:26:11
|
|
small bugfix in the "seac" code
|
|
f0df85ba
|
2000-06-22T00:17:42
|
|
- MAJOR INTERNAL REDESIGN:
A lot of internal modifications have been performed lately on the
source in order to provide the following enhancements:
- more generic module support:
The FT_Module type is now defined to represent a handle to a given
module. The file <freetype/ftmodule.h> contains the FT_Module_Class
definition, as well as the module-loading public API
The FT_Driver type is still defined, and still represents a pointer
to a font driver. Note that FT_Add_Driver is replaced by FT_Add_Module,
FT_Get_Driver by FT_Get_Module, etc..
- support for generic glyph image types:
The FT_Renderer type is a pointer to a module used to perform various
operations on glyph image.
Each renderer is capable of handling images in a single format
(e.g. ft_glyph_format_outline). Its functions are used to:
- transform an glyph image
- render a glyph image into a bitmap
- return the control box (dimensions) of a given glyph image
The scan converters "ftraster.c" and "ftgrays.c" have been moved
to the new directory "src/renderer", and are used to provide two
default renderer modules.
One corresponds to the "standard" scan-converter, the other to the
"smooth" one.
The current renderer can be set through the new function
FT_Set_Renderer.
The old raster-related function FT_Set_Raster, FT_Get_Raster and
FT_Set_Raster_Mode have now disappeared, in favor of the new:
FT_Get_Renderer
FT_Set_Renderer
see the file <freetype/ftrender.h> for more details..
These changes were necessary to properly support different scalable
formats in the future, like bi-color glyphs, etc..
- glyph loader object:
A new internal object, called a 'glyph loader' has been introduced
in the base layer. It is used by all scalable format font drivers
to load glyphs and composites.
This object has been created to reduce the code size of each driver,
as each one of them basically re-implemented its functionality.
See <freetype/internal/ftobjs.h> and the FT_GlyphLoader type for
more information..
- FT_GlyphSlot had new fields:
In order to support extended features (see below), the FT_GlyphSlot
structure has a few new fields:
linearHoriAdvance: this field gives the linearly scaled (i.e.
scaled but unhinted) advance width for the glyph,
expressed as a 16.16 fixed pixel value. This
is useful to perform WYSIWYG text.
linearVertAdvance: this field gives the linearly scaled advance
height for the glyph (relevant in vertical glyph
layouts only). This is useful to perform
WYSIWYG text.
Note that the two above field replace the removed "metrics2" field
in the glyph slot.
advance: this field is a vector that gives the transformed
advance for the glyph. By default, it corresponds
to the advance width, unless FT_LOAD_VERTICAL_LAYOUT
was specified when calling FT_Load_Glyph or FT_Load_Char
bitmap_left: this field gives the distance in integer pixels from
the current pen position to the left-most pixel of
a glyph image WHEN IT IS A BITMAP. It is only valid
when the "format" field is set to
"ft_glyph_format_bitmap", for example, after calling
the new function FT_Render_Glyph.
bitmap_top: this field gives the distance in integer pixels from
the current pen position (located on the baseline) to
the top-most pixel of the glyph image WHEN IT IS A
BITMAP. Positive values correspond to upwards Y.
loader: this is a new private field for the glyph slot. Client
applications should not touch it..
- support for transforms and direct rendering in FT_Load_Glyph:
Most of the functionality found in <freetype/ftglyph.h> has been
moved to the core library. Hence, the following:
- a transform can be specified for a face through FT_Set_Transform.
this transform is applied by FT_Load_Glyph to scalable glyph images
(i.e. NOT TO BITMAPS) before the function returns, unless the
bit flag FT_LOAD_IGNORE_TRANSFORM was set in the load flags..
- once a glyph image has been loaded, it can be directly converted to
a bitmap by using the new FT_Render_Glyph function. Note that this
function takes the glyph image from the glyph slot, and converts
it to a bitmap whose properties are returned in "face.glyph.bitmap",
"face.glyph.bitmap_left" and "face.glyph.bitmap_top". The original
native image might be lost after the conversion.
- when using the new bit flag FT_LOAD_RENDER, the FT_Load_Glyph
and FT_Load_Char functions will call FT_Render_Glyph automatically
when needed.
|
|
9ca2af38
|
2000-06-21T03:03:28
|
|
A new formatting orgy.
Added some `#if 0' to completely disable the CID AFM stuff. In case this is
not correct please fix.
|
|
9c05268e
|
2000-06-17T20:15:53
|
|
Newly generated.
|
|
100d6d47
|
2000-06-17T20:15:06
|
|
Fixing glyph name typos in glnames.py; more formatting.
|
|
f9b8dec4
|
2000-06-16T19:34:52
|
|
major reformatting of the modules source code in order to get
rid of most of the basic types redefinitions (i.e. FT_Int instead
of "FT_Int", etc..)
The format-specific prefixs like "TT_", "T1_", "T2_" & 'CID_"
are now only used in relevant structures..
fixed Werner's fix to t2gload.c :-)
other small bug fixes
|
|
e3c11d7f
|
2000-06-16T06:49:56
|
|
A new round of formatting, adding/fixing documentation etc.
|
|
67d301f3
|
2000-06-14T04:13:59
|
|
Fixed the PACK() macro.
|
|
7a4fda88
|
2000-06-13T23:21:00
|
|
The next round of formatting, checking documentation, etc.
|
|
78575dc0
|
2000-06-12T19:36:41
|
|
A lot of formatting.
Added more tracing levels.
More Makefile fixes.
Minor other changes.
|
|
e35cac66
|
2000-06-11T03:46:57
|
|
A complete revision of FreeType 2's GNU makefiles (of the library):
Tons of unnecessary stuff have been removed; only the essential rules
have been retained.
The source files now depend on all header files in include/freetype,
include/freetype/config, and include/freetype/internal. This is not
optimal, I know, and I'll try to improve this, but it is better than
before (namely no dependencies on `internal').
FTDEBUG_SRC has been added (similar to FTSYS_SRC) -- I don't know
exactly whether this is really useful, but it doesn't harm.
There is now more documentation in the makefiles itself.
io-frames.html: Use of <th>, <code>, and <var> for better tagging.
Reactivating of FT_DEBUG_LEVEL_xxx macros.
Added a lot of #include directives to make `multi' builds possible -- note
that currently the modules cid, t1, and t1z have clashing structures and
functions which means that you can only use one of these three modules for a
multi build.
Added some missing function declarations to (local) header files.
Renamed some T1_Open_Face() to CID_Open_Face() in the cid module -- a lot
of other functions should be renamed also...
Replaced many FT_xxx stuff with T1_xxx in t1z driver -- this isn't finished
yet...
Fixed FT_Free() to allow a NULL pointer without an assertion (this has
always been a valid assumption in FreeType, at least in FT 1.x).
A lot of other, minor fixes (mostly documentation).
|
|
cb9109fc
|
2000-06-09T05:25:19
|
|
Applied Tom's patches to improve CFF handling.
|
|
2b9be99c
|
2000-06-07T23:41:17
|
|
a simple commit for Beta 7, I have disabled tracing in
this commit, and will re-enable it later..
|
|
3d99f796
|
2000-06-07T23:06:10
|
|
finally fixed that crazy Type 1 hinter..
it still sucks though .. ;-)
|
|
c2a64e26
|
2000-06-07T20:22:44
|
|
changed the documention of FT_FaceRec,
"face.size" and "face.glyph" are not private
anymore.. (that was a mistake..)
|
|
1f4aa4ba
|
2000-06-07T20:19:44
|
|
bugfix for using gcc with lots of options :-)
|
|
24aaddae
|
2000-06-07T20:19:21
|
|
removed invalid #include
|
|
0f6467a0
|
2000-06-07T20:07:35
|
|
fixed a small bug that prevented the file name to be correctly
printed in certain cases..
|
|
6cef627d
|
2000-06-07T20:06:54
|
|
added code to correctly scale global metrics
|
|
b770a4ab
|
2000-06-07T20:06:18
|
|
bug fix, suggested by Tor Lillqvist
|
|
de6523ee
|
2000-06-07T20:05:50
|
|
Added code to correctly scale global metrics
|
|
803a3fdf
|
2000-06-07T20:04:56
|
|
added new macro MEM_Alloc_Array
|
|
0f991b43
|
2000-06-07T20:04:34
|
|
new version of the CFF driver, this one works :-)
|
|
e1d5dd78
|
2000-06-07T04:48:12
|
|
Moved all *errors.h header files to include/freetype/internal for
consistency.
Removed unused error message.
|
|
61bd4b9d
|
2000-06-07T00:00:08
|
|
Added FT_FRAME_SKIP_xxx to skip fields.
More use of READ_Fields() in ttsbit.c
Other minor fixes.
|
|
1c0d4acb
|
2000-06-06T20:41:48
|
|
Fine-tuned a lot of tracing levels to make them more functional with ftview.
Added a lot of \n to tracing messages.
Fixed a serious bug in loading SBit offsets (missing parentheses around a
xxx ? yyy : zzz construct).
Replaced most GET_xxx() functions with calls to READ_Frame() in ttsbit.c
|
|
920d41e0
|
2000-06-05T14:32:32
|
|
Removing trailing whitespace.
|
|
4e6dd858
|
2000-06-05T05:26:15
|
|
freetype.h: Adding ft_encoding_xxx values for some CJK encodings.
Fixing copyright notice on many files.
Changed some tracing levels.
A lot of formatting, fixing documentation etc. as usual.
|
|
56177261
|
2000-06-03T21:59:44
|
|
ftview now has two new options: -d activates debugging, and -l sets the
trace level.
Since FT2 is still beta, I've activated the FT_DEBUG_xxx macros by default.
To make reasonable output, I've changed some TRACEx macros to other levels.
|
|
eb81e378
|
2000-06-03T06:03:11
|
|
More preparation for tracing. Formatting.
|
|
9a754ce3
|
2000-06-02T21:31:32
|
|
Formatting; adding some tracing code.
|
|
91e52d41
|
2000-06-02T14:30:38
|
|
Finishing first formatting/documenting etc. of the `base' dir. Some modules
are still badly documented, though...
|
|
08edde58
|
2000-06-02T00:11:57
|
|
Correct wrong fix.
|
|
2fbf7e43
|
2000-06-02T00:01:14
|
|
Added a lot of error checking code to the exported functions in the `base'
subdir (not complete yet).
|
|
d66ea312
|
2000-06-01T15:49:28
|
|
FT_Outline_Decompose() now returns FT_Error.
Minor bug fixes.
More formatting, adding/fixing documentation.
|
|
a7b53c47
|
2000-06-01T06:01:59
|
|
changed an important comment note for FT_Size_Metrics
describing the ascender, descender and text height..
|
|
6b0bf346
|
2000-06-01T05:01:01
|
|
slight change to the smooth renderer to make it compile
stand alone with the _STANDALONE_ macro defined..
See comments inside it "src/base/ftgrays.c"
|
|
b3936a16
|
2000-06-01T04:44:36
|
|
small bug fix from Robert :-)
|
|
04aa800c
|
2000-06-01T03:27:48
|
|
added a CID-keyed font driver in "src/cid"
fixed two bugs in the smooth renderer
|
|
3581d064
|
2000-06-01T03:26:58
|
|
changed the SFNT format check to make it less strict.
A certain number of TrueType fonts have invalid values
in the SFNT header..
|
|
b916b1e5
|
2000-05-31T07:54:45
|
|
updated the DocMaker tool to produce HTML pages
There is still some work on it to allow the following:
- multiple input files
- block classification according to block's first markers
(e.g. types, functions, constants, etc..)
- indexing and cross-linking
- better layout ;-)
|
|
a3b6c6c2
|
2000-05-31T06:55:12
|
|
Formatting, fixing and adding documentation.
|
|
0c8cde2e
|
2000-05-30T20:10:06
|
|
ftgrays.c: Formatting. It seems to me that _STANDALONE_ doesn't work yet...
Will it ever work? If not, the unused code should be removed.
ftconfig.h, ftobjs.h: Fix my last fix of the UNUSED() macro.
|
|
f13e6333
|
2000-05-30T16:49:14
|
|
Formatting; minor improvements.
|
|
026bd17b
|
2000-05-30T05:13:30
|
|
ftmulti.c: Will now accept any filename. It will no longer append `.ttf'
or `.ttc'. Reformatted.
ftcalc.c, ftdebug.c: Minor formatting stuff.
|
|
5b401bb9
|
2000-05-29T23:03:15
|
|
additional changes to the CFF/Type2 driver
|
|
c3c344c7
|
2000-05-29T22:40:57
|
|
Fixing the fixes :-) More formatting.
|
|
4f99c3c4
|
2000-05-29T20:55:13
|
|
fixed divide by zero bug
added CFF/OpenType driver source (not working for now)
|
|
a519b3b7
|
2000-05-29T20:46:12
|
|
Formatting, fixing descriptions.
|
|
b1677a87
|
2000-05-29T20:37:41
|
|
changed the SFNT driver slightly to add more robust
checking based on the "search_rang", etc.., fields of
the sfnt header..
This avoids problems (like certain Type 1 multiple masters
incorrectly recognized as trueType files)..
|
|
883df43f
|
2000-05-29T07:30:17
|
|
Completely checked and fully formatted.
|
|
241e151e
|
2000-05-28T17:15:37
|
|
oops, forgot to commit these files
|
|
2e421319
|
2000-05-26T22:13:17
|
|
moved a lot of things from the TrueType driver to the SFNT
module (whose interface has changed, by the way)
This allows even more code re-use between TrueType and
OpenType formats..
|
|
2c5f482b
|
2000-05-26T22:10:08
|
|
removed obsolete files
|
|
5413644b
|
2000-05-26T17:52:06
|
|
added a new demonstration program called "ftmulti" to
demonstrate the multiple masters support
fixed a few bugs
|
|
11187206
|
2000-05-26T17:13:23
|
|
finalised the multiple masters support
fixed some nasty little bugs too
|
|
fea68c68
|
2000-05-26T06:40:49
|
|
fixed two minor bugs:
- the glyph index was not checked in FT_Load_Glyph
- the "type1" driver didn't read the FontBBox and FontMatrix
correctly..
|
|
936d2e07
|
2000-05-26T02:16:06
|
|
a small change to allow the "type1" driver to detect
multiple master fonts and return an error code that allows
the "type1z" driver to load them after..
|
|
7c388ba4
|
2000-05-26T02:07:40
|
|
added support for multiple master fonts in "type1z". It is
now working, but there is no way currently to change the default
weight vector (tested with custom vectors though).
Note that you should remove the "type1" driver from the
module list to be able to test it..
|
|
4e183694
|
2000-05-24T22:05:35
|
|
formatting
|
|
1c9a1cab
|
2000-05-24T21:12:02
|
|
important modifications to the Type1z driver
these are used to prepare for multiple master fonts
|
|
1fb6eea7
|
2000-05-24T00:31:14
|
|
EXPORT_DEF renamed to FT_EXPORT_DEF +
reformating/spacing
|
|
f5dcdd5c
|
2000-05-23T22:16:27
|
|
minor fix to the Type1 driver(s) to apply the font matrix when
necessary..
|
|
5e4c2cb3
|
2000-05-22T16:25:14
|
|
fixed some header files inclusions
added C++ stubs to public header files
|
|
51179f0a
|
2000-05-18T16:18:05
|
|
some fixes for 64-bit systems. Mainly changed some
FT_TRACE calls to use %p instead of %lx when dumping
a pointer address
|
|
109fcf60
|
2000-05-17T23:35:37
|
|
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
|
|
3475e7fb
|
2000-05-17T20:56:01
|
|
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 ;-)
|
|
e49ab25c
|
2000-05-16T23:44:38
|
|
formatting - removed trailing spaces
|
|
968f0c37
|
2000-05-16T23:26:01
|
|
update
|
|
ea44d5ec
|
2000-05-16T23:22:41
|
|
formatting
|
|
07c52d25
|
2000-05-16T23:22:21
|
|
copyright update
|
|
701d7546
|
2000-05-16T23:21:59
|
|
removed obsolete header file
|