freetype/include/freetype
Werner Lemberg 9ca7a15727 * src/base/ftmac.c (p2c_str): Removed.
(file_spec_from_path) [TARGET_API_MAC_CARBON]: Added support for
OS X.
(is_dfont) [TARGET_API_MAC_CARBON]: Define only for OS X.
Handle `nameLen' <= 6 also.
(parse_fond): Remove unused variable `name_table'.
Use functionality of old p2c_str directly.
Add safety checks.
(read_lwfn): Initialize `size_p'.
Check for size_p == NULL.
(new_memory_stream, open_face_from_buffer): Updated to FreeType 2.1.
(FT_New_Face_From_LWFN): Remove unused variable `memory'.
Remove some dead code.
(FT_New_Face_From_SFNT): Remove unused variable `stream'.
(FT_New_Face_From_dfont) [TARGET_API_MAC_CARBON]: Define only for
OS X.
(FT_New_Face_From_FOND): Remove unused variable `error'.
(ResourceForkSize): New function.
(FT_New_Face): Use it.
Handle empty resource forks.
Conditionalize some code for OS X.
Add code to call normal loader as a fallback.

Some more variable renames to avoid troubles on the Mac.

* src/raster/ftraster.c:
s/Unknown|Ascending|Descending|Flat/\1_State/.
* src/smooth/ftgrays.c: s/TScan/TCoord/.

Other changes for the Mac.

* include/freetype/config/ftconfig.h: Define FT_MACINTOSH for
Mac platforms.
* src/base/ftobjs.c: s/macintosh/FT_MACINTOSH/.

* src/raster/ftrend1.c (ft_raster1_render): Make `pitch' always
an even number.
2002-04-30 14:26:49 +00:00
..
cache * docs/FTL.txt: updated license text to provide a preffered disclaimer 2002-04-11 15:17:16 +00:00
config * src/base/ftmac.c (p2c_str): Removed. 2002-04-30 14:26:49 +00:00
internal `interface' is reserved on the Mac. 2002-04-30 06:37:52 +00:00
freetype.h * builds/vms/ftconfig.h: Rename LOCAL_DEF and LOCAL_FUNC to 2002-03-29 07:43:04 +00:00
ftbbox.h finishing function header formatting 2001-06-28 17:49:10 +00:00
ftcache.h Formatting. 2001-12-20 17:49:10 +00:00
ftchapters.h * include/freetype/ftsizes.h, src/base/ftobjs.c, src/cache/ftcmanag.c: 2001-10-07 13:30:26 +00:00
fterrdef.h * builds/vms/ftconfig.h: Rename LOCAL_DEF and LOCAL_FUNC to 2002-03-29 07:43:04 +00:00
fterrors.h * builds/vms/ftconfig.h: Rename LOCAL_DEF and LOCAL_FUNC to 2002-03-29 07:43:04 +00:00
ftglyph.h * src/base/ftglyph (FT_Glyph_To_Bitmap): Remove compiler warning. 2001-12-16 08:17:33 +00:00
ftimage.h Formatting. 2002-01-09 21:01:18 +00:00
ftlist.h finishing function header formatting 2001-06-28 17:49:10 +00:00
ftmac.h Formatting. 2001-12-07 21:56:32 +00:00
ftmm.h finishing function header formatting 2001-06-28 17:49:10 +00:00
ftmoderr.h * src/pfr/pfrerror.h: New file. 2002-04-28 10:25:55 +00:00
ftmodule.h finishing function header formatting 2001-06-28 17:49:10 +00:00
ftoutln.h `interface' is reserved on the Mac. 2002-04-30 06:37:52 +00:00
ftrender.h finishing function header formatting 2001-06-28 17:49:10 +00:00
ftsizes.h Fixed a bug in `glnames.py' that prevented it from generating 2001-10-10 19:56:42 +00:00
ftsnames.h * src/truetype/ttgload.c: 16bit fixes. 2002-04-01 14:25:28 +00:00
ftsynth.h finishing function header formatting 2001-06-28 17:49:10 +00:00
ftsysio.h adding new experimental header files 2002-04-17 22:54:02 +00:00
ftsysmem.h adding new experimental header files 2002-04-17 22:54:02 +00:00
ftsystem.h * builds/vms/ftconfig.h: Rename LOCAL_DEF and LOCAL_FUNC to 2002-03-29 07:43:04 +00:00
fttrigon.h finishing function header formatting 2001-06-28 17:49:10 +00:00
fttypes.h finishing function header formatting 2001-06-28 17:49:10 +00:00
t1tables.h * include/freetype/t1tables.h (t1_blend_max): Fix typo. 2002-03-30 13:16:35 +00:00
ttnameid.h Formatting. 2001-12-05 01:22:05 +00:00
tttables.h Updating to OpenType 1.3. 2001-08-13 11:44:29 +00:00
tttags.h finishing function header formatting 2001-06-28 17:49:10 +00:00