|
d6752a6b
|
2007-08-02T22:03:30
|
|
* src/psnames/psmodule.c: Fix usage of
FT_CONFIG_OPTION_POSTSCRIPT_NAMES macro. Reported by Graham Asher.
|
|
cf093cd7
|
2007-07-31T03:58:09
|
|
* Fix src/base/ftmac.c (open_face_from_buffer): fix the type of driver_type as const.
|
|
39c91ad4
|
2007-07-28T05:40:40
|
|
* src/raster/ftraster.c (count_table): Make it conditional.
* src/base/ftobjs.c (FT_New_Library): Check FT_RENDER_POOL_SIZE with
a preprocessor statement.
|
|
71dd6873
|
2007-07-27T04:44:36
|
|
* src/base/ftoutln.c (FT_Outline_Translate): Check `outline' before
first usage. From Savannah patch #6115.
|
|
5bfe0d04
|
2007-07-17T04:57:01
|
|
Really add new files.
|
|
ef915c36
|
2007-07-16T20:46:05
|
|
* docs/CHANGES: Updated.
Add new service for getting the ROS from a CID font.
* include/freetype/config/ftheader.h (FT_CID_H): New macro.
* include/freetype/ftcid.h: New file.
* include/freetype/internal/ftserv.h (FT_SERVIVE_CID_H): New macro.
* include/freetype/internal/services/svcid.h: New file.
* src/base/ftcid.c: New file.
* src/cff/cffdrivr.c: Include FT_SERVICE_CID_H.
(cff_get_ros): New function.
(cff_service_cid_info): New service structure.
(cff_services): Register it.
* src/cff/cffload.c (cff_font_done): Free registry and ordering.
* src/cff/cfftypes.h (CFF_FontRec): Add `registry' and `ordering'.
* modules.cfg (BASE_EXTENSIONS): Add ftcid.c.
|
|
2f109567
|
2007-07-11T05:32:00
|
|
Add support for postscript name service to CFF driver.
* src/cff/cffdrivr.c: Include FT_SERVICE_POSTSCRIPT_NAME_H.
(cff_get_ps_name): New function.
(cff_service_ps_name): New service structure.
(cff_services): Register it.
|
|
d21fe6e5
|
2007-07-10T23:10:39
|
|
Really restore changes introduced in revision 1.178.
|
|
b003b3e7
|
2007-07-08T07:13:12
|
|
* src/base/ftglyph.c (FT_Glyph_Copy): Fix initialization of
`target'. Reported by Sean McBride.
|
|
1e1b6dff
|
2007-07-07T07:30:40
|
|
* src/pfr/pfrcmap.c: Include pfrerror.h.
* src/autofit/afindic.c: Add some external declarations to pacify
`make multi' compilation.
* src/cid/cidgload.c (cid_load_glyph): Pacify compiler.
* src/cff/cffdrivr.c (cff_ps_get_font_info), src/cff/cffobjs.c
(cff_strcpy), include/freetype/internal/ftmemory.h (FT_MEM_STRDUP),
src/autofit/aflatin.c (af_latin_hints_compute_edges),
src/autofit/afcjk.c (af_cjk_hints_compute_edges), src/sfnt/ttmtx.c
(tt_face_get_metrics), src/base/ftobjs.c (open_face)
[FT_CONFIG_OPTION_INCREMENTAL]: Fix compilation with C++ compiler.
* docs/release: Mention test compilation targets.
|
|
0f6f367e
|
2007-07-04T19:57:45
|
|
Better maxComponentDepth test.
|
|
3033f436
|
2007-07-04T14:12:19
|
|
* src/truetype/ttgload.c (load_truetype_glyph): Always allow a
recursion depth of 1. This was the maximum value in TrueType 1.0,
and some older fonts don't set this field correctly.
* src/gxvalid/gxvmort1.c
(gxv_mort_subtable_type1_substTable_validate): Fix tracing message.
|
|
986ea4b2
|
2007-07-04T04:53:15
|
|
* docs/PROBLEMS: Mention that some PS based fonts can't be
handled correctly by FreeType.
|
|
3b0e5006
|
2007-07-03T04:48:19
|
|
* src/autofit/aflatin.c (af_latin_metrics_init_blues): Initialize
`round' to pacify compiler.
Really commit changes which have been used to build release 2.3.5.
|
|
aa52eab7
|
2007-07-02T15:14:50
|
|
Updated.
|
|
e3be90bf
|
2007-07-02T14:58:58
|
|
formatting
|
|
481b25f0
|
2007-07-01T09:51:15
|
|
* include/freetype/freetype.h, src/base/ftpatent.c: adding
FT_Face_SetUnpatentedHinting to dynamically change the setting
after a face is created.
|
|
0ba89912
|
2007-07-01T09:34:04
|
|
fix a small bug in the TrueType loader that created distortion in the result
of bytecode-hinted text. Werner, feel free to package 2.3.5 now :-)
|
|
74cc0e9e
|
2007-06-30T22:54:12
|
|
* src/truetype/ttinterp.c: add missing variable initialization,
gets rid of Valgrind fixes.
* src/autofit/aflatin.c: get rid of an infinite loop in the case
of degenerate fonts.
|
|
7723dc34
|
2007-06-26T04:44:35
|
|
Add autofit module for Indic scripts. This currently just reuses
the CJK-specific functions.
* include/freetype/config/ftoption.h (AF_CONFIG_OPTION_INDIC): New
macro.
* devel/ftoption.h: Synchronize with
include/freetype/config/ftoption.h.
* src/autofit/afindic.c, src/autofit/afindic.h: New files.
* src/autofit/afglobal.c, src/autofit/aftypes.h,
src/autofit/autofit.c: Updated.
* src/autofit/Jamfile (_sources), * src/autofit/rules.mk
(AUTOF_DRV_SRC): Updated.
|
|
7854c4a5
|
2007-06-23T07:16:20
|
|
Fix ChangeLog.
|
|
8f626b04
|
2007-06-22T22:22:38
|
|
fix stupid typo that prevented the truetype loader from working correctly
|
|
5b4d435a
|
2007-06-20T07:07:55
|
|
* src/cff/cffgload.c (cff_slot_load): Fix logic of 2007-05-28
change.
|
|
c67fb6f1
|
2007-06-20T06:08:13
|
|
Fix ChangeLog.
|
|
9fe5815c
|
2007-06-19T07:57:30
|
|
* src/type1/t1load.c (parse_encoding): Handle one more error.
|
|
5a829394
|
2007-06-19T04:53:30
|
|
* src/winfonts/winfnt.c (fnt_face_get_dll_font): Return error
FNT_Err_Invalid_File_Format if file format was recognized but
the file doesn't contain any FNT(NE) or RT_FONT(PE) resources.
Add verbose debug logs to make it easier to debug failing load
attempts.
(FNT_Face_Init): A single FNT font can't contain more than 1 face,
so return an error if requested face index is > 0.
Do not do further attempt to load fonts if a previous attempt has
failed but returned error FNT_Err_Invalid_File_Format, i.e., the
file format has been recognized but no fonts found in the file.
|
|
7893501c
|
2007-06-19T03:27:05
|
|
* fix compiler warnings of src/base/ftmac.c, drop unnecessary part for Mac OS X.
|
|
bb2510da
|
2007-06-18T17:07:49
|
|
* src/type42/t42parse.c (t42_parse_encoding): Handle one more error.
|
|
f9fa1c8b
|
2007-06-18T17:00:05
|
|
* src/psaux/psobjs.c (ps_parser_skip_PS_token): Remove incorrect
assertion.
(ps_parser_to_bytes): Fix error message.
* src/type42/t42objs.c (T42_Open_Face): Handle one more error
return.
* src/type42/t42parse.c (t42_parse_sfnts): s/alloc/allocated/.
Don't allow mixed binary and hex strings.
Handle zero string_size == 0 and string_buf == 0.
|
|
95104a4d
|
2007-06-18T07:33:10
|
|
* src/cff/cffgload.c (cff_decoder_prepare): Fix change from
2007-06-06.
|
|
f48aec7b
|
2007-06-18T07:07:55
|
|
* src/psaux/psobjs.c (ps_tofixedarray, ps_tocoordarray): Fix exit
logic.
(ps_parser_load_field) <T1_FIELD_TYPE_BBOX>: Skip delimiters
correctly.
(ps_parser_load_field_table): Use `fields->array_max' instead of
T1_MAX_TABLE_ELEMENTS to limit the number of arguments.
|
|
be183ebb
|
2007-06-17T11:27:17
|
|
* src/winfonts/winfnt.c (fnt_face_get_dll_font): Exit in case of
invalid font.
(FNT_Load_Glyph): Protect against invalid bitmap width.
|
|
e12ed563
|
2007-06-17T05:31:23
|
|
* src/tools/ftrandom.c (font_size): New global variable.
(TestFace): Use it.
(main): Handle new option `--size' to set `font_size'.
(Usage): Updated.
Formatting.
|
|
815911ae
|
2007-06-16T17:07:20
|
|
* src/truetype/ttgload.c (TT_Load_Simple_Glyph): check the well-formedness
of the contours array when loading a glyph
* src/truetype/ttinterp.c (Ins_IP): check argument ranges to reject
bogus operations properly
|
|
6c2ab097
|
2007-06-16T16:40:37
|
|
prevent a 16-bit integer overflow that would create problems when rendering
*very* large anti-aliased outlines
|
|
e9f47999
|
2007-06-16T09:32:31
|
|
Document ftpatchk.
|
|
ab1604bd
|
2007-06-16T07:59:39
|
|
* src/winfonts/winfnt.h: Add necessary structures for PE resource
parsing.
(WinPE32_HeaderRec): New structure.
(WinPE32_SectionRec): New structure.
(WinPE_RsrcDirRec): New structure.
(WinPE_RsrcDirEntryRec): New structure.
(WinPE_RsrcDataEntryRec): New structure.
(FNT_FontRec): Remove unused `size_shift' field.
* src/winfonts/winfnt.c (fnt_face_get_dll_font): Add support for
loading bitmap .fon files in PE format.
|
|
08a645d8
|
2007-06-15T14:05:20
|
|
* builds/win32/ftdebug.c: Unify debug level handling with other
platforms.
|
|
367f301b
|
2007-06-14T06:56:52
|
|
* builds/win32/ftdebug.c (FT_Message): Send debug output to the
console as well as to the debugger.
|
|
46dde495
|
2007-06-14T03:59:02
|
|
* src/autofit/aflatin.c (af_latin_uniranges): Expand structure to
cover all ranges which could possibly be handled by the aflatin
module (since the default fallback for unknown ranges is now the
afcjk module). It might be necessary to fine-tune this further by
splitting off modules for Greek, Cyrillic, or other blocks.
|
|
49e18b8d
|
2007-06-11T21:15:09
|
|
formatting
|
|
a4816275
|
2007-06-11T20:35:54
|
|
experimental auto-hinter updates
|
|
b38c15da
|
2007-06-11T19:36:48
|
|
fix bug #19565, which was caused by an incorrect segment link computation
|
|
b792017f
|
2007-06-11T05:37:35
|
|
experimental changes for the Latin auto-hinter.
note that the new code is disabled by default.
|
|
cf7b7642
|
2007-06-11T04:58:01
|
|
Fix ChangeLog.
|
|
f6c120f8
|
2007-06-11T04:55:58
|
|
* docs/CHANGES: Document FT_Face_CheckTrueTypePatents).
Formatting, reformulations.
|
|
7fa30ee8
|
2007-06-11T00:55:23
|
|
remove compiler warning
|
|
75e7acd8
|
2007-06-11T00:26:25
|
|
add missing file, doh !
|
|
5f5e5446
|
2007-06-11T00:18:00
|
|
slight speed-up of the TrueType glyph loader
|
|
84c6f881
|
2007-06-10T20:51:04
|
|
* include/freetype/config/ftoption.h: clarify documentation regarding
unpatented hinting
* include/freetype/freetype.h, src/base/ftpatent.c, src/truetype/ttdriver.c,
include/freetype/internal/services/svttglyf.h, modules.cfg,:
include/freetype/internal/ftserv.h,:
Fonts without a cmap must be handled correctly by FreeType (anything
Adding the FT_Face_CheckTrueTypePatents API to FT_FREETYPE_H, it is
implemented by the optional src/base/ftpatent.c
|
|
33db39e2
|
2007-06-08T06:30:29
|
|
* src/sfnt/sfobjs.c (sfnt_load_face): Undo change from 2007-04-28.
Fonts without a cmap must be handled correctly by FreeType (anything
else would be a bug).
* src/psaux/t1decode.c (t1_decoder_parse_charstrings)
[FT_DEBUG_LEVEL_TRACE]: Improve tracing message.
|
|
88ab638e
|
2007-06-07T05:01:56
|
|
* src/sfnt/ttsbit0.c (tt_sbit_decoder_init,
tt_sbit_decoder_load_image): Protect against integer overflows.
* src/pfr/pfrgload.c (pfr_glyph_load_simple): More bounding checks
for `x_control' and `y_control'.
|
|
470210b7
|
2007-06-06T10:05:49
|
|
* src/winfonts/winfnt.c (fnt_face_get_dll_font): Do a rough check of
`font_count'.
* src/type1/t1load.c (parse_font_matrix): Check `temp_scale'.
* src/cff/cffgload.c (cff_decoder_prepare): Change return type to
`FT_Error'.
Check `fd_index'.
(cff_slot_load): Updated.
* src/cff/cffgload.h: Updated.
|
|
a8d65494
|
2007-06-06T04:47:49
|
|
* src/pfr/pfrcmap.c (pfr_cmap_init): Convert assertion into normal
FreeType error.
|
|
2a2dca6b
|
2007-06-06T04:39:37
|
|
* src/base/ftoutln.c (FT_Outline_Decompose): Check `last'.
|
|
e5c14d93
|
2007-06-05T20:50:37
|
|
* src/psaux/psobjs.c (ps_tocoordarray, ps_tofixedarray): Return -1
in case of parsing error.
(ps_parser_load_field): Updated.
* src/type1/t1load.c (parse_font_matrix): Updated.
|
|
f4bc3f40
|
2007-06-05T07:32:15
|
|
* src/winfnt/winfnt.c (FNT_Face_Init): Check `family_size'.
|
|
6e2f9d5d
|
2007-06-05T06:58:48
|
|
Improve tracing messages.
|
|
1053656d
|
2007-06-05T06:49:50
|
|
whitespace
|
|
9a0332cd
|
2007-06-05T05:50:01
|
|
* src/pfr/pfrgload.c (pfr_glyph_curve_to, pfr_glyph_line_to): Convert
assertion into normal FreeType error.
|
|
6c05475d
|
2007-06-05T05:27:54
|
|
* src/pfr/pfrgload.c (pfr_glyph_done): Comment out unused code.
(pfr_glyph_load_simple): Convert assertion into normal FreeType
error.
Check `idx'.
(pfr_glyph_load_compound): Convert assertion into normal FreeType
error.
* src/pfr/pfrtypes.h (PFR_GlyphRec): Comment out unused code.
|
|
ad18b367
|
2007-06-04T07:04:05
|
|
* src/cid/cidgload.c (cid_load_glyph): Check `fd_select'.
* src/tools/ftrandom/Makefile: Depend on `libfreetype.a'.
|
|
25b14229
|
2007-06-03T19:53:02
|
|
More OBJ_DIR.
|
|
f2ff7329
|
2007-06-03T19:50:57
|
|
Some explanations, taken from an email sent by George.
|
|
2fdb70e9
|
2007-06-03T19:38:59
|
|
Fold fttest.c into ftrandom.c (as it was orginally).
|
|
99a320b4
|
2007-06-03T19:21:26
|
|
* src/tools/ftrandom/*: Add the `ftrandom' test program written by
George Williams (with some modifications).
|
|
3d507fef
|
2007-06-03T16:54:55
|
|
* src/base/ftobjs.c (destroy_charmaps), src/type1/t1objs.c
(T1_Face_Done), src/winfonts/winfnt.c (FNT_Face_Done): Check for
face == NULL. Suggested by Graham Asher.
|
|
ce280a22
|
2007-06-03T05:58:30
|
|
* src/base/ftobjs.c (FT_Request_Metrics): Fix compiler warning.
|
|
5b591e49
|
2007-06-01T22:16:43
|
|
* include/freetype/fterrdef.h (FT_Err_Corrupted_Font_Header,
FT_Err_Corrupted_Font_Glyphs): New error codes for BDF files.
* src/bdf/bdflib.c (bdf_load_font): Use them.
* src/bdf/bdflib.c (_bdf_parse_start): Check `FONT' better.
|
|
b9933f4b
|
2007-06-01T21:27:12
|
|
* src/base/ftobjs.c (FT_Request_Metrics), src/cache/ftccmap.c
(FTC_CMapCache_Lookup): Remove unused code.
|
|
c793d90f
|
2007-06-01T20:51:11
|
|
* src/truetype/ttinterp.c (Null_Vector, NULL_Vector): Removed,
unused.
|
|
4d2815db
|
2007-06-01T07:49:31
|
|
(cid_parser_new): Exit properly if no `StartData' has been seen at all.
|
|
93634641
|
2007-06-01T06:56:17
|
|
Remove tabs from source files.
|
|
cb37b3b3
|
2007-06-01T06:49:03
|
|
* builds/unix/ftsystem.c (FT_Stream_Open): Don't use ULONG_MAX but
LONG_MAX to avoid compiler warning. Suggested by Sean McBride.
|
|
bebc7b11
|
2007-06-01T06:32:30
|
|
* src/cid/cidparse.c (cid_parser_new): Don't continue second search
pass for `StartData' if an error has occurred.
|
|
ba03af6f
|
2007-05-30T13:57:02
|
|
* src/type1/t1load.c (parse_subrs, parse_charstrings): Protect
against too small binary data strings.
* src/bdf/bdflib.c (_bdf_parse_glyphs): Check `STARTCHAR' better.
|
|
99e0c18e
|
2007-05-29T07:00:23
|
|
Formatting, reformulations.
|
|
c510d5d8
|
2007-05-28T21:34:04
|
|
remove compiler warning (unused variable)
|
|
0291a5c6
|
2007-05-28T15:49:08
|
|
updating CHANGES
|
|
552a9562
|
2007-05-28T15:45:35
|
|
optimize CFF glyph loader (avoid apply identity font transform)
|
|
f0cd69c1
|
2007-05-28T15:42:09
|
|
2007-05-28 David Turner <david@freetype.org>
* src/autofit/afglobal.c: change default hinting script to
CJK, since it works well with a larger array of scripts. thanks to
"Rahul Bhalerao" <b.rahul.pm@gmail.com> for pointing this out !
|
|
1c8980ef
|
2007-05-25T07:11:12
|
|
* docs/CHANGES: Updated.
Formatting.
|
|
6ff2ff57
|
2007-05-24T19:39:14
|
|
* src/truetype/ttobjs.h (tt_size_ready_bytecode): Move declaration
into TT_USE_BYTECODE_INTERPRETER preprocessor block.
* src/truetype/ttobjs.c (tt_size_ready_bytecode)
[!TT_USE_BYTECODE_INTERPRETER]: Removed. Unused.
|
|
7890686d
|
2007-05-22T14:08:09
|
|
fix crash when not using the bytecode interpreter with TrueType fonts
|
|
3e2f953a
|
2007-05-22T13:10:59
|
|
real fix for bug #19910. the .Z format is really badly designed :-(
|
|
0d0365ec
|
2007-05-22T09:53:44
|
|
avoid heap explosion in the case of malformed .Z font files
related to bug #19910, but not a bugfix yet
|
|
9df3c223
|
2007-05-20T18:07:52
|
|
* src/pshinter/pshrec.c (ps_mask_table_set_bits): Add `const'.
(ps_dimension_set_mask_bits): Remove `const'.
|
|
0f2b7bda
|
2007-05-19T15:15:47
|
|
* src/sfnt/ttmtx.c (tt_face_get_metrics)
[!FT_CONFIG_OPTION_OLD_INTERNALS]: Another type-punning fix.
|
|
79944110
|
2007-05-19T14:10:06
|
|
typo
|
|
c1d2257e
|
2007-05-19T07:24:55
|
|
Updated.
|
|
b826fa75
|
2007-05-19T07:18:48
|
|
Savannah patch #5929.
* include/freetype/tttables.h, src/base/ftobjcs.c
(FT_Get_CMap_Format): New function.
* include/freetype/internal/services/svttcmap.c (TT_CMapInfo): Add
`format' member.
* src/sfnt/ttcmap.c (tt_cmap{0,2,4,6,8,10,12}_get_info): Set
cmap_info->format.
|
|
6f99c888
|
2007-05-19T07:01:49
|
|
* src/truetype/ttgload.c (load_truetype_glyph): Save graphics state
before handling subglyphs so that it can be reinitialized each time.
This fixes Savannah bug #19859.
|
|
d0692468
|
2007-05-16T15:48:02
|
|
Oops! Incorrect application of a patch...
|
|
95bc9d3a
|
2007-05-16T15:19:42
|
|
* src/cache/ftccache.c (ftc_node_mru_link, ftc_node_mru_unlink),
src/cache/ftccache.h (FTC_CACHE_LOOKUP_CMP), src/cache/ftcglyph.h
(FTC_GCACHE_LOOKUP_CMP), src/pshinter/pshmod.c (ps_hinter_init),
src/sfnt/ttmtx.c (tt_face_load_hmtx, tt_face_load_hhea,
tt_face_get_metrics): Fix type-punning issues.
|
|
6ae7ff06
|
2007-05-15T11:55:37
|
|
Formatting, typos.
|
|
0a24bd25
|
2007-05-15T10:54:10
|
|
do not use functions from <ctypes.h>, they are locale-dependent (and slower)
|
|
607dec79
|
2007-05-15T06:49:37
|
|
* src/autofit/afcjk.c (af_cjk_hints_compute_edges): Remove unused
variable.
* src/autofit/afloader.c (af_loader_load_g): Ditto.
* src/base/ftobjs.c (ft_validator_error): Use `ft_jmp_buf'.
(open_face_from_buffer): Initialize `stream'.
(FT_Request_Metrics): Remove unused variable.
Remove redundant `break' statements.
(FT_Get_Track_Kerning): Remove unused variable.
* src/psaux/afmparse.c (afm_parse_track_kern, afm_parse_kern_pairs,
afm_parse_kern_data): Remove redundant
`break' statements.
(afm_parser_parse): Ditto.
Don't use uninitialized variables.
* src/psnames/psmodule.c (VARIANT_BIT): Define as unsigned long.
Use `|' operator instead of `^' to set it.
Update all users.
* src/sfnt/ttcmap.c (tt_face_build_cmaps): Use `ft_jmp_buf'.
* src/sfnt/ttkern.c (tt_face_load_kern): Remove unused variable.
* src/truetype/ttgload.c (TT_Load_Simple_Glyph): Remove redundant
comparison.
(TT_Process_Simple_Glyph): Use FT_UInt for `n_points' and `i'.
(TT_Load_Glyph): Remove unused variable.
|
|
56ceaa48
|
2007-05-14T18:53:58
|
|
Formatting.
|
|
8d463a53
|
2007-05-13T16:01:55
|
|
* src/base/ftobjs.c (FT_New_Library): Only allocate rendering pool
if FT_RENDER_POOL_SIZE is > 0. From Savannah patch #5928.
|
|
711cf847
|
2007-05-11T14:36:24
|
|
implement FTC_ImageCache_LookupScaler and FTC_SBitCache_LookupScaler,
which allow us to specify the font size with a FTC_Scaler structure,
hence enabling fractional point sizes, etc...
|