Werner Lemberg
105721a5a6
* src/truetype/ttinterp.c (tt_default_graphics_state): The default
...
value for `scan_type' is zero, as confirmed by Greg Hitchcock from
Microsoft. Problem reported by Michal Nowakowski
<miszka@limes.com.pl>.
2008-11-15 10:35:51 +00:00
Werner Lemberg
312043f41b
* src/cff/cffdrivr.c (cff_get_cmap_info): Initialize `format' field.
...
This fixes Savannah bug #24819 .
Document `format' field of TT_CMapInfo.
2008-11-12 06:29:41 +00:00
Werner Lemberg
e7aad0254c
* src/sfnt/sfobjs.c (sfnt_load_face): Remove #if 0/#endif guards
...
since OpenType version 1.5 has been released.
* include/ttnameid.h (TT_NAME_ID_WWS_FAMILY,
TT_NAME_ID_WWS_SUBFAMILY): New macros for OpenType 1.5.
(TT_URC_COPTIC, TT_URC_VAI, TT_URC_NKO, TT_URC_BALINESE,
TT_URC_PHAGSPA, TT_URC_NON_PLANE_0, TT_URC_PHOENICIAN,
TT_URC_TAI_LE, TT_URC_NEW_TAI_LUE, TT_URC_BUGINESE,
TT_URC_GLAGOLITIC, TT_URC_YIJING, TT_URC_SYLOTI_NAGRI,
TT_URC_LINEAR_B, TT_URC_ANCIENT_GREEK_NUMBERS, TT_URC_UGARITIC,
TT_URC_OLD_PERSIAN, TT_URC_SHAVIAN, TT_URC_OSMANYA,
TT_URC_CYPRIOT_SYLLABARY, TT_URC_KHAROSHTHI, TT_URC_TAI_XUAN_JING,
TT_URC_CUNEIFORM, TT_URC_COUNTING_ROD_NUMERALS, TT_URC_SUNDANESE,
TT_URC_LEPCHA, TT_URC_OL_CHIKI, TT_URC_SAURASHTRA, TT_URC_KAYAH_LI,
TT_URC_REJANG, TT_URC_CHAM, TT_URC_ANCIENT_SYMBOLS,
TT_URC_PHAISTOS_DISC, TT_URC_OLD_ANATOLIAN, TT_URC_GAME_TILES): New
macros for OpenType 1.5.
2008-11-08 22:00:55 +00:00
Werner Lemberg
b6192827a3
* src/base/ftobjs.c (ft_glyphslot_free_bitmap): Protect against
...
slot->internal == NULL. Reported by Graham Asher.
2008-11-08 07:28:39 +00:00
Werner Lemberg
9512092859
* src/sfnt/sfobjs.c (tt_face_get_name): Modified to return an error
...
code so that memory allocation problems can be distinguished from
missing table entries. Reported by Graham Asher.
(GET_NAME): New macro.
(sfnt_load_face): Use it.
2008-11-08 07:20:25 +00:00
Werner Lemberg
c321b9b063
* devel/ftoption.h, include/freetype/config/ftoption.h
...
[TT_CONFIG_OPTION_BYTECODE_INTERPRETER]: Undefine
TT_CONFIG_OPTION_UNPATENTED_HINTING. This fixes the return value of
`FT_Get_TrueType_Engine_Type' (and makes it work as documented).
Reported in bug #441638 of bugzilla.novell.com.
* docs/CHANGES: Document it.
Other minor documentation improvements.
2008-11-05 14:34:29 +00:00
Werner Lemberg
e0ed07d767
* src/type1/t1load.c (parse_subrs): Use an endless loop. There are
...
fonts (like HELVI.PFB version 003.001, used on OS/2) which define
some `subrs' elements more than once. Problem reported by Peter
Weilbacher <mozilla@weilbacher.org>.
2008-11-04 10:37:30 +00:00
Werner Lemberg
f31072c867
* src/sfnt/ttpost.c (tt_post_default_names): Add `const'.
2008-10-15 20:03:37 +00:00
Suzuki, Toshiya (鈴木俊哉)
6922266b2c
* src/truetype/ttgxvar.c (TT_Set_MM_Blend): Disambiguate
2008-10-15 15:22:39 +00:00
Werner Lemberg
5d64257340
add comment
2008-10-15 13:20:17 +00:00
Werner Lemberg
822604c831
* src/cff/cffobjs.c (cff_face_init): Remove compiler warning.
...
Suggested by Bram Tassyns in Savannah patch #6651 .
2008-10-14 07:28:03 +00:00
Werner Lemberg
174b8de328
* src/sfnt/sfobjs.c (sfnt_load_face): Fix computation of
...
`underline_position'.
* docs/CHANGES: Updated.
Formatting, minor editing.
2008-10-12 11:47:29 +00:00
Werner Lemberg
0192230ea2
(important) formatting
2008-10-11 06:00:15 +00:00
Werner Lemberg
cec1d5f86a
typo
2008-10-09 07:14:08 +00:00
Suzuki, Toshiya (鈴木俊哉)
1464bc5ad3
* Fix Savannah bug #24468 , unexpected conversion between FT_UInt32* and FT_UInt*
2008-10-09 05:44:23 +00:00
Werner Lemberg
fa9d39940e
Fix Savannah bug #24485 .
...
* src/type1/t1load.c (parse_charstrings): Assure that we always have
a .notdef glyph.
2008-10-08 16:04:46 +00:00
Werner Lemberg
54dd7cf43b
Make braces balanced throught the whole file.
2008-10-07 18:15:46 +00:00
Werner Lemberg
cd91bf0acc
Make braces balanced throughout the whole file.
2008-10-07 18:13:23 +00:00
Werner Lemberg
570b1fdb84
formatting
2008-10-05 06:08:40 +00:00
Werner Lemberg
b016c53f42
s/with other words/in other words/
2008-10-05 05:46:14 +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 (鈴木俊哉)
af48cb0b98
src/base/ftobjs.c: Include FT_TRUETYPE_TAGS_H
2008-10-05 02:53:06 +00:00
Suzuki, Toshiya (鈴木俊哉)
2d3e0af942
* `FT_Open_Face' tries `open_face_PS_from_sfnt_stream' when a sfnt container is found but not OpenType.
2008-10-05 02:38:57 +00:00
Suzuki, Toshiya (鈴木俊哉)
21bd516592
Introduce macros for some MacOS-specific resource tags
2008-10-04 18:10:28 +00:00
Suzuki, Toshiya (鈴木俊哉)
72eb270ac7
* Remove wrong initialization in `ft_lookup_PS_in_sfnt_stream'
2008-10-04 17:49:58 +00:00
Werner Lemberg
45489589ad
* src/base/ftobjs.c (open_face_PS_from_sfnt_stream): Remove compiler
...
warnings.
Formatting.
2008-10-04 11:39:03 +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 (鈴木俊哉)
bc2c498419
* src/base/ftobjs.c (ft_lookup_PS_in_sfnt): Set *is_sfnt_cid to FALSE when no PS resource is found
2008-10-03 12:28:52 +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
Werner Lemberg
35ae574a51
Add casts for stupid compilers. Reported by Graham.
2008-10-02 10:40:52 +00:00
Werner Lemberg
b17fb11f93
* src/cff/cffgload.c (cff_slot_load): Map CID 0 to GID 0. This
...
fixes Savannah bug #24430 .
2008-10-02 10:17:32 +00:00
Werner Lemberg
89a1a51834
* builds/freetype.mk (BASE_H): Rename to...
...
(INTERNAL_H): This.
(FREETYPE_H): Updated.
* src/base/rules.mk: (BASE_OBJ_S, OBJ_DIR/%.$O): Add BASE_H.
* src/bdf/rules.mk (BDF_DRV_H): Add bdferror.h.
* src/cache/rules.mk (CACHE_DRV_H): Add ftccache.h and ftcsbits.h.
* src/pcf/rules.mk (PCF_DRV_H): Add pcfread.h.
* src/raster/rules.mk (RASTER_DRV_H): Add ftmisc.h.
* src/type42/rules.mk (T42_DRV_H): Add t42types.h.
2008-10-02 06:48:10 +00:00
Werner Lemberg
cff15b07f3
Formatting.
2008-10-02 05:38:29 +00:00
Suzuki, Toshiya (鈴木俊哉)
ba3e230429
* Fix wrong comment in ftbase.h
2008-10-02 01:48:14 +00:00
Suzuki, Toshiya (鈴木俊哉)
f414702e04
* Merge the duplicated functions in ftmac.c with ftobjs.c
2008-10-02 01:43:18 +00:00
Werner Lemberg
ce1bad0381
* src/sfnt/sfobjs.c (sfnt_load_face): `psnames_error' is only needed
...
if TT_CONFIG_OPTION_POSTSCRIPT_NAMES is defined.
2008-10-01 22:46:26 +00:00
Werner Lemberg
d03d856d95
* src/truetype/ttobjs.c (tt_face_done), src/cff/cffobjs.c
...
(cff_face_done), src/pfr/pfrobjs.c (pfr_face_done),
src/pcf/pcfdrivr.c (PCF_Face_Done), src/cid/cidobjs.c
(cid_face_done), src/bdf/bdfdrivr. (BDF_Face_Done),
src/sfnt/sfobjs.c (sfnt_face_done): Protect against face == 0.
Reported by Graham Asher.
2008-10-01 22:39:05 +00:00
Werner Lemberg
6bc16e92e4
s/synthetize/synthesize/
2008-10-01 21:16:44 +00:00
Werner Lemberg
fce4e23998
Formatting.
2008-10-01 04:41:46 +00:00
Suzuki, Toshiya (鈴木俊哉)
ef4a915e28
* Fix make rules for multi build on Mac OS X
2008-09-30 16:21:07 +00:00
Suzuki, Toshiya (鈴木俊哉)
c6bdee5f27
* Fix the conditions for multi build on MacOS
2008-09-30 00:59:55 +00:00
Werner Lemberg
b4c810e2b4
* src/cff/cffgload.c (CFF_Operator, cff_argument_counts,
...
cff_decoder_parse_charstrings): Handle (invalid)
`callothersubr' and `pop' instructions.
2008-09-22 11:28:46 +00:00
Werner Lemberg
bd0f71aa96
Fix Savannah bug #24307 .
...
* include/freetype/internal/t1types.h (CID_FaceRec),
src/type42/t42types.h (T42_FaceRec): Comment out `afm_data'.
* src/smooth/ftgrays.c (gray_raster_render): Don't dereference
`target_map' if FT_RASTER_FLAG_DIRECT is set. Problem reported by
Stephan T. Lavavej <stl@nuwen.net>.
2008-09-22 08:55:44 +00:00
Suzuki, Toshiya (鈴木俊哉)
815e186f1a
* src/{otvalid,sfnt}/Jamfile: Add missing targets for multi build by jam
2008-09-21 18:33:57 +00:00
Werner Lemberg
70f4cff19d
* src/smooth/ftgrays.c (gray_find_cell): Fix threshold. The values
...
passed to this function are already `normalized'. Problem reported
by Stephan T. Lavavej <stl@nuwen.net>.
* docs/CHANGES: Document it.
2008-09-20 16:12:05 +00:00
Werner Lemberg
22e970a23e
Formatting, minor code fixes.
2008-09-20 12:20:21 +00:00
Werner Lemberg
6874d85ba0
* src/base/ftoutln.c: Include FT_INTERNAL_DEBUG_H.
...
(FT_Outline_Decompose): Decorate with tracing messages.
* src/smooth/ftgrays.c [DEBUG_GRAYS]: Replace with
FT_DEBUG_LEVEL_TRACE.
[_STANDALONE_ && FT_DEBUG_LEVEL_TRACE]: Include stdio.h and
stdarg.h.
(FT_TRACE) [_STANDALONE_]: Remove.
(FT_Message) [_STANDALONE_ && FT_DEBUG_LEVEL_TRACE]: New function.
(FT_TRACE5, FT_TRACE7) [_STANDALONE_]: New macros.
(FT_ERROR) [_STANDALONE_]: Updated.
(gray_hline) [FT_DEBUG_LEVEL_TRACE]: Fix condition.
Use FT_TRACE7.
(gray_dump_cells): Make it `static void'.
(graay_convert_glyph): Use FT_TRACE7.
(FT_Outline_Decompose) [_STANDALONE_]: Synchronize with version in
ftoutln.c.
* src/base/ftadvanc.c (FT_Get_Advance, FT_Get_Advances): Use
FT_ERROR_BASE.
Other minor modifications.
2008-09-20 11:50:47 +00:00
Suzuki, Toshiya (鈴木俊哉)
3afbee82fe
* ftmac.c: Import sfnt-wrapped Type1/CID font support
2008-09-19 17:46:01 +00:00
Suzuki, Toshiya (鈴木俊哉)
dec8e7b97d
* src/base/ftobjs.c: Fix double free bug in sfnt-wrapped Type1/CID font support
2008-09-19 16:47:01 +00:00
Suzuki, Toshiya (鈴木俊哉)
9ae5eaf862
* src/base/ftobjs.c: Add initial support for sfnt-wrapped CID-keyed fonts
2008-09-19 06:48:35 +00:00