Werner Lemberg
ea4c3dc485
* src/type1/t1afm.c (T1_Read_PFM): Zero offset means `no kerning
...
table available'. From Sergey Tolstov <stolstov@esri.com>.
2005-11-08 09:10:16 +00:00
David Turner
96508b74b4
updating ChangeLog
2005-11-04 16:10:28 +00:00
Werner Lemberg
319c8b339b
Improve documentation. From Ville Syrjl <syrjala@sci.fi>.
2005-11-04 11:33:32 +00:00
Werner Lemberg
b2d025306e
* src/base/ftobjs.c (FT_Open_Face): Avoid possible memory leak.
...
Make compiling instructions in docs/CUSTOMIZE work again.
* builds/unix/unix-cc.in (CPPFLAGS): New variable.
(CFLAGS): Don't include @CPPFLAGS@.
* builds/freetype.mk (FT_CFLAGS): Add CPPFLAGS.
2005-11-04 06:58:49 +00:00
David Turner
dab2454635
updating ChangeLog with commits from 2005-10-28
2005-11-02 09:24:00 +00:00
David Turner
c1aef3fccb
adding missing file - oops
2005-10-28 19:24:11 +00:00
David Turner
9fbd2ab884
- various performance enhancements
...
- fixing apinames.c, adding support for Watcom and Borland compilers
- adding generation of exported symbols list to the build system, including the Unix one !!
sorry Werner, I have no time to document this in ChangeLog at the moment
2005-10-28 16:14:14 +00:00
Suzuki, Toshiya (鈴木俊哉)
69d45172b6
update files for classic MacOS support
2005-10-28 16:03:06 +00:00
Suzuki, Toshiya (鈴木俊哉)
4511576ba7
fix invalid cast from NULL to integer typed variables
2005-10-28 15:39:58 +00:00
Werner Lemberg
4b5661c386
* include/freetype/ftsysmem.h, include/freetype/ftsysio.h: Removed.
...
Obsolete.
Cleaning up comments to avoid a mix-up of old and new style.
2005-10-27 21:28:35 +00:00
Werner Lemberg
9d3de385a6
Fix comment style.
2005-10-26 20:08:45 +00:00
Werner Lemberg
43b057b637
* src/sfnt/sfdriver.c (sfnt_interface): Move out
...
`tt_face_get_kerning' from a #ifdef clause. Reported by Tony J.
Ibbs <tibs@sj.co.uk>.
2005-10-26 18:37:40 +00:00
Werner Lemberg
c57023a4c8
typo
2005-10-24 20:51:13 +00:00
Werner Lemberg
6c0e734f26
* src/base/ftdbgmem.c (ft_mem_debug_realloc): Make it compile with
...
C++.
2005-10-23 19:31:01 +00:00
Werner Lemberg
84cacd2391
formatting, comment clean-up
2005-10-23 19:25:41 +00:00
Werner Lemberg
f50c73dd65
whitespace
2005-10-22 10:43:12 +00:00
Werner Lemberg
90968f7531
Fix ChangeLog.
2005-10-22 10:34:45 +00:00
David Turner
398d64c0cc
* src/base/ftdbgmem.c: another realloc memory counting bug fix
...
* src/tools/Jamfile: adding missing file
* src/lzw/Jamfile: fixing incorrect source file reference
2005-10-21 10:01:25 +00:00
Werner Lemberg
560d5fed38
Minor cleanups.
...
Copyright issues.
2005-10-21 09:08:28 +00:00
David Turner
c1b6d08291
* src/base/ftdbgmem.c: fixes to better account for memory reallocations
...
* src/lzw/ftlzw2.c, src/lzw/ftzopen.h, src/lzw/ftzopen.c, src/lzw/rules.mk:
first version of LZW loader re-implementation. Apparently, saves about
260 KB of heap memory when loading tir24.pcf.Z
2005-10-20 15:33:34 +00:00
Wu, Chia-I (吳佳一)
7e30776ee8
* include/freetype/ftbitmap.h (FT_Bitmap_Copy, FT_Bitmap_Embolden),
...
src/base/ftbdf.c (FT_Get_BDF_Property), src/cache/ftcmru.c
(FTC_MruList_Reset, FTC_MruList_Done, FTC_MruList_Lookup): Misuse of
FT_EXPORT/FT_EXPORT_DEF.
2005-10-20 02:13:46 +00:00
Wu, Chia-I (吳佳一)
2293bb15c2
* src/truetype/ttgload.c (TT_Load_Glyph): Allow size->ttmetrics to be
...
invalid when FT_LOAD_NO_SCALE is set.
2005-10-19 08:07:38 +00:00
Werner Lemberg
8e6c56f99e
Formatting, CR/LF issues.
2005-10-18 06:09:13 +00:00
Werner Lemberg
6d24acb9a5
whitespace
2005-10-18 05:59:30 +00:00
David Turner
92f30c812c
* src/base/ftobjs.c (FT_Open_Face): don't call FT_New_GlyphSlot and
...
FT_New_Size if we're opening a face with face_index < 0 (which is only
used for testing the format).
* src/gxvalid/gxvmort0.c: removed compiler warning
2005-10-17 21:17:20 +00:00
David Turner
6c5299e44f
* src/tools/apinames.c: adding new tool to extract public API
...
function names from header files
2005-10-16 08:29:12 +00:00
Werner Lemberg
d7e08f7745
Fix ChangeLog.
2005-10-15 22:40:25 +00:00
Werner Lemberg
2b428d5787
minor cleanup
2005-10-15 05:49:31 +00:00
David Turner
d23b7b5141
file ftcint.h was initially added on branch CACHE.
2005-10-13 14:30:56 +00:00
Werner Lemberg
4d7447b466
Mention multi-threading.
2005-10-12 05:56:01 +00:00
Werner Lemberg
7734a1f720
Add FT_FACE_FLAG_HINTER to indicate that a specific font driver has
...
a hinting engine of its own.
* include/freetype/freetype.h (FT_FACE_FLAG_HINTER): New macro.
* src/cff/cffobjs.c (cff_face_init), src/cid/cidobjs.c
(cid_face_init), src/truetype/ttobjs.c (tt_face_init)
[TT_CONFIG_OPTION_BYTECODE_INTERPRETER], src/type1/t1objs.c
(T1_Face_Init), src/type42/t42objs.c (T42_Face_Init)
[TT_CONFIG_OPTION_BYTECODE_INTERPRETER]: Update face flags.
* docs/CHANGES: Document it.
2005-10-05 15:18:29 +00:00
Werner Lemberg
613ea86674
Grammatical fixes (this is, removing future tense in most cases).
...
Other minor documentation improvements.
2005-10-05 10:21:58 +00:00
Werner Lemberg
7c25946f08
Formatting.
2005-09-28 07:34:45 +00:00
Werner Lemberg
d6e8b3315c
* builds/unix/freetype2.m4: Add license exception so that the file
...
can be used in any other autoconf script.
2005-09-28 06:49:13 +00:00
David Turner
2441513494
file ftrgb.h was initially added on branch RGB.
2005-09-27 16:34:29 +00:00
David Turner
61ce6979cf
file rules.mk was initially added on branch RGB.
2005-09-27 16:25:29 +00:00
David Turner
743731afdc
file ftrgb.c was initially added on branch RGB.
2005-09-27 16:25:29 +00:00
David Turner
fae358aea8
file ftrgbgen.h was initially added on branch RGB.
2005-09-27 16:25:29 +00:00
David Turner
75a39a9044
file ftrgbgn2.h was initially added on branch RGB.
2005-09-27 16:25:29 +00:00
David Turner
98c3c78426
file Jamfile was initially added on branch RGB.
2005-09-27 16:25:29 +00:00
David Turner
f582cf3f95
* src/autofit/aflatin.c (af_latin_compute_stem_width): fixed bad
...
computation of the "vertical" flag, causing ugly things in LCD mode
and others.
2005-09-26 09:27:09 +00:00
David Turner
03ee7c82a3
* src/autofit/afangles.c (af_angle_atan): replaced CORDIC-based
...
implementation with one using lookup tables. This simple thing
speeds glyph loading by 18% according to ftbench !
2005-09-23 14:14:15 +00:00
David Turner
18e44430ae
* src/base/Jamfile: adding src/base/ftgxval.c
...
* src/gxvalid/gxvbsln.c, src/gxvalid/gxvcommn.c, src/gxvalid/gxvfeat.c,
src/gxvalid/gxvjust.c, src/gxvalid/gxvkern.c, src/gxvalid/gxvlcar.c,
src/gxvalid/gxvmort.c, src/gxvalid/gxvmort0.c, src/gxvalid/gxvmort1.c,
src/gxvalid/gxvmort2.c, src/gxvalid/gxvmort4.c, src/gxvalid/gxvmort5.c,
src/gxvalid/gxvmorx.c, src/gxvalid/gxvmorx0.c, src/gxvalid/gxvmorx1.c,
src/gxvalid/gxvmorx2.c, src/gxvalid/gxvmorx5.c, src/gxvalid/gxvopbd.c,
src/gxvalid/gxvprop.c, src/sfnt/sfdriver.c, src/truetype/ttgload.c:
removing _many_ compiler warnings when compiling with Visual C++
at maximum level (/W4)
2005-09-23 13:22:10 +00:00
David Turner
99ded0bed7
* src/autofit/aflatin.c (af_latin_hints_init): fixed a bug that
...
prevented internal hint mode bitflags from being computed correctly
2005-09-23 08:00:51 +00:00
Werner Lemberg
b3feb80e02
* docs/CHANGES: Mention SING Glyphlet support.
...
Other minor doc fixes and CRLF issues.
2005-09-23 07:40:28 +00:00
David Turner
ad20e6ba57
* src/base/Jamfile: fixing broken Jamfile
2005-09-22 20:37:51 +00:00
Werner Lemberg
8eacad6daa
* freetype2/src/sfnt/ttload.c (sfnt_dir_check): Modified to allow a
...
font to have no `head' table if tables `SING' and `META' are
present; this is to support `SING Glyphlet'.
`SING Glyphlet' is an extension to OpenType developed by Adobe
primarily to facilitate adding supplemental glyphs to an OpenType
font (with emphasis on, but not necessariy limited to, gaiji to a
CJK font). A SING Glyphlet Font is an OpenType font that contains
the outline(s), either in a `glyf' or `CFF' table, for a glyph;
`cmap', `BASE', and `GSUB' tables are present with the same format
and functionaliy as a regular OpenType font; there are no `name',
`head', `OS/2', and `post' tables; there are two new tables, `SING'
which contains details about the glyphlet, and `META' which contains
metadata.
Further information on the SING Glyphlet format can be found at:
http://www.adobe.com/products/indesign/sing_gaiji.html
* freetype2/include/freetype/ttags.h (TTAG_SING, TTAG_META): New
macros for the OpenType tables `SING' and `META'. These two tables
are used in SING Glyphlet Format fonts.
2005-09-19 07:07:11 +00:00
Werner Lemberg
7e25c688de
* src/sfnt/sfobjs.c (sfnt_load_face): Reactivate code to set
...
FT_FACE_FLAG_KERNING which has been commented out erroneously.
* docs/CHANGES: Document it.
2005-09-09 18:00:06 +00:00
Werner Lemberg
99aa14c226
Fixes for `make multi' and using C++ compiler.
...
* gxvalid/gxvcommn.c (gxv_set_length_by_ushort_offset,
gxv_set_length_by_ulong_offset, gxv_array_getlimits_byte,
gxv_array_getlimits_ushort): Declare with FT_LOCAL_DEF.
(gxv_compare_ranges): Make it static.
(gxv_LookupTable_fmt0_validate, gxv_LookupTable_fmt2_validate,
gxv_LookupTable_fmt4_validate, gxv_LookupTable_fmt6_validate,
gxv_LookupTable_fmt8_validate, gxv_LookupTable_validate): Improve
trace messages.
(gxv_StateArray_validate, gxv_XStateArray_validate): s/class/clazz/.
(GXV_STATETABLE_HEADER_SIZE, GXV_STATEHEADER_SIZE,
GXV_XSTATETABLE_HEADER_SIZE, GXV_XSTATEHEADER_SIZE): Move to
gxvcommn.h.
* gxvalid/gxvcommn.h: Add prototypes for
gxv_StateTable_subtable_setup, gxv_XStateTable_subtable_setup,
gxv_XStateTable_validate, gxv_array_getlimits_byte,
gxv_array_getlimits_ushort, gxv_set_length_by_ushort_offset,
gxv_set_length_by_ulong_offset, gxv_odtect_add_range,
gxv_odtect_validate.
(GXV_STATETABLE_HEADER_SIZE, GXV_STATEHEADER_SIZE,
GXV_XSTATETABLE_HEADER_SIZE, GXV_XSTATEHEADER_SIZE): Moved from
gxvcommn.c.
* src/gxvalid/gxvbsln.c (gxv_bsln_LookupValue_validate,
gxv_bsln_parts_fmt1_validate): Improve trace messages.
* gxvalid/gxvfeat.c: Split off predefined registry stuff to...
* gxvalid/gxvfeat.h: New file.
* gxvalid/gxvjust.c (gxv_just_wdc_entry_validate): Improve trace
message.
* gxvalid/gxvkern.c (GXV_kern_Dialect): Add KERN_DIALECT_UNKNOWN.
(gxv_kern_subtable_fmt1_valueTable_load,
gxv_kern_subtable_fmt1_subtable_setup,
gxv_kern_subtable_fmt1_entry_validate): Fix C++ compiler errors.
(gxv_kern_coverage_validate): Use KERN_DIALECT_UNKWOWN.
Improve trace message.
(gxv_kern_validate_generic): Fix C++ compiler error.
Improve trace message.
(gxv_kern_validate_classic): Fix C++ compiler error.
* gxvalid/gxvmort0.c (gxv_mort_subtable_type0_validate): Declare
with FT_LOCAL_DEF.
* gxvalid/gxvmort1.c
(gxv_mort_subtable_type1_substitutionTable_load,
gxv_mort_subtable_type1_subtable_setup): Fix C++ compiler errors.
(gxv_mort_subtable_type1_substTable_validate): Improve trace
message.
(gxv_mort_subtable_type1_validate): Declare with FT_LOCAL_DEF.
* gxvalid/gxvmort2.c (gxv_mort_subtable_type2_opttable_load,
gxv_mort_subtable_type2_subtable_setup,
gxv_mort_subtable_type2_ligActionOffset_validate,
gxv_mort_subtable_type2_ligatureTable_validate): Fix C++ compiler
errors.
(gxv_mort_subtable_type2_validate): Declare with FT_LOCAL_DEF.
* gxvalid/gxvmort4.c (gxv_mort_subtable_type4_validate): Declare
with FT_LOCAL_DEF.
* gxvalid/gxvmort5.c (gxv_mort_subtable_type5_subtable_setup,
gxv_mort_subtable_type5_InsertList_validate): Fix C++ compiler
errors.
(gxv_mort_subtable_type5_validate): Declare with FT_LOCAL_DEF.
* gxvalid/gxvmort.c: Include gxvfeat.h.
(gxv_mort_featurearray_validate, gxv_mort_coverage_validate):
Declare with FT_LOCAL_DEF.
(gxv_mort_subtables_validate, gxv_mort_validate): Improve trace
messages.
* gxvalid/gxvmort.h (gxv_mort_feature_validate): Remove.
* gxvalid/gxvmorx0.c (gxv_morx_subtable_type0_validate): Declare
with FT_LOCAL_DEF.
* gxvalid/gxvmorx1.c
(gxv_morx_subtable_type1_substitutionTable_load,
gxv_morx_subtable_type1_subtable_setup,
gxv_morx_subtable_type1_entry_validate,
gxv_morx_subtable_type1_substitutionTable_validate): Fix C++
compiler errors.
(gxv_morx_subtable_type1_validate): Declare with FT_LOCAL_DEF.
* gxvalid/gxvmorx2.c (gxv_morx_subtable_type2_opttable_load,
gxv_morx_subtable_type2_subtable_setup,
gxv_morx_subtable_type2_ligActionIndex_validate,
gxv_morx_subtable_type2_ligatureTable_validate): Fix C++ compiler
errors.
(gxv_morx_subtable_type2_validate): Declare with FT_LOCAL_DEF.
Fix typo.
* gxvalid/gxvmorx4.c (gxv_morx_subtable_type4_validate): Declare
with FT_LOCAL_DEF.
* gxvalid/gxvmorx5.c (gxv_morx_subtable_type5_insertionGlyph_load,
gxv_morx_subtable_type5_subtable_setup): Fix C++ compiler error.
(gxv_morx_subtable_type5_validate): Declare with FT_LOCAL_DEF.
* gxvalid/gxvmorx.c (gxv_morx_subtables_validate,
gxv_morx_validate): Improve trace message.
* gxvalid/gxvopbd.c (gxv_opbd_LookupFmt4_transit): Fix compiler
warnings.
(gxv_opbd_validate): Improve trace message.
* gxvalid/gxvprop.c: Decorate constants with `U' and `L' where
appropriate.
(gxv_prop_zero_advance_validate, gxv_prop_validate): Improve trace
message.
* gxvalid/gxvtrak.c (gxv_trak_trackTable_validate): Remove unused
parameter. Update all callers.
(gxv_trak_validate): Improve trace message.
* rules.mk (GXV_DRV_H): Add gxvfeat.h.
2005-09-05 19:31:27 +00:00
Werner Lemberg
4a7f0b1c7a
* src/gxvalid/gxvbsln.c (GXV_BSLN_VALUE_EMPTY): Add `U'.
...
* src/gxvalid/gxmort1.c (GXV_MORT_SUBTABLE_TYPE1_HEADER_SIZE),
src/gxvalid/gxmort2.c (GXV_MORT_SUBTABLE_TYPE2_HEADER_SIZE): Fix
typo.
* src/gxvalid/gxvmorx0.c, src/gxvalid/gxvmorx1.c,
src/gxvalid/gxvmorx2.c, src/gxvalid/gxvmorx4.c,
src/gxvalid/gxvmorx5.c, src/gxvalid/gxvmort.c: Improve tracing
messages.
Decorate constants with `U' and `L' where appropriate.
Fix compiler warnings.
Formatting.
2005-09-01 07:33:03 +00:00