Werner Lemberg
ce280a22e2
* src/base/ftobjs.c (FT_Request_Metrics): Fix compiler warning.
2007-06-03 05:58:30 +00:00
Werner Lemberg
5b591e49cf
* 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.
2007-06-01 22:16:43 +00:00
Werner Lemberg
b9933f4b02
* src/base/ftobjs.c (FT_Request_Metrics), src/cache/ftccmap.c
...
(FTC_CMapCache_Lookup): Remove unused code.
2007-06-01 21:27:12 +00:00
Werner Lemberg
c793d90fca
* src/truetype/ttinterp.c (Null_Vector, NULL_Vector): Removed,
...
unused.
2007-06-01 20:51:11 +00:00
Werner Lemberg
4d2815db50
(cid_parser_new): Exit properly if no `StartData' has been seen at all.
2007-06-01 07:49:31 +00:00
Werner Lemberg
936346413f
Remove tabs from source files.
2007-06-01 06:56:17 +00:00
Werner Lemberg
cb37b3b36a
* builds/unix/ftsystem.c (FT_Stream_Open): Don't use ULONG_MAX but
...
LONG_MAX to avoid compiler warning. Suggested by Sean McBride.
2007-06-01 06:49:03 +00:00
Werner Lemberg
bebc7b11c5
* src/cid/cidparse.c (cid_parser_new): Don't continue second search
...
pass for `StartData' if an error has occurred.
2007-06-01 06:32:30 +00:00
Werner Lemberg
ba03af6f91
* 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.
2007-05-30 13:57:02 +00:00
Werner Lemberg
99e0c18ea1
Formatting, reformulations.
2007-05-29 07:00:23 +00:00
David Turner
c510d5d837
remove compiler warning (unused variable)
2007-05-28 21:34:04 +00:00
David Turner
0291a5c696
updating CHANGES
2007-05-28 15:49:08 +00:00
David Turner
552a956247
optimize CFF glyph loader (avoid apply identity font transform)
2007-05-28 15:45:35 +00:00
David Turner
f0cd69c1b4
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 !
2007-05-28 15:42:09 +00:00
Werner Lemberg
1c8980ef4a
* docs/CHANGES: Updated.
...
Formatting.
2007-05-25 07:11:12 +00:00
Werner Lemberg
6ff2ff574b
* 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.
2007-05-24 19:39:14 +00:00
David Turner
7890686d80
fix crash when not using the bytecode interpreter with TrueType fonts
2007-05-22 14:08:09 +00:00
David Turner
3e2f953a10
real fix for bug #19910 . the .Z format is really badly designed :-(
2007-05-22 13:10:59 +00:00
David Turner
0d0365ec59
avoid heap explosion in the case of malformed .Z font files
...
related to bug #19910 , but not a bugfix yet
2007-05-22 09:53:44 +00:00
Werner Lemberg
9df3c223f7
* src/pshinter/pshrec.c (ps_mask_table_set_bits): Add `const'.
...
(ps_dimension_set_mask_bits): Remove `const'.
2007-05-20 18:07:52 +00:00
Werner Lemberg
0f2b7bda6e
* src/sfnt/ttmtx.c (tt_face_get_metrics)
...
[!FT_CONFIG_OPTION_OLD_INTERNALS]: Another type-punning fix.
2007-05-19 15:15:47 +00:00
Werner Lemberg
799441101a
typo
2007-05-19 14:10:06 +00:00
Werner Lemberg
c1d2257e46
Updated.
2007-05-19 07:24:55 +00:00
Werner Lemberg
b826fa7589
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.
2007-05-19 07:18:48 +00:00
Werner Lemberg
6f99c88801
* 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 .
2007-05-19 07:01:49 +00:00
Werner Lemberg
d069246805
Oops! Incorrect application of a patch...
2007-05-16 15:48:02 +00:00
Werner Lemberg
95bc9d3a07
* 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.
2007-05-16 15:19:42 +00:00
Werner Lemberg
6ae7ff0607
Formatting, typos.
2007-05-15 11:55:37 +00:00
David Turner
0a24bd259a
do not use functions from <ctypes.h>, they are locale-dependent (and slower)
2007-05-15 10:54:10 +00:00
Werner Lemberg
607dec79bb
* 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.
2007-05-15 06:49:37 +00:00
Werner Lemberg
56ceaa4853
Formatting.
2007-05-14 18:53:58 +00:00
Werner Lemberg
8d463a53d1
* src/base/ftobjs.c (FT_New_Library): Only allocate rendering pool
...
if FT_RENDER_POOL_SIZE is > 0. From Savannah patch #5928 .
2007-05-13 16:01:55 +00:00
David Turner
711cf84749
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...
2007-05-11 14:36:24 +00:00
David Turner
a8b45e6183
fix a typo that force CVT scaling to be re-run on each glyph load
2007-05-11 14:10:30 +00:00
Werner Lemberg
94be20ea82
* src/truetype/ttinterp.c (Ins_IP), src/autofit/aflatin.c
...
(af_latin_metrics_scale_dim): Fix compiler warnings.
2007-05-09 20:02:55 +00:00
Werner Lemberg
4127103f8d
* builds/win32/visualce/freetype.sln: Removed, as requested by
...
Vincent.
2007-05-06 04:51:48 +00:00
Werner Lemberg
405e25949c
whitespace
2007-05-05 06:26:09 +00:00
Werner Lemberg
df49e697c1
* builds/win32/visualce/*: Add Visual C++ project files for Pocket
...
PC targets.
* docs/CHANGES: Document them.
2007-05-04 06:30:05 +00:00
Werner Lemberg
5077e83e11
* builds/unix/ftsystem.c (FT_Stream_Open): Handle return value 0 of
...
mmap (which might happen on some RTOS). From Savannah patch #5909 .
2007-05-04 06:13:46 +00:00
Werner Lemberg
106eaf1dbb
* src/base/ftobjs.c (FT_Set_Char_Size): Simplify code.
...
* include/freetype/freetype.h (FT_Set_Char_Size): Update
documentation.
2007-05-03 07:07:47 +00:00
Werner Lemberg
1b5267dad1
* src/sfnt/sfobjs.c (sfnt_load_face): Check error code after loading
...
`cmap'.
2007-04-28 21:06:15 +00:00
Werner Lemberg
cc712a248c
* src/truetype/ttgload.c (TT_Load_Simple_Glyph): Check for negative
...
number of points in contours. Problem reported by Victor Stinner
<victor.stinner@haypocalc.com>.
(TT_Process_Simple_Glyph): Synchronize variable types.
2007-04-27 17:16:50 +00:00
Werner Lemberg
45bb18fc7b
* src/base/ftglyph.c (FT_Glyph_Copy): Always set second argument to
...
zero in case of error. This fixes Savannah bug #19689 .
2007-04-26 06:26:35 +00:00
Werner Lemberg
fcc1f472c3
* src/sfnt/sfobjs.c (sfnt_load_face) [FT_CONFIG_OPTION_INCREMENTAL]:
...
Ignore `hhea' table. This fixes Savannah bug #19261 .
2007-04-10 11:51:50 +00:00
Werner Lemberg
7b512f50d3
Documentation: s/ttengine/truetype_engine/ for orthogonality.
2007-04-10 05:13:03 +00:00
Werner Lemberg
14bf82e129
* Version 2.3.4 released.
...
=========================
Tag sources with `VER-2-3-4'.
* docs/CHANGES, docs/VERSION.DLL: Update documentation and bump
version number to 2.3.4.
* README, Jamfile (RefDoc), builds/win32/visualc/index.html,
builds/win32/visualc/freetype.dsp,
builds/win32/visualc/freetype.vcproj: s/2.3.3/2.3.4/, s/233/234/.
* include/freetype/freetype.h (FREETYPE_PATCH): Set to 4.
* builds/unix/configure.raw (version_info): Set to 9:15:3.
2007-04-10 04:09:49 +00:00
Werner Lemberg
f4a52a6c42
* src/truetype/ttgload.c (load_truetype_glyph): Save and restore
...
memory stream to avoid a crash with the incremental memory
interface (Savannah bug #19260 ).
2007-04-09 08:40:11 +00:00
Werner Lemberg
c81cf61fcf
Fix ChangeLog.
2007-04-06 09:28:23 +00:00
David Turner
1dcb4448c1
fixed a memory buffer overwrite bug. Damn !!
2007-04-06 08:19:04 +00:00
Werner Lemberg
9f83e05502
* Version 2.3.3 released.
...
=========================
Tag sources with `VER-2-3-3'.
* docs/CHANGES: Mention CVE-2007-1351.
2007-04-05 02:28:23 +00:00