|
385bedb8
|
2000-06-27T23:22:49
|
|
formatting
|
|
d7a04683
|
2000-06-25T23:02:11
|
|
More formatting.
About previous commitment: Added latest versions of (still unused)
config.guess and config.sub files.
|
|
a929ba9b
|
2000-06-25T06:47:11
|
|
applying formatting again
|
|
2a98b3c4
|
2000-06-23T13:47:55
|
|
reduced some nasty memory leaks
|
|
c3128615
|
2000-06-23T05:02:13
|
|
bugfixes in the Type1 drivers
|
|
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
|
|
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.
|
|
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
|
|
78575dc0
|
2000-06-12T19:36:41
|
|
A lot of formatting.
Added more tracing levels.
More Makefile fixes.
Minor other changes.
|
|
3d99f796
|
2000-06-07T23:06:10
|
|
finally fixed that crazy Type 1 hinter..
it still sucks though .. ;-)
|
|
6cef627d
|
2000-06-07T20:06:54
|
|
added code to correctly scale global metrics
|
|
e1d5dd78
|
2000-06-07T04:48:12
|
|
Moved all *errors.h header files to include/freetype/internal for
consistency.
Removed unused error message.
|
|
04aa800c
|
2000-06-01T03:27:48
|
|
added a CID-keyed font driver in "src/cid"
fixed two bugs in the smooth renderer
|
|
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..
|
|
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..
|
|
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..
|
|
e49ab25c
|
2000-05-16T23:44:38
|
|
formatting - removed trailing spaces
|
|
c30aea98
|
2000-05-12T15:01:18
|
|
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
|
|
bfe2f98f
|
2000-05-12T12:17:15
|
|
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..
|
|
4f2c5544
|
2000-05-12T10:19:41
|
|
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..
|
|
efce08d6
|
2000-05-11T18:23:52
|
|
major re-organisation of the FreeType 2 directory hierarchy
|
|
4d3e5639
|
2000-05-05T12:33:23
|
|
closed most of the memory leaks in the Type 1 driver(s)
this is required before any serious work to implement
multiple masters
|
|
d186a361
|
2000-05-02T17:41:41
|
|
various updates to reduce the compilation warnings
|
|
9a9315fa
|
2000-05-02T10:59:01
|
|
changes to reflect the new files
include/tttables.h
include/t1tables.h
|
|
90a36c55
|
2000-04-04T18:21:45
|
|
a small improvement to the Type 1 hinter, that
comes from research with the auto-hinter. Nothing
fancy but gets rid of the un-normalized widths :-)
|
|
82942cc2
|
2000-03-30T08:43:03
|
|
simple fix required by the auto-hinting module
(sets the ft_outline_reverse_fill bit_flag)
|
|
ed7f62ac
|
2000-03-28T11:19:28
|
|
support for FT_LOAD_NO_RECURSE needed by the auto-hinter
|
|
7f7aadf4
|
2000-03-13T12:57:27
|
|
finished moving all configuration macros to
"config/ftoption.h"
|
|
3246efed
|
2000-03-13T12:12:46
|
|
first step towards moving all configuration options
to the single "config/ftoption.h"
|
|
7f615aef
|
2000-03-13T11:49:20
|
|
renamed all outlines functions to the
FT_Outline_<action> syntax..
|
|
41dbcbf6
|
2000-03-09T11:46:25
|
|
reformatting, changing the FT_Outline structure:
- "flags" have been renamed to "tags"
- "outline_flags" have been renamed to "flags"
Look for more re-formatting today..
|
|
0f99ddda
|
2000-03-06T13:23:32
|
|
changed the structure of FT_Outline in order to pack
all outline flags in a single integer..
Changed the rest of the library and demo programs
accordingly..
|
|
9d76a8d6
|
2000-03-06T09:51:19
|
|
a few fixes to get rid of unwanted compile-time warnings
|
|
80f4b060
|
2000-03-05T16:10:10
|
|
fixed typo in comment
|
|
ca13392d
|
2000-03-01T13:24:38
|
|
a few changes to really compile font drivers in
independent single objects..
|
|
e595014a
|
2000-02-29T17:14:02
|
|
simple minor fix in t1afm.h/t1afm.c
|
|
9c84887d
|
2000-02-28T11:32:54
|
|
remaining fixes from Just
|
|
7bb7fede
|
2000-02-28T11:23:36
|
|
fixed a bug which appeared when loading
unscaled composite glyphs
|
|
861ba624
|
2000-02-15T12:54:51
|
|
small fix (reduce compiler warnings)
|
|
3188a3a1
|
2000-02-13T13:34:18
|
|
Sorry, forgot some changes needed to get rid of
t1encode.[hc]. Here they come..
|
|
5ae1259c
|
2000-02-10T19:17:24
|
|
removed the "t1encode" files which are now
obsolete with the "psnames" module
|
|
1ab77fdf
|
2000-02-10T18:08:17
|
|
some updates to make everything compile clean
|
|
a8635cc6
|
2000-02-10T16:15:11
|
|
Very simple AFM Parser
|
|
afdc4c4c
|
2000-02-10T16:08:36
|
|
Updates to the Type 1 driver
Now with a simple AFM parser in order
to read the kerning table..
|
|
51d4e28d
|
2000-02-10T13:11:43
|
|
New version of the Type 1 driver.
Generates a Unicode charmap on the fly
through the "psnames" module..
Now, we only need to support afm/pfm
files (and maybe multiple masters) to call
this driver finished !!
|
|
76bbd579
|
2000-01-27T13:35:16
|
|
the T1_Face definition changed slightly to clearly separate the
Type 1 font content from the rest. This implied some changes to
the following files.
|
|
3ba47068
|
2000-01-17T11:25:57
|
|
some updates to the "rules.mk" files. Basically, we now
use "$(FT_COMPILE)" instead of "$(FT_CC)" in order to
compile the library.
$(FT_COMPILE) uses the $(ANSI_FLAGS) variable used to
define ANSI-compliance flags for the current compiler. It is used
to compile the library exclusively (some demo programs will _not_
compile properly with these flags set).
|
|
ef87970d
|
2000-01-13T18:19:10
|
|
A few modifications to allow more broken fonts to
be loaded by the driver.
|
|
10effdf6
|
1999-12-29T00:22:24
|
|
Added the rules files `module.mk' to "sfnt", "truetype" and "type1" to
reflect the new modules/drivers list management performed through the
file `freetype2/config/modules.mk'
Changed the driver header files to reflect the new modules/drivers
list management. We get rid, at last, of the infamous pre-processor
tricks used to build the list at compile time.
`src/base/ftinit.c' is also modified to reflect the changes..
|
|
d2b1f357
|
1999-12-16T23:11:37
|
|
Initial revision
|