suzuki toshiya
714ee56ab1
[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.
2011-12-02 21:14:58 +09:00
suzuki toshiya
017b4d5e7f
Update classic MacOS makefiles to include Bzip2 support.
...
Currently, it provides FT_Stream_OpenBzip2() that returns
unimplemented error always, to prevent unresolved symbol
error for the applications designed for Unix systems.
* builds/mac/FreeType.m68k_cfm.make.txt: Include ftbzip2.c.o.
* builds/mac/FreeType.m68k_far.make.txt: Ditto.
* builds/mac/FreeType.ppc_carbon.make.txt: Include ftbzip2.c.x.
* builds/mac/FreeType.ppc_classic.make.txt: Ditto.
2011-01-06 02:49:52 +09:00
Werner Lemberg
1a49548bc3
Fix Savannah bug #27106 .
...
Typo in Mac README instructions.
2009-07-25 16:19:23 +02:00
Werner Lemberg
5184ed6d53
Move FT_Get_FSType_Flags to a separate file.
...
Problem reported by Mickey Gabel <mickey@monfort.co.il>.
* src/base/ftobjs.c (FT_Get_FSType_Flags): Move to...
* src/base/ftfstype.c: This new file.
* modules.cfg (BASE_EXTENSION): Add ftfstype.c.
* docs/INSTALL.ANY: Updated.
* builds/mac/*.txt, builds/amiga/*makefile*,
builds/win32/{visualc,visualce}/freetype.*, builds/symbian/*:
Updated.
2009-01-22 10:13:59 +00:00
Suzuki, Toshiya (鈴木俊哉)
96d87bed0e
{src/base,builds/mac}/ftobjs.c: Include FT_TRUETYPE_TAGS_H for multi build
2008-10-05 03:08:10 +00:00
Suzuki, Toshiya (鈴木俊哉)
21bd516592
Introduce macros for some MacOS-specific resource tags
2008-10-04 18:10:28 +00:00
Suzuki, Toshiya (鈴木俊哉)
1137d04f85
* New function `open_face_PS_from_sfnt_stream' to check and open a Type1 PS or CID-keyed font in an sfnt stream.
2008-10-04 07:11:58 +00:00
Suzuki, Toshiya (鈴木俊哉)
9e2b9900dc
* Remove duplicated functions from builds/mac/ftmac.c. Now MPW builds builds/mac/ftmac.c as a part of ftbase.c
2008-10-03 11:52:22 +00:00
Suzuki, Toshiya (鈴木俊哉)
3afbee82fe
* ftmac.c: Import sfnt-wrapped Type1/CID font support
2008-09-19 17:46:01 +00:00
Werner Lemberg
77f7358533
Formatting.
2008-08-19 04:53:02 +00:00
Suzuki, Toshiya (鈴木俊哉)
fdc2d7618a
* src/base/ftmac.c: Add a fallback for the case that HAVE_TYPE_RESOURCE_INDEX is not set by configure
2008-08-18 06:02:07 +00:00
Werner Lemberg
9b9d3349b2
minor improvements, copyright years
2008-02-21 23:22:06 +00:00
Suzuki, Toshiya (鈴木俊哉)
6cb2faa845
* src/base/ftmac.c: Fix a bug of PostScript font name synthesis in parse_fond().
2008-02-21 18:46:07 +00:00
Suzuki, Toshiya (鈴木俊哉)
d2c55ab0e4
fix for inexistent sfnt ID in broken FOND
2008-02-15 09:12:59 +00:00
Suzuki, Toshiya (鈴木俊哉)
75696860ea
Formatting.
2008-01-04 01:43:23 +00:00
Suzuki, Toshiya (鈴木俊哉)
44b5e57781
Mac OS X Carbon tests in configure.raw are improved and builds/mac/ftmac.c is updated to sync to src/base/ftmac.c
2007-12-06 07:47:25 +00:00
Suzuki, Toshiya (鈴木俊哉)
2be3f472dd
* src/base/ftmac.c: Use more abstract data type instead of `short\'
2007-08-29 06:08:59 +00:00
Suzuki, Toshiya (鈴木俊哉)
7893501c3e
* fix compiler warnings of src/base/ftmac.c, drop unnecessary part for Mac OS X.
2007-06-19 03:27:05 +00:00
Werner Lemberg
de5e686661
formatting
2007-02-25 21:06:43 +00:00
Suzuki, Toshiya (鈴木俊哉)
b68e025c1b
* Fix memory leak in ftmac.c, patch by Jjgod Jiang
2007-02-20 02:37:36 +00:00
Werner Lemberg
406d25f379
more formatting and copyright years
2007-02-12 22:01:18 +00:00
David Turner
c0f9c4aadd
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
2007-02-12 14:55:03 +00:00
Werner Lemberg
dcbb708e7a
formatting, copyright years
2007-02-08 08:54:09 +00:00
Suzuki, Toshiya (鈴木俊哉)
f223df6e79
* Add __attribute__((deprecated)) to functions whose interface using non ANSI data types
2007-02-05 04:07:46 +00:00
Suzuki, Toshiya (鈴木俊哉)
4827e9bd2c
* Add FT_GetFilePath_From_Mac_ATS_Name as replacement for FT_GetFile_From_Mac_ATS_Name
2007-02-05 03:28:29 +00:00
Suzuki, Toshiya (鈴木俊哉)
027357f1c8
* Check ANSI compatibility of Mac OS X system header
2007-02-05 02:50:45 +00:00
Werner Lemberg
4b2e83d5b5
A new set of spelling fixes from Alexei.
...
Add some copyright messages.
2007-02-01 07:58:02 +00:00
Werner Lemberg
b4142d5126
Whitespace and spelling fixes from Alexei.
...
Formatting, copyright years.
2007-01-17 12:45:26 +00:00
Suzuki, Toshiya (鈴木俊哉)
21fd256d20
* Backup src/base/ftmac.c to builds/mac/ftmac.c for legacy MacOS
2006-12-15 15:09:44 +00:00
Werner Lemberg
4f3b5bbd95
* src/lzw/ftlzw2.c: Renamed to...
...
* src/lzw/ftlzw.c: This.
* src/lzw/Jamfile, src/lzw/rules.mk: Updated.
* builds/mac/FreeType.m68k_cfm.make.txt,
builds/mac/FreeType.m68k_far.make.txt,
builds/mac/FreeType.ppc_carbon.make.txt,
builds/mac/FreeType.ppc_classic.make.txt: Updated.
2006-05-04 07:13:05 +00:00
Suzuki, Toshiya (鈴木俊哉)
2f239b8e88
Update MPW makefiles to new header inclusion introduced on 2006-02-16
2006-02-27 10:34:33 +00:00
Suzuki, Toshiya (鈴木俊哉)
f8d16cc540
* Fix 'deprecated' warnings in building for MacOS
2006-01-11 09:28:38 +00:00
Suzuki, Toshiya (鈴木俊哉)
6b1c597cba
MPW makefiles are updated to build all available modules
2005-11-24 05:16:57 +00:00
Suzuki, Toshiya (鈴木俊哉)
69d45172b6
update files for classic MacOS support
2005-10-28 16:03:06 +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
7a1e2c12bf
* builds/mac/freetype.mac: a new Makefile to build with MPW on MacOS
...
classic..
2001-12-14 15:06:15 +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
Leonard Rosenthol
3200d68dc6
Changed to reflect current status
2001-10-26 13:23:56 +00:00
Leonard Rosenthol
a2ccd98a8a
Updated project to CodeWarrior 7 and latest FT source files
2001-10-25 15:56:01 +00:00
Just van Rossum
6d2596368a
updated for new modules and sources (mainly psaux)
2000-08-29 19:10:16 +00:00
Just van Rossum
d2b93caab7
Oops, I had exaggerated the warning levels a weensy bit...
2000-07-28 01:37:53 +00:00
Just van Rossum
78575d5e42
Updated to reflect the new Mac FOND support setup.
2000-07-28 01:14:09 +00:00
Just van Rossum
70e5aa2320
updating the Mac stuff to the current situaton
2000-07-23 16:21:52 +00:00
Werner Lemberg
6b8fcd530e
Renaming license.txt -> LICENSE.TXT for orthogonality.
2000-07-19 16:36:36 +00:00
David Turner
7404301024
renaming "freetype2/config" to "freetype2/builds"
2000-07-08 00:22:20 +00:00