David Turner
095a4cc1f3
* src/base/ftgloadr.c (FT_GlyphLoader_CheckSubGlyphs): fixed a memory
...
allocation bug that was due to un-careful renaming of the FT_SubGlyph
type..
23 years ago
David Turner
7d3a26425b
* renaming stream macros. Examples:
...
FILE_Skip => FT_STREAM_SKIP
FILE_Read => FT_STREAM_READ
ACCESS_Frame => FT_FRAME_ENTER
FORGET_Frame => FT_FRAME_EXIT
etc...
23 years ago
David Turner
678e0d46cd
* src/sfnt/sfdriver.c (get_sfnt_postscript_name): fixed memory leak
23 years ago
David Turner
2bf2b9cc21
* include/freetype/internal/ftobjs.h: changing the definition of
...
FT_CMap_CharNextFunc slightly
* src/cff/*.c: updating CFF type definitions.
23 years ago
David Turner
4bd5d0a344
formatting
23 years ago
David Turner
eba5ad4b37
no message
23 years ago
David Turner
b5713c54c3
* include/freetype/internal/psglobals.h (removed),
...
include/freetype/internal/pshints.h,
src/pshinter/pshglob.h: removing obsolete file
* include/freetype/internal/tttypes.h,
include/freetype/internal/sfnt.h,
src/base/ftnames.c, src/cff/cffdrivr.c,
src/sfnt/*.c, src/truetype/*.c: updated SFNT/TrueType type
definitions
23 years ago
David Turner
7c0f52a4a9
removing obsolete file
23 years ago
David Turner
429978bdca
* include/freetype/internal/psaux.h,
...
src/cid/cidload.c, src/cidtoken.h,
src/psaux/psobjs.c, src/psaux/psobjs.h, src/psaux/t1decode.c,
stc/type1/t1load.c, src/type1/t1tokens.h: updated common Postscript
type definitions
23 years ago
David Turner
f39b7a0c3c
formatting
23 years ago
David Turner
b93b0f5f7d
* include/freetype/internal/ftobjs.h,
...
src/base/ftapi.c, src/base/ftobjs.c: updated a few face method
definitions:
FT_PSName_Requester => FT_Face_GetPostscriptNameFunc
FT_Glyph_Name_Requester => FT_Face_GetGlyphNameFunc
FT_Name_Index_Requester => FT_Face_GetGlyphNameIndexFunc
23 years ago
David Turner
ef3c12650e
* include/freetype/internal/ftdriver.h,
...
include/freetype/internal/ftobjs.h,
src/base/ftapi.c, src/base/ftobjs.c,
src/cff/cffdrivr.c, src/cff/cffdrivr.h,
src/cid/cidriver.c, src/cid/cidriver.h,
src/pcf/pcfdriver.c, src/pcf/pcfdriver.h,
src/truetype/ttdriver.c, src/truetype/ttdriver.h,
src/type1/t1driver.c, src/type1/t1driver.h,
src/winfonts/winfnt.c, src/winfonts/winfnt.h:
updating the type definitions for font font drivers
23 years ago
David Turner
becd3c5cb2
* include/freetype/internal/fnttypes.h, src/winfnt/*.c: updating
...
the type definitions of the Windows FNT font driver
23 years ago
David Turner
ab4fc4da58
* include/freetype/internal/cfftypes.h, src/cff/*.c: updating the
...
type definitions of the CFF font driver
(i.e. CFF_Font => CFF_FontRec
CFF_Font* => CFF_Font, etc...)
23 years ago
David Turner
9657ef0598
* include/freetype/internal/autohint.h, src/autohint/ahmodule.c,
...
src/base/ftapi.c, src/base/ftobjs.c: updating the type definitions for
the auto-hinter module.
(i.e. FT_AutoHinter_Interface => FT_AutoHinter_ServiceRec,
FT_AutoHinter_Interface* => FT_AutoHinter_Service, etc..)
23 years ago
David Turner
329b3ce324
* include/freetype/config/ftoption.h: changed the automatic detection
...
of Microsoft C compilers to automatically support 64-bit integers only
since revision 9.00 (i.e. >= Visual C++ 2.0)
23 years ago
Werner Lemberg
4ef4bdf066
* src/base/ftutil.c (FT_Realloc): Use MEM_Set instead of memset.
23 years ago
Werner Lemberg
0d9165e1d6
* src/base/ftdbgmem.c (ft_mem_table_resize, ft_mem_table_new,
...
23 years ago
David Turner
83b4a4b515
* include/freetype/freetype.h, include/freetype/internal/ftobjs.h,
...
src/base/ftobjs.c, src/base/ftinit.c: adding the new FT_Library_Version
API to return the library's current version in dynamic links.
23 years ago
David Turner
4997097752
* src/pshinter/pshalgo2.c: changed 'print_zone' to 'psh2_print_zone'
...
* src/pshinter/pshalgo1.c: changed 'print_zone' to 'psh1_print_zone'
23 years ago
David Turner
acfea4ddd9
* src/type1/t1objs.c (T1_Face_Init), src/cid/cidobjs.c (CID_Face_Init):
...
fixed another bug related to the ascender/descender/text height of
Postscript fonts. Damn, this should have been fixed on 2002-03-04 !
23 years ago
David Turner
9ddeee1d41
formatting
23 years ago
Werner Lemberg
49bcf78d25
* src/pshinter/pshglob.h (PSH_DimensionRec): s/std/stdw/.
...
23 years ago
David Turner
28ea6f67c3
* src/sfnt/ttload.c (TT_Load_Names), src/sfnt/sfobjs.c (Get_Name),
...
src/sfnt/sfdriver.c (get_sfnt_postscript_name): Fixed the loader so
that it accepts broken fonts like "foxjump.ttf", which made FreeType
crash when trying to load them.
Also improved the name table parser to be able to load
Windows-encoded entries before Macintosh or Unicode ones, since it
seems some fonts don't have reliable values here anyway.
23 years ago
David Turner
fa0c8a70f6
* src/cid/cidriver.c (cid_get_postscript_name): fixed a bug that
...
caused the CID driver to return Postscript font names with a leading
slash ("/") as in "/MOEKai-Regular"
23 years ago
David Turner
7d0f0bafab
* src/type1/t1objs.c (T1_Face_Init),
...
src/cff/cffobjs.c (CFF_Face_Init),
src/cid/cidobjs.c (CID_Face_Init):
removing the bug that returned global BBox values in
16.16 fixed format (instead of integer font units).
23 years ago
Werner Lemberg
8a9c0213d9
* builds/unix/aclocal.m4, builds/unix/ltmain.sh: Update to libtool
...
23 years ago
David Turner
bc82f1bbef
* include/freetype/ftconfig.h: changed FT_LOCAL xxxx to FT_LOCAL( xxxx )
...
everywhere in the source. Sames goes for FT_LOCAL_DEF xxxx translated
into FT_LOCAL_DEF( xxxxx )
23 years ago
David Turner
041889e763
* include/freetype/freetype.h: changing version to 2.1.0 to indicate
...
an unstable branch. Added the declarations of FT_Get_First_Char and
FT_Get_Next_Char
* src/base/ftobjs.c: implemented FT_Get_First_Char and FT_Get_Next_Char
23 years ago
David Turner
1c9a3d335f
changing patch level to 9 (FT_FREETYPE_PATCH)
...
adding FT_Get_First_Char and FT_Get_Next_Char
23 years ago
David Turner
29644179cc
still more logical transformations. This time, some public API headers have
...
been touched, while keeping everything backwards-compatible..
* include/freetype/t1tables.h: re-naming structure types. This done
basically:
typedef T1_Struct_
{
} T1_Struct;
becomes:
typedef PS_StructRec_
{
} PS_StructRec, *PS_Struct;
typedef PS_StructRec T1_Struct; /* backwards-compatibility */
hence, we increase the coherency of the source code by effectuively
using the 'Rec' prefix for structure types..
23 years ago
David Turner
4e7eeeec7b
yet another logical transformation of the internals to make them
...
more consistent and understandable..
mainly, changing things like PS_Table => PS_TableRec + *PS_Table
23 years ago
David Turner
c03d9cf5cd
* src/sfnt/ttload.c (TT_Load_Names): simplifying and securing the
...
names table loader. Invalid individual name entries are now handled
correctly. This allows the loading of very buggy fonts like
"foxjump.ttf" without allocating tons of memory and causing crashes..
23 years ago
David Turner
617a2e1c3c
adding several experimental sources:
...
- OpenType Layout validation and parsing (common tables)
- Type 1 charmap processing
23 years ago
David Turner
53b3fa1da5
* renaming stream functions to the FT_Subject_Action scheme:
...
FT_Seek_Stream => FT_Stream_Seek
FT_Skip_Stream => FT_Stream_Skip
FT_Read_Stream => FT_Stream_Read
FT_Read_Stream_At => FT_Stream_Read_At
FT_Access_Frame => FT_Stream_Enter_Frame
FT_Forget_Frame => FT_Stream_Exit_Frame
FT_Extract_Frame => FT_Stream_Extract_Frame
FT_Release_Frame => FT_Stream_Release_Frame
FT_Get_XXXX => FT_Stream_Get_XXXX
FT_Read_XXXX => FT_Stream_Read_XXXX
note also that:
FT_New_Stream( filename, stream ) =>
FT_Stream_Open( stream, filename )
(the function doesn't create the FT_Stream structure, it simply
initializes it for reading)
FT_New_Memory_Stream( library, FT_Byte* base, size, stream ) =>
FT_Stream_Open_Memory( stream, const FT_Byte* base, size )
FT_Done_Stream => FT_Stream_Close
note that the name of the stream methods, defined in
"include/freetype/ftsystem.h" have also been changed without
problems:
FT_Stream_IO => FT_Stream_IOFunc
FT_Stream_Close => FT_Stream_CloseFunc
23 years ago
David Turner
4d57024d1c
* moving all code related to glyph loaders to "internal/ftgloadr.h"
...
and "src/base/ftgloadr.c".
Note also that the type "FT_GlyphLoader" is now a pointer to the
structure "FT_GlyphLoaderRec"..
23 years ago
David Turner
4a23351091
renaming "ft_glyph_own_bitmap" into "FT_GLYPH_OWN_BITMAP"
23 years ago
David Turner
d248d8d681
adding API-specific source
23 years ago
David Turner
23ce5d4575
adding new & experimental charmap processor
23 years ago
David Turner
2c2b3734e7
adding glyph loader routines (previously in ftobjs.c)
23 years ago
David Turner
44ef8cae07
adding glyph loader header file (previously in ftobjs.h)
23 years ago
David Turner
33242884f9
adding file containing error definitions (unlike fterrors.h which also
...
contains macro definitions)..
the changes are not finished yet..
23 years ago
David Turner
c919c7d461
adding new file
23 years ago
Werner Lemberg
af8df8503f
* include/freetype/internal/ftdebug.h (FT_Trace): Remove comma in
...
23 years ago
David Turner
222cec8c20
* include/freetype/internal/ftdebug.h, src/base/ftdebug.c: modified
...
the debug sub-system initialization. trace levels can now be specified
within the "FT2_DEBUG" environment variable. See the comments within
"ftdebug.c" for more details
* include/freetype/internal/fttrace.h: new file to define the trace
levels used for debugging. it is used both to define enums and
toggle names for FT2_DEBUG
* src/base/ftobjs.c, src/base/ftstream.c: FT_Assert renamed to
FT_ASSERT
* include/freetype/internal/ftextend.h, src/base/ftextend.c,
src/base/Jamfile, src/base/rules.mk: removing "ftextend" from the
library, since it is now completely obsolete..
23 years ago
David Turner
90839fa969
adding "devel@freetype.org" address for bug reports
23 years ago
Werner Lemberg
258951d7c5
* builds/unix/install.mk (check): New dummy target.
...
23 years ago
Werner Lemberg
b5349a9b75
* builds/freetype.mk (FT_CFLAGS): Use $(INCLUDE_FLAGS) first.
...
23 years ago
Werner Lemberg
a7d2f5e1c0
* src/autohint/ahglyph.c (ah_outline_link_segments): Remove unused
...
23 years ago
Werner Lemberg
66b3509bdd
Add support for ISOLatin1 PS encoding.
...
23 years ago