misc/libfreetype/ChangeLog
author unc0rr
Sun, 04 Sep 2011 10:58:42 +0400
changeset 5752 ea95ee97c805
parent 5172 88f2e05288ba
permissions -rw-r--r--
Add QuaZIP library to build system
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5172
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     1
2011-04-22  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     2
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     3
	[autofit] Add more Indic scripts with hanging baseline.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     4
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     5
	* src/autofit/afindic.c (af_indic_uniranges): Tibetan, Limbu,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     6
	Sundanese, Meetei Mayak, Syloti Nagri and Sharada scripts are
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     7
	added.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     8
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     9
2011-04-21  Behdad Esfahbod  <behdad@behdad.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    10
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    11
	Always ignore global advance.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    12
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    13
	This makes FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH redundant,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    14
	deprecated, and ignored.  The new behavior is what every major user
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    15
	of FreeType has been requesting.  Global advance is broken in many
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    16
	CJK fonts.  Just ignoring it by default makes most sense.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    17
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    18
	* src/truetype/ttdriver.c (tt_get_advances),
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    19
	src/truetype/ttgload.c (TT_Get_HMetrics, TT_Get_VMetrics,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    20
	tt_get_metrics, compute_glyph_metrics, TT_Load_Glyph),
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    21
	src/truetype/ttgload.h: Implement it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    22
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    23
	* docs/CHANGES: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    24
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    25
2011-04-21  rainy6144  <rainy6144@gmail.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    26
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    27
	[autofit] Blur CJK stems if too many to preserve their gaps.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    28
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    29
	When there are too many stems to preserve their gaps in the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    30
	rasterization of CJK Ideographs at a low resolution, blur the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    31
	stems instead of showing clumped stems.  See
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    32
	http://lists.gnu.org/archive/html/freetype-devel/2011-02/msg00011.html
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    33
	http://lists.gnu.org/archive/html/freetype-devel/2011-04/msg00046.html
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    34
	for details.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    35
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    36
	* src/autofit/afcjk.c (af_cjk_hint_edges): Store the position of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    37
	the previous stem by `has_last_stem' and `last_stem_pos', and skip
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    38
	a stem if the current and previous stem are too near to preserve
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    39
	the gap.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    40
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    41
2011-04-18  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    42
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    43
	Integrate autofitter debugging stuff.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    44
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    45
	* devel/ftoption.h, include/freetype/config/ftoption.h
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    46
	(FT_DEBUG_AUTOFIT): New macro.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    47
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    48
	* include/freetype/internal/fttrace.h: Add trace components for
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    49
	autofitter.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    50
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    51
	* src/autofit/aftypes.h (AF_LOG): Removed.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    52
	(_af_debug): Removed.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    53
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    54
	* src/autofit/*: s/AF_DEBUG/FT_DEBUG_AUTOFIT/.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    55
	s/AF_LOG/FT_TRACE5/.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    56
	Define FT_COMPONENT where necessary.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    57
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    58
2011-04-18  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    59
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    60
	Synchronize config files.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    61
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    62
	* builds/unix/ftconfig.in: Copy missing assembler routines from
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    63
	include/freetype/config/ftconfig.h.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    64
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    65
2011-04-13  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    66
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    67
	Fix Savannah bug #33047.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    68
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    69
	Patch submitted by anonymous reporter.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    70
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    71
	* src/psaux/psobjs.c (ps_table_add): Use FT_PtrDist for pointer
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    72
	difference.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    73
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    74
2011-04-11  Kan-Ru Chen  <kanru@kanru.info>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    75
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    76
	Fix reading of signed integers from files on 64bit platforms.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    77
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    78
	Previously, signed integers were converted to unsigned integers, but
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    79
	this can fail because of sign extension.  For example, 0xa344a1eb
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    80
	becomes 0xffffffffa344a1eb.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    81
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    82
	We now do the reverse which is always correct because the integer
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    83
	size is the same during the cast from unsigned to signed.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    84
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    85
	* include/freetype/internal/ftstream.h, src/base/ftstream.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    86
	(FT_Stream_Get*): Replace with...
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    87
	(FT_Stream_GetU*): Functions which read unsigned integers.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    88
	Update all macros accordingly.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    89
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    90
	* src/gzip/ftgzip.c (ft_gzip_get_uncompressed_size): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    91
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    92
2011-04-07  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    93
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    94
	Update Unicode ranges for CJK autofitter; in particular, add Hangul.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    95
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    96
	* src/autofit/afcjk.c (af_cjk_uniranges): Update to Unicode 6.0.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    97
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    98
2011-04-04  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    99
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   100
	Fix formatting of autofit debug dumps.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   101
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   102
	* src/autofit/afhints.c (af_glyph_hints_dump_points,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   103
	af_glyph_hints_dump_segments, af_glyph_hints_dump_edges): Adjust
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   104
	column widths.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   105
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   106
2011-03-30  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   107
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   108
	* src/autofit/aftypes.h (AF_OutlineRec): Removed, unused.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   109
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   110
2011-03-24  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   111
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   112
	* src/cff/cfftypes.h (CFF_MAX_CID_FONTS): Increase to 256.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   113
	This limit is given on p. 37 of Adobe Technical Note #5014.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   114
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   115
2011-03-23  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   116
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   117
	* src/truetype/ttpload.c (tt_face_load_loca): Fix mismatch warning.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   118
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   119
2011-03-20  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   120
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   121
	* src/sfnt/sfobjs.c (sfnt_open_font): Check number of TTC subfonts.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   122
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   123
2011-03-19  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   124
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   125
	More C++ compilation fixes.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   126
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   127
	* src/autofit/afhints.c (af_glyph_hints_dump_points,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   128
	af_glyph_hints_dump_segments, af_glyph_hints_dump_edges)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   129
	[__cplusplus]: Protect with `extern "C"'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   130
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   131
2011-03-18  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   132
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   133
	C++ compilation fixes.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   134
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   135
	* src/autofit/aflatin.c (af_latin_hints_apply), src/autofit/afcjk.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   136
	(af_cjk_hints_apply): Use cast for `dim'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   137
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   138
2011-03-17  Alexei Podtelezhnikov  <apodtele@gmail.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   139
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   140
	A better fix for Savannah bug #32671.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   141
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   142
	* src/smooth/ftgrays.c (gray_render_conic): Clean up code and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   143
	replace WHILE loop with a more natural DO-WHILE construct.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   144
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   145
2011-03-16  Werner Lemberg  <wl@gnu.org>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   146
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   147
	* src/base/ftstroke.c (FT_StrokerRec): Remove unused `valid' field.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   148
	Suggested by Graham Asher.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   149
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   150
2011-03-09  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   151
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   152
	Make FT_Sfnt_Table_Info return the number of SFNT tables.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   153
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   154
	* src/sfnt/sfdriver.c (sfnt_table_info): Implement it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   155
	* include/freetype/tttables.h: Update documentation.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   156
	* docs/CHANGES: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   157
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   158
2011-03-07  Bram Tassyns  <bramt@enfocus.be>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   159
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   160
	Fix Savannah bug #27988.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   161
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   162
	* src/cff/cffobjs.c (remove_style): New function.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   163
	(cff_face_init): Use it to strip off the style part of the family
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   164
	name.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   165
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   166
2011-03-07  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   167
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   168
	* docs/CHANGES: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   169
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   170
2011-03-07  Alexei Podtelezhnikov  <apodtele@gmail.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   171
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   172
	Quick fix for Savannah bug #32671.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   173
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   174
	This isn't the optimal solution yet, but it restores the previous
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   175
	rendering quality (more or less).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   176
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   177
	* src/smooth/ftgrays.c (gray_render_conic): Do more splitting.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   178
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   179
2011-03-06  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   180
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   181
	Fix autohinting fallback.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   182
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   183
	* src/base/ftobjs.c (FT_Load_Glyph): Assure that we only check TTFs,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   184
	ignoring CFF-based OTFs.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   185
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   186
2011-02-27  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   187
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   188
	Add AF_CONFIG_OPTION_USE_WARPER to control the autofit warper.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   189
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   190
	* devel/ftoption.h, include/freetype/config/ftoption.h
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   191
	(AF_CONFIG_OPTION_USE_WARPER): New macro.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   192
	* src/autofit/aftypes.h (AF_USE_WARPER): Remove.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   193
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   194
	* src/autofit/*: s/AF_USE_WARPER/AF_CONFIG_OPTION_USE_WARPER/.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   195
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   196
	* src/autofit/afwarp.c [!AF_CONFIG_OPTION_USE_WARPER]: Replace dummy
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   197
	variable assignment with a typedef.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   198
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   199
2011-02-26  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   200
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   201
	[autofit] Slight simplifications.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   202
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   203
	* src/autofit/aflatin.c (af_latin_hints_link_segments): Remove
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   204
	test which always returns false.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   205
	(af_latin_hints_compute_blue_edges): Remove redundant assignment.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   206
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   207
2011-02-24  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   208
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   209
	* docs/PROBLEMS: Mention rendering differences on different
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   210
	platforms.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   211
	Suggested and worded by Jason Owen <jason.a.owen@gmail.com>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   212
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   213
2011-02-24  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   214
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   215
	[autofit] Comment out unused code.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   216
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   217
	* src/autofit/aflatin.c, src/autofit/aflatin2.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   218
	(af_latin_hints_compute_edges): Do it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   219
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   220
2011-02-24  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   221
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   222
	* src/autofit/afhints.h (AF_GlyphHints): Remove unused field.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   223
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   224
2011-02-20  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   225
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   226
	[cache] Fix an off-by-one bug in `FTC_Manager_RemoveFaceID'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   227
	Found by <ychen1392001@yahoo.com.cn>, see detail in
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   228
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   229
	  http://lists.gnu.org/archive/html/freetype/2011-01/msg00023.html
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   230
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   231
	* src/cache/ftccache.c (FTC_Cache_RemoveFaceID): Check the node
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   232
	buckets[cache->p + cache->mask] too.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   233
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   234
2011-02-19  Kevin Kofler  <kevin.kofler@chello.at>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   235
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   236
	Fall back to autohinting if a TTF/OTF doesn't contain any bytecode.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   237
	This is Savannah patch #7471.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   238
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   239
	* src/base/ftobjs.c (FT_Load_Glyph): Implement it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   240
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   241
2011-02-19  John Tytgat  <John.Tytgat@esko.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   242
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   243
	[cff] Fix subset prefix removal.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   244
	This is Savannah patch #7465.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   245
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   246
	* src/cff/cffobjs.c (remove_subset_prefix): Update length after
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   247
	subset prefix removal.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   248
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   249
2011-02-13  Bradley Grainger  <bgrainger@logos.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   250
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   251
	Add inline assembly version of FT_MulFix for MSVC.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   252
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   253
	* include/freetype/config/ftconfig.h: Ported the FT_MulFix_i386
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   254
	function from GNU inline assembly syntax (see #ifdef __GNUC__ block
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   255
	above) to MASM syntax for Microsoft Visual C++.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   256
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   257
2011-02-13  Bradley Grainger  <bgrainger@logos.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   258
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   259
	Add project and solution files in Visual Studio 2010 format.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   260
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   261
	* builds/win32/.gitignore: Ignore user-specific cache files.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   262
	* builds/win32/vc2010/: Add VS2010 project & solution files, created
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   263
	by upgrading builds/win32/vc2008/freetype.vcproj.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   264
	* objs/.gitignore: Ignore Visual Studio output files.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   265
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   266
2011-02-01  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   267
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   268
	* src/autofit/afdummy.c: Include `aferrors.h'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   269
	Problem reported by Chris Liddel <chris.liddell@artifex.com>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   270
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   271
2011-02-01  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   272
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   273
	[cff] Ignore unknown operators in charstrings.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   274
	Patch suggested by Miles.Lau <sunliang_liu@foxitsoftware.com>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   275
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   276
	* src/cff/cffgload.c (cff_decoder_parse_charstrings): Emit tracing
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   277
	message for unknown operators and continue instead of exiting with a
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   278
	syntax error.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   279
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   280
2011-02-01  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   281
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   282
	[truetype] FT_LOAD_PEDANTIC now affects `prep' and `fpgm' also.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   283
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   284
	* src/truetype/ttgload.c (tt_loader_init): Handle
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   285
	`FT_LOAD_PEDANTIC'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   286
	* src/truetype/ttobjs.c (tt_size_run_fpgm, tt_size_run_prep,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   287
	tt_size_init_bytecode, tt_size_ready_bytecode): New argument to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   288
	handle pedantic mode.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   289
	* src/truetype/ttobjs.h: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   290
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   291
2011-01-31  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   292
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   293
	[truetype] Protect jump instructions against endless loops.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   294
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   295
	* src/truetype/interp.c (DO_JROT, DO_JMPR, DO_JROF): Exit with error
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   296
	if offset is zero.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   297
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   298
2011-01-31  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   299
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   300
	[truetype] Improve handling of invalid references.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   301
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   302
	* src/truetype/interp.c: Set even more TT_Err_Invalid_Reference
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   303
	error codes only if pedantic hinting is active.  At the same time,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   304
	try to provide sane values which hopefully allow useful
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   305
	continuation.  Exception to this is CALL and LOOPCALL – due to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   306
	possible stack corruption it is necessary to bail out.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   307
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   308
2011-01-31  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   309
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   310
	[truetype] Improve handling of stack underflow.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   311
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   312
	* src/truetype/ttinterp.c (TT_RunIns, Ins_FLIPPT, Ins_DELTAP,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   313
	Ins_DELTAC): Exit with error only if `pedantic_hinting' is set.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   314
	Otherwise, try to do something sane.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   315
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   316
2011-01-30  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   317
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   318
	* src/sfnt/ttmtx.c (tt_face_load_hmtx): Fix tracing message.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   319
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   320
2011-01-30  LIU Sun-Liang  <sunliang_liu@foxitsoftware.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   321
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   322
	[truetype]: Fix behaviour of MIAP for invalid arguments.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   323
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   324
	* src/truetype/ttinterp.c (Ins_MIAP): Set reference points even in
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   325
	case of error.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   326
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   327
2011-01-18  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   328
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   329
	[truetype] Fix handling of MIRP instruction.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   330
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   331
	Thanks to Greg Hitchcock who explained the issue.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   332
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   333
	* src/truetype/ttinterp.c (Ins_MIRP): Replace a `>=' operator with
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   334
	`>' since the description in the specification is incorrect.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   335
	This fixes, for example, glyph `two' in font `Helvetica Neue LT Com
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   336
	65 medium' at 15ppem.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   337
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   338
2011-01-15  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   339
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   340
	Fix ARM assembly code in include/freetype/config/ftconfig.h.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   341
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   342
	* include/freetype/config/ftconfig.h (FT_MulFix_arm):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   343
	Copy the maintained code from builds/unix/ftconfig.in.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   344
	Old GNU binutils could not accept the reduced syntax
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   345
	`orr %0, %2, lsl #16'.  Un-omitted syntax like RVCT,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   346
	`orr %0, %0, %2, lsl #16' is better.  Reported by
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   347
	Johnson Y. Yan.  The bug report by Qt developers is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   348
	considered too.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   349
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   350
	http://bugreports.qt.nokia.com/browse/QTBUG-6521
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   351
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   352
2011-01-15  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   353
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   354
	[raster] Make bbox handling the same as with Microsoft's rasterizer.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   355
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   356
	Right before B/W rasterizing, the bbox gets simply rounded to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   357
	integers.  This fixes, for example, glyph `three' in font `Helvetica
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   358
	Neue LT Com 65 Medium' at 11ppem.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   359
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   360
	Thanks to Greg Hitchcock who explained this behaviour.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   361
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   362
	* src/raster/ftrend1.c (ft_raster1_render): Implement it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   363
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   364
2011-01-15  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   365
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   366
	Copy -mcpu=* & -march=* options from CFLAGS to LDFLAGS.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   367
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   368
	* builds/unix/configure.raw: Consider recent gcc-standard
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   369
	flags to specify architecture in CFLAGS & LDFLAGS
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   370
	harmonization.  Requested by Savannah bug #32114, to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   371
	support multilib feature of BuildRoot SDK correctly.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   372
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   373
2011-01-15  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   374
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   375
	Fix off-by-one bug in CFLAGS & LDFLAGS harmonizer.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   376
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   377
	* builds/unix/configure.raw: Some important options that
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   378
	included in CFLAGS but not in LDFLAGS are copied to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   379
	LDFLAGS, but the last option in CFLAGS was not checked.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   380
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   381
2011-01-13  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   382
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   383
	[raster] Add undocumented drop-out rule to the other bbox side also.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   384
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   385
	* src/raster/ftraster.c (Vertical_Sweep_Drop,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   386
	Horizontal_Sweep_Drop): Implement it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   387
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   388
2011-01-13  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   389
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   390
	[raster] Reduce jitter value.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   391
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   392
	This catches a rendering problem with glyph `x' from Tahoma at
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   393
	10ppem.  It seems that the increase of the precision in the change
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   394
	from 2009-06-11 makes a larger jitter value unnecessary.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   395
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   396
	* src/raster/ftraster.c (Set_High_Precision): Implement it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   397
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   398
2011-01-13  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   399
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   400
	[raster] Handle drop-outs at glyph borders according to Microsoft.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   401
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   402
	If a drop-out rule would switch on a pixel outside of the glyph's
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   403
	bounding box, use the right (or top) pixel instead.  This is an
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   404
	undocumented feature, but some fonts like `Helvetica Neue LT Com 65
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   405
	Medium' heavily rely on it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   406
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   407
	Thanks to Greg Hitchcock who explained this behaviour.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   408
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   409
	* src/raster/ftraster.c (Vertical_Sweep_Drop,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   410
	Horizontal_Sweep_Drop): Implement it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   411
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   412
2011-01-09  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   413
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   414
	[cache] Fix Savannah bug #31923, patch drafted by Harsha.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   415
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   416
	When a node comparator changes the cached nodes during the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   417
	search of a node matching with queried properties, the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   418
	pointers obtained before the function should be updated to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   419
	prevent the dereference to freed or reallocated nodes.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   420
	To minimize the rescan of the linked list, the update is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   421
	executed when the comparator notifies the change of cached
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   422
	nodes. This change depends previous change:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   423
	38b272ffbbdaae276d636aec4ef84af407d16181
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   424
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   425
	* src/cache/ftccache.h (FTC_CACHE_LOOKUP_CMP): Rescan the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   426
	top node if the cached nodes are changed.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   427
	* src/cache/ftccache.c (FTC_Cache_Lookup): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   428
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   429
2011-01-09  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   430
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   431
	[cache] Notice if a cache query induced the node list change.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   432
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   433
	Some node comparators (comparing the cache node contents and the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   434
	properties specified by the query) can flush the cache node to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   435
	prevent the cache inflation.  The change may invalidate the pointers
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   436
	to the node obtained before the node comparison, so it should be
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   437
	noticed to the caller.  The problem caused by the cache node
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   438
	changing is reported by Harsha, see Savannah bug #31923.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   439
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   440
	* src/cache/ftccache.h (FTC_Node_CompareFunc): Add new argument
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   441
	`FT_Bool* list_changed' to indicate the change of the cached nodes
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   442
	to the caller.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   443
	(FTC_CACHE_LOOKUP_CMP): Watch the change of the cached nodes by
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   444
	`_list_changed'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   445
	(FTC_CACHE_TRYLOOP_END): Take new macro argument `_list_changed'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   446
	and update it when `FTC_Manager_FlushN' flushes any nodes.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   447
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   448
	* src/cache/ftccback.h (ftc_snode_compare): Updated to fit with new
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   449
	FTC_Node_CompareFunc type.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   450
	(ftc_gnode_compare): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   451
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   452
	* src/cache/ftcbasic.c: Include FT_INTERNAL_OBJECTS_H to use
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   453
	TRUE/FALSE macros.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   454
	(ftc_basic_gnode_compare_faceid): New argument `FT_Bool*
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   455
	list_changed' to indicate the change of the cache nodes (anyway, it
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   456
	is always FALSE).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   457
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   458
	* src/cache/ftccmap.c: Include FT_INTERNAL_OBJECTS_H to use
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   459
	TRUE/FALSE macros.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   460
	(ftc_cmap_node_compare): New argument `FT_Bool* list_changed' to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   461
	indicate the change of the cache nodes (anyway, it is always FALSE).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   462
	(ftc_cmap_node_remove_faceid): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   463
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   464
	* src/cache/ftccache.c (FTC_Cache_NewNode): Pass a NULL pointer to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   465
	`FTC_CACHE_TRYLOOP_END', because the result is not needed.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   466
	(FTC_Cache_Lookup): Watch the change of the cache nodes by
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   467
	`list_changed'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   468
	(FTC_Cache_RemoveFaceID): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   469
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   470
	* src/cache/ftcglyph.c: Include FT_INTERNAL_OBJECTS_H to use
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   471
	TRUE/FALSE macros.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   472
	(ftc_gnode_compare): New argument `FT_Bool* list_changed' to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   473
	indicate the change of the cache nodes (anyway, it is always FALSE).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   474
	(FTC_GNode_Compare): New argument `FT_Bool* list_changed' to be
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   475
	passed to `ftc_gnode_compare'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   476
	* src/cache/ftcglyph.h (FTC_GNode_Compare): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   477
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   478
	* src/cache/ftcsbits.c (ftc_snode_compare): New argument `FT_Bool*
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   479
	list_changed' to indicate the change of the cache nodes, anyway.  It
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   480
	is updated by `FTC_CACHE_TRYLOOP'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   481
	(FTC_SNode_Compare): New argument `FT_Bool* list_changed' to be
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   482
	passed to `ftc_snode_compare'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   483
	* src/cache/ftcsbits.h (FTC_SNode_Compare): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   484
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   485
2011-01-09  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   486
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   487
	[cache] Fit `FTC_GNode_Compare' to `FTC_Node_CompareFunc'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   488
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   489
	* src/cache/ftcglyph.h (FTC_GNode_Compare): Add the 3rd
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   490
	argument `FTC_Cache  cache' to fit FTC_Node_CompareFunc
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   491
	prototype.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   492
	* src/cache/ftcglyph.c (FTC_GNode_Compare): Ditto. Anyway,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   493
	`cache' is not used by its child `ftc_gnode_compare'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   494
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   495
2011-01-09  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   496
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   497
	[cache] Deduplicate the code to get the top node by a hash.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   498
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   499
	There are several duplicated code fragments getting the top node
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   500
	from a cache by a given hash, like:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   501
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   502
	    idx = hash & cache->mask;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   503
	    if ( idx < cache->p )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   504
	      idx = hash & ( cache->mask * 2 + 1 );
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   505
	    pnode = cache->buckets + idx;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   506
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   507
	To remove duplication, a cpp-macro to do same work
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   508
	`FTC_NODE__TOP_FOR_HASH' is introduced.  For non-inlined
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   509
	configuration, non-`ftc_get_top_node_for_hash' is also introduced.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   510
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   511
	* src/cache/ftccache.h (FTC_NODE__TOP_FOR_HASH): Declare
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   512
	and implement inlined version.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   513
	(FTC_CACHE_LOOKUP_CMP): Use `FTC_NODE__TOP_FOR_HASH'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   514
	* src/cache/ftccache.c (ftc_get_top_node_for_hash): Non-inlined
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   515
	version.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   516
	(ftc_node_hash_unlink): Use `FTC_NODE__TOP_FOR_HASH'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   517
	(ftc_node_hash_link): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   518
	(FTC_Cache_Lookup): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   519
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   520
2011-01-09  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   521
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   522
	[cache] inline-specific functions are conditionalized.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   523
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   524
	* src/cache/ftcglyph.c (FTC_GNode_Compare): Conditionalized for
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   525
	inlined configuration.  This function is a thin wrapper of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   526
	`ftc_gnode_compare' for inlined `FTC_CACHE_LOOKUP_CMP' (see
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   527
	`nodecmp' argument).  Under non-inlined configuration,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   528
	`ftc_gnode_compare' is invoked by `FTC_Cache_Lookup', via
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   529
	`FTC_Cache->clazz.node_compare'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   530
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   531
	* src/cache/ftcglyph.h (FTC_GNode_Compare): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   532
	* src/cache/ftcsbits.c (FTC_SNode_Compare): Ditto, for
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   533
	`ftc_snode_compare'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   534
	* src/cache/ftcsbits.h (FTC_SNode_Compare): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   535
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   536
2011-01-09  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   537
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   538
	[cache] Correct a type mismatch under non-inlined config.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   539
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   540
	* src/cache/ftcglyph.h (FTC_GCACHE_LOOKUP_CMP): `FTC_GCache_Lookup'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   541
	takes the node via a pointer `FTC_Node*', differently from cpp-macro
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   542
	`FTC_CACHE_LOOKUP_CMP'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   543
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   544
2011-01-06  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   545
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   546
	Update Jamfile to include Bzip2 support.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   547
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   548
	* Jamfile: Include src/bzip2 to project.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   549
	Comments for lzw, gzip, bzip2 are changed to clarify that
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   550
	they are for compressed PCF fonts, not others.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   551
	(e.g. compressed BDF fonts are not supported yet)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   552
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   553
2011-01-05  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   554
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   555
	Update Symbian project files to include Bzip2 support.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   556
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   557
	Currently, it provides `FT_Stream_OpenBzip2' that returns
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   558
	unimplemented error always, to prevent unresolved symbol
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   559
	error for the applications designed for Unix systems.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   560
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   561
	* builds/symbian/bld.inf: Include ftbzip2.h.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   562
	* builds/symbian/freetype.mmp: Include ftbzip2.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   563
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   564
2011-01-05  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   565
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   566
	Update classic MacOS makefiles to include Bzip2 support.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   567
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   568
	Currently, it provides `FT_Stream_OpenBzip2' that returns
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   569
	unimplemented error always, to prevent unresolved symbol
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   570
	error for the applications designed for Unix systems.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   571
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   572
	* builds/mac/FreeType.m68k_cfm.make.txt: Include ftbzip2.c.o.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   573
	* builds/mac/FreeType.m68k_far.make.txt: Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   574
	* builds/mac/FreeType.ppc_carbon.make.txt: Include ftbzip2.c.x.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   575
	* builds/mac/FreeType.ppc_classic.make.txt: Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   576
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   577
2011-01-05  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   578
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   579
	Update Amiga makefiles to include Bzip2 support.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   580
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   581
	Currently, it provides `FT_Stream_OpenBzip2' that returns
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   582
	unimplemented error always, to prevent unresolved symbol
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   583
	error for the applications designed for Unix systems.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   584
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   585
	* builds/amiga/makefile: Include bzip2.ppc.o built from ftbzip2.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   586
	* builds/amiga/makefile.os4: Include bzip2.o built from ftbzip2.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   587
	* builds/amiga/smakefile: Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   588
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   589
2011-01-05  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   590
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   591
	Update pkg-config tools to reflect Bzip2 support.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   592
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   593
	* builds/unix/freetype-config.in: Include `-lbz2' to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   594
	--libs output, if built with Bzip2 support.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   595
	* builds/unix/freetype2.in: Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   596
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   597
2011-01-05  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   598
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   599
	* builds/unix/configure.raw: Remove `SYSTEM_BZ2LIB' macro.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   600
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   601
	SYSTEM_ZLIB is used to switch the builtin zlib source
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   602
	or system zlib source out of FreeType2.  But ftbzip2
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   603
	module has no builtin bzip2 library and always requires
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   604
	system bzip2 library.  Thus SYSTEM_BZ2LIB is always yes,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   605
	it is not used.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   606
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   607
2011-01-03  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   608
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   609
	*/rules.mk: Handle `*pic.c' files.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   610
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   611
2010-12-31  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   612
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   613
	* src/cff/cfftypes.h (CFF_MAX_CID_FONTS): Increase to 64.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   614
	Problem reported by Tom Bishop <wenlin@wenlin.com>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   615
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   616
2010-12-31  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   617
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   618
	Improve bzip2 support.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   619
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   620
	* include/freetype/ftmoderr.h: Add bzip2.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   621
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   622
	* docs/INSTALL.ANY, docs/CHANGES: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   623
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   624
	* src/pcf/README: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   625
	* include/freetype/internal/pcftypes.h: Obsolete, removed.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   626
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   627
2010-12-31  Joel Klinghed  <the_jk@yahoo.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   628
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   629
	Add bzip2 compression support to handle *.pcf.bz2 files.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   630
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   631
	* builds/unix/configure.raw: Test for libbz2 library.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   632
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   633
	* devel/ftoption.h, include/freetype/config/ftoption.h
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   634
	(FT_CONFIG_OPTION_USE_BZIP2): Define.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   635
	* include/freetype/config/ftheader.h (FT_BZIP2_H): Define.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   636
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   637
	* include/freetype/ftbzip2.h: New file.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   638
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   639
	* src/bzip2/*: New files.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   640
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   641
	* src/pcf/pcf.h: s/gzip_/comp_/.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   642
	* src/pcf/pcfdrvr.c: Include FT_BZIP2_H.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   643
	s/gzip_/comp_/.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   644
	(PCF_Face_Init): Handle bzip2 compressed files.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   645
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   646
	* docs/formats.txt, modules.cfg: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   647
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   648
2010-12-25  Harsha  <mm.harsha@gmail.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   649
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   650
	Apply Savannah patch #7422.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   651
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   652
	If we encounter a space in a string then the sbit buffer is NULL,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   653
	height and width are 0s.  So the check in ftc_snode_compare will
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   654
	always pass for spaces (comparision with 255).  Here the comments
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   655
	above the condition are proper but the implementation is not.  When
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   656
	we create an snode I think it is the proper way to initialize the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   657
	width to 255 and then put a check for being equal to 255 in snode
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   658
	compare function.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   659
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   660
	* src/cache/ftcsbits.c (FTC_SNode_New): Initialize sbit widths with
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   661
	value 255.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   662
	(ftc_snode_compare): Fix condition.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   663
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   664
2010-12-13  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   665
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   666
	Fix parameter handling of `FT_Set_Renderer'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   667
	Reported by Kirill Tishin <siege@bk.ru>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   668
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   669
	* src/base/ftobjs.c (FT_Set_Renderer): Increment `parameters'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   670
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   671
2010-12-09  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   672
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   673
	[cff] Allow `hlineto' and `vlineto' without arguments.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   674
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   675
	We simply ignore such instructions.  This is invalid, but it doesn't
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   676
	harm; and indeed, there exist such subsetted fonts in PDFs.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   677
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   678
	Reported by Albert Astals Cid <aacid@kde.org>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   679
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   680
	* src/cff/cffgload.c (cff_decoder_parse_charstrings)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   681
	[cff_op_hlineto]: Ignore instruction if there aren't any arguments
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   682
	on the stack.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   683
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   684
2010-11-28  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   685
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   686
	* Version 2.4.4 released.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   687
	=========================
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   688
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   689
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   690
	Tag sources with `VER-2-4-4'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   691
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   692
	* docs/CHANGES: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   693
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   694
	* docs/VERSION.DLL: Update documentation and bump version number to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   695
	2.4.4
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   696
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   697
	* README, Jamfile (RefDoc),
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   698
	builds/win32/vc2005/freetype.vcproj, builds/win32/vc2005/index.html,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   699
	builds/win32/vc2008/freetype.vcproj, builds/win32/vc2008/index.html,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   700
	builds/win32/visualc/freetype.dsp,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   701
	builds/win32/visualc/freetype.vcproj,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   702
	builds/win32/visualc/index.html, builds/win32/visualce/freetype.dsp,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   703
	builds/win32/visualce/freetype.vcproj,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   704
	builds/win32/visualce/index.html,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   705
	builds/wince/vc2005-ce/freetype.vcproj,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   706
	builds/wince/vc2005-ce/index.html,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   707
	builds/wince/vc2008-ce/freetype.vcproj,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   708
	builds/wince/vc2008-ce/index.html: s/2.4.3/2.4.4/, s/243/244/.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   709
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   710
	* include/freetype/freetype.h (FREETYPE_PATCH): Set to 4.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   711
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   712
	* builds/unix/configure.raw (version_info): Set to 12:2:6.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   713
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   714
2010-11-28  Alexei Podtelezhnikov  <apodtele@gmail.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   715
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   716
	[ftsmooth]: Minor code simplification.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   717
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   718
	* src/smooth/ftgrays (gray_render_cubic): Do only one comparison
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   719
	instead of two.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   720
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   721
2010-11-26  Johnson Y. Yan  <yinsen_yan@foxitsoftware.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   722
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   723
	[truetype] Better multi-threading support.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   724
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   725
	* src/truetype/ttinterp.c (TT_Load_Context): Reset glyph zone
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   726
	references.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   727
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   728
2010-11-23  John Tytgat  <John.Tytgat@esko.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   729
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   730
	* src/psaux/t1decode.c (t1_decoder_parse_charstring): Expand
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   731
	start_point, check_points, add_point, add_point1, close_contour
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   732
	macros.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   733
	Remove add_contour macro.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   734
	Return error code from t1_builder_start_point and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   735
	t1_builder_check_points when there was one (instead of returning 0).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   736
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   737
2010-11-22  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   738
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   739
	[truetype] Identify the tricky fonts by cvt/fpgm/prep checksums.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   740
	Some Latin TrueType fonts are still expected to be unhinted.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   741
	Fix Savannah bug #31645.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   742
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   743
	* src/truetype/ttobjs.c (tt_check_trickyness): Divided to...
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   744
	(tt_check_trickyness_family): this checking family name, and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   745
	(tt_check_trickyness_sfnt_ids): this checking cvt/fpgm/prep.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   746
	(tt_get_sfnt_checksum): Function to retrieve the sfnt checksum
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   747
	for specified subtable even if cleared by lazy PDF generators.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   748
	(tt_synth_sfnt_checksum): Function to calculate the checksum.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   749
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   750
2010-11-18  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   751
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   752
	[truetype] Fix `loca' handling for inconsistent number of glyphs.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   753
	Reported by Johnson Y. Yan <yinsen_yan@foxitsoftware.com>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   754
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   755
	* src/truetype/ttpload.c (tt_face_load_loca): While sanitizing,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   756
	handle case where `loca' is the last table in the font.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   757
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   758
2010-11-18  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   759
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   760
	[sfnt] Ignore all errors while loading `OS/2' table.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   761
	Suggested by Johnson Y. Yan <yinsen_yan@foxitsoftware.com>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   762
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   763
	* src/sfnt/sfobjs.c (sfnt_load_face): Do it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   764
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   765
2010-11-18  Johnson Y. Yan  <yinsen_yan@foxitsoftware.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   766
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   767
	[type1] Fix matrix normalization.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   768
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   769
	* src/type1/t1load.c (parse_font_matrix): Handle sign of scaling
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   770
	factor.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   771
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   772
2010-11-18  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   773
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   774
	[type1] Improve guard against malformed data.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   775
	Based on a patch submitted by Johnson Y. Yan
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   776
	<yinsen_yan@foxitsoftware.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   777
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   778
	* src/type1/t1load.c (read_binary_data): Check `size'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   779
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   780
2010-11-17  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   781
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   782
	[sfnt] While tracing, output table checksums also.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   783
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   784
	* src/sfnt/ttload.c (tt_face_load_font_dir): Do it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   785
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   786
2010-11-04  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   787
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   788
	[UVS] Fix `find_variant_selector_charmap', Savannah bug #31545.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   789
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   790
	Since 2010-07-04, `find_variant_selector_charmap' returns
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   791
	the first cmap subtable always under rogue-compatible
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   792
	configuration, it causes NULL pointer dereference and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   793
	make UVS-related functions crashed.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   794
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   795
	* src/base/ftobjs.c (Fix find_variant_selector_charmap):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   796
	Returns UVS cmap correctly.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   797
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   798
2010-11-01  Alexei Podtelezhnikov  <apodtele@gmail.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   799
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   800
	[ftsmooth] Improve rendering.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   801
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   802
	* src/smooth/ftsmooth.c (gray_render_conic): Since version 2.4.3,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   803
	cubic deviations have been estimated _after_ UPSCALE, whereas
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   804
	conic ones have been evaluated _before_ UPSCALE, which produces
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   805
	inferior rendering results.  Fix this.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   806
	Partially undo change from 2010-10-15 by using ONE_PIXEL/4; this has
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   807
	been tested with demo images sent to the mailing list.  See
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   808
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   809
	  http://lists.gnu.org/archive/html/freetype-devel/2010-10/msg00055.html
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   810
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   811
	and later mails in this thread.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   812
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   813
2010-10-28  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   814
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   815
	[ftraster] Minor fixes.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   816
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   817
	Reported by Tom Bishop <wenlin@wenlin.com>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   818
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   819
	* src/raster/ftraster.c (ULong): Remove unused typedef.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   820
	(TWorker): Remove unused variable `precision_mask'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   821
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   822
2010-10-28  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   823
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   824
	[ftraster] Fix rendering.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   825
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   826
	Problem reported by Tom Bishop <wenlin@wenlin.com>; see
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   827
	thread starting with
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   828
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   829
	  http://lists.gnu.org/archive/html/freetype/2010-10/msg00049.html
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   830
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   831
	* src/raster/ftraster.c (Line_Up): Replace FMulDiv with SMulDiv
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   832
	since the involved multiplication exceeds 32 bits.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   833
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   834
2010-10-25  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   835
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   836
	Revert a change of `_idx' type in `FTC_CACHE_LOOKUP_CMP'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   837
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   838
	* src/cache/ftccache.h (FTC_CACHE_LOOKUP_CMP): Revert
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   839
	the type of `_idx' from FT_PtrDist (by previous change)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   840
	to original FT_UFast, to match with FT_CacheRec.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   841
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   842
2010-10-24  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   843
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   844
	[cache] Change the hash types to FT_PtrDist.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   845
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   846
	On LLP64 platforms (e.g. Win64), FT_ULong (32-bit)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   847
	variables are inappropriate to calculate hash values
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   848
	from the memory address (64-bit).  The hash variables
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   849
	are extended from FT_ULong to FT_PtrDist and new
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   850
	hashing macro functions are introduced.  The hash
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   851
	values on 16-bit memory platforms are changed, but
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   852
	ILP32 and LP64 are not changed.  The hash value in
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   853
	the cache subsystem is not reverted to the memory
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   854
	address, so using signed type FT_PtrDist is safe.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   855
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   856
	* src/cache/ftccache.h (_FTC_FACE_ID_HASH): New hash
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   857
	function to replace `FTC_FACE_ID_HASH' for portability.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   858
	* src/cache/ftcmanag.h (FTC_SCALER_HASH): Replace
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   859
	`FTC_FACE_ID_HASH' by `_FTC_FACE_ID_HASH'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   860
	* src/cache/ftccmap.c (FTC_CMAP_HASH): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   861
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   862
	* src/cache/ftccache.h (FTC_NodeRec): The type of the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   863
	member `hash' is changed from FT_UInt32 to FT_PtrDist.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   864
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   865
	* src/cache/ftccache.h (FTC_Cache_Lookup): The type of the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   866
	argument `hash' is changed from FT_UInt32 to FT_PtrDist.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   867
	(FTC_Cache_NewNode): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   868
	* src/cache/ftccache.c (ftc_cache_add): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   869
	(FTC_Cache_Lookup): Ditto.  (FTC_Cache_NewNode): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   870
	* src/cache/ftcglyph.h (FTC_GCache_Lookup): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   871
	* src/cache/ftcglyph.c (FTC_GCache_Lookup): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   872
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   873
	* src/cache/ftcbasic.c (FTC_ImageCache_Lookup): The type
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   874
	of the internal variable `hash' is changed to FT_PtrDist
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   875
	from FT_UInt32.  (FTC_ImageCache_LookupScaler): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   876
	(FTC_SBitCache_Lookup): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   877
	(FTC_SBitCache_LookupScaler): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   878
	* src/cache/ftccmap.c (FTC_CMapCache_Lookup): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   879
	* src/cache/ftccache.h (FTC_CACHE_LOOKUP_CMP): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   880
	Also the type of the internal variable `_idx' is changed to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   881
	FT_PtrDist from FT_UFast for better pointer calculation.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   882
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   883
2010-10-24  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   884
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   885
	[cache] Hide internal macros incompatible with LLP64.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   886
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   887
	`FT_POINTER_TO_ULONG', `FTC_FACE_ID_HASH', and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   888
	`FTC_IMAGE_TYPE_HASH' are enclosed by
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   889
	FT_CONFIG_OPTION_OLD_INTERNALS and hidden from
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   890
	normal clients.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   891
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   892
	For the history of these macros, see the investigation:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   893
	http://lists.gnu.org/archive/html/freetype/2010-10/msg00022.html
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   894
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   895
2010-10-24  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   896
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   897
	Change the type of `FT_MEM_VAL' from FT_ULong to FT_PtrDist.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   898
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   899
	On LLP64 platforms (e.g. Win64), unsigned long (32-bit)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   900
	cannot cover the memory address (64-bit).  `FT_MEM_VAL' is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   901
	used for hashing only and not dereferred, so using signed
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   902
	type FT_PtrDist is safe.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   903
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   904
	* src/base/ftdbgmem.c (FT_MEM_VAL): Change the type of the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   905
	return value from FT_ULong to FT_PtrDist.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   906
	(ft_mem_table_resize): The type of hash is changed to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   907
	FT_PtrDist.  (ft_mem_table_get_nodep): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   908
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   909
2010-10-24  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   910
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   911
	Replace "%lx" for memory address by "%p", LLP64 platforms.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   912
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   913
	On LLP64 platforms (e.g. Win64), long (32-bit) cannot cover
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   914
	the memory address (64-bit).  Also the casts from the pointer
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   915
	type to long int should be removed to preserve the address
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   916
	correctly.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   917
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   918
	* src/raster/ftraster.c (New_Profile): Replace "%lx" by "%p".
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   919
	(End_Profile) Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   920
	* src/truetype/ttinterp.c (Init_Context): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   921
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   922
2010-10-15  Alexei Podtelezhnikov  <apodtele@gmail.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   923
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   924
	Fix thinko in spline flattening.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   925
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   926
	FT_MAX_CURVE_DEVIATION is dependent on the value of ONE_PIXEL.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   927
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   928
	* src/smooth/ftgrays.c (FT_MAX_CURVE_DEVIATION): Remove it and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   929
	replace it everywhere with ONE_PIXEL/8.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   930
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   931
2010-10-13  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   932
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   933
	[raccess] Skip unrequired resource access rules by Darwin VFS.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   934
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   935
	When a resource fork access rule by Darwin VFS could open the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   936
	resource fork but no font is found in it, the rest of rules
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   937
	by Darwin VFS are skipped.  It reduces the warnings of the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   938
	deprecated resource fork access method by recent Darwin kernel.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   939
	Fix MacPorts ticket #18859:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   940
		http://trac.macports.org/ticket/18859
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   941
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   942
	* src/base/ftobjs.c (load_face_in_embedded_rfork):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   943
	When `FT_Stream_New' returns FT_Err_Cannot_Open_Stream, it
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   944
	means that the file is possible to be `fopen'-ed but zero-sized.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   945
	Also there is a case that the resource fork is not zero-sized,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   946
	but no supported font exists in it.  If a rule by Darwin VFS
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   947
	falls into such cases, there is no need to try other Darwin VFS
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   948
	rules anymore.  Such cases are marked by vfs_rfork_has_no_font.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   949
	If it is TRUE, the Darwin VFS rules are skipped.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   950
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   951
2010-10-13  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   952
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   953
	[raccess] Grouping resource access rules based on Darwin VFS.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   954
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   955
	MacOS X/Darwin kernel supports a few tricky methods to access
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   956
	a resource fork via ANSI C or POSIX interface.  Current resource
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   957
	fork accessor tries all possible methods to support all kernels.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   958
	But if a method could open a resource fork but no font is found,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   959
	there is no need to try other methods older than tested method.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   960
	To determine whether the rule index is for Darwin VFS, a local
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   961
	function `ftrfork.c::raccess_rule_by_darwin_vfs' is introduced.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   962
	To use this function in ftobjs.c etc but it should be inlined,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   963
	it is exposed by ftbase.h.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   964
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   965
	* src/base/ftrfork.c (FT_RFork_Rule): New enum type to identify
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   966
	the rules to access the resource fork.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   967
	(raccess_guess_rec): New structure to bind the rule function and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   968
	rule enum type.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   969
	(FT_Raccess_Guess): The list of the rule functions is replaced by
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   970
	(raccess_guess_table): This.  This is exposed to be used by other
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   971
	intra module functions.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   972
	(raccess_rule_by_darwin_vfs): A function to return a boolean
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   973
	if the rule specified by the rule index is based on Darwin VFS.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   974
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   975
2010-10-13  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   976
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   977
	Prevent to open a FT_Stream for zero-sized file on non-Unix.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   978
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   979
	builds/unix/ftsystem.c prevents to open an useless stream from
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   980
	zero-sized file and returns FT_Err_Cannot_Open_Stream, but the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   981
	stream drivers for ANSI C, Amiga and VMS return useless streams.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   982
	For cross-platform consistency, all stream drivers should act
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   983
	same.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   984
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   985
	* src/base/ftsystem.c (FT_Stream_Open): If the size of the opened
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   986
	file is zero, FT_Err_Cannot_Open_Stream is returned.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   987
	* builds/amiga/src/base/ftsystem.c (FT_Stream_Open): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   988
	* src/vms/ftsystem.c (FT_Stream_Open): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   989
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   990
2010-10-12  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   991
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   992
	Fix Savannah bug #31310.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   993
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   994
	* src/truetype/ttgxvar.c (ft_var_readpackedpoints): Protect against
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   995
	invalid `runcnt' values.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   996
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   997
2010-10-08  Chris Liddell  <chris.liddell@artifex.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   998
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   999
	Fix Savannah bug #31275.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1000
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1001
	* src/sfnt/ttpost.c: Include FT_INTERNAL_DEBUG_H.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1002
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1003
2010-10-06  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1004
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1005
	[truetype] Improve error handling of `SHZ' bytecode instruction.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1006
	Problem reported by Chris Evans <scarybeasts@gmail.com>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1007
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1008
	* src/truetype/ttinterp.c (Ins_SHZ): Check `last_point'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1009
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1010
2010-10-05  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1011
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1012
	Fix Savannah bug #31253.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1013
	Patch submitted by an anonymous reporter.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1014
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1015
	* configure: Use `awk' instead of `sed' to manipulate output of `ls
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1016
	-id'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1017
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1018
2010-10-03  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1019
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1020
	* Version 2.4.3 released.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1021
	=========================
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1022
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1023
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1024
	Tag sources with `VER-2-4-3'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1025
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1026
	* docs/CHANGES: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1027
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1028
	* docs/VERSION.DLL: Update documentation and bump version number to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1029
	2.4.3
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1030
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1031
	* README, Jamfile (RefDoc),
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1032
	builds/win32/vc2005/freetype.vcproj, builds/win32/vc2005/index.html,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1033
	builds/win32/vc2008/freetype.vcproj, builds/win32/vc2008/index.html,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1034
	builds/win32/visualc/freetype.dsp,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1035
	builds/win32/visualc/freetype.vcproj,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1036
	builds/win32/visualc/index.html, builds/win32/visualce/freetype.dsp,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1037
	builds/win32/visualce/freetype.vcproj,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1038
	builds/win32/visualce/index.html,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1039
	builds/wince/vc2005-ce/freetype.vcproj,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1040
	builds/wince/vc2005-ce/index.html,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1041
	builds/wince/vc2008-ce/freetype.vcproj,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1042
	builds/wince/vc2008-ce/index.html: s/2.4.2/2.4.3/, s/242/243/.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1043
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1044
	* include/freetype/freetype.h (FREETYPE_PATCH): Set to 3.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1045
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1046
	* builds/unix/configure.raw (version_info): Set to 12:1:6.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1047
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1048
2010-10-03  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1049
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1050
	Avoid `configure' issues with symbolic links.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1051
	Based on a patch from Alexander Stohr <Alexander.Stohr@gmx.de>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1052
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1053
	* configure: Compare directories using `ls -id'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1054
	Check existence of `reference' subdirectory before creating it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1055
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1056
2010-10-02  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1057
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1058
	Fix Savannah bug #31088 (sort of).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1059
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1060
	* src/sfnt/ttload.c (tt_face_load_maxp): Always allocate at least 64
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1061
	function entries.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1062
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1063
2010-10-02  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1064
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1065
	[smooth] Fix splitting of cubics for negative values.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1066
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1067
	Reported by Róbert Márki <gsmiko@gmail.com>; see
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1068
	http://lists.gnu.org/archive/html/freetype/2010-09/msg00019.html.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1069
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1070
	* src/smooth/ftgrays.c (gray_render_cubic): Fix thinko.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1071
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1072
2010-10-01  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1073
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1074
	Fix Savannah bug #31040.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1075
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1076
	* src/truetype/ttinterp.c (free_buffer_in_size): Remove.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1077
	(TT_RunIns): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1078
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1079
2010-09-20  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1080
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1081
	[sfnt] Make error message filling NULL names less verbose.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1082
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1083
	* src/sfnt/ttpost.c (load_format_20): Showing 1 summary message
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1084
	when we fill `post' names by NULL, instead of per-entry message.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1085
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1086
2010-09-20  Graham Asher  <graham.asher@btinternet.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1087
	    David Bevan  <david.bevan@pb.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1088
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1089
	[smooth] Fix and improve spline flattening.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1090
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1091
	This fixes the flattening of cubic, S-shaped curves and speeds up
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1092
	the handling of both the conic and cubic arcs.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1093
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1094
	See the discussions on the freetype-devel mailing list in late
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1095
	August and September 2010 for details.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1096
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1097
	* src/smooth/ftgrays.c (FT_MAX_CURVE_DEVIATION): New macro.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1098
	(TWorker): Remove `conic_level' and `cubic_level' elements.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1099
	(gray_render_conic): Simplify algorithm.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1100
	(gray_render_cubic): New algorithm; details are given in the code
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1101
	comments.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1102
	(gray_convert_glyph): Remove heuristics.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1103
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1104
2010-09-19  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1105
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1106
	Minor fixes.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1107
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1108
	* src/cff/cffload.c (cff_charset_compute_cids): `charset->sids[i]'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1109
	is `FT_UShort'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1110
	(cff_index_access_element): Don't use additions in comparison.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1111
	* src/sfnt/ttpost.c (load_format_20): Make `post_limit' of type
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1112
	`FT_Long'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1113
	Don't use additions in comparison.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1114
	Improve tracing messages.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1115
	(load_format_25, load_post_names): Make `post_limit' of type
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1116
	`FT_Long'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1117
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1118
2010-09-19  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1119
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1120
	[cff] Truncate the element length at the end of the stream.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1121
	See Savannah bug #30975.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1122
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1123
	* src/cff/cffload.c (cff_index_access_element): `off2', the offset
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1124
	to the next element is truncated at the end of the stream to prevent
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1125
	invalid I/O.  As `off1', the offset to the requested element has
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1126
	been checked by `FT_STREAM_SEEK', `off2' should be checked
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1127
	similarly.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1128
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1129
2010-09-19  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1130
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1131
	[cff] Ignore CID > 0xFFFFU.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1132
	See Savannah bug #30975.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1133
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1134
	* src/cff/cffload.c (cff_charset_compute_cids): Ignore CID if
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1135
	greater than 0xFFFFU.  CFF font spec does not mention maximum CID in
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1136
	the font, but PostScript and PDF spec define that maximum CID is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1137
	0xFFFFU.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1138
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1139
2010-09-19  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1140
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1141
	[cff] Make trace message in` cff_charset_load' verbose.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1142
	See Savannah bug #30975.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1143
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1144
	* src/cff/cffload.c (cff_charset_load): Report the original `nleft'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1145
	and truncated `nleft'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1146
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1147
2010-09-19  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1148
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1149
	[cff] Correct `max_cid' from CID array length to max CID.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1150
	See Savannah bug #30975.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1151
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1152
	* src/cff/cffload.c (cff_charset_compute_cids): Don't increment
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1153
	max_cid after detecting max CID.  The array CFF_Charset->cids is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1154
	allocated by max_cid + 1.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1155
	(cff_charset_cid_to_gindex): Permit CID is less than or equal to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1156
	CFF_Charset->max_cid.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1157
	* src/cff/cffobjs.c (cff_face_init): FT_Face->num_glyphs is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1158
	calculated as CFF_Charset->max_cid + 1.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1159
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1160
2010-09-19  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1161
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1162
	[truetype] Sanitize the broken offsets in `loca'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1163
	See Savannah bug #31040.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1164
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1165
	* src/truetype/ttpload.c (tt_face_get_location): If `pos1', the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1166
	offset to the requested entry in `glyf' exceeds the end of the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1167
	table, return offset=0, length=0.  If `pos2', the offset to the next
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1168
	entry in `glyf' exceeds the end of the table, truncate the entry
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1169
	length at the end of `glyf' table.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1170
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1171
2010-09-19  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1172
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1173
	[sfnt] Prevent overrunning in `post' table parser.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1174
	See Savannah bug #31040.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1175
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1176
	* src/sfnt/ttpost.c (load_post_names): Get the length of `post'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1177
	table and pass the limit of `post' table to `load_format_20' and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1178
	`load_format_25'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1179
	(load_format_20): Stop the parsing when we reached at the limit of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1180
	`post' table.  If more glyph names are required, they are filled by
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1181
	NULL names.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1182
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1183
2010-09-17  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1184
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1185
	[truetype] Don't duplicate size->twilight structure to be freed.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1186
	See Savannah bug #31040 for detail.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1187
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1188
	* src/truetype/ttinterp.c (free_buffer_in_size): Don't duplicate
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1189
	FT_GlyphZoneRec size->twilight to be freed.  If duplicated,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1190
	`FT_FREE' erases the duplicated pointers only and leave original
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1191
	pointers.  They can cause the double-free crash when the burst
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1192
	errors occur in TrueType interpreter and `free_buffer_in_size' is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1193
	invoked repeatedly.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1194
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1195
2010-09-15  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1196
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1197
	Make bytecode debugging with FontForge work again.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1198
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1199
	* src/truetype/ttinterp.c (TT_RunIns): Don't call
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1200
	`free_buffer_in_size' in case of error if a debugger is active.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1201
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1202
2010-09-14  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1203
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1204
	Improve tracing messages.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1205
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1206
	* src/truetype/ttinterp.c (TT_RunIns): Improve wording of tracing
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1207
	message.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1208
	* src/truetype/ttobjs.c (tt_size_run_fpgm, tt_size_run_prep): Add
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1209
	tracing message.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1210
	* src/truetype/ttgload.c (tt_loader_init): Add tracing message.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1211
	* src/cache/ftcsbits.c (ftc_snode_load): Emit tracing message if
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1212
	glyph doesn't fit into a small bitmap container.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1213
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1214
2010-09-13  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1215
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1216
	Fix minor issues reported by <muktha.narayan@wipro.com>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1217
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1218
	* src/autofit/aflatin.c (af_latin_compute_stem_width): Remove
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1219
	redundant conditional check.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1220
	* src/base/ftsynth.c (FT_GlyphSlot_Embolden): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1221
	* src/cff/cffload.c (cff_encoding_load): Remove conditional check
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1222
	which always evaluates to `true'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1223
	* src/pshinter/pshalgo.c (ps_glyph_interpolate_strong_points):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1224
	Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1225
	* src/truetype/ttinterp.c (Ins_IUP): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1226
	* src/cid/cidgload.c (cid_slot_load_glyph): Don't check for NULL if
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1227
	value is already dereferenced.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1228
	* src/winfonts/winfnt.c (FNT_Load_Glyph): Fix check of `face'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1229
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1230
2010-08-31  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1231
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1232
	Ignore the environmental setting of LIBTOOL.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1233
	Patch is suggested by Adrian Bunk, to prevent unexpected
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1234
	reflection of environmental LIBTOOL.  See:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1235
	http://savannah.nongnu.org/patch/?7290
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1236
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1237
	* builds/unix/unix-cc.in: LIBTOOL is unconditionally set to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1238
	$(FT_LIBTOOL_DIR)/libtool.  FT_LIBTOOL_DIR is set to $(BUILD_DIR)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1239
	by default.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1240
	* configure: When configured for the building out of source tee,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1241
	FT_LIBTOOL_DIR is set to $(OBJ_DIR).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1242
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1243
2010-08-31  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1244
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1245
	[truetype] Decrease the trace level catching the interpreter error.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1246
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1247
	* src/truetype/ttinterp.c (TT_RunIns): Decrease the trace level
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1248
	showing the error when the interpreter returns with an error,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1249
	from` FT_TRACE7' to `FT_TRACE1'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1250
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1251
2010-08-30  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1252
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1253
	[truetype] Prevent bytecode reuse after the interpretation error.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1254
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1255
	* src/truetype/ttinterp.c (free_buffer_in_size): New function to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1256
	free the buffer allocated during the interpretation of this glyph.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1257
	(TT_RunIns): Unset FT_Face->size->{cvt_ready,bytecode_ready} if
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1258
	an error occurs in the bytecode interpretation.  The interpretation
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1259
	of invalid bytecode may break the function definitions and referring
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1260
	them in later interpretation is danger.  By unsetting these flags,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1261
	`fpgm' and `prep' tables are executed again in next interpretation.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1262
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1263
	This fixes Savannah bug #30798, reported by Robert Święcki.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1264
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1265
2010-08-29  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1266
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1267
	[ftraster] Pacify compiler.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1268
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1269
	* src/raster/ftraster.c (ft_black_new) [_STANDALONE_]: `memory' is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1270
	not used.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1271
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1272
2010-08-29  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1273
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1274
	[cff] Allow SIDs >= 65000.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1275
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1276
	* src/cff/cffload.c (cff_charset_load): Fix change from 2009-03-20:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1277
	The threshold for SIDs is not applicable here.  I misinterpreted the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1278
	`SID values 65000 and above are available for implementation use'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1279
	sentence in the CFF specification.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1280
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1281
	Problem reported by Ivan Ninčić <inincic@pdftron.com>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1282
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1283
2010-08-28  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1284
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1285
	Force hinting when the font lacks its familyname.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1286
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1287
	In Type42 or Type11 font embedded in PostScript & PDF, TrueType sfnt
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1288
	stream may lack `name' table because they are not required.  Hinting
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1289
	for nameless fonts is safer for PDFs including embedded Chinese
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1290
	fonts.  Written by David Bevan, see:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1291
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1292
	http://lists.gnu.org/archive/html/freetype-devel/2010-08/msg00021.html
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1293
	http://lists.freedesktop.org/archives/poppler/2010-August/006310.html
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1294
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1295
	* src/truetype/ttobjs.c (tt_check_trickyness): If a NULL pointer by
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1296
	nameless font is given, TRUE is returned to enable hinting.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1297
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1298
2010-08-28  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1299
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1300
	Register yet another tricky TrueType font.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1301
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1302
	* src/truetype/ttobjs.c (tt_check_trickyness): Add `HuaTianKaiTi?',
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1303
	a Kaishu typeface paired with `HuaTianSongTi?' by Huatian
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1304
	Information Industry.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1305
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1306
2010-08-17  Teijo Kinnunen <Teijo.Kinnunen@nuance.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1307
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1308
	Fix Savannah bug #30788.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1309
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1310
	* src/cache/ftccache.c (FTC_Cache_Clear): Check `cache->buckets' for
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1311
	NULL too.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1312
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1313
2010-08-10  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1314
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1315
	Try to fix Savannah bug #30717 (and probably #30719 too).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1316
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1317
	* src/smooth/ftsmooth.c (ft_smooth_render_generic): Add another
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1318
	overflow test for `width' and `height'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1319
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1320
2010-08-06  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1321
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1322
	* Version 2.4.2 released.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1323
	=========================
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1324
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1325
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1326
	Tag sources with `VER-2-4-2'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1327
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1328
	* docs/CHANGES: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1329
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1330
	* docs/VERSION.DLL: Update documentation and bump version number to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1331
	2.4.2
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1332
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1333
	* README, Jamfile (RefDoc),
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1334
	builds/win32/vc2005/freetype.vcproj, builds/win32/vc2005/index.html,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1335
	builds/win32/vc2008/freetype.vcproj, builds/win32/vc2008/index.html,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1336
	builds/win32/visualc/freetype.dsp,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1337
	builds/win32/visualc/freetype.vcproj,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1338
	builds/win32/visualc/index.html, builds/win32/visualce/freetype.dsp,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1339
	builds/win32/visualce/freetype.vcproj,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1340
	builds/win32/visualce/index.html,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1341
	builds/wince/vc2005-ce/freetype.vcproj,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1342
	builds/wince/vc2005-ce/index.html,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1343
	builds/wince/vc2008-ce/freetype.vcproj,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1344
	builds/wince/vc2008-ce/index.html: s/2.4.1/2.4.2/, s/241/242/.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1345
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1346
	* include/freetype/freetype.h (FREETYPE_PATCH): Set to 2.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1347
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1348
	* builds/unix/configure.raw (version_info): Set to 12:0:6.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1349
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1350
2010-08-06  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1351
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1352
	Fix Savannah bug #30648.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1353
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1354
	* src/base/ftobjs.c (FT_Done_Library): Specify the order of font
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1355
	drivers during the face closing process.  Type42 faces should be
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1356
	closed before TrueType faces, because a Type42 face refers to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1357
	another internal TrueType face which is created from sfnt[] array on
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1358
	the memory.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1359
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1360
2010-08-06  Yuriy Kaminskiy  <yumkam@mail.ru>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1361
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1362
	[raster] Fix valgrind warning.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1363
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1364
	* src/raster/ftraster.c (Decompose_Curve) <default>: Access point[0]
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1365
	only if we don't hit `limit'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1366
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1367
2010-08-06  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1368
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1369
	Fix Savannah bug #30658.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1370
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1371
	* src/base/ftobjs.c (Mac_Read_POST_Resource): Check that the total
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1372
	length of collected POST segments does not overrun the allocated
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1373
	buffer.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1374
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1375
2010-08-06  Yuriy Kaminskiy  <yumkam@mail.ru>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1376
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1377
	Fix conditional usage of FT_MulFix_i386.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1378
	With -ansi flag, gcc does not define `i386', only `__i386__'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1379
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1380
	* include/freetype/config/ftconfig.h, builds/unix/ftconfig.in:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1381
	s/i386/__i386__/.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1382
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1383
2010-08-05  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1384
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1385
	Fix Savannah bug #30657.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1386
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1387
	* src/truetype/ttinterp.c (BOUNDSL): New macro.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1388
	Change `BOUNDS' to `BOUNDSL' where appropriate.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1389
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1390
	* src/truetype/ttinterp.h (TT_ExecContextRec): Fix type of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1391
	`cvtSize'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1392
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1393
2010-08-05  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1394
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1395
	Fix Savannah bug #30656.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1396
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1397
	* src/type42/t42parse.c (t42_parse_sfnts): Protect against negative
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1398
	string_size.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1399
	Fix comparison.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1400
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1401
2010-08-05  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1402
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1403
	[cff] Don't use any values in decoder after parsing error.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1404
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1405
	* src/cff/cffgload.c (cff_slot_load): Skip the evaluations
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1406
	of the values in decoder, if `cff_decoder_parse_charstrings'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1407
	returns any error.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1408
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1409
2010-08-04  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1410
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1411
	Fix Savannah bug #30644.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1412
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1413
	* src/base/ftstream.c (FT_Stream_EnterFrame): Fix comparison.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1414
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1415
2010-08-04  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1416
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1417
	`make devel' fails if FT_CONFIG_OPTION_OLD_INTERNALS is set.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1418
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1419
	* devel/ftoption.h: Synchronize with
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1420
	include/freetype/config/ftoption.h.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1421
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1422
2010-08-04  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1423
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1424
	[cff] Improve stack overflow test.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1425
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1426
	* src/cff/cffgload.c (cff_decoder_parse_charstrings): Check stack
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1427
	after execution of operations too.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1428
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1429
2010-07-18  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1430
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1431
	Add reference counters and to FT_Library and FT_Face objects.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1432
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1433
	* include/freetype/freetype.h (FT_Reference_Face): New function.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1434
	* include/freetype/ftmodapi.h (FT_Rererence_Library): New function.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1435
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1436
	* include/freetype/internal/ftobjs.h (FT_Face_InternalRec,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1437
	FT_LibraryRec): New field `refcount'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1438
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1439
	* src/base/ftobjs.c (FT_Open_Face, FT_New_Library): Handle
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1440
	`refcount'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1441
	(FT_Reference_Face, FT_Reference_Library): Implement new functions.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1442
	(FT_Done_Face, FT_Done_Library): Handle `refcount'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1443
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1444
	* docs/CHANGES: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1445
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1446
2010-07-18  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1447
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1448
	* Version 2.4.1 released.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1449
	=========================
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1450
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1451
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1452
	Tag sources with `VER-2-4-1'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1453
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1454
	* docs/CHANGES: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1455
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1456
	* docs/VERSION.DLL: Update documentation and bump version number to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1457
	2.4.1.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1458
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1459
	* README, Jamfile (RefDoc),
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1460
	builds/win32/vc2005/freetype.vcproj, builds/win32/vc2005/index.html,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1461
	builds/win32/vc2008/freetype.vcproj, builds/win32/vc2008/index.html,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1462
	builds/win32/visualc/freetype.dsp,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1463
	builds/win32/visualc/freetype.vcproj,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1464
	builds/win32/visualc/index.html, builds/win32/visualce/freetype.dsp,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1465
	builds/win32/visualce/freetype.vcproj,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1466
	builds/win32/visualce/index.html,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1467
	builds/wince/vc2005-ce/freetype.vcproj,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1468
	builds/wince/vc2005-ce/index.html,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1469
	builds/wince/vc2008-ce/freetype.vcproj,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1470
	builds/wince/vc2008-ce/index.html: s/2.4.0/2.4.1/, s/240/241/.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1471
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1472
	* include/freetype/freetype.h (FREETYPE_PATCH): Set to 1.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1473
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1474
	* builds/unix/configure.raw (version_info): Set to 11:1:5.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1475
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1476
2010-07-17  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1477
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1478
	[cff] Final try to fix `hintmask' and `cntrmask' limit check.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1479
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1480
	Problem reported by Tobias Wolf <towolf@gmail.com>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1481
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1482
	* src/cff/cffgload.c (cff_decoder_parse_charstrings)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1483
	<cff_op_hintmask>: Sigh.  I'm apparently too silly to fix this
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1484
	correctly in less than three tries.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1485
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1486
2010-07-12  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1487
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1488
	* Version 2.4.0 released.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1489
	=========================
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1490
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1491
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1492
	Tag sources with `VER-2-4-0'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1493
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1494
	* docs/CHANGES: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1495
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1496
	* docs/VERSION.DLL: Update documentation and bump version number to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1497
	2.4.0.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1498
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1499
	* README, Jamfile (RefDoc),
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1500
	builds/win32/vc2005/freetype.vcproj, builds/win32/vc2005/index.html,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1501
	builds/win32/vc2008/freetype.vcproj, builds/win32/vc2008/index.html,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1502
	builds/win32/visualc/freetype.dsp,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1503
	builds/win32/visualc/freetype.vcproj,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1504
	builds/win32/visualc/index.html, builds/win32/visualce/freetype.dsp,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1505
	builds/win32/visualce/freetype.vcproj,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1506
	builds/win32/visualce/index.html,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1507
	builds/wince/vc2005-ce/freetype.vcproj,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1508
	builds/wince/vc2005-ce/index.html,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1509
	builds/wince/vc2008-ce/freetype.vcproj,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1510
	builds/wince/vc2008-ce/index.html: s/2.3.12/2.4.0/, s/2312/240/.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1511
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1512
	* include/freetype/freetype.h (FREETYPE_MINOR): Set to 4.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1513
	(FREETYPE_PATCH): Set to 0.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1514
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1515
	* builds/unix/configure.raw (version_info): Set to 11:0:5.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1516
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1517
2010-07-12  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1518
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1519
	Remove C++ warnings.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1520
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1521
	*/*: Initialize pointers where necessary to make g++ happy.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1522
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1523
2010-07-12  malc  <av1474@comtv.ru>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1524
	    Richard Henderson  <rth@redhat.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1525
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1526
	Fix type-punning issues with C++.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1527
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1528
	* include/freetype/internal/ftmemory.h (FT_ASSIGNP) [__cplusplus]:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1529
	Emulate a `typeof' operator with an inline template which uses
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1530
	`static_cast'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1531
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1532
2010-07-11  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1533
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1534
	Fix C++ compilation issue.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1535
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1536
	* src/tools/apinames.c (names_dump) <OUTPUT_WATCOM_LBC>: Fix
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1537
	type of `dot' variable.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1538
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1539
2010-07-10  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1540
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1541
	Fix another case reported in Savannah bug #30373.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1542
	Permit a face for Type1, Type42 and CFF without charmap,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1543
	patch by Tor Andersson.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1544
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1545
	* src/type1/t1objs.c (T1_Face_Init): Reset the error if it
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1546
	is FT_Err_No_Unicode_Glyph_Name.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1547
	* src/type42/t42objs.c (T42_Face_Init): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1548
	* src/cff/cffobjs.c (cff_face_init): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1549
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1550
2010-07-09  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1551
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1552
	Use defined macros to set {platform,encoding}_id.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1553
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1554
	* src/bdf/bdfdrivr.c: Include ttnameid.h and use macros to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1555
	set charmap.{platfom,encoding}_id.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1556
	* src/pcf/pcfdrivr.c: Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1557
	* src/winfonts/winfnt.c: Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1558
	* src/type1/t1objs.c: Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1559
	* src/type42/t42objs.c: Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1560
	* src/cff/cffobjs.c: Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1561
	* src/pfr/pfrobjs.c: Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1562
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1563
2010-07-09  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1564
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1565
	Fix Savannah bug #30373.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1566
	Too serious check of errors by `FT_CMap_New' since 2010-07-04
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1567
	is fixed. Reported by Tor Andersson.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1568
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1569
	* include/freetype/fterrdef.h
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1570
	(PSnames_Err_No_Unicode_Glyph_Name): New error code to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1571
	indicate the Unicode charmap synthesis failed because
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1572
	no Unicode glyph name is found.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1573
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1574
	* src/psnames/psmodule.c (ps_unicodes_init): Return
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1575
	PSnames_Err_No_Unicode_Glyph_Name when no Unicode glyph name
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1576
	is found in the font.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1577
	* src/cff/cffcmap.c (cff_cmap_unicode_init): Return
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1578
	CFF_Err_No_Unicode_Glyph_Name when no SID is available.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1579
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1580
	* src/type1/t1objs.c (T1_Face_Init): Proceed if `FT_CMap_New'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1581
	is failed by the lack of Unicode glyph name.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1582
	* src/type42/t42objs.c (T42_Face_Init): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1583
	* src/cff/cffobjs.c (cff_face_init): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1584
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1585
2010-07-09  Ken Sharp  <ken.sharp@artifex.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1586
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1587
	Make ftraster.c compile in stand-alone mode with MSVC compiler.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1588
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1589
	* src/raster/ftmisc.h (FT_Int64) [_WIN32, _WIN64]: Fix typedef
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1590
	since there is no `inttypes.h' for MSVC.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1591
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1592
2010-07-08  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1593
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1594
	Fix Savannah bug #30361.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1595
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1596
	* src/truetype/ttinterp.c (Ins_IUP): Fix bounds check.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1597
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1598
2010-07-06  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1599
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1600
	Pacify compiler.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1601
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1602
	* src/cff/cffload.c (cff_index_get_pointers): Initialize
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1603
	`new_bytes'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1604
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1605
2010-07-05  Eugene A. Shatokhin  <spectre@ispras.ru>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1606
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1607
	Fix Savannah bug #27648.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1608
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1609
	* src/base/ftobjs.c (ft_remove_renderer, FT_Add_Module): Call
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1610
	`raster_done' only if we have an outline glyph format.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1611
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1612
2010-07-05  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1613
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1614
	Fix Savannah bug #30030.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1615
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1616
	* builds/win32/*/freetype.vcproj: Add ftxf86.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1617
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1618
2010-07-05  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1619
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1620
	[cff] Next try to fix `hintmask' and `cntrmask' limit check.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1621
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1622
	Problem reported by malc <av1474@comtv.ru>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1623
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1624
	* src/cff/cffgload.c (cff_decoder_parse_charstrings)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1625
	<cff_op_hintmask>: It is possible that there is just a single byte
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1626
	after the `hintmask' or `cntrmask', e.g., a `return' instruction.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1627
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1628
2010-07-04  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1629
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1630
	Restrict the number of the charmaps in a rogue-compatible mode.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1631
	Fix for Savannah bug #30059.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1632
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1633
	* src/cache/ftccmap.c (FTC_CMapCache_Lookup): Replace `16' the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1634
	minimum character code passed by a legacy rogue client by...
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1635
	* include/freetype/config/ftoption.h (FT_MAX_CHARMAP_CACHEABLE):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1636
	This.  It is undefined when FT_CONFIG_OPTION_OLD_INTERNALS is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1637
	undefined (thus the rogue client compatibility is not required).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1638
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1639
	* src/cff/cffobjs.c (cff_face_init): Abort the automatic
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1640
	selection or synthesis of Unicode cmap subtable when the charmap
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1641
	index exceeds FT_MAX_CHARMAP_CACHEABLE.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1642
	* src/sfnt/ttcmap.c (tt_face_build_cmaps): Issue error message
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1643
	when the charmap index exceeds FT_MAX_CHARMAP_CACHEABLE.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1644
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1645
	* src/base/ftobjs.c (find_unicode_charmap): When Unicode charmap
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1646
	is found after FT_MAX_CHARMAP_CACHEABLE, ignore it and search
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1647
	earlier one.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1648
	(find_variant_selector_charmap): When UVS charmap is found after
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1649
	FT_MAX_CHARMAP_CACHEABLE, ignore it and search earlier one.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1650
	(FT_Select_Charmap): When a charmap matching with requested
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1651
	encoding but after FT_MAX_CHARMAP_CACHEABLE, ignore and search
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1652
	earlier one.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1653
	(FT_Set_Charmap): When a charmap matching with requested
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1654
	charmap but after FT_MAX_CHARMAP_CACHEABLE, ignore and search
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1655
	earlier one.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1656
	(FT_Get_Charmap_Index): When a requested charmap is found
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1657
	after FT_MAX_CHARMAP_CACHEABLE, return the inverted charmap
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1658
	index.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1659
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1660
2010-07-04  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1661
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1662
	TrueType hinting is no longer patented.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1663
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1664
	* include/freetype/config/ftoption.h, devel/ftoption.h
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1665
	(TT_CONFIG_OPTION_BYTECODE_INTERPRETER): Define.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1666
	(TT_CONFIG_OPTION_UNPATENTED_HINTING): Undefine.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1667
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1668
	* docs/CHANGES, docs/INSTALL, include/freetype/freetype.h: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1669
	* docs/TRUETYPE, docs/PATENTS: Removed.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1670
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1671
2010-07-04  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1672
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1673
	Check error value by `FT_CMap_New'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1674
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1675
	* src/cff/cffobjs.c (cff_face_init): Check error value by
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1676
	`FT_CMap_New'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1677
	* src/pfr/pfrobjs.c (pfr_face_init): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1678
	* src/type1/t1jobjs.c (T1_Face_Init): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1679
	* src/type42/t42jobjs.c (T42_Face_Init): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1680
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1681
2010-07-03  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1682
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1683
	Make ftgrays.c compile stand-alone again.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1684
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1685
	* src/smooth/ftgrays.c [_STANDALONE_]: Include `stddef.h'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1686
	(FT_INT_MAX, FT_PtrDist)[_STANDALONE_]: Define.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1687
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1688
2010-07-02  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1689
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1690
	Additional fix for Savannah bug #30306.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1691
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1692
	* src/base/ftobjs.c (Mac_Read_POST_Resource): If the type of the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1693
	POST fragment is 0, the segment is completely ignored.  The declared
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1694
	length of the segment is not cared at all.  According to Adobe
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1695
	Technical Note 5040, type 0 segment is a comment only and should not
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1696
	be loaded for the interpreter.  Reported by Robert Święcki.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1697
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1698
2010-07-01  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1699
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1700
	[truetype] Protect against code range underflow.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1701
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1702
	* src/truetype/ttinterp.c (DO_JROT, DO_JMPR, DO_JROF): Don't allow
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1703
	negative IP values.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1704
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1705
2010-07-01  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1706
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1707
	[truetype] Add rudimentary tracing for bytecode instructions.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1708
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1709
	* src/truetype/ttinterp.c (opcode_name) [FT_DEBUG_LEVEL_TRACE]: New
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1710
	array.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1711
	(TT_RunIns): Trace opcodes.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1712
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1713
2010-06-30  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1714
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1715
	Fix Savannah bug #30263.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1716
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1717
	* src/smooth/ftgrays.c (gray_render_span): Use cast to `unsigned
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1718
	int' to avoid integer overflow.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1719
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1720
	* src/smooth/ftsmooth.c (ft_smooth_render_generic): Use smaller
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1721
	threshold values for `width' and `height'.  This is not directly
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1722
	related to the bug fix but makes sense anyway.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1723
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1724
2010-07-01  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1725
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1726
	Initial fix for Savannah bug #30306.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1727
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1728
	* src/base/ftobjs.c (Mac_Read_POST_Resource): Check `rlen', the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1729
	length of fragment declared in the POST fragment header, and prevent
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1730
	an underflow in length calculation.  Some fonts set the length to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1731
	zero in spite of the existence of a following 16bit `type'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1732
	Reported by Robert Święcki.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1733
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1734
2010-07-01  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1735
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1736
	Additional fix for Savannah bug #30248 and #30249.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1737
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1738
	* src/base/ftobjs.c (Mac_Read_POST_Resource): Check the buffer size
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1739
	during gathering PFB fragments embedded in LaserWriter PS font for
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1740
	Macintosh.  Reported by Robert Święcki.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1741
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1742
2010-06-30  Alexei Podtelezhnikov  <apodtele@gmail.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1743
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1744
	Minor optimizations by avoiding divisions.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1745
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1746
	* src/sfnt/ttkern.c (tt_face_load_kern, tt_face_get_kerning):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1747
	Replace divisions with multiplication in comparisons.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1748
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1749
2010-06-29  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1750
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1751
	Fix minor tracing issues.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1752
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1753
	* src/cff/cffgload.c, src/truetype/ttgload.c: Adjust tracing levels.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1754
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1755
2010-06-27  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1756
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1757
	[cff] Really fix `hintmask' and `cntrmask' limit check.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1758
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1759
	* src/cff/cffgload.c (cff_decoder_parse_charstrings)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1760
	<cff_op_hintmask>: Fix thinko and handle tracing also.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1761
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1762
2010-06-27  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1763
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1764
	Fix valgrind warning.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1765
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1766
	* src/base/ftoutln.c (FT_Outline_Get_Orientation): Initialize
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1767
	`result' array.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1768
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1769
2010-06-27  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1770
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1771
	[cff] Fix memory leak.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1772
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1773
	* src/cff/cffgload.c (cff_operator_seac): Free charstrings even in
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1774
	case of errors.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1775
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1776
2010-06-27  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1777
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1778
	[cff] Protect against invalid `hintmask' and `cntrmask' operators.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1779
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1780
	* src/cff/cffgload.c (cff_decoder_parse_charstrings)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1781
	<cff_op_hintmask>: Ensure that we don't exceed `limit' while parsing
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1782
	the bit masks of the `hintmask' and `cntrmask' operators.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1783
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1784
2010-06-26  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1785
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1786
	Fix PFR change 2010-06-24.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1787
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1788
	* src/pfr/pfrgload.c (pfr_glyph_load_simple): Really protect against
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1789
	invalid indices.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1790
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1791
2010-06-26  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1792
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1793
	Improve PFR tracing messages.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1794
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1795
	* src/pfr/pfrgload.c (pfr_glyph_load_rec): Emit tracing messages for
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1796
	simple and compound glyph offsets.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1797
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1798
2010-06-26  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1799
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1800
	Fix last PFR change.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1801
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1802
	* src/pfr/pfrobjs.c (pfr_face_init): Fix rejection logic.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1803
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1804
2010-06-26  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1805
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1806
	Fix Savannah bug #30262.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1807
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1808
	* src/sfnt/ttload.c (tt_face_load_maxp): Limit `maxComponentDepth'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1809
	arbitrarily to 100 to avoid stack exhaustion.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1810
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1811
2010-06-26  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1812
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1813
	Add some memory checks (mainly for debugging).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1814
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1815
	* src/base/ftstream.c (FT_Stream_EnterFrame): Exit with error
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1816
	if the frame size is larger than the stream size.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1817
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1818
	* src/base/ftsystem.c (ft_ansi_stream_io): Exit with error if
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1819
	seeking a position larger than the stream size.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1820
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1821
2010-06-25  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1822
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1823
	Fix Savannah bug #30261.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1824
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1825
	* src/pfr/pfrobjs.c (pfr_face_init): Reject fonts which contain
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1826
	neither outline nor bitmap glyphs.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1827
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1828
2010-06-25  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1829
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1830
	Fix Savannah bug #30254.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1831
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1832
	* src/cff/cffload.c (cff_index_get_pointers): Do sanity check for
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1833
	first offset also.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1834
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1835
2010-06-25  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1836
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1837
	Initial fix for Savannah bug #30248 and #30249.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1838
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1839
	* src/base/ftobjs.c (Mac_Read_POST_Resource): Check the error during
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1840
	reading a PFB fragment embedded in LaserWriter PS font for Macintosh.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1841
	Reported by Robert Święcki.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1842
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1843
2010-06-24  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1844
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1845
	Fix Savannah bug #30247.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1846
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1847
	* src/pcf/pcfread.c (pcf_get_metrics): Disallow (invalid) fonts with
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1848
	zero metrics.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1849
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1850
2010-06-24  Graham Asher  <graham.asher@btinternet.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1851
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1852
	* src/smooth/ftgrays.c (gray_render_cubic): Fix algorithm.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1853
	The previous version was too aggressive, as demonstrated in
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1854
	http://lists.gnu.org/archive/html/freetype-devel/2010-06/msg00020.html.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1855
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1856
2010-06-24  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1857
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1858
	*/*: Use module specific error names where appropriate.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1859
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1860
2010-06-24  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1861
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1862
	Fix Savannah bug #30236.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1863
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1864
	* src/sfnt/ttcmap.c (tt_face_build_cmaps): Improve check for pointer
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1865
	to `cmap_table'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1866
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1867
2010-06-24  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1868
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1869
	Fix Savannah bug #30235.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1870
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1871
	* src/pfr/pfrgload.c (pfr_glyph_load_simple): Protect against
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1872
	invalid indices if there aren't any coordinates for indexing.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1873
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1874
2010-06-24  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1875
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1876
	[bdf]: Font properties are optional.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1877
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1878
	* src/bdf/bdflib.c (_bdf_readstream): Use special error code to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1879
	indicate a redo operation.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1880
	(_bdf_parse_start): Handle `CHARS' keyword here too and pass current
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1881
	input line to `_bdf_parse_glyph'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1882
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1883
2010-06-23  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1884
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1885
	Fix Savannah bug #30220.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1886
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1887
	* include/freetype/fterrdef.h
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1888
	(BDF_Err_Missing_Fontboundingbox_Field): New error code.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1889
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1890
	* src/bdf/bdflib.c (_bdf_parse_start): Check for missing
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1891
	`FONTBOUNDINGBOX' field.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1892
	Avoid memory leak if there are multiple `FONT' lines (which is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1893
	invalid but doesn't hurt).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1894
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1895
2010-06-21  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1896
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1897
	Fix Savannah bug #30168.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1898
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1899
	* src/pfr/pfrgload.c (pfr_glyph_load_compound): Limit the number of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1900
	subglyphs to avoid endless recursion.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1901
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1902
2010-06-20  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1903
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1904
	Fix Savannah bug #30145.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1905
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1906
	* src/psaux/psobjs.c (t1_builder_add_contour): Protect against
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1907
	`outline == NULL' which might happen in invalid fonts.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1908
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1909
2010-06-19  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1910
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1911
	Fix Savannah bug #30135.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1912
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1913
	* src/bdf/bdflib.c (_bdf_list_join): Don't modify value in static
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1914
	string `empty'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1915
	(_bdf_parse_glyph): Avoid memory leak in case of error.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1916
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1917
2010-06-15  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1918
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1919
	Fix Savannah bug #30108.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1920
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1921
	* src/autofit/afglobal.c (af_face_globals_compute_script_coverage):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1922
	Properly mask AF_DIGIT bit in comparison.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1923
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1924
2010-06-11  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1925
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1926
	Fix Savannah bug #30106.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1927
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1928
	Point numbers for FreeType's implementation of hinting masks are
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1929
	collected before the final number of points of a glyph has been
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1930
	determined; in particular, the code for handling the `endchar'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1931
	opcode can reduce the number of points.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1932
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1933
	* src/pshinter/pshalgo.c (psh_glyph_find_strong_points): Assure that
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1934
	`end_point' is not larger than `glyph->num_points'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1935
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1936
2010-06-11  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1937
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1938
	[cff]: Improve debugging output.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1939
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1940
	* src/cff/cffgload.c (cff_decoder_parse_charstrings)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1941
	<cff_op_hintmask>: Implement it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1942
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1943
2010-06-10  Graham Asher  <graham.asher@btinternet.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1944
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1945
	ftgrays: Speed up rendering of small cubic splines.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1946
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1947
	* src/smooth/ftgrays.c (gray_render_cubic): Implement new,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1948
	simplified algorithm to find out whether the spline can be replaced
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1949
	with two straight lines.  See this thread for more:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1950
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1951
	  http://lists.gnu.org/archive/html/freetype-devel/2010-06/msg00000.html
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1952
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1953
2010-06-09  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1954
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1955
	Fix Savannah bug #30082.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1956
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1957
	* src/cff/cffgload.c (cff_decoder_parse_charstrings)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1958
	<cff_op_callothersubr>: Protect against stack underflow.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1959
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1960
2010-06-08  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1961
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1962
	Fix Savannah bug #30053.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1963
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1964
	* src/cff/cffparse.c (cff_parse_real): Handle border case where
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1965
	`fraction_length' has value 10.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1966
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1967
2010-06-07  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1968
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1969
	Fix Savannah bug #30052.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1970
	This bug has been introduced with commit 2415cbf3.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1971
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1972
	* src/base/ftobjs.c (FT_Get_First_Char, FT_Get_Next_Char): Protect
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1973
	against endless loop in case of corrupted font header data.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1974
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1975
2010-05-26  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1976
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1977
	Remove unused variable.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1978
	Found by Graham.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1979
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1980
	* src/autofit/afhints.c (af_glyph_hints_reload): Remove unused
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1981
	variable `first' in first block.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1982
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1983
2010-05-22  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1984
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1985
	Fix various memory problems found by linuxtesting.org.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1986
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1987
	* src/base/ftgxval.c (FT_TrueTypeGX_Free, FT_ClassicKern_Free),
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1988
	src/base/ftotval.c (FT_OpenType_Free), src/base/ftpfr.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1989
	(ft_pfr_check): Check `face'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1990
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1991
	* src/base/ftobjs.c (FT_Get_Charmap_Index): Check `charmap' and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1992
	`charmap->face'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1993
	(FT_Render_Glyph): Check `slot->face'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1994
	(FT_Get_SubGlyph_Info): Check `glyph->subglyphs'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1995
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1996
2010-05-22  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1997
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1998
	autofit: Remove dead code.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1999
	Suggested by Graham.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2000
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2001
	* src/autofit/afhints.c (af_glyph_hints_compute_inflections):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2002
	Removed.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2003
	(af_glyph_hints_reload): Remove third argument.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2004
	Update all callers.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2005
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2006
2010-05-21  Bram Tassyns  <bramt@enfocus.be>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2007
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2008
	Fix Savannah bug #27987.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2009
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2010
	* src/cff/cffobjs.c (remove_subset_prefix): New function.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2011
	(cff_face_init): Use it to adjust `cffface->family_name'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2012
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2013
2010-05-20  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2014
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2015
	TrueType: Make FreeType ignore maxSizeOfInstructions in `maxp'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2016
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2017
	Acroread does the same.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2018
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2019
	* src/truetype/ttgload.c (TT_Process_Composite_Glyph): Call
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2020
	`Update_Max' to adjust size of instructions array if necessary and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2021
	add a rough safety check.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2022
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2023
	(load_truetype_glyph): Save `loader->byte_len' before recursive
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2024
	call.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2025
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2026
	* src/truetype/ttinterp.h, src/truetype/ttinterp.c (Update_Max):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2027
	Declare it as FT_LOCAL.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2028
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2029
2010-05-18  Hongbo Ni  <hongbo@njstar.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2030
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2031
	Apply Savannah patch #7196.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2032
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2033
	* src/cff/cffgload.c (cff_slot_load): Prevent crash if CFF subfont
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2034
	index is out of range.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2035
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2036
2010-05-11  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2037
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2038
	* docs/formats.txt: Give pointer to PCF documentation.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2039
	Information provided by Alan Coopersmith
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2040
	<alan.coopersmith@oracle.com>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2041
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2042
2010-05-10  Ken Sharp  <ken.sharp@artifex.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2043
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2044
	Fix Savannah bug #29846.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2045
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2046
	Previously we discovered fonts which used `setcurrentpoint' to set
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2047
	the initial point of a contour to 0,0.  This caused FreeType to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2048
	raise an error, because the `setcurrentpoint' operator is only
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2049
	supposed to be used with the results from an OtherSubr subroutine.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2050
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2051
	This was fixed by simply ignoring the error and carrying on.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2052
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2053
	Now we have found a font which uses setcurrentpoint to actually
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2054
	establish a non-zero point for a contour during the course of a
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2055
	glyph program.  FWIW, these files may be produced by an application
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2056
	called `Intaglio' on the Mac, when converting TrueType fonts to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2057
	Type 1.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2058
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2059
	The fix allows the new invalid behaviour, the old invalid behaviour
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2060
	and real proper usage of the operator to work the same way as Adobe
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2061
	interpreters apparently do.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2062
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2063
	(t1_decoder_parse_charstrings): Make `setcurrentpoint' use the top
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2064
	two elements of the stack to establish unconditionally the current x
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2065
	and y coordinates.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2066
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2067
	Make the `flex' subroutine handling (OtherSubr 0) put the current
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2068
	x,y coordinates onto the stack, instead of two dummy uninitialised
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2069
	values.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2070
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2071
2010-04-14  Ken Sharp  <ken.sharp@artifex.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2072
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2073
	Fix Savannah bug #29444.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2074
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2075
	* src/psaux/psobjs.c (t1_builder_start_point): Accept (invalid)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2076
	`lineto' immediately after `hsbw', in accordance with Acrobat, GS,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2077
	and others.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2078
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2079
2010-04-14  Michał Cichoń  <thedmd@artifexmundi.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2080
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2081
	Fix Savannah bug #27999.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2082
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2083
	* src/cache/ftcmanag.c (FTC_Manager_RemoveFaceID): Only remove
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2084
	selected entry, not all.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2085
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2086
2010-04-06  Jonathan Kew  <jfkthame@gmail.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2087
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2088
	Add overflow check to `fvar' table.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2089
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2090
	* src/truetype/ttgxvar.c (TT_Get_MM_Var): Check axis and instance
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2091
	count.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2092
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2093
2010-04-05  Ken Sharp  <ken.sharp@artifex.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2094
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2095
	Fix Savannah bug #29335.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2096
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2097
	* src/raster/ftraster.c (Line_Up): Use slow multiplication to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2098
	prevent overflow.  This shouldn't have any serious impact on speed,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2099
	however.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2100
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2101
2010-04-05  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2102
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2103
	Add new function `FT_Library_SetLcdFilterWeights'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2104
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2105
	This is based on code written by Lifter
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2106
	<http://unixforum.org/index.php?showuser=11691>.  It fixes
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2107
	FreeDesktop bug #27386.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2108
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2109
	* src/base/ftlcdfil.c (FT_Library_SetLcdFilterWeights): New
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2110
	function.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2111
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2112
	* include/freetype/ftlcdfil.h: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2113
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2114
	* docs/CHANGES: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2115
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2116
2010-04-01  John Tytgat  <John.Tytgat@esko.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2117
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2118
	Fix Savannah bug #29404.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2119
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2120
	* src/truetype/ttgload.c: Revert change 2752bd1a (check on bit 1
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2121
	of `head' table of TrueType fonts).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2122
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2123
2010-03-14  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2124
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2125
	Fix `multi build' for Tytgat's CFF driver improvement.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2126
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2127
	* src/base/cffload.h (cff_index_get_name): Added.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2128
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2129
2010-03-12  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2130
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2131
	Remove duplicated inclusion of `FT_OUTLINE_H' in ftobjs.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2132
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2133
	* src/base/ftobjs.c: Remove 2nd inclusion of `FT_OUTLINE_H'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2134
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2135
2010-03-11  Chris Liddell  <chris.liddell@artifex.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2136
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2137
	Fix Savannah bug #27442.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2138
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2139
	* src/raster/ftraster.c (ft_black_reset): Fix `buffer_size'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2140
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2141
2010-03-09  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2142
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2143
	Remove unused variable.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2144
	Reported by Graham.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2145
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2146
	* src/cff/cffparse.c (cff_parse_real): Remove `rest'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2147
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2148
2010-03-02  John Tytgat  <John.Tytgat@esko.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2149
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2150
	Improve CFF string (especially glyphname) lookup performance.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2151
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2152
	We do this by avoiding memory allocation and file I/O.  This is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2153
	Savannah patch #7104.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2154
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2155
	* src/cff/cfftypes.h: Include PS cmaps service and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2156
	FT_INTERNAL_POSTSCRIPT_HINTS_H.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2157
	(CFF_SubFontRec): Remove `num_local_subrs'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2158
	(CFF_FontRec): Add `num_strings', `strings', and `string_pool'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2159
	fields.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2160
	Remove `string_index' and `num_global_subrs' fields.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2161
	Use real types instead of `void' for `pshinter' and `psnames' fields.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2162
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2163
	* src/cff/cffload.c: Don't include PS cmaps service.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2164
	(cff_index_get_pointers): Add `pool' parameter which allows to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2165
	insert an extra NUL character for each String INDEX entry.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2166
	(cff_index_get_name): Make it a local function.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2167
	(cff_index_get_string): New function.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2168
	(cff_subfont_load): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2169
	(cff_font_load): Initialize `num_strings', `strings', and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2170
	`string_pool' fields in the `CFF_FontRec' structure.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2171
	(cff_index_get_sid_string): Use `cff_index_get_string' instead of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2172
	`cff_index_get_name'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2173
	(cff_font_done): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2174
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2175
	* src/cff/cffload.h: Don't include PS cmaps service.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2176
	(cff_index_get_string): Added.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2177
	(cff_index_get_sid_string): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2178
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2179
	* src/cff/cffobjs.c: Don't include PS cmaps service and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2180
	FT_INTERNAL_POSTSCRIPT_HINTS_H.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2181
	(cff_size_get_globals_funcs, cff_slot_init): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2182
	(cff_face_init): Follow `cff_index_get_name',
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2183
	`cff_index_get_string', and `cff_index_get_sid_string' changes.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2184
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2185
	* src/cff/cffcmap.c (cff_sid_free_glyph_name): Removed.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2186
	(cff_sid_to_glyph_name): Use `cff_index_get_cid_string'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2187
	(cff_cmap_unicode_init): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2188
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2189
	* src/cff/cffdrivr.c: Don't include PS cmap service.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2190
	(cff_get_glyph_name): Avoid unnecessary lookup for POSTSCRIPT_CMAPS
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2191
	service.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2192
	(cff_get_glyph_name, cff_ps_get_font_info, cff_get_ros): Follow API
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2193
	`cff_index_get_sid_string' change.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2194
	(cff_get_name_index): Use `cff_index_get_string' instead of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2195
	`cff_index_get_name'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2196
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2197
	* src/cff/cffgload.c: Don't include FT_INTERNAL_POSTSCRIPT_HINTS_H.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2198
	(cff_decoder_init, cff_decoder_prepare): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2199
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2200
2010-02-27  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2201
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2202
	Simplify code.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2203
	Suggested by Behdad.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2204
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2205
	* src/base/ftobjs.c (FT_Get_First_Char): Don't use a loop since we
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2206
	call FT_Get_Next_Char anyway if necessary.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2207
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2208
2010-02-26  Behdad Esfahbod  <behdad@behdad.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2209
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2210
	Improve handling of invalid glyph indices in char->index functions.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2211
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2212
	* src/base/ftobjs.c (FT_Get_First_Char, FT_Get_Next_Char): Use a
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2213
	loop.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2214
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2215
2010-02-18  Chris Liddell  <chris.liddell@artifex.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2216
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2217
	Fix Savannah bug #28905.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2218
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2219
	Initialize phantom points before calling the incremental interface
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2220
	to update glyph metrics.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2221
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2222
	* src/truetype/ttgload.c (tt_get_metrics_incr_overrides)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2223
	[FT_CONFIG_OPTION_INCREMENTAL]: New function, split off from...
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2224
	(tt_get_metrics): This.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2225
	Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2226
	(load_truetype_glyph): Use tt_get_metrics_incr_overrides.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2227
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2228
----------------------------------------------------------------------------
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2229
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2230
Copyright 2010-2011 by
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2231
David Turner, Robert Wilhelm, and Werner Lemberg.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2232
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2233
This file is part of the FreeType project, and may only be used, modified,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2234
and distributed under the terms of the FreeType project license,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2235
LICENSE.TXT.  By continuing to use, modify, or distribute this file you
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2236
indicate that you have read the license and understand and accept it
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2237
fully.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2238
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2239
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2240
Local Variables:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2241
version-control: never
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2242
coding: utf-8
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2243
End: