Log

Author Commit Date CI Message
Werner Lemberg 30bd2844 2006-01-08T19:38:42 * src/base/ftutil.c (ft_highpow2): s/FT_BASE/FT_BASE_DEF/. Reported by Niels Boldt <nielsboldt@gmail.com>.
Werner Lemberg e8f92af3 2006-01-08T13:43:30 * src/pcf/pcfread.c (pcf_get_bitmaps): Remove unused variable `bitmaps'. From Yu Lei <yulei0@gmail.com>.
Werner Lemberg 05cda08b 2006-01-08T13:37:15 Fix ChangeLog.
Suzuki, Toshiya (鈴木俊哉) 3dfcef69 2005-12-28T06:47:12 add '\n' to the end of src/sfnt/ttbdf.c
Werner Lemberg 748b171d 2005-12-25T09:15:09 Doc typos. From Huw Davies.
Werner Lemberg 083ba0b7 2005-12-23T15:10:54 Formatting, documentation improvements.
David Turner e6bb9533 2005-12-23T13:32:06 * Jamfile, docs/reference/README: fix it so that "jam refdoc" works correctly to generate the API reference in 'docs/reference' * src/tools/docmaker/tohtml.py: update to output nicer fields lists in the API reference * src/base/ftobjs.c (FT_Load_Glyph): FT_LOAD_TARGET_LIGHT now forces auto-hinting * freetype/freetype.h: updating the documentation for FT_LOAD_TARGET_XXX and FT_Render_Mode values
Suzuki, Toshiya (鈴木俊哉) 53be6e9b 2005-12-23T12:22:46 ftmac.c counts supported faces only
Werner Lemberg b79b5133 2005-12-20T12:01:58 Formatting, improving comments.
Wu, Chia-I (吳佳一) ce34d122 2005-12-17T13:12:49 * src/truetype/ttinterp.c (Update_Max): Set current size of buffer correctly (so that memory debug system won't panic).
Wu, Chia-I (吳佳一) dcb8b710 2005-12-16T14:27:14 * include/freetype/internal/ftobjs.h (ft_glyphslot_grid_fit_metrics), src/base/ftobjs.c (ft_glyphslot_grid_fit_metrics): Removed. * src/base/ftobjs.c (ft_recompute_scaled_metrics): Do not round. * src/cff/cffgload.c (cff_slot_load), src/cid/cidgload.c (cid_slot_load_glyph), src/truetype/ttgload.c (compute_glyph_metrics), src/type1/t1gload.c (T1_Load_Glyph): Do not round glyph metrics. * doc/CHANGES: Mention the changes.
David Turner db0182f0 2005-12-14T21:16:33 small update
David Turner 89a2a4b5 2005-12-14T20:38:15 * include/freetype/config/ftoption.h, include/freetype/config/ftstdlib.h, include/freetype/internal/tttypes.h, src/sfnt/Jamfile, src/sfnt/rules.mk, src/sfnt/sfdriver.c, src/sfnt/ttbdf.h, src/sfnt/ttbdf.c, src/sfnt/sfobjs.c: Added support for an embedded 'BDF ' table within SFNT-based bitmap font files. This is used to store atoms & properties from the original BDF fonts that were used to generate the font file. the feature is controled by TT_CONFIG_OPTION_BDF within 'ftoption.h' and is used to implement FT_Get_BDF_Property for these font files. At the moment, this is still experimental, the BDF table format isn't cast into stone yet.
David Turner 8def3c89 2005-12-14T16:38:31 * Jamfile: small fix to ensure that ftexport.sym is placed in the same location than other generated objects (i.e. within the 'objs' directory of the current dir)
David Turner 5b5f382b 2005-12-14T16:37:15 * src/autofit/aflatin.c, src/autofit/afhints.c: changed the implementation of the LIGHT hinting mode to completely disable horizontal hinting. This is an experimental effort to integrate David Chester's latest patch without fucking the other hinting modes as well. Note that this doesn't force auto-hinting for all fonts however.
Werner Lemberg 0779163e 2005-12-12T07:40:58 Add missing files.
Werner Lemberg 364db082 2005-12-07T20:34:11 * src/sfnt/sfobjc.c (sfnt_init_face): Move tag check to... * src/sfnt/ttload.c (sfnt_init): Here, before handling TTCs.
Werner Lemberg 3b8db669 2005-12-06T10:47:44 Fix ChangeLog and source code comment.
Wu, Chia-I (吳佳一) a3690cda 2005-12-06T08:24:01 * src/truetype/ttobjs.c (tt_size_init): size->ttmetrics.valid is initialized twice. size->strike_index is not initialized.
Werner Lemberg a10a9f91 2005-12-04T12:48:57 Fix source code comment.
Werner Lemberg 2a0903a5 2005-12-03T08:13:43 * src/type42/t42objs.x (T42_Face_Init): Replace call to FT_New_Memory_Face with call to FT_Open_Face to pass `params'.
Werner Lemberg 21a7d844 2005-11-30T21:05:32 Minor doc update.
Werner Lemberg 44e47d5f 2005-11-30T18:47:49 * src/sfnt/ttcmap.c, src/sfnt/ttcmap.h: s/TT_CMAP_FLAG_OVERLAPPED/TT_CMAP_FLAG_OVERLAPPING/.
Werner Lemberg b5d88e8e 2005-11-30T08:55:51 * docs/CHANGES: Document latest charmap code changes.
Werner Lemberg b797fdb5 2005-11-30T08:48:32 * docs/CHANGES: Document ftdump's `-v' option.
Wu, Chia-I (吳佳一) a28bc4c7 2005-11-30T02:39:10 * src/sfnt/ttcmap.c (tt_cmap4_char_map_binary, tt_cmap12_char_map_binary): Fix compiler warnings.
Wu, Chia-I (吳佳一) a0911343 2005-11-29T11:32:53 Major update to distinguish between unsorted and overlapped segments for cmap format 4. For overlapped but sorted segments, which is previously considered unsorted, we still use binary search. * src/sfnt/ttcmap.h (struct TT_CMapRec_): Replace `unsorted' by `flags'. (TT_CMAP_FLAG_UNSORTED, TT_CMAP_FLAG_OVERLAPPED): New macros. * src/sfnt/ttcmap.c (OPT_CMAP4): Removed as it is always defined. (struct TT_CMap4Rec_): Remove `old_charcode' and `table_length'. (tt_cmap4_reset): Removed. (tt_cmap4_init): Updated accordingly. (tt_cmap4_next): Updated accordingly. Take care of overlapped segments. (tt_cmap4_validate): Make sure the subtable is large enough. Do not check glyph_ids because some fonts set the length wrongly. Also, when all segments have offset 0, glyph_ids is always invalid. It does not cause any problem so far only because the check misses equality. Distinguish between unsorted and overlapped segments. (tt_cmap4_char_map_linear, tt_cmap4_char_map_binary): New functions to do "charcode => glyph index" by linear/binary search. (tt_cmap4_char_index, tt_cmap4_char_next): Use tt_cmap4_char_map_linear and tt_cmap4_char_map_binary. (tt_face_build_cmaps): Treat the return value of validator as flags for cmap.
Wu, Chia-I (吳佳一) 569ec4ee 2005-11-29T11:27:51 * src/sfnt/ttcmap.c (struct TT_CMap12Rec_, tt_cmap12_init, tt_cmap12_next): New struct/function for fast "next char". (tt_cmap12_char_map_binary): New function to do "charcode => glyph index" by binary search. (tt_cmap12_char_index, tt_cmap12_char_next): Use tt_cmap12_char_map_binary. (tt_face_build_cmaps): Check table and offset correctly (equality is missing).
Detlef Würkner df1598e3 2005-11-25T08:04:09 2005-11-15 Detlef Wrkner <TetiSoft@apg.lahn.de> * builds/amiga/smakefile: Adjusted the compiler options to the current sources, now really builds the gxvalid, gzip and psnames modules. * builds/amiga/src/base/ftsystem.c: The assumed Seek() position in the file cache was off by one byte which could cause false errors in font files.
Detlef Würkner 6e0d20bb 2005-11-25T08:02:57 Adjusted the compiler options to the current sources.
Detlef Würkner ba0893c9 2005-11-25T08:01:54 The assumed Seek() position in the file cache was off by one byte.
Suzuki, Toshiya (鈴木俊哉) 6b1c597c 2005-11-24T05:16:57 MPW makefiles are updated to build all available modules
Werner Lemberg c815f33b 2005-11-22T09:37:04 Add some references.
Werner Lemberg 67ba2118 2005-11-21T17:32:03 * src/bdf/bdfdrivr.c (bdf_interpret_style, BDF_Face_Done): Fix small memory leak.
Werner Lemberg 840232ad 2005-11-21T12:36:42 * src/sfnt/ttload.c (sfnt_init): Add tracing message.
Wu, Chia-I (吳佳一) 275be9ba 2005-11-21T03:05:34 * src/sfnt/ttsbit0.c (tt_sbit_decoder_load_image): image_offset is added to image_start twice when image_format is 2 or 5.
Wu, Chia-I (吳佳一) d81947e4 2005-11-21T03:04:03 * src/sfnt/sfobjs.c (sfnt_init_face): Check that format_tag is known before loading the table directory. * src/sfnt/ttload.c (tt_face_load_sfnt_header, tt_face_load_directory): Delay sfnt_dir_check from tt_face_load_sfnt_header to tt_face_load_directory.
Wu, Chia-I (吳佳一) 6f1eca04 2005-11-20T08:24:24 * src/sfnt/ttload.c (sfnt_dir_check): Clean up and return correct error code. (sfnt_init): New function to fill in face->ttc_header. A non-TTC font is synthesized into a TTC font with one offset table. (tt_face_load_sfnt_header): Use sfnt_init. Fix an invalid access when the font is TTC and face_index is -1.
Werner Lemberg 6c990459 2005-11-18T21:10:59 * src/sfnt/ttload.c (tt_face_load_metrics): Ignore excess number of metrics instead of aborting. Patch suggested by Derek Noonburg. * src/cff/cffgload.c (cff_slot_load), src/cid/cidgload.c (cid_slot_load_glyph), src/type1/t1gload.c (T1_Load_Glyph): Scale the glyph properly if no hinter is available. * docs/CHANGES: Mention scaling bug.
Werner Lemberg 1a293d6c 2005-11-18T08:23:06 * src/sfnt/ttload.c (tt_face_load_metrics): Ignore excess number of metrics instead of aborting. Patch suggested by Derek Noonburg.
Suzuki, Toshiya (鈴木俊哉) 8d81d41a 2005-11-18T07:47:06 add FT_TrueTypeGX_Free() etc to free the buffers allocated by gxvalid, otvalid
Wu, Chia-I (吳佳一) cb182381 2005-11-18T04:29:31 * builds/unix/ftsystem.c (FT_Stream_Open, FT_New_Memory, FT_Done_Memory), builds/vms/ftsystem.c (FT_Stream_Open, FT_New_Memory, FT_Done_Memory), builds/win32/ftdebug.c (FT_Message, FT_Panic): s/FT_EXPORT/FT_BASE/.
Werner Lemberg 2400ff2b 2005-11-17T21:32:41 typo
Detlef Würkner 0acfc1f8 2005-11-17T16:54:54 2005-11-17 Detlef Wrkner <TetiSoft@apg.lahn.de> * builds/amiga/src/base/ftdebug.c (FT_Trace_Get_Count, FT_Trace_Get_Name, FT_Message, FT_Panic), builds/amiga/src/base/ftsystem.c (FT_New_Memory, FT_Done_Memory, FT_Stream_Open): s/FT_EXPORT/FT_BASE/.
Detlef Würkner 5d021d69 2005-11-17T16:28:41 s/FT_EXPORT/FT_BASE/.
Detlef Würkner 4859ac4a 2005-11-17T14:21:07 Add ChangeLog entry.
Detlef Würkner c280d868 2005-11-17T14:19:30 Added support for gxvalid module.
Werner Lemberg cfc0cf2e 2005-11-17T08:12:00 Add vertical metrics support to OpenType CFF outlines. Based on a patch from Mike Moening <MikeM@RetekSolutions.com> * src/cff/cffgload.c (cff_face_get_vertical_metrics): New function. (cff_slot_load): Use cff_face_get_vertical_metrics. * docs/CHANGES: Updated.
Wu, Chia-I (吳佳一) 35bfc0f1 2005-11-17T01:53:07 * src/base/ftcalc.c (FT_MulTo64): Commented out. * include/freetype/internal/ftcalc.h (FT_SqrtFixed), src/base/ftcalc.c (FT_SqrtFixed), include/freetype/internal/ftdebug.h (FT_Trace_Get_Count, FT_Trace_Get_Name, FT_Message, FT_Panic), src/base/ftdebug.c (FT_Trace_Get_Count, FT_Trace_Get_Name, FT_Message, FT_Panic), include/freetype/internal/ftobjs.h (FT_New_Memory, FT_Done_Memory), include/freetype/internal/ftstream.h (FT_Stream_Open), src/base/ftsystem.c (FT_New_Memory, FT_Done_Memory, FT_Stream_Open): s/FT_EXPORT/FT_BASE/. * builds/exports.mk: Manually add TT_New_Context to EXPORTS_LIST too.
Werner Lemberg 674ba91f 2005-11-16T18:09:27 formatting
David Turner f7cc1814 2005-11-15T17:30:56 * src/base/fttrigon.c (ft_trig_prenorm): fixed a bug that created invalid computations, resulting in very weird bugs in TrueType bytecode hinted fonts * src/truetype/ttinterp.c: redefined FT_UNUSED_EXEC to not perform a structure copy each time. Wooot. !
Werner Lemberg d829ff76 2005-11-12T17:07:11 * src/cache/ftccache.c (FTC_Cache_Clear), src/cache/ftcmanag.c (FTC_Manager_Check): Remove FT_EXPORT_DEF tag. * src/base/ftcalc.c (FT_Add64): Remove FT_EXPORT_DEF tag. (FT_Div64by32, FT_Sqrt32): Commented out. Unused. * include/freetype/internal/ftcalc.h (SQRT_32): Removed. Unused. (FT_Sqrt32): Commented out. Unused. * include/freetype/cache/ftccache.h: s/ftc_node_destroy/FTC_Node_Destroy/. * src/cache/ftccback.h (ftc_node_destroy): New declaration. * src/cache/ftccache.c (ftc_node_destroy): Use FT_LOCAL_DEF tag. (FTC_Node_Destroy): New exported wrapper function for ftc_node_destroy. * src/cache/ftcmanag.c: Include ftccback.c.
Werner Lemberg cee37a3b 2005-11-12T07:34:40 Clean-up.
Werner Lemberg f2c5330a 2005-11-11T16:20:59 * builds/exports.mk ($(EXPORTS_LIST)): Add TT_RunIns.
Werner Lemberg 21ed634e 2005-11-11T15:59:33 Add copyright. Clean-up.
Werner Lemberg 4309edcc 2005-11-11T15:49:14 * src/autofit/afangles.c, src/autofit/aftypes.h (af_angle_diff): Comment out. Unused. * builds/beos/beos.mk: Call beos-def.mk before anything else to define the separator. * builds/unix/unix-cc.in (LINK_LIBRARY): Add `-no-undefined' flag.
Werner Lemberg ea4c3dc4 2005-11-08T09:10:16 * src/type1/t1afm.c (T1_Read_PFM): Zero offset means `no kerning table available'. From Sergey Tolstov <stolstov@esri.com>.
David Turner 96508b74 2005-11-04T16:10:28 updating ChangeLog
Werner Lemberg 319c8b33 2005-11-04T11:33:32 Improve documentation. From Ville Syrjl <syrjala@sci.fi>.
Werner Lemberg b2d02530 2005-11-04T06:58:49 * 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.
David Turner dab24546 2005-11-02T09:24:00 updating ChangeLog with commits from 2005-10-28
David Turner c1aef3fc 2005-10-28T19:24:11 adding missing file - oops
David Turner 9fbd2ab8 2005-10-28T16:14:14 - 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
Suzuki, Toshiya (鈴木俊哉) 69d45172 2005-10-28T16:03:06 update files for classic MacOS support
Suzuki, Toshiya (鈴木俊哉) 4511576b 2005-10-28T15:39:58 fix invalid cast from NULL to integer typed variables
Werner Lemberg 4b5661c3 2005-10-27T21:28:35 * include/freetype/ftsysmem.h, include/freetype/ftsysio.h: Removed. Obsolete. Cleaning up comments to avoid a mix-up of old and new style.
Werner Lemberg 9d3de385 2005-10-26T20:08:45 Fix comment style.
Werner Lemberg 43b057b6 2005-10-26T18:37:40 * 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>.
Werner Lemberg c57023a4 2005-10-24T20:51:13 typo
Werner Lemberg 6c0e734f 2005-10-23T19:31:01 * src/base/ftdbgmem.c (ft_mem_debug_realloc): Make it compile with C++.
Werner Lemberg 84cacd23 2005-10-23T19:25:41 formatting, comment clean-up
Werner Lemberg f50c73dd 2005-10-22T10:43:12 whitespace
Werner Lemberg 90968f75 2005-10-22T10:34:45 Fix ChangeLog.
David Turner 398d64c0 2005-10-21T10:01:25 * src/base/ftdbgmem.c: another realloc memory counting bug fix * src/tools/Jamfile: adding missing file * src/lzw/Jamfile: fixing incorrect source file reference
Werner Lemberg 560d5fed 2005-10-21T09:08:28 Minor cleanups. Copyright issues.
David Turner c1b6d082 2005-10-20T15:33:34 * 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
Wu, Chia-I (吳佳一) 7e30776e 2005-10-20T02:13:46 * 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.
Wu, Chia-I (吳佳一) 2293bb15 2005-10-19T08:07:38 * src/truetype/ttgload.c (TT_Load_Glyph): Allow size->ttmetrics to be invalid when FT_LOAD_NO_SCALE is set.
Werner Lemberg 8e6c56f9 2005-10-18T06:09:13 Formatting, CR/LF issues.
Werner Lemberg 6d24acb9 2005-10-18T05:59:30 whitespace
David Turner 92f30c81 2005-10-17T21:17:20 * 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
David Turner 6c5299e4 2005-10-16T08:29:12 * src/tools/apinames.c: adding new tool to extract public API function names from header files
Werner Lemberg d7e08f77 2005-10-15T22:40:25 Fix ChangeLog.
Werner Lemberg 2b428d57 2005-10-15T05:49:31 minor cleanup
David Turner d23b7b51 2005-10-13T14:30:56 file ftcint.h was initially added on branch CACHE.
Werner Lemberg 4d7447b4 2005-10-12T05:56:01 Mention multi-threading.
Werner Lemberg 7734a1f7 2005-10-05T15:18:29 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.
Werner Lemberg 613ea866 2005-10-05T10:21:58 Grammatical fixes (this is, removing future tense in most cases). Other minor documentation improvements.
Werner Lemberg 7c25946f 2005-09-28T07:34:45 Formatting.
Werner Lemberg d6e8b331 2005-09-28T06:49:13 * builds/unix/freetype2.m4: Add license exception so that the file can be used in any other autoconf script.
David Turner 24415134 2005-09-27T16:34:29 file ftrgb.h was initially added on branch RGB.
David Turner 61ce6979 2005-09-27T16:25:29 file rules.mk was initially added on branch RGB.
David Turner 743731af 2005-09-27T16:25:29 file ftrgb.c was initially added on branch RGB.
David Turner fae358ae 2005-09-27T16:25:29 file ftrgbgen.h was initially added on branch RGB.
David Turner 75a39a90 2005-09-27T16:25:29 file ftrgbgn2.h was initially added on branch RGB.
David Turner 98c3c784 2005-09-27T16:25:29 file Jamfile was initially added on branch RGB.
David Turner f582cf3f 2005-09-26T09:27:09 * src/autofit/aflatin.c (af_latin_compute_stem_width): fixed bad computation of the "vertical" flag, causing ugly things in LCD mode and others.
David Turner 03ee7c82 2005-09-23T14:14:15 * 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 !
David Turner 18e44430 2005-09-23T13:22:10 * 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)
David Turner 99ded0be 2005-09-23T08:00:51 * src/autofit/aflatin.c (af_latin_hints_init): fixed a bug that prevented internal hint mode bitflags from being computed correctly