Werner Lemberg
05109ff794
formatting
23 years ago
Werner Lemberg
f387e07c27
* src/cff/cffdrivr.c (cff_get_glyph_name): Fix debug message.
...
23 years ago
David Turner
61526ec55f
fixing the function that computes an ASCII face name
23 years ago
David Turner
451e416d66
removing compiler warnings
23 years ago
David Turner
957565d4ee
updating comments for some TT_FaceRec fields
23 years ago
Werner Lemberg
f05e21a035
* include/freetype/t1tables.h (t1_blend_max): Fix typo.
...
23 years ago
Werner Lemberg
2b5f1a9b91
formatting
23 years ago
Werner Lemberg
471b953ac0
* builds/vms/ftconfig.h: Rename LOCAL_DEF and LOCAL_FUNC to
...
23 years ago
Werner Lemberg
eb7730815c
* src/sfnt/sfdriver.c (get_sfnt_postscript_name): Fix serious typos.
23 years ago
Werner Lemberg
3431df9bcf
* include/freetype/internal/psaux.h (PSAux_ServiceRec): Fix
...
23 years ago
David Turner
6a883fcd23
fixed a small bug in FT_CMaps support
23 years ago
David Turner
0bcc41ef02
removing compiler warnings
23 years ago
David Turner
5cfe15c7f6
formatting
23 years ago
David Turner
5f33c9009e
* src/base/ftobjs.c, src/sfnt/ttcmap0.c, src/type1/t1objs.c:
...
various fixes to make the FT_CMaps support work correctly
(more tests are still needed)
23 years ago
David Turner
636fdbd4a4
various fixes to the FT_CMaps support
23 years ago
David Turner
fb285cbd0b
polishing FT_CMaps support for Type 1 format
23 years ago
David Turner
d1f86d8c90
formatting
23 years ago
David Turner
24abcf885b
* include/freetype/internal/ftobjs.h,
...
src/sfnt/Jamfile, src/sfnt/rules.mk,
src/sfnt/sfnt.c, src/sfnt/sfobjs.c,
src/sfnt/ttload.c, src/sfnt/ttcmap0.c, src/sfnt/ttcmap0.h:
updated the SFNT charmap support to use FT_CMaps
23 years ago
David Turner
d6c9e0c806
* include/freetype/config/ftheader.h, include/freetype/fterrors.h:
...
modified "fterrors.h" to include the error definitions list found
in "fterrdef.h"
23 years ago
David Turner
d802109731
* include/freetype/internal/ftmemory.h, and a lot of other files !!:
...
changed the names of memory macros. Examples:
MEM_Set => FT_MEM_SET
MEM_Copy => FT_MEM_COPY
MEM_Move => FT_MEM_MOVE
ALLOC => FT_ALLOC
FREE => FT_FREE
REALLOC = >FT_REALLOC
FT_NEW was introduced to allocate a new object from a _typed_
pointer..
note that ALLOC_ARRAY and REALLOC_ARRAY have been replaced
by FT_NEW_ARRAY and FT_RENEW_ARRAY which take _typed_ pointer
arguments.
This results in _lots_ of sources being changed, but makes the
code more generic and less error-prone..
23 years ago
David Turner
c9bcd833ba
* include/freetype/internal/ftstream.h,
...
src/base/ftstream.c, src/cff/cffload.c, src/pcf/pcfread.c,
src/sfnt/ttcmap.c, src/sfnt/ttcmap0.c, src/sfnt/ttload.c,
src/sfnt/ttpost.c, src/sfnt/ttsbit.c,
src/truetype/ttgload.c, src/truetype/ttpload.c,
src/winfonts/winfnt.c:
changed the definitions of stream macros. Examples:
NEXT_Byte => FT_NEXT_BYTE
NEXT_Short => FT_NEXT_SHORT
NEXT_UShortLE => FT_NEXT_USHORT_LE
READ_Short => FT_READ_SHORT
GET_Long => FT_GET_LONG
etc..
also introduced the FT_PEEK_XXXX functions..
23 years ago
David Turner
7884957c9b
* src/psaux/t1cmap.h, src/psaux/t1cmap.c, src/type1/t1cmap.h,
...
src/type1/t1cmap.c: updating and moving the Type 1 FT_CMap support
from "src/type1" to "src/psaux" since it's going to be shared
by the Type 1 and CID font drivers..
* src/psaux/Jamfile, src/psaux/psaux.c, src/psaux/psauxmod.c,
src/psaux/rules.mk, include/freetype/internal/psaux.h: added support
for Type 1 FT_CMaps.
23 years ago
David Turner
1eae664342
* src/base/ftobjs.c (FT_Get_Next_Char): updated to new FT_CMap
...
definitions
23 years ago
David Turner
143e31bf6b
moving the Type 1 CMap support to "psaux"
23 years ago
David Turner
d19bd8003f
* src/base/ftdbgmem.c (ft_mem_table_destroy): fixed a small bug that
...
caused the library to crash with Electric Fence when memory debugging
is used..
23 years ago
David Turner
5819e3f3c7
* 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
5cff1134e9
* 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
de388f501f
* src/sfnt/sfdriver.c (get_sfnt_postscript_name): fixed memory leak
23 years ago
David Turner
9230415aa9
* 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
f3caf22dad
formatting
23 years ago
David Turner
0a86d63289
no message
23 years ago
David Turner
ad4597babc
* 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
875e7b7fa6
removing obsolete file
23 years ago
David Turner
72a849f394
* 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
44c5177782
formatting
23 years ago
David Turner
5693e4d09b
* 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
9e1cfb80d1
* 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
2999605407
* include/freetype/internal/fnttypes.h, src/winfnt/*.c: updating
...
the type definitions of the Windows FNT font driver
23 years ago
David Turner
5acebac70f
* 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
cf1c2f7e12
* 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
ca30a7f785
* 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
8b3551a7f9
* src/base/ftutil.c (FT_Realloc): Use MEM_Set instead of memset.
23 years ago
Werner Lemberg
769430fc03
* src/base/ftdbgmem.c (ft_mem_table_resize, ft_mem_table_new,
...
23 years ago
David Turner
004b890674
* 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
01d9ce0386
* 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
87f697410e
* 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
e4df898395
formatting
23 years ago
Werner Lemberg
7178d1e35f
* src/pshinter/pshglob.h (PSH_DimensionRec): s/std/stdw/.
...
23 years ago
David Turner
ec208f00fe
* 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
57cd33e0d3
* 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