David Turner
c495c1ac91
* src/smooth/ftgrays.c (gray_hline): very minor optimization. :-)
2002-04-11 10:34:19 +00:00
Werner Lemberg
04728a8bbe
Fixes from the stable branch:
...
* include/freetype/config/ftoption.h (FT_CONFIG_OPTION_OLD_CALCS):
Removed.
[FT_CONFIG_OPTION_OLD_CALCS]: Removed.
* include/freetype/internal/ftcalc.h, src/base/ftcalc.c
[FT_CONFIG_OPTION_OLD_CALCS]: Removed.
* src/base/fttrigon.c (FT_Vector_Length): Change algorithm to match
output of FreeType 1.
* src/pshinter/pshglob.c (psh_globals_scale_widths): Fixed a small
bug that created un-even stem widths when hinting Postscript fonts.
formatting, updating copyright
2002-04-02 14:50:31 +00:00
Werner Lemberg
efa996155e
* src/type1/t1driver.c, src/type1/t1parse.c: 16bit fixes.
...
formatting, copyright updates
2002-04-01 22:01:46 +00:00
Werner Lemberg
91db04cb9c
* src/truetype/ttgload.c: 16bit fixes.
...
(TT_Load_Simple_Glyph): Improve debug messages.
(load_truetype_glyph): Remove dead code.
* src/truetype/ttinterp.c: 16bit fixes.
* src/truetype/ttobjs.c: Ditto.
* include/freetype/ftsnames.h, include/freetype/internal/sfnt.h,
src/cff/cffload.h, src/psaux/psobjs.h, src/truetype/ttinterp.[ch],
src/sfnt/ttpost.h: s/index/idx/.
formatting, copyright updates.
2002-04-01 14:25:28 +00:00
Werner Lemberg
b7b163cb07
* src/sfnt/ttcmap.c: 16bit fixes (0xFFFF -> 0xFFFFU).
...
* src/sfnt/ttcmap0.c: 16bit fixes.
(TT_Build_CMaps): Simplify debug messages.
(tt_cmap12_char_next): Fix offset.
* src/sfnt/ttload.c (TT_Load_Names, TT_Load_CMap): Fix debug
messages.
(TT_Load_OS2): 16bit fix.
2002-03-31 18:48:24 +00:00
Werner Lemberg
545a75fdd7
* src/psaux/t1cmap.c: s/index/idx/.
...
* src/psaux/t1decode.c (T1_Decoder_Parse_Charstrings): Fix debug
messages.
2002-03-31 11:18:15 +00:00
Werner Lemberg
1987fb2f72
* src/truetype/ttobjs.c (TT_Size_Init): Fix typo.
...
* src/otlayout/otlcommn.c, src/otlayout/otlcommn.h: s/index/idx/.
2002-03-31 06:56:56 +00:00
Werner Lemberg
44be4d56fc
formatting, copyright
2002-03-30 17:08:04 +00:00
Werner Lemberg
afe5351e80
fix entry
2002-03-30 16:47:55 +00:00
Werner Lemberg
8e2339ac7e
formatting
2002-03-30 16:46:23 +00:00
Werner Lemberg
48c984b5bb
* src/cff/cffdrivr.c (cff_get_glyph_name): Fix debug message.
...
* src/cff/cffobjs.c (CFF_Driver_Init, CFF_Driver_Done)
[TT_CONFIG_OPTION_EXTEND_ENGINE]: Removed.
* src/cff/sfobjs.c (SFNT_Load_Face)
[TT_CONFIG_OPTION_EXTEND_ENGINE]: Ditto.
* src/truetype/ttobjs.c (TT_Init_Driver, TT_Done_Driver)
[TT_CONFIG_OPTION_EXTEND_ENGINE]: Ditto.
* src/truetype/ttdriver.c, src/truetype/ttobjs.c,
src/truetype/ttobjs.h: Renaming driver functions to the
FT_<Subject>_<Action> scheme:
TT_Init_Driver => TT_Driver_Init
TT_Done_Driver => TT_Driver_Done
TT_Init_Face => TT_Face_Init
TT_Done_Face => TT_Face_Done
TT_Init_Size => TT_Size_Init
TT_Done_Size => TT_Size_Done
TT_Reset_Size => TT_Size_Reset
2002-03-30 16:41:09 +00:00
David Turner
56054f310b
fixing the function that computes an ASCII face name
2002-03-30 16:32:47 +00:00
David Turner
d76050abd7
removing compiler warnings
2002-03-30 16:14:48 +00:00
David Turner
8a9d58133b
updating comments for some TT_FaceRec fields
2002-03-30 16:09:24 +00:00
Werner Lemberg
f8ba2005ab
* include/freetype/t1tables.h (t1_blend_max): Fix typo.
...
* src/base/ftstream.c: Simplify FT_ERROR calls.
formatting, copyright update
2002-03-30 13:16:35 +00:00
Werner Lemberg
78e004e843
formatting
2002-03-29 23:23:28 +00:00
Werner Lemberg
b1e6e59782
* builds/vms/ftconfig.h: Rename LOCAL_DEF and LOCAL_FUNC to
...
FT_LOCAL and FT_LOCAL_DEF, respectively, as with other ftconfig.h
files.
* builds/unix/ftconfig.in: Add argument to FT_LOCAL and
FT_LOCAL_DEF.
* src/truetype/ttinterp.c: s/FT_Assert/FT_ASSERT/.
* builds/unix/configure.ac: Temporarily deactivate creation of
../../Jamfile.
* builds/unix/configure: Updated.
2002-03-29 07:43:04 +00:00
Werner Lemberg
2282f341d6
* src/sfnt/sfdriver.c (get_sfnt_postscript_name): Fix serious typos.
2002-03-28 14:21:15 +00:00
Werner Lemberg
1305f2616d
* include/freetype/internal/psaux.h (PSAux_ServiceRec): Fix
...
compiler warnings.
* include/freetype/internal/t1types.h (T1_FaceRec): Use `const' for
some members.
* src/base/ftapi.c (FT_New_Memory_Stream): Fix typos.
* src/psaux/t1cmap.c (t1_cmap_std_init, t1_cmap_unicode_init): Add
cast.
(t1_cmap_{standard,expert,custom,unicode}_class_rec): Use
`FT_CALLBACK_TABLE_DEF'.
* src/psaux/t1cmap.h: Updated.
* src/sfnt/ttcmap0.c (TT_Build_CMaps): Use `ft_encoding_none'
instead of zero.
* src/type1/t1objs.c (T1_Face_Init): Use casts.
2002-03-28 08:07:16 +00:00
David Turner
94dbf7f022
fixed a small bug in FT_CMaps support
2002-03-26 02:38:39 +00:00
David Turner
2ded2c1d30
* 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)
2002-03-22 22:37:40 +00:00
David Turner
fd88e7c7c8
* 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
2002-03-22 15:02:38 +00:00
David Turner
7eedf08747
* include/freetype/config/ftheader.h, include/freetype/fterrors.h:
...
modified "fterrors.h" to include the error definitions list found
in "fterrdef.h"
2002-03-22 15:00:19 +00:00
David Turner
e459d742e6
* 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..
2002-03-22 13:52:37 +00:00
David Turner
a890c29cb0
* 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..
2002-03-22 12:55:23 +00:00
David Turner
42372fd4d8
* 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.
2002-03-21 15:02:54 +00:00
David Turner
a02976d232
* 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..
2002-03-20 15:37:12 +00:00
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..
2002-03-20 15:35:53 +00:00
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...
2002-03-20 10:49:31 +00:00
David Turner
2bf2b9cc21
* include/freetype/internal/ftobjs.h: changing the definition of
...
FT_CMap_CharNextFunc slightly
* src/cff/*.c: updating CFF type definitions.
2002-03-20 09:44:20 +00:00
David Turner
eba5ad4b37
no message
2002-03-14 12:56:35 +00:00
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
2002-03-14 11:26:29 +00:00
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
2002-03-14 10:09:35 +00:00
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
2002-03-14 09:28:51 +00:00
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
2002-03-14 09:22:48 +00:00
David Turner
becd3c5cb2
* include/freetype/internal/fnttypes.h, src/winfnt/*.c: updating
...
the type definitions of the Windows FNT font driver
2002-03-14 09:01:32 +00:00
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...)
2002-03-14 08:57:10 +00:00
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..)
2002-03-14 08:49:59 +00:00
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)
2002-03-13 09:37:50 +00:00
Werner Lemberg
4ef4bdf066
* src/base/ftutil.c (FT_Realloc): Use MEM_Set instead of memset.
2002-03-07 23:22:28 +00:00
Werner Lemberg
0d9165e1d6
* src/base/ftdbgmem.c (ft_mem_table_resize, ft_mem_table_new,
...
ft_mem_table_set, ft_mem_debug_alloc, ft_mem_debug_free,
ft_mem_debug_realloc, ft_mem_debug_done, FT_Alloc_Debug,
FT_Realloc_Debug, FT_Free_Debug): Fix compiler warnings.
* src/base/ftcalc.c (FT_MulFix): Ditto.
* src/cff/cffdrivr.c (cff_get_name_index): Ditto.
* src/cff/cffobjs.c (CFF_Size_Get_Global_Funcs, CFF_Size_Init,
CFF_GlyphSlot_Init): Ditto.
* src/cid/cidobjs.c (CID_GlyphSlot_Init,
CID_Size_Get_Globals_Funcs): Ditto.
* src/type1/t1objs.c (T1_Size_Get_Globals_Funcs, T1_GlyphSlot_Init):
Ditto.
* src/pshinter/pshmod.c (pshinter_interface): Use `static const'.
* src/winfonts/winfnt.c (FNT_Get_Next_Char): Remove unused
variables.
* include/freetype/internal/psaux.h (T1_Builder_Funcs): Renamed
to...
(T1_Builder_FuncsRec): This.
(T1_Builder_Funcs): New typedef.
(PSAux_Interface): Remove compiler warnings.
* src/psaux/psauxmod.c (t1_builder_funcs), src/psaux/psobjs.h
(t1_builder_funcs): Updated.
* src/pshinter/pshglob.h (PSH_Blue_Align): Replaced with ...
(PSH_BLUE_ALIGN_{NONE,TOP,BOT}): New defines.
(PSH_AlignmentRec): Updated.
* include/freetype/internal/ftstream.h (GET_Char, GET_Byte): Fix
typo.
* include/freetype/internal/ftgloadr.h (FT_SubGlyph): Ditto.
* src/base/ftstream (FT_Get_Char): Rename to...
(FT_Stream_Get_Char): This.
* src/base/ftnames.c (FT_Get_Sfnt_Name): s/index/idx/ -- `index' is
a built-in function in gcc, causing warning messages with gcc 3.0.
* src/autohint/ahglyph.c (ah_outline_load): Ditto.
* src/autohint/ahglobal.c (ah_hinter_compute_blues): Ditto.
* src/cache/ftcmanag.c (ftc_family_table_alloc,
ftc_family_table_free, FTC_Manager_Done, FTC_Manager_Register_Cache):
Ditto.
* src/cff/cffload.c (cff_new_index, cff_done_index,
cff_explicit_index, CFF_Access_Element, CFF_Forget_Element,
CFF_Get_Name, CFF_Get_String, CFF_Load_SubFont, CFF_Load_Font,
CFF_Done_Font): Ditto.
* src/psaux/psobjs.c (PS_Table_Add, PS_Parser_LoadField): Ditto.
* src/psaux/t1decode.c (T1_Decoder_Parse_Charstrings): Ditto.
* src/pshinter/pshrec.c (ps_mask_test_bit, ps_mask_clear_bit,
ps_mask_set_bit, ps_dimension_add_t1stem, ps_hints_t1stem3,
* src/pshinter/pshalgo1.c (psh1_hint_table_record,
psh1_hint_table_record_mask, psh1_hint_table_activate_mask): Ditto.
* src/pshinter/pshalgo2.c (psh2_hint_table_record,
psh2_hint_table_record_mask, psh2_hint_table_activate_mask): Ditto.
* src/sfnt/ttpost.c (Load_Format_20, Load_Format_25,
TT_Get_PS_Name): Ditto.
* src/truetype/ttgload.c (TT_Get_Metrics, Get_HMetrics,
load_truetype_glyph): Ditto.
* src/type1/t1load.c (parse_subrs, T1_Open_Face): Ditto.
* src/type1/t1afm.c (T1_Get_Kerning): Ditto.
* include/freetype/cache/ftcmanag.h (ftc_family_table_free): Ditto.
2002-03-07 21:59:59 +00:00
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.
2002-03-06 12:42:34 +00:00
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'
2002-03-06 12:39:12 +00:00
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 !
2002-03-06 12:38:15 +00:00
Werner Lemberg
49bcf78d25
* src/pshinter/pshglob.h (PSH_DimensionRec): s/std/stdw/.
...
* src/pshinter/pshglob.c (psh_global_scale_widths,
psh_dimension_snap_width, psh_globals_destroy, psh_globals_new):
Ditto.
2002-03-06 06:05:56 +00:00
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.
2002-03-05 16:12:57 +00:00
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"
2002-03-05 15:57:45 +00:00
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).
2002-03-05 15:55:28 +00:00
Werner Lemberg
8a9c0213d9
* builds/unix/aclocal.m4, builds/unix/ltmain.sh: Update to libtool
...
1.4.2.
Apply a small patch for AIX to make shared libraries work (this
patch is already in the CVS version of libtool).
* builds/unix/config.sub, builds/unix/config.guess: Updated to
recent versions.
* builds/unix/configure.ac: Fix typo
(AC_CONFIG_FILE->AC_CONFIG_FILES).
* builds/unix/configure: Regenerated.
2002-03-05 15:09:59 +00:00
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 )
2002-03-01 02:26:22 +00:00
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
2002-02-28 19:28:26 +00:00
David Turner
1c9a3d335f
changing patch level to 9 (FT_FREETYPE_PATCH)
...
adding FT_Get_First_Char and FT_Get_Next_Char
2002-02-28 19:25:50 +00:00
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..
2002-02-28 18:59:37 +00:00
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..
2002-02-27 23:10:19 +00:00
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
2002-02-24 05:26:57 +00:00
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"..
2002-02-24 02:59:24 +00:00
David Turner
4a23351091
renaming "ft_glyph_own_bitmap" into "FT_GLYPH_OWN_BITMAP"
2002-02-24 02:39:08 +00:00
Werner Lemberg
af8df8503f
* include/freetype/internal/ftdebug.h (FT_Trace): Remove comma in
...
enum to avoid compiler warnings.
2002-02-22 00:58:04 +00:00
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..
2002-02-21 11:48:48 +00:00
Werner Lemberg
258951d7c5
* builds/unix/install.mk (check): New dummy target.
...
(.PHONY): Add it.
2002-02-20 00:55:59 +00:00
Werner Lemberg
b5349a9b75
* builds/freetype.mk (FT_CFLAGS): Use $(INCLUDE_FLAGS) first.
...
* src/cache/ftccache.c (ftc_cache_resize): Mark `error' as unused
to avoid compiler warning.
* src/cff/cffload.c (CFF_Get_String): Ditto.
* src/cff/cffobjs.c (CFF_StrCopy): Ditto.
* src/psaux/psobjs.c (PS_Table_Done): Ditto.
* src/pcf/pcfread.c (pcf_seek_to_table_type): Ditto.
* src/sfnt/sfdriver.c (get_sfnt_postscript_name): Ditto.
(pcf_get_bitmaps): The same for `sizebitmaps'.
* src/psaux/t1decode.c (T1_Decode_Parse_Charstrings): The same for
`orig_y'.
(t1operator_seac): Comment out more dead code.
* src/pshinter/pshalgo2.c (ps2_hints_apply): Add `DEBUG_HINTER'
conditional.
* src/truetype/ttgload.c (TT_Process_Simple_Glyph,
load_truetype_glyph): Add `TT_CONFIG_OPTION_BYTECODE_INTERPRETER'
conditional.
2002-02-19 16:30:15 +00:00
Werner Lemberg
a7d2f5e1c0
* src/autohint/ahglyph.c (ah_outline_link_segments): Remove unused
...
variables.
* src/autohint/ahhint.c (ah_align_serif_edge): Use FT_UNUSED instead
of UNUSED.
* src/autohint/ahmodule.c (ft_autohinter_reset): Ditto.
* src/pshinter/pshrec.c (ps_mask_table_merge): Fix typo in variable
swapping code.
* src/pshinter/pshglob.h (PSH_Blue_Align): Add PSH_BLUE_ALIGN_NONE.
* src/pshinter/pshglob.c (psh_blues_snap_stem): Use it.
* src/pshinter/pshalgo1.c (psh1_hint_table_optimize): Ditto.
* src/pshinter/pshalgo2.c (psh2_hint_align): Ditto.
* include/freetype/internal/ftobjs.h (UNUSED): Removed.
2002-02-19 01:12:23 +00:00
Werner Lemberg
66b3509bdd
Add support for ISOLatin1 PS encoding.
...
* include/freetype/freetype.h (ft_encoding_latin_1): New tag
(`lat1').
* include/freetype/internal/t1types.h (T1_Encoding_Type): Add
`t1_encoding_isolatin1'.
* src/type1/t1driver.c (Get_Char_Index, Get_Next_Char): Handle
ft_encoding_latin_1.
* src/type1/t1load.c (parse_encoding): Handle `ISOLatin1Encoding'.
* src/type1/t1objs.c (T1_Face_Init): Handle `t1_encoding_isolatin1'.
2002-02-10 12:33:14 +00:00
Werner Lemberg
7c89d18d9f
* README: Fix typo.
...
* docs/CHANGES: Minor fixes.
2002-02-09 17:59:12 +00:00
David Turner
1c6af4855a
updating docs for 2.0.8
2002-02-08 14:00:20 +00:00
David Turner
0a2c691030
setting PATH_LEVEL to 8
...
removing FT_Get_Next_Char from the API (for the 2.0.8 release)
2002-02-08 13:54:10 +00:00
Werner Lemberg
7d69560afb
cleaning
2002-02-08 13:11:18 +00:00
David Turner
57b8fcacd3
adding comments to FT_Get_Next_Char
2002-02-08 10:50:12 +00:00
Werner Lemberg
60a1fab094
some cleaning
2002-02-08 06:23:50 +00:00
David Turner
5a902ec20f
* src/pcf/pcfread.c (pcf_load_font): removed immature support of
...
the AVERAGE_WIDTH property..
2002-02-07 16:59:38 +00:00
David Turner
27f6a05ed5
support for embedded fonts in PDF documents. These
...
often do not have a 'cmap', 'post' and 'name' table and
were not loaded by FreeType previously..
(thanks to Derek B. Noonburgs from XPDF)
2002-02-06 13:59:25 +00:00
David Turner
0489328e97
fixing memory leak in the PCF driver, and managing the
...
"AVERAGE_WIDTH" property in PCF fonts to return correct
character pixel (width/height) pairs for embedded bitmaps..
2002-02-06 11:22:56 +00:00
Werner Lemberg
0f7c2f1aa5
Adding the function `FT_Get_Next_Char', doing the obvious thing
...
w.r.t. the selected charmap.
* include/freetype/freetype.h: Add prototype.
* include/freetype/internal/ftdriver.h: Add `FTDriver_getNextChar'
typedef.
(FT_Driver_Class): Use it.
* include/freetype/internal/psnames.h: Add `PS_Next_Unicode_Func'
typedef.
(PSNames_Interface): Use it.
* include/freetype/internal/tttypes.h: Add `TT_CharNext_Func'
typedef.
(TT_CMapTable): Use it.
* src/base/ftobjs.c (FT_Get_Next_Char): New function, implementing
high-level API.
* src/cff/cffdrivr.c (cff_get_next_char): New function.
(cff_driver_class): Add it.
* src/cid/cidriver.c (Cid_Get_Next_Char): New function.
(t1cid_driver_class): Add it.
* src/pcf/pcfdriver.c (PCF_Get_Next_Char): New function.
(pcf_driver_class): Add it.
* src/psnames/psmodule.c (PS_Next_Unicode): New function.
(psnames_interface): Add it.
* src/sfnt/ttcmap.c (code_to_next0, code_to_next2, code_to_next4,
code_to_next6, code_to_next_8_12, code_to_next_10): New auxiliary
functions.
(TT_CharMap_Load): Use them.
* src/truetype/ttdriver.c (Get_Next_Char): New function.
(tt_driver_class): Add it.
* src/type1/t1driver.c (Get_Next_Char): New function.
(t1_driver_class): Add it.
* src/winfnt/winfnt.c (FNT_Get_Next_Char): New function.
(winfnt_driver_class): Add it.
* src/pcf/pcfread.c (pcf_load_font): For now, report Unicode for
Unicode and Latin 1 encodings.
2002-02-04 20:55:58 +00:00
Werner Lemberg
3604d5f558
* builds/unix/freetype-config.in: Add missing `fi'.
2002-02-02 15:05:38 +00:00
David Turner
4c40011140
increasing FREETYPE_PATCH to 7
2002-02-01 09:22:39 +00:00
Werner Lemberg
32b534612d
Formatting.
2002-02-01 01:20:11 +00:00
David Turner
944b72986f
updating documentation for 2.0.7
2002-01-31 17:42:05 +00:00
Werner Lemberg
b0e06e0b8b
Fix ChangeLog.
2002-01-30 22:37:52 +00:00
David Turner
a40fb43d7e
moved INSTALL to docs/INSTALL to get rid of conflicts with the "install"
...
script on Windows (where the file system doesn't preserve CASE)
2002-01-30 12:56:16 +00:00
David Turner
09c14ae7c8
fixed the "configure" script in the top-level directory..
...
It didn't work correctly when several arguments were passed
to it. For example, when typing:
./configure --disable-shared --prefix=/usr
the "--prefix=/usr" was incorrectly sent to the "make" program..
2002-01-29 18:13:54 +00:00
Werner Lemberg
12a8741e7b
* README.UNX: Fix typo.
...
* builds/unix/install.mk (uninstall): Fix library name for libtool.
2002-01-29 01:11:23 +00:00
Werner Lemberg
a9aa69c2c8
* src/pcf/pcfdriver.c (PCF_Done_Face): Fix incorrect destruction of
...
the face object (face->toc.tables, face->root.family_name,
face->root.available_size, face->charset_encoding,
face->charset_registry are now freed). Thanks to Niels Moseley.
2002-01-28 23:52:24 +00:00
Werner Lemberg
556ad08f03
* src/type1/t1load.c (parse_encoding): Set `loader->num_chars'.
...
* src/type1/t1load.c (parse_subrs, parse_charstrings): Use copy
of `base' string for decrypting to not modify the original data.
2002-01-28 13:34:52 +00:00
Werner Lemberg
e274290d71
* src/smooth/ftgrays.c (gray_render_scanline): Fix bug which caused
...
bad rendering of thin lines (less than one pixel thick).
2002-01-28 05:04:22 +00:00
Werner Lemberg
43071cb7f2
* src/cff/cffdrivr.c (cff_get_name_index): Make last patch work
...
actually.
2002-01-25 22:55:53 +00:00
Werner Lemberg
8880f2c14d
* src/cache/ftccache.c (ftc_node_done, ftc_node_destroy): Fix
...
compilation warnings.
* src/base/descrip.mms (OBJS): Add `ftmm.obj'.
* src/cache/descrip.mms (ftcache.obj): Dependencies added.
2002-01-25 16:05:39 +00:00
Antoine Leca
84712cc3fb
* docs/PATENTS: Typo fixed (Thanks to Detlef "Hawkeye" Wuerkner) in the URL for the on-line resource.
2002-01-21 21:57:38 +00:00
Werner Lemberg
9c8ee92050
* builds/win32/ftdebug.c: New file.
...
* builds/win32/visualc/freetype.dsp: Updated.
* builds/amiga/src/base/ftsystem.c: Updated for AmigaOS 3.9.
* builds/amiga/README: Updated.
2002-01-19 02:20:45 +00:00
Werner Lemberg
5117ff0b73
* builds/win32/visualc/freetype.dsp: Updated.
2002-01-18 09:00:44 +00:00
Werner Lemberg
2f260409a4
* builds/unix/freetype2.a4: The script was still buggy.
...
* builds/unix/freetype-config.in: Make it really work for any install
prefix.
2002-01-13 06:36:02 +00:00
Werner Lemberg
51f245a615
* builds/unix/freetype2.a4: Fix some serious bugs.
2002-01-11 02:22:40 +00:00
Werner Lemberg
3975e2e1f5
Formatting.
2002-01-09 21:01:18 +00:00
David Turner
db3ac3b360
small speed-up to the anti-aliased renderer
2002-01-09 10:48:25 +00:00
David Turner
ce9a0441ad
added 'configure' and 'install' wrapper scripts to make the
...
installation process more Unix-friendly :-)
2002-01-08 18:33:55 +00:00
David Turner
32ee45e09f
fixed html quoting in DocMaker
2002-01-07 12:09:51 +00:00
David Turner
6096b5a11c
updating documentation
2002-01-07 10:40:48 +00:00
David Turner
66f894e76c
* include/freetype/config/ftoption.h: setting default options for
...
a release build (debugging off, bytecode interpreter off)
2002-01-07 10:05:34 +00:00
David Turner
f86709a15b
* src/base/ftobjs.c, src/base/ftoutln.c, src/cache/ftccmap.c,
...
src/cff/cffload.c, src/cff/cffobjs.c, src/pshinter/pshalgo2.c,
src/sfnt/ttload.c, src/sfnt/ttsbit.c: removing small compiler
warnings (in pedantic compilation modes)
2002-01-07 10:04:09 +00:00
Werner Lemberg
ac812959bb
formatting
2002-01-06 16:42:44 +00:00
David Turner
f7f82d773b
the TrueType glyph loader is now much more paranoid, this avoids
...
unpleasant overwrites in the case of invalid glyph data (found in
the output of buggy font converters)
the computation of auto-hinted stem widths has been modified to
avoid certain color fringes in LCD-decimation rendering (a.k.a.
"ClearType")
2002-01-06 10:13:40 +00:00
David Turner
b1748d4044
added README.UNX for Unix users
2002-01-04 16:36:42 +00:00
David Turner
7fe38a5124
remove compiler warnings and a typo in builds/unix/ftsystem.c
2002-01-04 09:47:30 +00:00
Werner Lemberg
1a0a97938a
* src/type1/t1objs.c (T1_Face_Init): Add cast to avoid compiler
...
warning.
2002-01-03 22:06:13 +00:00
David Turner
c48bf37bda
* builds/unix/ftsystem.c (FT_New_Stream): added a fix to ensure that
...
all FreeType input streams are closed in child processes of a "fork"
on Unix systems. This is important to avoid (potential) access
control issues..
2002-01-03 17:08:20 +00:00
David Turner
662b344c23
* src/type1/t1objs.c (T1_Face_Init): fixed a bug that crashed the
...
library when dealing with certain weird fonts (like "Stalingrad",
in "sadn.pfb". This font has no full font name entry.. )
* src/base/ftoutln.c, include/freetype/ftoutln.h: added the
FT_Outline_Check API to check the consistency of outline data
* src/base/ftobjs.c (FT_Load_Glyph): added a call to the new
FT_Outline_Check to ensure that loaded glyphs are valid. This
allows certain fonts like "tt1095m_.ttf" to be loaded even though
it appears they contain really funky glyphs..
there still is a bug there though.. !!
2002-01-03 16:56:59 +00:00
Werner Lemberg
d3a71dd4ac
Formatting.
2001-12-31 16:04:26 +00:00
David Turner
1127b2bf3f
improving the computation of the advance widths of auto-hinted glyphs,
...
in order to produce better letter spacing..
2001-12-30 01:30:11 +00:00
Antoine Leca
fb009c7449
* builds/dos/detect.mk: Correcting the order for Borland compilers:
...
16-bit bcc was never selected, always overriden by 32-bit bcc32.
2001-12-25 20:54:33 +00:00
Werner Lemberg
f891f91113
* src/pfc/pcfread.c (pcf_load_font): Handle property `POINT_SIZE'
...
and fix incorrect computation of `available_sizes'.
2001-12-23 01:38:53 +00:00
Werner Lemberg
3681e37db9
Formatting.
2001-12-23 00:56:36 +00:00
David Turner
9a9edc6624
fixing the autohinter: the advance of auto-hinted glyphs in mono-spaced fonts was incorrect
2001-12-22 16:07:52 +00:00
Werner Lemberg
af594e606a
* builds/amiga/*: Adaptations to latest changes.
...
Support added for MorphOS.
* src/pshinter/pshrec.c (FT_COMPONENT): Redefine to `trace_pshrec'.
(ps_mask_table_merge, ps_hints_open, ps_hints_stem,
ps_hints_t1stem3, ps_hints_t2mask, ps_hints_t2counter): Fix
FT_ERROR messages.
* src/pshinter/pshalgo1.c (FT_COMPONENT): Define as
`trace_pshalgo1'.
* src/pshinter/pshalgo2.c (FT_COMPONENT): Define as
`trace_pshalgo2'.
* include/freetype/internal/ftdebug.h (FT_Trace): Updated.
* docs/modules.txt: New file.
2001-12-22 14:38:40 +00:00
David Turner
b5c7de5b37
* src/cff/cffgload.c: added a comment regarding "cntrmask" operator
...
* src/pshinter/pshrec.c: now ignores invalid "hintmask" and "cntrmask"
operators (instead of returning an error). Glyph 2028 of the CFF font
"MSung-Light-Acro" couldn't be rendered otherwise (it seems its
charstring is buggy, though this requires more analysis)..
2001-12-21 21:21:13 +00:00
David Turner
7c0d20814a
* src/cff/cffgload.c, src/psaux/t1decode.c, src/pshinter/pshrec.c,
...
src/pshinter/ahalgo2.c, src/pshinter/pshglob.h: fixed a bug where
the X and Y axis where inversed in the postscript hinter. this
caused problem when displaying on non-square surfaces..
2001-12-21 15:59:43 +00:00
David Turner
3a664fca14
* src/cid/cidobjs.c (CID_Face_Done): fixed a memory leak, the subrs
...
routines were never released when CID faces were destroyed
2001-12-21 15:26:19 +00:00
David Turner
79ea4cd40c
* src/cid/cidobjs.c (CID_Face_Done): fixed a memory leak, the subrs
...
routines were never released when CID faces were destroyed
2001-12-21 15:20:48 +00:00
Werner Lemberg
f05003dace
Formatting.
2001-12-21 10:57:09 +00:00
David Turner
0515c09637
* src/pshinter/pshglob.c (psh_globals_new): replaced a floating point
...
constant with a fixed-float equivalent. For some reason, some compilers
aren't capable of directly computing a floating pointer constant casted
to FT_Fixed, and will link a math library instead !!
2001-12-21 04:16:42 +00:00
Werner Lemberg
f41e71a199
* src/base/ftobjs.c (FT_Done_Library): Remove compiler warning.
...
Formatting.
2001-12-20 21:22:02 +00:00
Werner Lemberg
21e046e0c4
Formatting.
...
* src/cache/ftccache.c (ftc_node_destroy, ftc_cache_lookup): Fix
tracing strings.
* src/cache/ftccmap.c (ftc_cmap_family_init): Ditto.
* src/cache/ftcmanag.c (ftc_family_table_alloc,
ftc_family_table_free, FTC_Manager_Check): Ditto.
* src/cache/ftcsbits.c (ftc_sbit_node_load): Ditto.
2001-12-20 17:49:10 +00:00
David Turner
0f58446b3e
disabling bytecode interpreter
2001-12-20 13:34:21 +00:00
David Turner
0fcb412ffc
* docs/CHANGES: updated for 2.0.6 release
...
* src/cff/cffload.h, src/cff/cffload.c, src/cff/cffgload.c: updated
to mode the definition of encoding tables within "cffload.c" instead
of making them part of a shared header (causing problems in "multi"
builds)
2001-12-20 13:33:03 +00:00
David Turner
c8087481df
* docs/TODO: added "stem3 and counter hints support" to the TODO list
...
for the Postscript hinter
* docs/BUGS: closed the AUTOHINT-NO-SBITS bug.
* src/pshinter/pshrec.c (t2_hint_stems), src/cff/cffobjs.h,
src/cff/cffobjs.c, src/cff/cffload.c, src/cff/cffload.h,
src/cff/cffgload.c, src/cff/cffgload.h, src/cff/cffdriver.c,
include/freetype/internal/cfftypes.h: added Postscript hinter support
to the CFF driver
* src/base/ftobjs.c (FT_Done_Library): fixed a stupid bug that crashed
the library on exit
2001-12-20 13:14:18 +00:00
David Turner
85eb669546
* src/type1/t1gload.c (T1_Load_Glyph): enable font matrix transform
...
on hinted glyphs..
* src/cid/cidgload.c, src/cid/cidobjs.c, src/cid/cidobjs.h,
src/cid/cidriver.c, include/freetype/internal/t1types.h: added
Postscript hinter support to the CID font driver !!
2001-12-20 09:36:21 +00:00
Werner Lemberg
0d535112fd
Formatting.
...
CFF encoding tables moved back from cffload.c to cffload.h.
2001-12-19 22:26:12 +00:00
David Turner
4937a3ebd2
* src/truetype/ttgload.c (TT_Load_Glyph), src/base/ftobjs.c
...
(FT_Load_Glyph): "fixed" the bug that prevented embedded bitmaps from
begin loaded when the auto-hinter is used.. This actually is a hack
but will be enough until the internal re-design scheduled for
FreeType 2.1
2001-12-19 21:09:16 +00:00
David Turner
c40a7e2d50
* include/freetype/cache/ftcache.h: added comments to indicate that
...
some of the exported functions should only be used by applications
that need to implement custom cache types
* src/truetype/ttgload.c: fixed a nasty bug that prevent composites
from loading correctly. Believe it or not, this was due to an invalid
macro definition !!
2001-12-19 19:17:35 +00:00
David Turner
8772845cdb
* src/sfnt/sfobjs.c (SFNT_Load_Face): make the "post" and "name"
...
tables optional to load PCL fonts properly
2001-12-19 14:59:23 +00:00
David Turner
fc3a316441
* src/raster/ftrend1.c (ft_raster1_render): fixed a nasty outline
...
shifting bug in the monochrome renderer.
* README: updated version numbers to 2.0.6
2001-12-19 14:47:28 +00:00
Werner Lemberg
aef3fc816b
* src/truetype/ttgload.c (load_truetype_glyph): Fix test for invalid
...
glyph header.
2001-12-17 16:21:22 +00:00
Werner Lemberg
c2e97a3072
Updating/Formatting.
2001-12-16 23:53:39 +00:00
Werner Lemberg
5da9dd77f2
* src/base/ftglyph (FT_Glyph_To_Bitmap): Remove compiler warning.
...
* include/freetype/ftcache.h (FTC_Node_Unref): Removed. It is
already in ftcmanag.h.
* src/cache/ftcsbits.c (ftc_sbit_node_load): Remove unused variable
`gfam'.
* src/cache/ftcmanag.c (ftc_family_table_alloc,
* ftc_family_table_free): Use FT_EXPORT_DEF.
* include/freetype/cache/ftcmanag.h: Updated.
* src/cache/ftccache.c (ftc_node_destroy): Use FT_EXPORT_DEF.
* src/cache/ftccmap.c (ftc_cmap_node_init): Remove unused variable
`cfam'.
Remove compiler warning.
(FTC_CMapCache_Lookup): Remove compiler warnings.
(ftc_cmap_family_init): Ditto.
(FTC_CMapCache_Lookup): Ditto.
* builds/unix/configure.ac: Increase `version_info' to 8:0:2.
* builds/unix/configure: Regenerated.
* builds/mac/README: Updated.
2001-12-16 08:17:33 +00:00
David Turner
59c9fea654
* src/truetype/ttgload.c (load_truetype_glyph): fixing crash when dealing
...
with invalid fonts (i.e. glyph size < 10 bytes)..
2001-12-14 15:14:44 +00:00
David Turner
7a1e2c12bf
* builds/mac/freetype.mac: a new Makefile to build with MPW on MacOS
...
classic..
2001-12-14 15:06:15 +00:00
David Turner
bce2986d0d
fixing hinted advance width bug in all font drivers
2001-12-14 14:52:58 +00:00
David Turner
2b30c17fd3
* src/pshint/pshglob.c: adding correct BlueScale/BlueShift support,
...
plus family blues processing
* src/cff/cffgload.c: started adding support for the Postscript hinter
2001-12-12 16:07:29 +00:00
Werner Lemberg
2f5d1b76ca
* builds/unix/freetype2.m4: Some portability fixes.
2001-12-12 15:15:44 +00:00
Werner Lemberg
fa4ca88346
* src/base/descrip.mms (OBJS): Add ftdebug.obj.
2001-12-11 14:11:11 +00:00
Werner Lemberg
04bfe312a5
* src/sfnt/ttload.c (TT_Load_Generic_Header): Typos.
2001-12-11 14:09:06 +00:00
David Turner
09feefee16
* src/base/fttrigon.c (FT_Cos): fixed a small bug that caused slightly
...
improper results for FT_Cos and FT_Sin (example: FT_Sin(0) == -1 !!)
2001-12-11 13:49:55 +00:00
David Turner
dd27182038
* builds/unix/freetype-config.in: modified the script to prevent
...
passing "-L/usr/lib" to gcc
* docs/FTL.TXT: simple fix (change "LICENSE.TXT" to "FTL.TXT")
* builds/unix/freetype2.m4: added autoconf macro, we need to install
it in $(prefix)/share/aclocal/freetype2.m4 but I didn't modified
builds/unix/install.mk yet..
2001-12-11 13:38:52 +00:00
David Turner
7da4824dfb
* include/freetype/internal/ftstream.h: fixed the definitions of
...
GET_LongLE and GET_ULongLE which where incorrect (creating problems
in the pcf driver)..
* INSTALL: updated the instructions to build shared libraries with
Jam.. they were simply erroneous..
2001-12-11 13:14:41 +00:00
David Turner
640078d425
* src/pcf/pcfdriver.c (PCF_Init_Face): allow Xft to use PCF fonts
...
by setting the "face->metrics.max_advance" correctly..
2001-12-10 10:47:47 +00:00
Werner Lemberg
e9e130c071
Formatting.
2001-12-07 21:56:32 +00:00
David Turner
145f94cb26
added new charmap cache. see include/freetype/cache/ftccmap.h
2001-12-07 14:43:45 +00:00
Leonard Rosenthol
6b2e4d4e13
Noted my Mac OS changes from today
2001-12-07 01:51:48 +00:00
Werner Lemberg
69905a2f24
Fix ChangeLog.
2001-12-06 18:37:52 +00:00
David Turner
c8ad30a7a0
* src/base/ftglyph.c (FT_Glyph_To_Bitmap): re-ordered code for debugging
...
purposes..
* src/smooth/ftsmooth.c (ft_smooth_render): fixed a nasty hidden bug where
outline shifting wasn't correctly undone after bitmap rasterization. this
created problems with certain glyphs (like '"' of certain fonts..) and
the cache system..
2001-12-05 17:24:34 +00:00
David Turner
14183ea0f8
First of all, a big thanks to Werner and Antoine for their latest work !!
...
* src/pshinter/pshalgo2.c (psh2_hint_table_init),
src/pshinter/pshalgo1.c (psh1_hint_table_init): removed compiler
warnings
* include/freetype/cache/*, src/cache/*: yet another massive rewrite of
the caching sub-system, in order to both increase performance and allow
simpler cache sub-classing. As an example, the code for the image and
sbit caches is now much simpler
I still need to update the documentation in www/freetype2/docs/cache.html
to reflect the new design though..
2001-12-05 15:59:33 +00:00
Werner Lemberg
c3b2160869
Formatting.
...
Cleaning up of ChangeLog.
* docs/license.txt: s/X Windows/X Window System/.
* src/raster/ftraster.c: Fix definition condition of MEM_Set().
* src/smooth/ftgrays.c (M_Y): Change value to 192.
* src/base/ftdbgmem.c (ft_mem_table_destroy): Fix printf() parameter.
Remove unused variable.
* src/cache/ftcimage.c (ftc_image_node_init,
ftc_image_node_compare): Remove unused variables.
* src/cache/ftcsbits.c (ftc_sbit_node_weight): Remove unused
variable.
* src/raster/ftraster.c (MEM_Set): Move definition down to avoid
compiler warning.
* src/autohint/ahhint.c (ah_hinter_hint_edges): Use UNUSED() to
avoid compiler warnings.
* src/pcf/pcfread.c (tableNames): Use `const'.
(pcf_read_TOC): Change counter name to avoid compiler warning.
Use `const'.
* src/pshinter/pshrec.c (ps_hints_close): Remove redundant
declaration.
* src/pshinter/pshalgo1.c (psh1_hint_table_init): Rename variables
to avoid shadowing.
* src/pshinter/pshalgo2.c (psh2_hint_table_activate_mask): Ditto.
* src/type1/t1objs.h: Remove double declarations of `T1_Size_Init()'
and `T1_Size_Done()'.
2001-12-05 01:22:05 +00:00