builds/mac/ftmac.c


Log

Author Commit Date CI Message
Werner Lemberg dc624ca4 2013-06-04T10:30:48 Apply fixes for cppcheck nitpicks. http://cppcheck.sourceforge.net/ Note that the current version heavily chokes on FreeType, delivering even wrong results. I will report those issues to the cppcheck team so that a newer version gives improved results hopefully. */* Improve variable scopes. */* Remove redundant initializations which get overwritten. * src/base/ftmac.c ,builds/mac/ftmac.c (count_faces_scalable): Remove unused variable. * src/base/ftdbgmem.c (ft_mem_table_destroy): `table' can't be zero. * src/gxvalid/gxvkern.c (gxv_kern_subtable_fmt1_entry_validate): Remove functionless code. * src/tools/ftrandom.c (main): Fix memory leak.
Werner Lemberg fd66469e 2013-05-17T17:40:27 Update more FT_Err_XXX macros using FT_ERR and FT_THROW; * builds/amiga/src/base/ftsystem.c, builds/mac/ftmac.c, builds/unix/ftsystem.c, builds/vms/ftsystem.c: Do it.
suzuki toshiya 714ee56a 2011-12-02T21:14:18 [mac] Unify DARWIN_NO_CARBON with FT_MACINTOSH. Originally FT_MACINTOSH was a pure auto macro and DARWIN_NO_CARBON was a configurable macro to disable Carbon-dependent code. Because now configure script sets DARWIN_NO_CARBON by default and disables Darwin & Carbon-dependent codes, these macros can be unified. FT_MACINTOSH (undefined by default) is kept and DARWIN_NO_CARBON (defined by default) is removed, because DARWIN_NO_CARBON violates FT_XXX naming convention of public macros, and a macro configured by default is not portable for the building without configure (e.g. make devel). * builds/unix/configure.raw: Define FT_MACINTOSH if Carbon-based old Mac font support is requested and Carbon is available. * builds/unix/ftconfig.in: Undefine FT_MACINTOSH when the support for Mac OS X without Carbon (e.g. Mac OS X 10.4 for ppc64) is requested. * include/freetype/config/ftconfig.in: Ditto. * builds/vms/ftconfig.h: Ditto. * src/base/ftbase.h: Remove DARWIN_NO_CARBON. * src/base/ftbase.c: Ditto. * src/base/ftobjs.c: Ditto. * src/base/ftrfork.c: Ditto. * src/base/ftmac.c: Compile the body if FT_MACINTOSH is defined (same with TT_USE_BYTECODE_INTERPRETER in ttinterp.c). * builds/mac/ftmac.c: Ditto. * builds/mac/FreeType.m68k_cfm.make.txt: Define FT_MACINTOSH. * builds/mac/FreeType.m68k_far.make.txt: Ditto. * builds/mac/FreeType.ppc_classic.make.txt: Ditto. * builds/mac/FreeType.ppc_carbon.make.txt: Ditto.
Suzuki, Toshiya (鈴木俊哉) 96d87bed 2008-10-05T03:08:10 {src/base,builds/mac}/ftobjs.c: Include FT_TRUETYPE_TAGS_H for multi build
Suzuki, Toshiya (鈴木俊哉) 21bd5165 2008-10-04T18:10:28 Introduce macros for some MacOS-specific resource tags
Suzuki, Toshiya (鈴木俊哉) 1137d04f 2008-10-04T07:11:58 * New function `open_face_PS_from_sfnt_stream' to check and open a Type1 PS or CID-keyed font in an sfnt stream.
Suzuki, Toshiya (鈴木俊哉) 9e2b9900 2008-10-03T11:52:22 * Remove duplicated functions from builds/mac/ftmac.c. Now MPW builds builds/mac/ftmac.c as a part of ftbase.c
Suzuki, Toshiya (鈴木俊哉) 3afbee82 2008-09-19T17:46:01 * ftmac.c: Import sfnt-wrapped Type1/CID font support
Werner Lemberg 77f73585 2008-08-19T04:53:02 Formatting.
Suzuki, Toshiya (鈴木俊哉) fdc2d761 2008-08-18T06:02:07 * src/base/ftmac.c: Add a fallback for the case that HAVE_TYPE_RESOURCE_INDEX is not set by configure
Werner Lemberg 9b9d3349 2008-02-21T23:22:06 minor improvements, copyright years
Suzuki, Toshiya (鈴木俊哉) 6cb2faa8 2008-02-21T18:46:07 * src/base/ftmac.c: Fix a bug of PostScript font name synthesis in parse_fond().
Suzuki, Toshiya (鈴木俊哉) d2c55ab0 2008-02-15T09:12:59 fix for inexistent sfnt ID in broken FOND
Suzuki, Toshiya (鈴木俊哉) 75696860 2008-01-04T01:43:23 Formatting.
Suzuki, Toshiya (鈴木俊哉) 44b5e577 2007-12-06T07:47:25 Mac OS X Carbon tests in configure.raw are improved and builds/mac/ftmac.c is updated to sync to src/base/ftmac.c
Suzuki, Toshiya (鈴木俊哉) 2be3f472 2007-08-29T06:08:59 * src/base/ftmac.c: Use more abstract data type instead of `short\'
Suzuki, Toshiya (鈴木俊哉) 7893501c 2007-06-19T03:27:05 * fix compiler warnings of src/base/ftmac.c, drop unnecessary part for Mac OS X.
Werner Lemberg de5e6866 2007-02-25T21:06:43 formatting
Suzuki, Toshiya (鈴木俊哉) b68e025c 2007-02-20T02:37:36 * Fix memory leak in ftmac.c, patch by Jjgod Jiang
Werner Lemberg 406d25f3 2007-02-12T22:01:18 more formatting and copyright years
David Turner c0f9c4aa 2007-02-12T14:55:03 introduce ft_mem_dup, ft_mem_strdup and ft_mem_strcpyn, and the corresponding macros to use them (e.g. FT_STRDUP, FT_DUP and FT_STRCPYN) modify the code to use them instead of raw mallocs/strcpy
Werner Lemberg dcbb708e 2007-02-08T08:54:09 formatting, copyright years
Suzuki, Toshiya (鈴木俊哉) f223df6e 2007-02-05T04:07:46 * Add __attribute__((deprecated)) to functions whose interface using non ANSI data types
Suzuki, Toshiya (鈴木俊哉) 4827e9bd 2007-02-05T03:28:29 * Add FT_GetFilePath_From_Mac_ATS_Name as replacement for FT_GetFile_From_Mac_ATS_Name
Suzuki, Toshiya (鈴木俊哉) 027357f1 2007-02-05T02:50:45 * Check ANSI compatibility of Mac OS X system header
Suzuki, Toshiya (鈴木俊哉) 21fd256d 2006-12-15T15:09:44 * Backup src/base/ftmac.c to builds/mac/ftmac.c for legacy MacOS