|
e4b32a5d
|
2000-10-31T20:42:18
|
|
Removing trailing whitespace.
|
|
ddbb8e7b
|
2000-10-26T10:04:16
|
|
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.
|
|
47a5f41d
|
2000-10-17T03:38:43
|
|
Added copyright messages to all Makefiles.
Added documentation to FT_Get_Sfnt_* stuff (in ftnames.[ch])
minor other doc fixes
|
|
1a2908bb
|
2000-09-21T14:10:23
|
|
Added support for (3,0) pid/eid.
|
|
21a27ee3
|
2000-09-01T14:36:39
|
|
Fixed a long outstanding bug with an incorrect offset for reading post
tables.
|
|
4a5c142a
|
2000-08-29T18:37:25
|
|
Minor fixes.
|
|
5878a6d2
|
2000-08-29T16:03:01
|
|
a fix to the computation of the font "text height" (i.e. the
baseline-to-baseline distance).
Unfortunately, we cannot rely on the OS/2 fields, like
sTypoAscender or usWinAscent to compute it. Rather,
we only look at the horizontal header's content. In case
the "line gap" is set to 0, we compute the text height as
115% of the ascender+descender value..
(this percentage is based on the values found in many
Windows fonts).
|
|
24d7024c
|
2000-08-17T01:09:06
|
|
added draft "psaux" code
the t1 driver now reads the complete font matrix
and applies it (some fonts do not work properly without
hinting though...)
|
|
9a814fab
|
2000-08-06T19:48:47
|
|
Yamano-uchi added support for SFNT-wrapped CID bitmap font files (with
minor modifications from WL).
|
|
29a90e26
|
2000-08-03T00:03:08
|
|
Updating unix/ftconfig.in to recent config/ftconfig.h changes.
More C++ fixes: Introducing LOCAL_FUNC_X for local functions used in
function pointers (there are no local anonymous functions in C++) and
FT_CPLUSPLUS (instead of FT_EXPORT_VAR) to define linkage of structures
which contain function pointers.
|
|
3a89c2a4
|
2000-08-01T17:05:20
|
|
Removing FT_MAKE_OPTION_SINGLE_LIBRARY_OBJECT. It has never worked.
Instead, define BASE_DEF() and BASE_FUNC() similarly to FT_EXPORT_DEF() and
FT_EXPORT_FUNC(), respectively, allowing the programmer to define proper
types and/or export lists for multiple DLLs if necessary (e.g. ftbase.dll --
standalone, fttype1.dll -- needs ftbase.dll, etc.).
The library is finally compiling and linking natively with a C++ compiler!
|
|
c713d924
|
2000-08-01T13:17:04
|
|
Added #ifdef's for C++ to all header files.
|
|
b1dd3535
|
2000-07-31T22:51:00
|
|
Added autoconf tests FT_MUNMAP_DECL and FT_MUNMAP_PARAM to fix some devils.
Updating unix/ftsystem.c accordingly.
More warning fixes.
|
|
e72c9fec
|
2000-07-31T18:59:02
|
|
Simplifying the FIELD_* and FRAME_* macros. Before calling these macros,
you should #define FT_STRUCTURE to the structure which will be filled.
Replaced FT_FIELD_REF with FT_FIELD_SIZE, FT_FIELD_SIZE_DELTA, and
FT_FIELD_OFFSET to make the code more readable; additionally, it should be
more portable because we no longer cast a pointer to an FT_UShort (which
e.g. fails with Sun's C++ compiler) but computes the difference between two
pointers which is guaranteed to work.
Fixing warnings (and C++ errors) while using Sun's latest cc and CC
incarnations. Most of them are related to variable shadowing.
|
|
d060a75b
|
2000-07-20T06:57:41
|
|
Formatting.
Rudimentary support for autoconf (still using GNU make)
Say `make unix'.
|
|
6930b45f
|
2000-07-19T17:13:03
|
|
- introduced FT_Get_Glyph_Name (see freetype.h)
to access individual glyph names. Changed some
drivers to support it through a new interface named
"glyph_name".
- introduced FT_Get_Sfnt_Name (see ftnames.h)
to access the SFNT name table in a TrueType/OpenType
file..
|
|
e1bbc017
|
2000-07-19T06:25:56
|
|
Formatting.
Fixing documentation.
|
|
c8f9cf37
|
2000-07-19T02:59:31
|
|
Formatting.
|
|
49bd4f05
|
2000-07-12T16:57:37
|
|
removed some warnings with Visual C++
that prevented compilation
|
|
7fa51b55
|
2000-07-08T19:51:42
|
|
Formatting.
Adding some trivial error checking.
Adding/Fixing tracing levels.
|
|
a90663f5
|
2000-07-08T00:41:13
|
|
vast clean-up of the sources in order to allow flat
directory compilation (by defining the FT_FLAT_COMPILE
macro at compile time..)
moved "freetype2/BUILD" to "freetype2/docs/BUILD"
|
|
bd5ae400
|
2000-07-05T04:32:02
|
|
Run g++ on the FreeType library. This should make the use of code in
C++ programs easier:
Renamed FT_WordXX to FT_UIntXX.
Changed a lot of void* to FT_Byte* if related to i/o streams -- FreeType
always accesses streams byte-wise, so this makes sense IMHO.
Added a lot of #ifdef __cplusplus to header files (and removed a few).
Other minor syntax fixes (mostly casts).
Replaced the variable `private' with `private_dict' -- `private' is
reserved in C++.
|
|
c6a92202
|
2000-07-04T18:12:13
|
|
various clean-ups:
- using FT_UNUSED instead of UNUSED
- using FT_LONG64 and FT_INT64 instead of LONG64 & INT64
- using FT_SIZEOF_INT & FT_SIZEOF_LONG instead of...
- removed the #ifdefs that used SIZEOF_INT, instead we now
use FT_Int32 and FT_UInt32 when needed to support
32-bits quantity correctly on 64-bits systems..
|
|
aa8c7da0
|
2000-07-04T03:37:18
|
|
Don't use -lefence in the demo Makefile.
Added C++ guards in ftmodule.h
Fix error check in ftglyph.c
Formatting; adding copyrights; fixing documentation
|
|
d18388e4
|
2000-07-03T15:00:49
|
|
fixed a few 64-bit related bugs in "sfnt/ttload.c" and
"base/ftstream.c"
Note that "TT_PCLT" was incorrectly defined in
<freetype/tttables.h>
|
|
fbeb41d9
|
2000-07-02T00:27:53
|
|
Formatting.
Adding copyright notices.
Removing an unnecessary file (smooth.h).
|
|
a8bbc267
|
2000-07-01T14:06:46
|
|
Formatting as usual...
Adding trivial argument checking to some functions.
Added dynamic driver interface to cidriver.
Minor `version' fixes for macfont and psnames modules.
Removed unnecessary files
|
|
cc9fc49c
|
2000-06-30T06:21:26
|
|
Formatting...
Applying some fixes from Tom.
|
|
32b85e67
|
2000-06-29T21:48:58
|
|
various bug fixes in the postscript font drivers (mainly they
added one un-necessary point to each contour..)
|
|
deb4e983
|
2000-06-29T03:14:25
|
|
Formatting...
Preprocessor lines now always start the line.
Improved error handling in `base' module.
Fixed a out-of-bounds error in ttgload.
|
|
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..)
|
|
a929ba9b
|
2000-06-25T06:47:11
|
|
applying formatting again
|
|
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
|
|
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).
|
|
b770a4ab
|
2000-06-07T20:06:18
|
|
bug fix, suggested by Tor Lillqvist
|
|
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.
|
|
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..
|
|
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)..
|
|
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..
|
|
11187206
|
2000-05-26T17:13:23
|
|
finalised the multiple masters support
fixed some nasty little bugs too
|
|
1fb6eea7
|
2000-05-24T00:31:14
|
|
EXPORT_DEF renamed to FT_EXPORT_DEF +
reformating/spacing
|
|
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
|
|
e49ab25c
|
2000-05-16T23:44:38
|
|
formatting - removed trailing spaces
|
|
c60c61c6
|
2000-05-12T15:26:58
|
|
fixed a potential memory leak when loading embedded bitmaps
|
|
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..
|
|
2561b245
|
2000-05-11T18:47:39
|
|
I knew the first CVS commit wouldn't be good :o)
Here, the build system seems to be cured now..
(I'll need to try it on Unix too though..)
|
|
efce08d6
|
2000-05-11T18:23:52
|
|
major re-organisation of the FreeType 2 directory hierarchy
|
|
d186a361
|
2000-05-02T17:41:41
|
|
various updates to reduce the compilation warnings
|
|
1119baee
|
2000-05-02T11:01:49
|
|
added support for version 2 of the OS/2 table
five additional fields (see OT Spec 1.2)
|
|
14d340ce
|
2000-03-17T23:33:07
|
|
fixed a _really_ stupid bugs in the TrueType Collection
loading !!
|
|
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"
|
|
e98e4af7
|
2000-03-06T17:01:07
|
|
fixed a nasty bug that occured with CMAP format 4..
|
|
febe3fbe
|
2000-03-05T01:14:19
|
|
A first check of FT2's Make system. Many smaller and larger bugs have been
fixed:
. Removing unused variables.
. detect.mk files now must provide $(CONFIG_FILE) and not $(CONFIG_RULE).
. ansi.mk will now be really used as a fallback if the detect mechanism
fails.
. ANSIFLAGS will now be really used (fixing a typo).
. `make clean' now works (again two typos).
. Detection of gcc on Unix has been fixed (using the `-v' option instead of
`--version').
. `make devel' now works (on Unix).
. Fixing *again* a bug in demos/graph/x11/rules.mk to allow multiple use
of `-L' compiler options.
. $(BASE_H) now contains a few more header files.
As usual, a lot of formatting (not finished yet).
|
|
ca13392d
|
2000-03-01T13:24:38
|
|
a few changes to really compile font drivers in
independent single objects..
|
|
63cb46dd
|
2000-02-22T13:34:26
|
|
simple fixes
|
|
a56489e0
|
2000-02-13T13:41:56
|
|
The code has been updated to use the finite-state
table loader in "ftstream" (when the macro READ_FIELDS)
is defined.
This is experimental..
|
|
33263421
|
2000-02-13T13:38:45
|
|
formatting
|
|
7433655c
|
2000-02-10T19:14:48
|
|
Some changes. The SFNT driver is able to return
Postscript glyph names even when the "psnames"
module is not used..
|
|
c3122c98
|
2000-02-10T19:11:30
|
|
added some comments
|
|
d42c68e8
|
2000-01-27T13:56:02
|
|
many new small, but important, changes there:
- modified the interface of the "sfnt" module. There is now a function
called "load_format_tag", and another called "load_directory".
The first one is in charge of returning the 4-byte tag located at
the beginning of a given font file. It understand TrueType collections
and parses them automatically
The second loads the table directory that is located just after
the format tag.
This is useful, because the "SFNT" storage scheme can be used by
several distinct formats, each with its own format tag.
The TrueType driver now checks the format tag in "src/truetype/ttobjs.c"
- made some changes to "src/shared/t1types.h" to clearly separate the
Type 1 font content from the rest of the T1_Face structure. This
will be useful when adding the CFF/Type2 driver that will be able
to reuse the "T1_Font" structure within a "TT_Font" one (which
really describes a SFNT-based font file).
Some changes in "src/type1" were thus performed to reflect this.
Note that the current type1 driver will be discontinued in a
distant future. More on this later..
|
|
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).
|
|
40b4ef1e
|
2000-01-12T22:44:03
|
|
Remove double increment of charmap.
|
|
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
|