misc/libfreetype/ChangeLog.23
author Xeli
Wed, 22 Jun 2011 23:55:32 +0200
branchhedgeroid
changeset 5299 ab899b056f77
parent 5172 88f2e05288ba
permissions -rw-r--r--
Removed the extra WriteToConsole()
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
2010-02-13  Werner Lemberg  <wl@gnu.org>
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
	* Version 2.3.12 released.
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
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     6
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     7
	Tag sources with `VER-2-3-12'.
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
	* docs/CHANGES: Updated.
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
	* 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
    12
	2.3.12.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    13
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    14
	* README, Jamfile (RefDoc),
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    15
	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
    16
	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
    17
	builds/win32/visualc/freetype.dsp,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    18
	builds/win32/visualc/freetype.vcproj,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    19
	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
    20
	builds/win32/visualce/freetype.vcproj,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    21
	builds/win32/visualce/index.html,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    22
	builds/wince/vc2005-ce/freetype.vcproj,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    23
	builds/wince/vc2005-ce/index.html,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    24
	builds/wince/vc2008-ce/freetype.vcproj,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    25
	builds/wince/vc2008-ce/index.html: s/2.3.11/2.3.12/, s/2311/2312/.
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
	* include/freetype/freetype.h (FREETYPE_PATCH): Set to 12.
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
	* builds/unix/configure.raw (version_info): Set to 10:0:4.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    30
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    31
2010-02-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
    32
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    33
	Improve autotool version checking to work with beta releases.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    34
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    35
	* autogen.sh (check_tool_version): Improve the extraction of version
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    36
	number from "tool --version" output.  Some beta releases of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    37
	autotools have extra strings before version number.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    38
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    39
2010-02-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
    40
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    41
	Fix overallocating bug in FT_Outline_New_Internal().
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
	* src/base/ftoutln.c (FT_Outline_New_Internal): The length of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    44
	FT_Outline->points[] should be numPoints, not 2 * numPoints.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    45
	Found by Paul Messmer, see
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    46
	http://lists.gnu.org/archive/html/freetype-devel/2010-02/msg00003.html
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
2010-02-10  Ken Sharp  <ken.sharp@artifex.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    49
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    50
	Really fix Savannah bug #28678 (part 2).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    51
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    52
	Since we consider `sbw' for the horizontal direction only, we still have
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    53
	to synthesize vertical metrics if the user wants to use the vertical
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    54
	writing direction.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    55
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    56
	* src/cff/cffgload.c (cff_slot_load), src/cid/cidgload.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    57
	(cid_slot_load_glyph), src/type1/t1gload.c (T1_Load_Glyph):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    58
	Synthesize vertical metrics (only) if FT_LOAD_VERTICAL_LAYOUT is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    59
	set.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    60
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    61
2010-02-10  Ken Sharp  <ken.sharp@artifex.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    62
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    63
	Really fix Savannah bug #28678 (part 1).
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
	After long discussion, we now consider the character width vector
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    66
	(wx,wy) returned by the `sbw' Type 1 operator as being part of *one*
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    67
	direction only.  For example, if you are using the horizontal
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    68
	writing direction, you get the horizontal and vertical components of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    69
	the advance width for this direction.  Note that OpenType and CFF fonts
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    70
	don't have such a vertical component; instead, the GPOS table can be
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    71
	used to generate two-dimensional advance widths (but this isn't
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    72
	handled by FreeType).
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
	* include/freetype/ftincrem.h (FT_Incremental_MetricsRec): Add
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    75
	`advance_v' field to hold the vertical component of the advance
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    76
	value.
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
	* src/truetype/ttgload.c (tt_get_metrics), src/cff/cffgload.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    79
	(cff_slot_load), src/type1/t1gload.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    80
	(T1_Parse_Glyph_And_Get_Char_String), src/cid/cidgload.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    81
	(cid_load_glyph): Use it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    82
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    83
2010-02-08  Werner Lemberg  <wl@gnu.org>
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
	* devel/ftoption.h [FT_CONFIG_OPTION_PIC]: Define.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    86
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    87
2010-02-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
    88
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    89
	Prevent NULL pointer dereference passed to FT_Module_Requester.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    90
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    91
	* src/sfnt/sfdriver.c (sfnt_get_interface): Don't use `module'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    92
	* src/psnames/psmodule.c (psnames_get_interface): Ditto.
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
	* src/cff/cffdrivr.c (cff_get_interface): Check NULL `driver'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    95
	* src/truetype/ttdriver.c (tt_get_interface): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    96
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    97
2010-01-29  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    98
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    99
	Fix memory leaks in previous patch.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   100
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   101
	* src/sfnt/sfobjs.c (sfnt_load_face): Don't overwrite the strings
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   102
	allocated for face->root.family_name and style_name.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   103
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   104
2010-01-29  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
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
	New parameters for FT_Open_Face() to ignore preferred family names.
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
	Preferred family names should be used for legacy systems that
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   109
	can hold only a few faces (<= 4) for a family name. Suggested by
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   110
	Andreas Heinrich.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   111
	http://lists.gnu.org/archive/html/freetype/2010-01/msg00001.html
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   112
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   113
	* include/freetype/ftsnames.h (FT_PARAM_TAG_IGNORE_PREFERRED_FAMILY,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   114
	FT_PARAM_TAG_IGNORE_PREFERRED_SUBFAMILY): Define.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   115
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   116
	* src/sfnt/sfobjs.c (sfnt_load_face): Check the arguments and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   117
	ignore preferred family and subfamily names if requested.
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
2010-01-27  Ken Sharp  <ken.sharp@artifex.com>
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
	Fix Savannah bug #28678.
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
	* src/cff/cffgload.c (cff_slot_load), src/cid/cidgload.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   124
	(cid_load_glyph): Handle vertical metrics correctly.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   125
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   126
	* src/type1/t1gload.c (T1_Parse_Glyph_And_Get_Char_String): Handle
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   127
	vertical metrics correctly.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   128
	(T1_Load_Glyph): Don't synthesize vertical metrics.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   129
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   130
2010-01-14  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   131
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   132
	Make FT_Set_Transform work if no renderer is available.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   133
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   134
	* src/base/ftobjs.c (FT_Load_Glyph): Apply `standard' transformation
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   135
	if no renderer is compiled into the library.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   136
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   137
2010-01-14  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   138
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   139
	Fix compilation warning.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   140
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   141
	* src/base/ftbase.h: s/LOCAL_DEF/LOCAL/.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   142
	* src/base/ftobjc.s: Include ftbase.h conditionally.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   143
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   144
2010-01-11  Kwang Yul Seo  <skyul@company100.net>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   145
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   146
	Provide inline assembly code for RVCT compiler.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   147
	This is Savannah patch #7059.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   148
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   149
	* include/freetype/config/ftconfig.h (FT_MULFIX_ASSEMBLER,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   150
	FT_MulFix_arm) [__CC_ARM || __ARM_CC]: Define.
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
2010-01-08  Ken Sharp  <ken.sharp@artifex.com>
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
	Fix Savannah bug #28521.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   155
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   156
	Issue #28226 involved a work-around for a font which used the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   157
	`setcurrentpoint' operator in an invalid way; this operator is only
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   158
	supposed to be used with the result of OtherSubrs, and the font used
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   159
	it directly.  The supplied patch removed the block of code which
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   160
	checked this usage entirely.
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
	This turns out to be a Bad Thing.  If `setcurrentpoint' is being
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   163
	used correctly it should reset the flex flag in the decoder.  If we
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   164
	don't do this then the flag never gets reset and we omit any further
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   165
	contours from the glyph (at least until we close the path or
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   166
	similar).
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
	* src/psaux/t1decode.c (t1_decoder_parse_charstrings)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   169
	<op_setcurrentpoint>: Handle `flex_state' correctly.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   170
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   171
2010-01-05  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   172
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   173
	Apply reports from clang static analyzer.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   174
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   175
	* src/lzw/ftlzw.c (ft_lzw_file_init), src/base/ftstroke.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   176
	(FT_Stroker_ParseOutline), src/base/ftsynth.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   177
	(FT_GlyphSlot_Embolden): Remove dead code.
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
	* src/base/ftpatent.c (_tt_check_patents_in_table): Initialize
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   180
	`offset_i' and `length_i'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   181
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   182
2010-01-05  Ralph Giles  <giles@ghostscript.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   183
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   184
	Enable the incremental font interface by default.
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
	Ghostscript requires the incremental font interface for handling
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   187
	some Postscript documents.  It is moving to using FreeType as its
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   188
	primary renderer; supporting this in the default build makes it
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   189
	Ghostscript to be linked against the system FreeType when one is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   190
	available.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   191
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   192
	* include/freetype/config/ftoption.h (FT_CONFIG_OPTION_INCREMENTAL):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   193
	Uncomment.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   194
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   195
2010-01-05  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   196
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   197
	Fix Savannah bug #28395.
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
	* src/truetype/ttdriver.c (Load_Glyph), src/type1/t1gload.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   200
	(T1_Loada_Glyph): Don't check `num_glyphs' if incremental interface
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   201
	is used.
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
2010-01-05  Ken Sharp  <ken.sharp@artifex.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   204
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   205
	Make Type 1 `seac' operator work with incremental interface.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   206
	This fixes Savannah bug #28480.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   207
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   208
	* src/psaux/t1decode.c (t1operator_seac): Don't check `glyph_names'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   209
	if incremental interface is used.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   210
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   211
2010-01-04  Ken Sharp  <ken.sharp@artifex.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
	Make incremental interface work with TrueType fonts.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   214
	This fixes Savannah bug #28478.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   215
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   216
	* src/truetype/ttgload.c (load_truetype_glyph): Don't check
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   217
	`glyf_offset' if incremental interface is used.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   218
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   219
2009-12-31  Lars Abrahamsson  <wonko@opera.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   220
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   221
	Make compilation with FT_CONFIG_OPTION_PIC work again.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   222
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   223
	* src/base/ftglyph.c (FT_Glyph_To_Bitmap) [FT_CONFIG_OPTION_PIC]:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   224
	Declare `library' for FT_BITMAP_GLYPH_CLASS_GET.
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
	* src/base/ftinit.c (ft_destroy_default_module_classes,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   227
	ft_create_default_module_classes): Use proper casts (needed for C++
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   228
	compilation).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   229
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   230
	* src/sfnt/ttcmap.c (tt_cmap13_class_rec): Use FT_DEFINE_TT_CMAP.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   231
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   232
2009-12-22  Marc Kleine-Budde  <mkl@pengutronix.de>
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
	Make freetype-config aware of $SYSROOT.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   235
	This is Savannah patch #7040.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   236
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   237
	* builds/unix/freetype-config.in: Decorate with ${SYSROOT} where
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   238
	appropriate.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   239
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   240
2009-12-20  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   241
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   242
	Fix compiler warning.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   243
	Reported by Sean.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   244
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   245
	* src/base/ftdbgmem.c [!FT_DEBUG_MEMORY]: ANSI C doesn't like empty
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   246
	source files; however, some compilers warn about an unused variable
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   247
	declaration.  This is now replaced with a typedef.
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
2009-12-18  Werner Lemberg  <wl@gnu.org>
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
	Fix Savannah bug #28320.
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
	There exist corrupt, subsetted fonts (embedded in PDF files) which
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   254
	contain a private dict that ends with an unterminated floating point
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   255
	number (no operator following).  We now ignore this error (as
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   256
	acrobat does).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   257
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   258
	* src/cff/cffparse.c (cff_parser_run): Don't emit a syntax error for
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   259
	unterminated floating point numbers.
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
2009-12-16  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   262
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   263
	Really fix compiler warnings.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   264
	Reported by Sean.
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
	* src/truetype/ttgxvar.c (GX_PT_POINTS_ARE_WORDS,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   267
	GX_PT_POINT_RUN_COUNT_MASK): Convert enum values to macros.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   268
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   269
2009-12-16  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
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
	Improve configure.raw to copy some options from CFLAGS to LDFLAGS.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   272
	The linker of Mac OS X 10.6 is sensitive to the architecture.  If
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   273
	the architectures are specified explicitly for the C compiler, the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   274
	linker requires the architecture specifications too.
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
	* builds/unix/configure.raw: Replace `-isysroot' option parser by
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   277
	more generic argument parser.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   278
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   279
2009-12-15  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   280
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   281
	Fix compiler warnings.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   282
	Reported by Sean.
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/ttgxvar.c (ft_var_readpackeddeltas): Fix counter data
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   285
	type.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   286
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   287
2009-12-14  Ken Sharp  <ken.sharp@artifex.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   288
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   289
	Ignore invalid `setcurrentpoint' operations in Type 1 fonts.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   290
	This fixes Savannah bug #28226.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   291
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   292
	At least two wild PostScript files of unknown provenance contain
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   293
	Type 1 fonts, apparently converted from TrueType fonts in earlier
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   294
	PDF versions of the files, which use the `setcurrentpoint' operator
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   295
	inappropriately.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   296
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   297
	FreeType currently throws an error in this case, but Ghostscript and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   298
	Adobe Distiller both accept the fonts and ignore the problem.  This
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   299
	commit #ifdefs out the check so PostScript interpreters using
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   300
	FreeType can render these files.
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
	The specification says `setcurrentpoint' should only be used to set
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   303
	the point after a `Subr' call, but these fonts use it to set the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   304
	initial point to (0,0).  Unnecessarily so, as they correctly use an
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   305
	`hsbw' operation which implicitly sets the initial point.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   306
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   307
	* src/psaux/t1decode.c (t1_decoder_parse_charstrings)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   308
	<op_setcurrentpoint>: Comment out code.
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
2009-12-14  Bram Tassyns  <bramt@enfocus.be>
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
	Fix parsing of /CIDFontVersion.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   313
	This fixes Savannah bug #28287.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   314
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   315
	* src/cid/cidtoken.h: `cid_version' in CID_FaceInfoRec (in
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   316
	t1tables.h) is of type FT_Fixed.
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
2009-12-14  Werner Lemberg  <wl@gnu.org>
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
	Trace glyph index in CID module.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   321
	Suggested in Savannah patch #7023.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   322
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   323
	* src/cid/cidgload.c (cid_load_glyph): Add tracing message.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   324
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   325
2009-12-03  Werner Lemberg  <wl@gnu.org>
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
	Fix compiler warnings.
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
	* src/truetype/ttgload.c (tt_get_metrics): Put `Exit' label into the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   330
	proper preprocessor conditional.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   331
	* src/pfr/pfrobjs.c (pfr_slot_load): Pacify gcc.
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
2009-11-25  John Tytgat  <John.Tytgat@esko.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   334
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   335
	Better handling of start of `eexec' section.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   336
	This fixes Savannah bug #28090.
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
	* src/type1/t1parse.c (T1_Get_Private_Dict): Skip all whitespace
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   339
	characters before start of `eexec' section.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   340
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   341
2009-11-20  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   342
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   343
	Fix Savannah bug #27742.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   344
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   345
	* src/base/ftstroke.c (ft_stroker_outside): Avoid silent division by
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   346
	zero, using a threshold for `theta'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   347
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   348
2009-11-20  Werner Lemberg  <wl@gnu.org>
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
	Fix Savannah bug #28036.
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
	* src/type1/t1afm.c (t1_get_index): Fix comparison.
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
2009-11-16  Werner Lemberg  <wl@gnu.org>
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
	Fix compiler warnings.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   357
	Reported by Kevin Blenkinsopp <arqon@promode.org>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   358
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   359
	* src/sfnt/ttload.c (check_table_dir): Use proper data type.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   360
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   361
2009-11-15  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   362
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   363
	Really fix FreeDesktop bug #21197.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   364
	This also fixes Savannah bug #28021.
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
	* src/autofit/aflatin.c (af_latin_metrics_check_digits),
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   367
	src/autofit/aflatin2.c (af_latin2_metrics_check_digits): Fix loop.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   368
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   369
2009-11-15  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   370
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   371
	Add tracing messages for advance values.
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
	* src/base/ftobjs.c (FT_Load_Glyph), src/truetype/ttgload.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   374
	(TT_Get_HMetrics, TT_Get_VMetrics): Do it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   375
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   376
2009-11-08  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   377
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   378
	Fix compiler warning.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   379
	Reported by Jeremy Manson <jeremy.manson@gmail.com>.
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
	* src/truetype/ttgload.c (load_truetype_glyph): Initialize `error'.
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
2009-11-04  Werner Lemberg  <wl@gnu.org>
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
	Remove compiler warning.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   386
	Reported by Sean McBride <sean@rogue-research.com>.
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
	* src/tools/apinames.c (read_header_file)<STATE_TYPE>: Use a cast to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   389
	`int', as specified in the printf(3) man page.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   390
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   391
2009-11-04  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   392
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   393
	Fix Savannah bug #27921.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   394
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   395
	* src/cff/cffobjs.c (cff_face_init), src/cid/cidobjs.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   396
	(cid_face_init), src/type1/t1afm.c (T1_Read_Metrics),
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   397
	src/type1/t1objs.c (T1_Face_Init): Don't use unsigned constant
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   398
	values for rounding if the argument can be negative.
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
2009-11-03  Bram Tassyns  <bramt@enfocus.be>
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
	Add basic support for Type1 charstrings in CFF.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   403
	This fixes Savannah bug #27922.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   404
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   405
	* src/cff/cffgload.c (CFF_Operator, cff_argument_counts): Handle
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   406
	`seac', `sbw', and `setcurrentpoint' opcodes.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   407
	(cff_compute_bias): Add parameter to indicate the charstring type.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   408
	Update all callers.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   409
	(cff_operator_seac): Add parameter for side bearing.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   410
	(cff_decoder_parse_charstrings): Updated for more Type1 support.
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
2009-11-03  Werner Lemberg  <wl@gnu.org>
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
	Return correct `linearHoriAdvance' value for embedded TT bitmaps too.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   415
	Reported by Jeremy Manson <jeremy.manson@gmail.com>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   416
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   417
	src/truetype/ttgload.c (load_truetype_glyph): Add parameter to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   418
	quickly load the glyph header only.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   419
	Update all callers.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   420
	(tt_loader_init): Add parameter to quickly load the `glyf' table
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   421
	only.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   422
	Update all callers.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   423
	(TT_Load_Glyph): Compute linear advance values for embedded bitmap
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   424
	glyphs too.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   425
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   426
2009-11-03  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   427
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   428
	Improve code readability.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   429
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   430
	* src/ttgload.c (load_truetype_glyph): Move metrics calculation
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   431
	to...
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   432
	(tt_get_metrics): This new function.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   433
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   434
2009-10-26  Bram Tassyns  <bramt@enfocus.be>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   435
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   436
	Fix Savannah bug #27811.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   437
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   438
	* src/truetype/ttxgvar.c (ft_var_readpackeddeltas): Fix
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   439
	signed/unsigned mismatch.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   440
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   441
2009-10-19  Ning Dong  <flintning@163.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   442
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   443
	Fix handling of `get' and `put' CFF instructions.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   444
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   445
	* src/cff/cffgload.c (cff_decoder_parse_charstrings) <cff_op_get,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   446
	cff_op_put>: Appendix B of Adobe Technote #5177 limits the number of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   447
	elements for the `get' and `put' operators to 32.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   448
	* src/cff/cffgload.h (CFF_MAX_TRANS_ELEMENTS): Define.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   449
	(CFF_Decoder): Use it for `buildchar' and remove `len_buildchar'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   450
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   451
2009-10-18  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   452
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   453
	Fix handling of `dup' CFF instruction.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   454
	Problem and solution reported by Ning Dong <flintning@163.com>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   455
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   456
	* src/cff/cffgload.c (cff_decoder_parse_charstrings) <cff_op_dup>:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   457
	Increase `args' by 2, not 1.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   458
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   459
2009-10-10  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   460
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   461
	* Version 2.3.11 released.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   462
	==========================
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
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   465
	Tag sources with `VER-2-3-11'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   466
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   467
	* 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
   468
	2.3.11.
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
	* README, Jamfile (RefDoc), builds/win32/visualc/index.html,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   471
	builds/win32/visualc/freetype.dsp,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   472
	builds/win32/visualc/freetype.vcproj,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   473
	builds/win32/visualce/index.html,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   474
	builds/win32/visualce/freetype.dsp,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   475
	builds/win32/visualce/freetype.vcproj: s/2.3.10/2.3.11/, s/2310/2311/.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   476
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   477
	* include/freetype/freetype.h (FREETYPE_PATCH): Set to 11.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   478
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   479
	* builds/unix/configure.raw (version_info): Set to 9:22:3.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   480
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   481
2009-10-10  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   482
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   483
	* docs/CHANGES, docs/release: Updated.
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
2009-10-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
   486
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   487
	* src/pcf/pcfread.c (pcf_get_properties): Fix a bug in the nprops
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   488
	truncation.  Reported by Martin von Gagern and Peter Volkov.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   489
	https://bugs.gentoo.org/288357 and https://bugs.gentoo.org/288256
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   490
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   491
2009-10-06  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   492
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   493
	* Version 2.3.10 released.
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
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
	Tag sources with `VER-2-3-10'.
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
	* builds/toplevel.mk (major, minor, patch): Fix regexp to allow more
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   500
	than a single digit.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   501
	(dist): We now use git.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   502
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   503
	* 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
   504
	2.3.10.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   505
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   506
	* README, Jamfile (RefDoc), builds/win32/visualc/index.html,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   507
	builds/win32/visualc/freetype.dsp,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   508
	builds/win32/visualc/freetype.vcproj,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   509
	builds/win32/visualce/index.html,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   510
	builds/win32/visualce/freetype.dsp,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   511
	builds/win32/visualce/freetype.vcproj: s/2.3.9/2.3.10/, s/239/2310/.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   512
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   513
	* include/freetype/freetype.h (FREETYPE_PATCH): Set to 10.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   514
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   515
	* builds/unix/configure.raw (version_info): Set to 9:21:3.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   516
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   517
2009-10-06  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   518
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   519
	Fix `make multi'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   520
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   521
	* src/cache/ftccache.c, src/cache/ftcsbits.c (FT_COMPONENT): Define.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   522
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   523
	* src/sfnt/sfdriver.c: Include FT_INTERNAL_DEBUG_H.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   524
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   525
2009-09-27  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   526
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   527
	[cache] Fix Savannah bug #27441, clean up Redhat bugzilla #513582.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   528
	Tricky casts in FTC_{CACHE,GCACHE,MRULIST}_LOOKUP_CMP() are removed.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   529
	Now these functions should be called with FTC_Node or FTC_MruNode
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   530
	variable, and the caller should cast them to appropriate pointers to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   531
	concrete data.  These tricky casts can GCC-4.4 optimizer (-O2)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   532
	confused and the crashing binaries are generated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   533
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   534
	* src/cache/ftcmru.h (FTC_MRULIST_LOOKUP_CMP): Drop tricky cast.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   535
	Now the 4th argument `node' of this function should be typed as
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   536
	FTC_MruNode.
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
	* src/cache/ftcglyph.h (FTC_GCACHE_LOOKUP_CMP): For inline
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   539
	implementation, new temporal variable FTC_MruNode `_mrunode' to take
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   540
	the pointer from FTC_MRULIST_LOOKUP_CMP().  For non-inline
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   541
	implementation, tricky cast is dropped.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   542
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   543
	* src/cache/ftcmanag.c (FTC_SIZE_NODE): New macro casting
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   544
	to FTC_SizeNode.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   545
	(FTC_Manager_LookupSize): Replace FTC_SizeNode `node' by FTC_MruNode
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   546
	`mrunode', and FTC_SIZE_NODE() is inserted.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   547
	(FTC_FACE_NODE): New macro casting to FTC_FaceNode.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   548
	(FTC_Manager_LookupFace) Replace FTC_FaceNode `node' by FTC_MruNode
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   549
	`mrunode', and FTC_FACE_NODE() is inserted.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   550
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   551
	* src/cache/ftcbasic.c (FTC_ImageCache_Lookup): Change the type of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   552
	`node' from FTC_INode to FTC_Node.  Extra casting macro FTC_NODE()
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   553
	is dropped.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   554
	(FTC_ImageCache_LookupScaler): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   555
	(FTC_SBitCache_Lookup): Change the type of `node' from FTC_SNode to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   556
	FTC_Node.  Extra casting macro FTC_NODE() is dropped.  FTC_SNODE()
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   557
	is inserted.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   558
	(FTC_SBitCache_LookupScaler): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   559
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   560
	* src/cache/ftccmap.c (FTC_CMapCache_Lookup): Change the type of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   561
	`node' from FTC_CMapNode to FTC_Node.  Extra casting macro
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   562
	FTC_NODE() is dropped, FTC_CMAP_NODE() is inserted.
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
2009-09-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
   565
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   566
	[cache, psaux, type1] Fix for multi build.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   567
	In multi build, some cpp functions are left as unresolved symbols.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   568
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   569
	* src/cache/ftcbasic.c: Include FT_INTERNAL_DEBUG_H for FT_TRACE1().
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   570
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   571
	* src/psaux/t1decode.c: Include FT_INTERNAL_CALC_H for
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   572
	FIXED_TO_INT().
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   573
	* src/type1/t1gload.c: Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   574
	* src/type1/t1objs.c: Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   575
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   576
2009-09-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
   577
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   578
	[autofit] Fix for multi build.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   579
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   580
	* src/autofit/afmodule.h: Include FT_INTERNAL_OBJECTS_H to use
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   581
	FT_DECLARE_MODULE() macro in multi build.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   582
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   583
	* src/autofit/aflatin.c: Include <ft2build.h> to handle
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   584
	FT_ADVANCES_H correctly in multi build.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   585
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   586
2009-09-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
   587
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   588
	[cache] Check the face filled by FTC_Manager_LookupFace().
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   589
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   590
	* src/cache/ftcbasic.c (ftc_basic_family_get_count): Return
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   591
	immediately if FTC_Manager_LookupFace() fills face by NULL.  Such
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   592
	case can occur when the code is optimized by GCC-4.2.x.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   593
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   594
2009-09-23  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   595
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   596
	* docs/CHANGES: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   597
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   598
2009-09-12  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   599
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   600
	[raster] Fix 5-levels grayscale output.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   601
	This was broken since version 2.3.0.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   602
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   603
	* src/raster/ftraster.c (count_table): Use pre-2.3.0 values (which
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   604
	were then computed dynamically).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   605
	(Vertical_Gray_Sweep_Step): Updated.
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
	(ft_black_render): Initialize `worker->gray_lines' (problem found by
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   608
	valgrind).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   609
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   610
	(FT_RASTER_OPTION_ANTI_ALIASING, DEBUG_RASTER): Dont' #undef, just
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   611
	comment out.
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
2009-09-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
   614
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   615
	Improve configure.raw for cross build.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   616
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   617
	* builds/unix/configure.raw: Remove temporal files created by the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   618
	suffix checking for CC_BUILD.  Set XX_ANSIFLAGS and XX_CFLAGS when
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   619
	cross compiler is GCC.  AC_PROG_CC checks whether the cross compiler
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   620
	is GCC, its result is stored in GCC.
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
2009-09-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
   623
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   624
	[BDF] Modify hash API to take size_t value instead of void *.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   625
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   626
	The hash API in BDF driver is designed to be generic, it takes
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   627
	void * typed data.  But BDF driver always gives an unsigned long
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   628
	integer (the index to a property).  To reduce non-essential
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   629
	casts from unsigned long to void* and from void* to unsigned
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   630
	long, the hash API is changed to take size_t integer.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   631
	The issue of incompatible cast between unsigned long and void*
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   632
	on LLP64 platform is reported by NightStrike from MinGW-Win64
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   633
	project.  See
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   634
	http://lists.gnu.org/archive/html/freetype/2009-09/msg00000.html
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   635
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   636
	* src/bdf/bdf.h: The type of hashnode->data is changed from
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   637
	void* to size_t.
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/bdf/bdflib.c (hash_insert): Get size_t data, instead of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   640
	void* data.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   641
	(bdf_create_property): Get the name length of new property by
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   642
	size_t variable, with a cut-off at FT_ULONG_MAX.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   643
	(_bdf_set_default_spacing): Get the name length of the face by
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   644
	size_t variable, with a cut-off at 256.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   645
	(bdf_get_property): Get the property id by size_t variable to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   646
	reduce the casts between 32-bit prop ID & hashnode->data during
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   647
	simple copying.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   648
	(_bdf_add_property): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   649
	(_bdf_parse_start): Calculate the index to the property array
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   650
	by size_t variable.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   651
	(bdf_get_font_property): Drop a cast to unsigned long.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   652
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   653
2009-09-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
   654
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   655
	[Win64] Improve the computation of random seed from stack address.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   656
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   657
	On LLP64 platform, the conversion from pointer to FT_Fixed need
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   658
	to drop higher 32-bit.  Explict casts are required. Reported by
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   659
	NightStrike from MinGW-w64 project.  See
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   660
	http://lists.gnu.org/archive/html/freetype/2009-09/msg00000.html
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   661
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   662
	* src/cff/cffgload.c: Convert the pointers to FT_Fixed explicitly.
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
	* src/psaux/t1decode.c: Ditto.
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
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   667
2009-09-03  Werner Lemberg  <wl@gnu.org>
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
	[raster] Improvements for stand-alone mode.
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
	* src/raster/rules.mk: Don't handle ftmisc.h.  It is needed for
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   672
	stand-alone mode only.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   673
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   674
	* src/raster/ftmisc.h (FT_MemoryRec , FT_Alloc_Func, FT_Free_Func,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   675
	FT_Realloc_Func): Copy declarations from ftsystem.h.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   676
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   677
2009-09-02  Bram Tassyns  <bramt@enfocus.be>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   678
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   679
	Improve vertical metrics calculation (Savannah bug #27364).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   680
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   681
	The calculation of `vertBearingX' is not defined in the OTF font
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   682
	spec so FreeType does a `best effort' attempt.  However, this value
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   683
	is defined in the PDF and PostScript specs, and that algorithm is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   684
	better than the one FreeType currently uses:
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
	  FreeType: Use the middle of the bounding box as the X coordinate
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   687
	            of the vertical origin.
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
	  Adobe PDF spec: Use the middle of the horizontal advance vector as
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   690
	                  the X coordinate of the vertical origin.
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
	FreeType's algorithm goes wrong if you have a really small glyph
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   693
	(like the full-width, circle-like dot at the end of the sentence, as
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   694
	used in CJK scripts) with large bearings.  With the FreeType
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   695
	algorithm this dot gets centered on the baseline; with the PDF
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   696
	algorithm it gets the correct location (in the top right).  Note
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   697
	that this is a serious issue, it's like printing the dot at the end
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   698
	of a Roman sentence at the center of the textline instead of on the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   699
	baseline like it should. So i believe the PDF spec's algorithm
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   700
	should be used in FreeType as well.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   701
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   702
	The `vertBearingY' value for such small glyphs is also very strange
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   703
	if no `vmtx' information is present, since the height of the bbox is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   704
	not representable for the height of the glyph visually (the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   705
	whitespace up to the baseline is part of the glyph).  The fix also
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   706
	includes some code for a better estimate of `vertBearingY'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   707
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   708
	* src/base/ftobjs.c (ft_synthesize_vertical_metrics): `vertBearingX'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   709
	is now calculated as described by the Adobe PDF Spec.  Estimate for
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   710
	`vertBearingY' now works better for small glyphs completely above or
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   711
	below the baseline into account.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   712
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   713
	* src/cff/cffgload.c (cff_slot_load): `vertBearingX' is now
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   714
	calculated as described by the Adobe PDF Spec.  Vertical metrics
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   715
	information was always ignored when FT_CONFIG_OPTION_OLD_INTERNALS
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   716
	was not defined.
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/truetype/ttgload.c (compute_glyph_metrics): `vertBearingX' is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   719
	now calculated as described by the Adobe PDF Spec.
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
2009-09-01  John Tytgat  <John.Tytgat@esko.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
	Fix custom cmap for empty Type 1 font (Savannah bug #27294).
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
	* include/freetype/internal/t1types.h (T1_EncodingRecRec_): Update
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   726
	comment to reflect revised code_last meaning.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   727
	* src/type1/t1load.c (T1_Open_Face), src/type42/t42objs.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   728
	(T42_Open_Face): Assign max_char as highest character code + 1 and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   729
	use this for T1_EncodingRecRec_::code_last.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   730
	* src/psaux/t1cmap.c (t1_cmap_custom_init): Follow revised
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   731
	T1_EncodingRecRec_::code_last meaning.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   732
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   733
2009-08-25  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   734
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   735
	Fix rendering of horizontally compressed CFFs.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   736
	Bug reported by Ivan Nincic <inincic@pdftron.com>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   737
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   738
	* src/cff/cffgload.c (cff_slot_load): Thinko: Check `xx' element of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   739
	`font_matrix' also.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   740
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   741
	* docs/CHANGES: Updated.
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
2009-08-03  suyu0925@gmail.com
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   744
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   745
	Don't call `ft_fseek' every time when executing `ft_fread'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   746
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   747
	* src/base/ftstream.c (FT_Stream_Seek), src/base/ftsystem.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   748
	(ft_ansi_stream_io): Implement it.
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
2009-07-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
   751
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   752
	sfnt: Cast a charcode to 32-bit in cmap format 14 parser.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   753
	
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   754
	* src/sfnt/ttcmap.c (tt_cmap14_char_var_index,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   755
	tt_cmap14_char_var_isdefault, tt_cmap14_char_variants,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   756
	tt_cmap14_variant_chars): Correct mismatches from
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   757
	FT_CMap_CharVarIndexFunc prototype, FT_ULong arguments
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   758
	are replaced by FT_UInt32 arguments.
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
2009-07-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
   761
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   762
	sfnt: Cast a charcode to 32-bit in cmap format 12 parser.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   763
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   764
	* src/sfnt/ttcmap.c (tt_cmap12_char_next):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   765
	Insert explicit cast from FT_UFast to FT_UInt32
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   766
	for return value.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   767
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   768
2009-07-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
   769
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   770
	psaux: Fix a few casts to FT_Int32 value.
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
	* src/psaux/t1decode.c (t1_decoder_parse_charstrings):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   773
	Fix a few casts setting `value' from FT_Long to FT_Int32,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   774
	because `value' is typed as FT_Int32 since 2009-06-22.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   775
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   776
2009-07-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
   777
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   778
	sfnt: Fix a data type mismatching with its source.
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
	* src/sfnt/ttcmap.c (tt_cmap13_char_next): Fix the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   781
	type of `gindex' from FT_ULong to FT_UInt because
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   782
	it is set by FT_UInt tt_cmap13_char_map_binary() or
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   783
	TT_CMap13->cur_gindex.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   784
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   785
2009-07-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
   786
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   787
	sfnt: Extend a few local variables to load 32-bit values.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   788
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   789
	* src/sfnt/ttkern.c (tt_face_load_kern): Extend `count'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   790
	and `kern' to load 32-bit values.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   791
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   792
2009-07-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
   793
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   794
	pfr: Extend `num_aux' to take 32-bit value.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   795
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   796
	* src/pfr/pfrload.c (pfr_phy_font_load): Extend
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   797
	`num_aux' to load 32-bit value.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   798
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   799
2009-07-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
   800
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   801
	pcf: Truncate FT_ULong `nprops' to fit to int PCF_Face->nprops.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   802
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   803
	* src/pcf/pcfread.c (pcf_get_properties): Load `nprops'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   804
	as FT_ULong value from PCF file, but truncate it as
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   805
	int to fit PCF_Face->nprops.  The number of truncated
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   806
	properties is shown in the trace message.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   807
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   808
2009-07-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
   809
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   810
	gxvalid: Extend a few local variables to reduce the casts.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   811
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   812
	* src/gxvalid/gxvmorx.c (gxv_morx_subtables_validate):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   813
	Extend `type' and `rest' to take FT_ULong values.
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
2009-07-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
   816
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   817
	gxvalid: Extend `settingTable' to take 32-bit offset.
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/gxvalid/gxvfeat.c (gxv_feat_name_validate):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   820
	Extend `settingTable' to take 32-bit offset.
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
2009-07-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
   823
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   824
	autofit: Cast FT_Long glyph_count to compare with FT_UInt GID.
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
	* src/autofit/afglobal.c (af_face_globals_is_digit,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   827
	af_face_globals_compute_script_coverage): Cast FT_Long
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   828
	globals->glyph_count to FT_ULong, to compare with FT_UInt
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   829
	gindex.
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
2009-07-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
   832
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   833
	smooth: Exclude 16-bit system in invalid pitch/height check.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   834
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   835
	* src/smooth/ftsmooth.c (ft_smooth_render_generic):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   836
	pitch and height are typed as FT_UInt but checked to fit
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   837
	16-bit range, to avoid the overflows.  On 16-bit system,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   838
	this checking inserts a conditional that never occurs.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   839
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   840
2009-07-03  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
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
	cff: Type large constants > 0x7FFF as long for 16-bit systems.
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
	* src/cff/cffload.c (cff_charset_load): Type large
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   845
	constants > 0x7FFF as long, because normal constants
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   846
	are typed signed integer that is less than 0x8000 on
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   847
	16-bit systems.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   848
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   849
2009-07-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
   850
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   851
	base: Remove an unused variable.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   852
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   853
	* src/base/ftglyph.c (FT_Glyph_To_Bitmap): Remove an
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   854
	unused variable `library'.  glyph->library is used.
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
2009-07-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
   857
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   858
	cache: Check higher bits in flags for non ILP32 systems.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   859
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   860
	4 public functions ought to take FT_ULong flags, but take
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   861
	FT_UInt flags. To keep binary compatibility, we drop higher
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   862
	bits on non ILP32 platforms,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   863
		ILP64 systems: No drop occurs.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   864
		LP64 systems: Higher bits are not used.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   865
		16-bit systems: Drop can occur.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   866
	See
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   867
	http://lists.gnu.org/archive/html/freetype-devel/2008-12/msg00065.html
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   868
	These functions will be refined to take FT_ULong flags in
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   869
	next bump with incompatible API change.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   870
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   871
	* src/cache/ftcbasic.c (FTC_ImageCache_Lookup):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   872
	Check `flags' in `type', the 2nd argument.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   873
	(FTC_SBitCache_Lookup): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   874
	(FTC_ImageCache_LookupScaler): Check `load_flags',
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   875
	the 3rd argument.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   876
	(FTC_SBitCache_LookupScaler): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   877
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   878
2009-07-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
   879
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   880
	sfnt: Ignore invalid GIDs in glyph name lookup.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   881
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   882
	* include/freetype/internal/fttrace.h:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   883
	New trace module for sfdriver.c is added.
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
	* src/sfnt/sfdriver.c (sfnt_get_name_index):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   886
	Restrict glyph name lookup to FT_UInt GID.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   887
	Genuine TrueType can hold 16-bit glyphs.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   888
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   889
2009-07-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
   890
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   891
	pcf: Fix a comparison between FT_Long and FT_ULong.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   892
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   893
	* src/pcf/pcfread.c (pcf_get_bitmaps): Return an error
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   894
	if PCF_Face->nemetrics is negative.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   895
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   896
2009-07-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
   897
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   898
	gxvalid: Guarantee `nFeatureFlags' size up to 32-bit.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   899
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   900
	* src/gxvalid/gxvmort.c (gxv_mort_featurearray_validate):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   901
	Extend the 3rd argument `nFeatureFlags' to FT_ULong.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   902
	* src/gxvalid/gxvmort.h: Ditto.
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
2009-07-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
   905
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   906
	sfnt: Insert explicit cast for LP64 system.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   907
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   908
	* src/sfnt/ttkern.c (tt_face_load_kern): Insert
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   909
	cast from unsigned long to FT_UInt32.
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
2009-07-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
   912
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   913
	gxvalid: Guarantee `just' table size upto 32-bit.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   914
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   915
	* src/gxvalid/gxvjust.c (gxv_just_validate):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   916
	The type of `offset' is changed from FT_UInt to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   917
	FT_Offset, for 16-bit platforms.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   918
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   919
2009-07-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
   920
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   921
	gxvalid: Guarantee `trak' table size upto 32-bit.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   922
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   923
	* src/gxvalid/gxvtrak.c (gxv_trak_validate):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   924
	The type of `offset' is changed from FT_UInt to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   925
	FT_Offset, for 16-bit platforms.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   926
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   927
2009-07-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
   928
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   929
	type1: Fix a data type mismatching with its source.
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
	* include/freetype/internal/t1types.h: The type of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   932
	T1_Face->buildchar is matched with T1_Decorder->top.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   933
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   934
2009-07-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
   935
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   936
	pfr: Fix a data type mismatching with its source.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   937
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   938
	* src/pfr/pfrtypes.h: The type of PFR_KernItem->offset
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   939
	is extended from FT_UInt32 to FT_Offset, because it is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   940
	calculated with the pointer difference, in
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   941
	pfr_extra_item_load_kerning_pairs().
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   942
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   943
2009-07-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
   944
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   945
	pfr: Fix a data type mismatching with its source.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   946
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   947
	* src/pfr/pfrtypes.h: The type of PFR_PhysFont->chars_offset
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   948
	is extended from FT_UInt32 to FT_Offset, because it is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   949
	calculated with the pointer difference in pfr_phy_font_load().
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
2009-07-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
   952
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   953
	pfr: Fix a data type mismatching with its source.
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
	* src/pfr/pfrtypes.h: The type of PFR_PhyFont->bct_offset
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   956
	is extended from FT_UInt32 to FT_Long, because it is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   957
	loaded by FT_STREAM_POS() in pfr_phy_font_load().
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   958
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   959
2009-07-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
   960
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   961
	smooth: Improve the format in debug message.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   962
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   963
	* src/smooth/ftgrays.c (gray_dump_cells): Improve the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   964
	format specifications to dump variables.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   965
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   966
2009-07-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
   967
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   968
	sfnt: Fix a data type mismatching with its source.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   969
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   970
	* src/sfnt/sfobjs.c (sfnt_load_face): The type of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   971
	local `flags' is matched with FT_Face->face_flags.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   972
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   973
2009-07-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
   974
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   975
	psaux: Fix a data type mismatching with its source.
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
	* include/freetype/internal/psaux.h: The type of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   978
	T1_DecorderRec.buildchar is matched with
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   979
	T1_DecorderRec.top.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   980
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   981
2009-07-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
   982
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   983
	truetype: Extend TrueType GX packed deltas to FT_Offset.
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/truetype/ttgxvar.c (ft_var_readpackeddeltas):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   986
	The type of 2nd argument `delta_cnt' is changed from
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   987
	FT_Int to FT_Offset, because its source can be cvt
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   988
	table size calculated from stream position.
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
2009-07-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
   991
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   992
	truetype: Extend mmvar_len to hold size_t values.
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.h: The type of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   995
	GX_BlendRec.mmvar_len is changed from FT_Int to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   996
	FT_Offset, because TT_Get_MM_Var() calculates it
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   997
	by sizeof() results.
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
2009-07-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
  1000
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1001
	truetype: Check invalid function number in IDEF instruction.
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
	* src/truetype/ttinterp.c (Ins_IDEF): Check
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1004
	if the operand fits to 8-bit opcode limitation.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1005
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1006
2009-07-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
  1007
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1008
	truetype: Check invalid function number in FDEF instruction.
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
	* src/truetype/ttinterp.c (Ins_FDEF): Check
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1011
	if the operand fits 16-bit function number.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1012
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1013
2009-07-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
  1014
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1015
	truetype: Truncate the deltas of composite glyph at 16-bit values.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1016
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1017
	* src/truetype/ttgload.c (load_truetype_glyph):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1018
	Insert cast from FT_Long (deltas[i].{x,y}) to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1019
	FT_Int16 in the summation of deltas[] for composite
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1020
	glyphs.  Because deltas[i] is typed as FT_Pos,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1021
	its component x, y are typed as FT_Long, but
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1022
	their sources are always FT_Int16 when they are
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1023
	loaded by ft_var_readpackeddeltas().  However,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1024
	the limitation about the summed deltas is unclear.
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
2009-07-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
  1027
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1028
	truetype: Truncate the instructions upto 16-bit per a glyph.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1029
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1030
	* src/truetype/ttgload.c (TT_Hint_Glyph): Truncate
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1031
	the instructions upto 16-bit length per a glyph.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1032
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1033
2009-07-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
  1034
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1035
	truetype: Cast the numerical operands to 32-bit for LP64 systems.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1036
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1037
	* src/truetype/ttinterp.c (Ins_SPHIX, INS_MIAP,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1038
	Ins_MIRP): Insert cast from long (args[], the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1039
	operands passed to TrueType operator) to FT_Int32
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1040
	(the argument of TT_MulFix14()).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1041
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1042
2009-07-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
  1043
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1044
	truetype: Cast the project vector to 32-bit for LP64 system.
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
	* src/truetype/ttinterp.c (Project, DualProject):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1047
	Insert casts from FT_Pos (the arguments `dx', `dy')
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1048
	to FT_UInt32 (the argument to TT_DotFix14()).
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
2009-07-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
  1051
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1052
	truetype: Cast the scaling params to 32-bit for LP64 system.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1053
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1054
	* src/truetype/ttgload.c (TT_Process_Composite_Component):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1055
	Insert casts from long (return value of FT_MulFix()) to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1056
	FT_Int32 (the argument to FT_SqrtFixed()).
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
2009-07-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
  1059
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1060
	sfnt: Cast a character code to FT_UInt32 for LP64 system.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1061
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1062
	* src/sfnt/ttcmap.c (tt_cmap14_char_map_nondef_binary,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1063
	tt_cmap14_variants, tt_cmap14_char_variants,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1064
	tt_cmap14_def_char_count, tt_cmap14_get_def_chars,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1065
	tt_cmap14_get_nondef_chars, tt_cmap14_variant_chars)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1066
	Insert casts when FT_UInt32 variable is loaded by
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1067
	TT_NEXT_{UINT24|ULONG}.  Because most of them are
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1068
	compared with FT_UInt32 values in public API, replacing
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1069
	FT_UFast is not recommended.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1070
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1071
2009-07-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
  1072
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1073
	sfnt: Cast a character code to FT_UInt32 for LP64 system.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1074
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1075
	* src/sfnt/ttcmap.c (tt_cmap4_init, tt_cmap4_next):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1076
	Insert the casts from unsigned long constant to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1077
	FT_UInt32.
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
2009-07-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
  1080
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1081
	sfnt: Extend TT_BDF->strings_size to FT_ULong for huge BDF.
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
	* include/freetype/internal/tttypes.h: The type
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1084
	of TT_BDF->string_size is extended from FT_UInt32
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1085
	to FT_ULong, because BDF specification does not
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1086
	restrict the length of string.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1087
	* src/sfnt/ttbdf.c: The scratch variable `strings'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1088
	to load TT_BDF->string_size is matched with
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1089
	TT_BDF->string_size.
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
2009-07-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
  1092
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1093
	psaux: Handle the string length by FT_Offset variables.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1094
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1095
	* src/psaux/afmparse.c (afm_parser_next_key,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1096
	afm_tokenize, afm_parse_track_kern,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1097
	afm_parse_kern_pairs, afm_parse_kern_data,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1098
	afm_parser_skip_section, afm_parser_parse):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1099
	The length of key is handled by FT_Offset,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1100
	instead of FT_UInt.  Although the length of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1101
	PostScript strings or name object is 16-bit,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1102
	AFM_STREAM_KEY_LEN() calculates the length
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1103
	from the pointer difference.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1104
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1105
	* src/psaux/afmparse.h (afm_parser_next_key):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1106
	Ditto.
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
2009-07-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
  1109
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1110
	pcf: Fix some data types mismatching with their sources.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1111
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1112
	* src/pcf/pcfread.c (pcf_get_bitmaps): The types
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1113
	of `nbitmaps', `i', `sizebitmaps' are matched with
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1114
	the type of area FT_Bitmap.pitch * FT_Bitmap.rows.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1115
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1116
2009-07-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
  1117
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1118
	pcf: Handle the string length by size_t variables.
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
	* src/pcf/pcfread.c (pcf_interpret_style): The types
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1121
	of nn, len, lengths[4] are changed to size_t, because
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1122
	they are loaded by (or compared with) ft_strlen().
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1123
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1124
	* src/pcf/pcfutil.c (BitOrderInvert, TwoByteSwap,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1125
	FourByteSwap): The type of the 2nd argument `nbytes'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1126
	is changed to size_t, for similarity with ANSI C
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1127
	string functions.
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
	* src/pcf/pcfdrivr.c (PCF_Glyph_Load): The type of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1130
	`bytes' is changed to FT_Offset, because it is passed
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1131
	to FT_ALLOC(), via ft_glyphslot_alloc_bitmap().  At
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1132
	least, using unsigned type is better.
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
2009-07-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
  1135
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1136
	pcf: Fix some data types mismatching with their sources.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1137
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1138
	* src/pcf/pcfread.c (pcf_seek_to_table_type,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1139
	pcf_has_table_type): The type of 3rd argument
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1140
	`ntables' is matched with PCF_Toc->count.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1141
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1142
2009-07-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
  1143
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1144
	otvalid: Truncate the glyph index to 16-bit.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1145
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1146
	* src/otvalid/otvalid.c (otv_validate): Checks
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1147
	face->num_glyphs does not exceed 16-bit limit,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1148
	pass FT_UInt num_glyphs to backend functions
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1149
	otv_{GPOS|GSUB|GDEF|JSTF|MATH}_validate().
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1150
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1151
2009-07-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
  1152
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1153
	cache: Insert explict casts for LP64 systems.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1154
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1155
	* src/cache/ftcbasic.c (FTC_ImageCache_Lookup,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1156
	FTC_SBitCache_Lookup): The type of FTC_ImageType->width
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1157
	is FT_Int, so the cast to unsigned larger type FT_ULong
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1158
	is introduced for the comparisons with 0x10000L for
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1159
	LP64 platform.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1160
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1161
2009-07-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
  1162
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1163
	cache: Fix some data types mismatching with their sources.
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/cache/ftccache.h: The type of return value
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1166
	by FTC_Node_WeightFunc function is changed to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1167
	FT_Offset.  The type of FTC_CacheClass->cache_size
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1168
	is changed to FT_Offset, too.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1169
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1170
	* src/cache/ftccback.h (ft_inode_weight,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1171
	ftc_snode_weight): Ditto.
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
	* src/cache/ftccmap.c (ftc_cmap_node_weight): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1174
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1175
	* src/cache/ftcimage.c (ftc_inode_weight,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1176
	FTC_INode_Weight): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1177
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1178
	* src/cache/ftcsbits.c (ftc_snode_weight,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1179
	FTC_SNode_Weight): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1180
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1181
	* src/cache/ftcmru.h: The type of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1182
	FTC_MruListClass->node_size is changed to FT_Offset,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1183
	because it is passed to FT_ALLOC() to specify the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1184
	size of buffer.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1185
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1186
2009-07-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
  1187
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1188
	XXX_cmap_encoding_char_next() return FT_UInt32 values.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1189
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1190
	* include/freetype/internal/services/svpscmap.h:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1191
	The size of the charcode value returned by
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1192
	the function typed PS_Unicodes_CharNextFunc is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1193
	matched with its input charcode value.
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
	* src/cff/cffmap.c (cff_cmap_encoding_char_next,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1196
	cff_cmap_unicode_char_next): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1197
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1198
	* src/pfr/pfrmap.c (pfr_cmap_encoding_char_next):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1199
	Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1200
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1201
	* src/psaux/t1cmap.c (t1_cmap_std_char_next,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1202
	t1_cmap_custom_char_next, t1_cmap_unicode_char_next):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1203
	Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1204
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1205
	* src/psnames/psmodule.c (ps_unicodes_char_next):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1206
	Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1207
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1208
	* src/winfonts/winfnt.c (fnt_cmap_char_next):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1209
	Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1210
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1211
	* src/sfnt/ttcmap.c (tt_cmap0_char_next,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1212
	tt_cmap2_char_next, tt_cmap4_char_next,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1213
	tt_cmap6_char_next, tt_cmap10_char_next,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1214
	tt_cmap12_char_next, tt_cmap13_char_next): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1215
	(tt_cmap14_char_variants): Handle base unicode
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1216
	codepoint by FT_UInt32 variable to avoid overflow
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1217
	on 16-bit platforms.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1218
	(tt_cmap14_ensure): The type of `num_results' is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1219
	extend to FT_UInt32, to cover unsigned 32-bit
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1220
	`numVarSelectorRecords' in cmap14 table header.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1221
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1222
2009-07-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
  1223
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1224
	truetype: Extend TT_Face->num_locations for broken TTFs.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1225
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1226
	* include/freetype/internal/tttypes.h:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1227
	TT_Face->num_locations are extended from FT_UInt
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1228
	to FT_ULong, to stand with broken huge loca table.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1229
	Some people insists there are broken TTF including
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1230
	the glyphs over 16-bit limitation, in PRC market.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1231
	* src/truetype/ttpload.c (tt_face_load_loca):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1232
	Remove unrequired 16-bit truncation for FT_UInt
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1233
	TT_Face->num_locations.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1234
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1235
2009-07-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
  1236
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1237
	smooth: Fix some data types mismatching with their sources.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1238
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1239
	* src/smooth/ftgrays.c: The type of `TCoord' is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1240
	matched to `TPos', because they are mixed in
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1241
	gray_set_cell().  The type of TCell->x is extended
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1242
	to `TPos', because gray_find_cell() sets it by
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1243
	TWorker.ex.  The type of TCell->cover is extended
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1244
	to `TCoord', because gray_render_scanline() adds
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1245
	TCoord value to it.  The type of TWork.cover is matched
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1246
	with TCell->cover.  The types of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1247
	TWork.{max_cells,num_cells} are changed to FT_PtrDist,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1248
	because they are calculated from the memory addresses.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1249
	The type of TWork.ycount is changed to TPos, because
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1250
	it is calculated from TPos variables.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1251
	(gray_find_cell): The type of `x' is matched with
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1252
	its initial value ras.ex.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1253
	(gray_render_scanline): The types of `mod', `lift'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1254
	and `rem' are changed to TCoord, because their values
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1255
	are set with explicit casts to TCoord.  When ras.area
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1256
	is updated by the differential values including
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1257
	`delta', they are explicitly cast to TArea, because
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1258
	the type of `delta' is not TArea but TCoord.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1259
	(gray_render_line): The type of `mod' is extended
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1260
	from int to TCoord, because (TCoord)dy is added to mod.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1261
	(gray_hline): The argument `acount' is extended to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1262
	TCoord, to match with the parameters in the callers.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1263
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1264
2009-07-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
  1265
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1266
	cff: Fix some data types mismatching with their sources.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1267
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1268
	* src/cff/cffobjs.c (cff_face_init): The type of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1269
	`scaling' is matched with the scaling parameter
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1270
	in FT_Matrix_Multiply_Scaled() and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1271
	FT_Vector_Transform_Scaled().
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1272
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1273
	* src/cff/cffparse.c (cff_parse_real): The type of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1274
	`power_ten', `scaling', `exponent_add',
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1275
	`integer_length', `fraction_length',
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1276
	`new_fraction_length' and `shift' are matched with
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1277
	the type of `exponent' to avoid unexpected truncation.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1278
	(cff_parse_fixed_scaled): The type of `scaling' is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1279
	matched with the `scaling' argument to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1280
	cff_parse_real().
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1281
	(cff_parse_fixed_dynamic): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1282
	(cff_parse_font_matrix): The type of `scaling' is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1283
	matched with the `scaling' argument to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1284
	cff_parse_dynamic().
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1285
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1286
2009-07-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
  1287
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1288
	autofit: Fix some data types mismatching with their sources.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1289
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1290
	* src/autofit/afglobal.c: Correct the type of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1291
	AF_FaceGlobalsRec.glyph_count to match with
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1292
	FT_Face->num_glyphs.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1293
	(af_face_globals_compute_script_coverage):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1294
	Insert explicit cast to compare
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1295
	FT_Long AF_FaceGlobalsRec.glyph_count versus
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1296
	FT_UInt gindex.  The type of `nn' is changed
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1297
	to scan glyph index upto AF_FaceGlobalsRec.glyph_count.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1298
	(af_face_globals_get_metrics): The type of `script_max'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1299
	is changed to cover size_t value.  Insert explicit cast
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1300
	to compare FT_Long AF_FaceGlobalsRec.glyph_count versus
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1301
	FT_UInt gindex.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1302
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1303
	* src/autofit/afhints.c (af_axis_hints_new_segment):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1304
	Insert explicit cast to calculate `big_max' from
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1305
	integer and size_t values.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1306
	(af_axis_hints_new_edge): Ditto.
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
	* src/autofit/aflatin.c (af_latin_metrics_init_blues):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1309
	The type of `best_y' is matched to FT_Vector.y.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1310
	(af_latin_compute_stem_width): The type of `delta' is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1311
	matched to `dist' and `org_dist'.
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
2009-07-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
  1314
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1315
	autofit: Count the size of the memory object by ptrdiff_t.
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/autofit/afcjk.c (af_cjk_hint_edges): The
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1318
	number of edges `n_edges' should be counted by
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1319
	FT_PtrDist variable instead of FT_Int.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1320
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1321
	* src/autofit/aflatin.c (af_latin_hint_edges):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1322
	Ditto.
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
	* src/autofit/aftypes.h: In AF_ScriptClassRec,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1325
	the size of metric `script_metrics_size' should
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1326
	be counted by FT_Offset variable instead of FT_UInt.
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
	* src/autofit/afhints.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1329
	(af_glyph_hints_align_strong_points): The cursors
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1330
	for the edges `min', `max', `mid' in the memory
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1331
	buffer should be typed FT_PtrDist.
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
2009-07-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
  1334
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1335
	autofit: Fix for unused variable `first'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1336
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1337
	* src/autofit/afhints.c (af_glyph_hints_reload): Insert
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1338
	FT_UNUSED() to hide the unused variable warning.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1339
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1340
2009-07-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
  1341
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1342
	Improve bitmap size or pixel variables for 16-bit systems.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1343
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1344
	* include/freetype/config/ftstdlib.h: Introduce
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1345
	FT_INT_MIN, to use in signed integer overflow in
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1346
	16-bit and 64-bit platforms.
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
	* include/freetype/internal/fttrace.h: Add a tracer
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1349
	to ftsynth.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1350
	
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1351
	* src/base/ftbitmap.c (FT_Bitmap_Embolden): Check
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1352
	invalid strength causing integer overflow on 16-bit
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1353
	platform.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1354
	
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1355
	* src/base/ftcalc.c (ft_corner_orientation): Change
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1356
	the internal calculation from FT_Int to FT_Long, to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1357
	avoid an overflow on 16-bit platforms.  The caller of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1358
	this function should use only the sign of result,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1359
	so the cast to FT_Int is acceptable.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1360
	
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1361
	* src/base/ftsynth.c: Introduce a tracer for synth module.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1362
	(FT_GlyphSlot_Embolden): Check invalid strength causing
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1363
	integer overflow on 16-bit platform.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1364
	
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1365
	* src/bdf/bdfdrivr.c (BDF_Face_Init): The glyph index
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1366
	in FT2 API is typed as FT_UInt, although BDF driver
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1367
	can handle unsigned long glyph index internally.  To
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1368
	avoid integer overflow on 16-bit platform, too large
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1369
	glyph index should be excluded.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1370
	(BDF_Glyph_Load): The glyph pitch in FT2 is typed as
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1371
	FT_UInt, although BDF driver can handle unsigned long
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1372
	glyph pitch internally.  To avoid integer overflow on
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1373
	16-bit platform, too large glyph pitch should not be
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1374
	returned.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1375
	
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1376
	* src/pfr/pfrsbit.c (pfr_slot_load_bitmap): The glyph
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1377
	pitch in FT2 is typed as FT_UInt, although PFR font
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1378
	format can include huge bitmap glyph with 24-bit pitch
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1379
	(however, a glyph spends 16.7 pixel, it's not realistic).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1380
	To avoid integer overflow on 16-bit platform, huge
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1381
	bitmap glyph should be excluded.
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
	* src/smooth/ftgrays.c (gray_hline): As FT_Span.x is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1384
	truncated to fit its type (16-bit short), FT_Span.y
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1385
	should be truncated to fit its type (FT_Int).
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/cff/cffdrivr.c (cff_get_ros): CFF specification
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1388
	defines the supplement in ROS as a real number.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1389
	Truncate it to fit public FT2 API.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1390
	
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1391
	* src/cff/cffparse.c (cff_parse_cid_ros): Warn the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1392
	supplement if it is truncated or rounded in cff_get_ros().
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1393
	
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1394
	* src/cff/cfftypes.h: Change the type of internal variable
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1395
	`supplement' from FT_Long to FT_ULong to fit the signedness
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1396
	to the type in public API.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1397
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1398
2009-07-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
  1399
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1400
	psaux: Prevent invalid arguments to afm_parser_read_vals().
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1401
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1402
	* src/psaux/afmparse.c (afm_parser_read_vals): Change
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1403
	the type of `n' to prevent negative number how many
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1404
	arguments should be parsed.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1405
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1406
	* src/psaux/afmparse.h (afm_parser_read_vals): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1407
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1408
2009-07-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
  1409
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1410
	base: Prevent some overflows on LP64 systems.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1411
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1412
	* src/base/ftadvance.c (FT_Get_Advances): Cast the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1413
	unsigned long constant FT_LOAD_ADVANCE_ONLY to FT_UInt32
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1414
	for LP64 platforms.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1415
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1416
	* src/base/ftcalc.c (FT_Sqrt32): All internal variables
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1417
	are changed to FT_UInt32 from FT_ULong.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1418
	(FT_MulDiv): Insert casts to FT_Int32 for LP64 platforms.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1419
	This function is designed for 32-bit integer, although
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1420
	their arguments and return value are FT_Long.
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
	* src/base/ftobjs.c (FT_Get_Char_Index): Check `charcode'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1423
	is within unsigned 32-bit integer for LP64 platforms.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1424
	(FT_Face_GetCharVariantIndex): Check `charcode' and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1425
	`variantSelector' are within 32-bit integer for LP64
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1426
	platforms.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1427
	(FT_Face_GetCharsOfVariant): Check `variantSelector' is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1428
	within unsigned 32-bit integer for LP64 platforms.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1429
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1430
	* src/base/fttrigon.c (ft_trig_downscale): The FT_Fixed
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1431
	variable `val' and unsigned long constant FT_TRIG_SCALE
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1432
	are cast to FT_UInt32, when calculates FT_UInt32.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1433
	(FT_Vector_Rotate): The long constant 1L is cast to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1434
	FT_Int32 to calculate FT_Int32 `half'.
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
2009-07-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
  1437
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1438
	cff: Cast the long variables to 32-bit for LP64 systems.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1439
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1440
	* src/cff/cffdrivr.c (cff_get_advances): Insert
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1441
	explicit cast to modify a 32-bit flag by unsigned
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1442
	long constant.
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
	* 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
  1445
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1446
	* 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
  1447
	Replace the casts to FT_Long by the casts to FT_Int32
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1448
	for LP64 platforms.
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
2009-07-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
  1451
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1452
	pcf: Improve PCF_PropertyRec.value names on LP64 platforms.
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
	* src/pcf/pcf.h: In PCF_PropertyRec.value, the member
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1455
	`integer' is replaced by `l', `cardinal' is replaced
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1456
	by `ul', to fix the difference between the name and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1457
	the types on LP64 platforms.
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
	* src/pcf/pcfdrivr.c (pcf_get_bdf_property): Reflect
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1460
	PCF_PropertyRec.value change, with appropriate casts
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1461
	to FT_Int32/FT_UInt32.  Their destinations
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1462
	BDF_PropertyRec.{integer|cardinal} are public and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1463
	explicitly defined as FT_Int32/FT_UInt32.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1464
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1465
	* src/pcf/pcfread.c (pcf_get_properties, pcf_load_font):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1466
	Reflect PCF_PropertyRec.value change.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1467
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1468
2009-07-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
  1469
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1470
	pcf: Fix some data types mismatching with their sources.
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
	* src/pcf/pcfdrivr.c (pcf_cmap_char_index): The type of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1473
	`code' is matched to PCF_Encoding->enc.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1474
	(pcf_cmap_char_next): The type of `charcode' is matched
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1475
	to PCF_Encoding->enc.  When *acharcode is set by charcode,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1476
	an overflow is checked and cast to unsigned 32-bit
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1477
	integer.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1478
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1479
2009-07-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
  1480
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1481
	bdf: Improve bdf_property_t.value names for LP64 platforms.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1482
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1483
	* src/bdf/bdf.h: In bdf_property_t.value, the member
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1484
	`int32' is replaced by `l', `card32' is replaced by
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1485
	`ul', to fix the difference between the name and the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1486
	types on LP64 platforms.
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
	* src/bdf/bdfdrivr.c (BDF_Face_Init): Reflect
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1489
	bdf_property_t.value change.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1490
	(bdf_get_bdf_property): Reflect bdf_property_t.value
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1491
	change, with appropriate casts to FT_Int32/FT_UInt32.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1492
	Their destinations BDF_PropertyRec.{integer|cardinal}
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1493
	are public and explicitly defined as FT_Int32/FT_UInt32.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1494
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1495
	* src/bdf/bdflib.c (_bdf_add_property): Reflect
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1496
	bdf_property_t.value change.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1497
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1498
2009-07-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
  1499
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1500
	bdf: Fix some data types mismatching with their sources.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1501
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1502
	* src/bdf/bdrdrivr.c (bdf_cmap_char_index): The type
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1503
	of `code' is matched with BDF_encoding_el->enc.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1504
	(bdf_cmap_char_next): The type of `charcode' is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1505
	matched with BDF_encoding_el->enc.  When *acharcode
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1506
	is set by charcode, an overflow is checked and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1507
	cast to unsigned 32-bit integer.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1508
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1509
2009-07-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
  1510
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1511
	autofit: Improve Unicode range definitions.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1512
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1513
	* src/autofit/aftypes.h (AF_UNIRANGE_REC): New macro
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1514
	to declare a range by two unsigned 32-bit integer,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1515
	to avoid 64-bit range definition on LP64 platforms.
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
	* src/autofit/aflatin.c (af_latin_uniranges): Ditto.
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
	* src/autofit/aflatin2.c (af_latin2_uniranges): Ditto.
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
	* src/autofit/afindic.c (af_indic_uniranges): Ditto.
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
	* src/autofit/afcjk.c (af_cjk_uniranges): Declare
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1524
	the ranges by AF_UNIRANGE_REC.
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
2009-07-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
  1527
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1528
	smooth: Fix a data type mismatching with its source.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1529
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1530
	* src/smooth/ftgrays.c (gray_sweep): The type of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1531
	`area' is matched with the 3rd argument `area'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1532
	of gray_hline().
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
2009-07-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
  1535
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1536
	smooth: Fix a data type mismatching with its source.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1537
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1538
	* src/smooth/ftgrays.c (gray_render_line): The type
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1539
	of `area' is matched with TWorker.area.
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
2009-07-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
  1542
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1543
	cache: Disable the legacy compatibility if 16-bit system.
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/cache/ftcbasic.c (FTC_ImageCache_Lookup): Exclude
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1546
	the legacy behaviour from 16-bit platform, because the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1547
	current hack cannot detect the caller uses this function
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1548
	via legacy convension.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1549
	(FTC_SBitCache_Lookup): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1550
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1551
2009-07-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
  1552
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1553
	cache: Check 32-bit glyph index on 16-bit systems.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1554
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1555
	* src/cache/ftcbasic.c (ftc_basic_family_get_count):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1556
	Check overflow caused by the face including large
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1557
	number of glyphs > 64k.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1558
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1559
2009-07-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
  1560
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1561
	cache: Fix some data types mismatching with their sources.
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
	* src/cache/ftccache.c (ftc_cache_resize): The types of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1564
	`p', `mask', `count' are matched with FTC_Cache->{p,mask}.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1565
	(FTC_Cache_Clear): The type of `old_index' is matched to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1566
	FTC_Cache->{p,mask}.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1567
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1568
	* src/cache/ftccache.h (FTC_CACHE_LOOKUP_CMP): The type
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1569
	of `_idx' is matched with FTC_Cache->{p,mask}.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1570
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1571
2009-07-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
  1572
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1573
	cache: Fix some data types mismatching with their sources.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1574
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1575
	* src/cache/ftcsbits.c (ftc_snode_load): The types
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1576
	of `xadvance' and `yadvance' are matched with
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1577
	FT_GlyphSlot->advance.{x|y}.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1578
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1579
2009-07-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
  1580
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1581
	cache: Cast NULL to a required function type explicitly.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1582
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1583
	* src/cache/ftcmanag.c (FTC_Manager_RemoveFaceID):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1584
	Insert explicit cast from NULL to function type.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1585
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1586
2009-07-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
  1587
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1588
	fttypes.h: Cast FT_MAKE_TAG output to FT_Tag exlicitly.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1589
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1590
	* include/freetype/fttypes.h (FT_MAKE_TAG):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1591
	Cast the result to FT_Tag.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1592
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1593
2009-07-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
  1594
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1595
	psnames: Handle Unicode codepoints by FT_UInt32 variables.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1596
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1597
	* src/psnames/psmodule.c (BASE_GLYPH): Cast the result
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1598
	to unsigned 32-bit integer for LP64 platform.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1599
	(ps_unicode_value): Return the value by unsigned 32-bit
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1600
	integer instead of unsigned long.
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
2009-07-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
  1603
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1604
	psaux: Use size_t variable to pass the buffer size.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1605
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1606
	* src/psaux/psaux.h (to_bytes): The type of `max_bytes'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1607
	(the argument to pass the buffer size) is changed to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1608
	size_t, to match with ANSI C string functions.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1609
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1610
	* src/psaux/psconv.h (PS_Conv_StringDecode,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1611
	PS_Conv_ASCIIHexDecode, PS_Conv_EexecDecode): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1612
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1613
	* src/psaux/psconv.c (PS_Conv_StringDecode,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1614
	PS_Conv_ASCIIHexDecode, PS_Conv_EexecDecode): Ditto.
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
	* src/psaux/psobjs.h (ps_parser_to_bytes): Ditto.
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
	* src/psaux/psobjs.c (ps_parser_to_bytes): Ditto.
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
2009-07-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
  1621
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1622
	type1: Use size_t variable to pass the string length.
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
	* psaux.h: The type of `len' (the argument to pass
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1625
	the buffer size to the function in AFM_ParserRec)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1626
	is changed to size_t, to match with ANSI C string
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1627
	functions.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1628
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1629
	* t1afm.c (t1_get_index): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1630
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1631
	* test_afm.c (dummy_get_index): Ditto.
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
	* afmparse.c (afm_parser_read_vals): To call
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1634
	AFM_ParserRec.get_index, the length of token
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1635
	`len' is cast to size_t.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1636
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1637
2009-07-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
  1638
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1639
	cid: Fix some data types mismatching with their sources.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1640
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1641
	* src/cid/cidparse.c (cid_parser_new): The types of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1642
	`read_len' and `stream_len' are matched to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1643
	FT_Stream->size.  Unrequired cast is removed.
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
2009-07-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
  1646
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1647
	cff: Fix for unused variable `rest'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1648
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1649
	* src/cff/cffparse.c (cff_parse_real): Insert
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1650
	FT_UNUSED() to hide the unused variable warning.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1651
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1652
2009-07-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
  1653
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1654
	cff: Fix some data types mismatching with their sources.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1655
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1656
	* src/cff/cffgload.c (cff_slot_load): The types of	
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1657
	`top_upm' and `sub_upm' are matched with
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1658
	CFF_FontRecDict->units_per_em.
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
	* src/cff/cffobjs.c (cff_size_select): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1661
	(cff_size_request): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1662
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1663
2009-07-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
  1664
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1665
	bdf: Fix some data types mismatching with their sources.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1666
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1667
	* bdflib.c (_bdf_list_ensure): The type of `num_items'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1668
	is matched with _bdf_list_t.used.  Also the types of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1669
	`oldsize', `newsize', `bigsize' are matched too.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1670
	(_bdf_readstream): `cursor' is used as an offset to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1671
	the pointer, it should be typed as FT_Offset.  Also
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1672
	the types of `bytes', `start', `end', `avail' are matched.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1673
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1674
	* bdfdrivr.c: The type of BDF_CMap->num_encodings is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1675
	matched with FT_CMap->clazz->size.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1676
	(bdf_cmap_char_index): The types of `min', `max', `mid'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1677
	are matched with BDF_CMap->num_encodings.  The type of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1678
	`result' is matched with encoding->glyph.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1679
	(bdf_cmap_char_next): Ditto, the type of `code' is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1680
	matched with BDF_encoding_el.enc.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1681
	(bdf_interpret_style): The type of `lengths' is changed
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1682
	to size_t, to take the value by ft_strlen().  Also the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1683
	types of `len', `nn', `mm' are matched.
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
2009-07-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
  1686
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1687
	sfnt: Count the size of the memory object by ptrdiff_t.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1688
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1689
	* src/sfnt/ttbdf.c (tt_face_find_bdf_prop): The type of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1690
	`peroperty_len' is changed from FT_UInt to FT_Offset,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1691
	to match with size_t, which is appropriate type for the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1692
	object in the memory buffer.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1693
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1694
2009-07-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
  1695
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1696
	lzw: Count the size of the memory object by ptrdiff_t.
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
	* src/lzw/ftzopen.h: The types of FT_LzwState->{buf_total,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1699
	stack_size} are changed from FT_UInt to FT_Offset, to match
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1700
	with size_t, which is appropriate type for the object in
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1701
	the memory buffer.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1702
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1703
	* src/lzw/ftzopen.c (ft_lzwstate_stack_grow): The types of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1704
	`old_size' and `new_size' are changed from FT_UInt to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1705
	FT_Offset, to match with size_t, which is appropriate type
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1706
	for the object in the memory buffer.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1707
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1708
2009-07-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
  1709
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1710
	otvalid: Count the table size on memory by ptrdiff_t.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1711
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1712
	* src/otvalid/otvgpos.c (otv_ValueRecord_validate):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1713
	Change the type of table size from FT_UInt to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1714
	FT_PtrDist because it is calculated by the memory
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1715
	addresses.
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
2009-07-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
  1718
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1719
	otvalid: Prevent an overflow by GPOS/GSUB 32b-bit offset.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1720
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1721
	* src/otvalid/otvgpos.c (otv_ExtensionPos_validate):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1722
	Extend ExtensionOffset from FT_UInt to FT_ULong, to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1723
	cover 32-bit offset on 16-bit platform.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1724
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1725
	* src/otvalid/otvgsub.c (otv_ExtensionSubst_validate):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1726
	Ditto.
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
2009-07-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
  1729
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1730
	ftobjs.c: Prevent an overflow in glyph index handling.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1731
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1732
	* src/base/ftobjs.c (FT_Face_GetCharsOfVariant):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1733
	Improve the cast in comparison to avoid the truncation.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1734
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1735
2009-07-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
  1736
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1737
	Improve the variable types in raccess_make_file_name().
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1738
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1739
	* src/base/ftrfork.c (raccess_make_file_name):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1740
	Change the type of cursor variable `tmp' to const char*,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1741
	to prevent the unexpected modification of original pathname.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1742
	(raccess_make_file_name): Change the type of new_length
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1743
	to size_t.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1744
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1745
2009-07-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
  1746
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1747
	ftpatent.c: Fix for unused variable `error'.
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
	* src/base/ftpatent.c (_tt_check_patents_in_range):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1750
	Fix warning for unused variable `error'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1751
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1752
2009-07-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
  1753
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1754
	type1: Check invalid string longer than PostScript limit.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1755
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1756
	* src/type1/t1afm.c (t1_get_index): Check invalid string
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1757
	which exceeds the limit of PostScript string/name objects.
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
2009-07-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
  1760
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1761
	gzip: Use FT2 zcalloc() & zfree() in ftgzip.c by default.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1762
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1763
	* src/gzip/ftgzip.c (zcalloc, zcfree): Disable all
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1764
	zcalloc() & zfree() by zlib in zutil.c, those in
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1765
	ftgzip.c by FT2 are enabled by default.  To use
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1766
	zlib zcalloc() & zfree(), define USE_ZLIB_ZCALLOC.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1767
	See discussion:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1768
	http://lists.gnu.org/archive/html/freetype-devel/2009-02/msg00000.html
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1769
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1770
2009-07-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
  1771
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1772
	gzip: Distinguish PureC from TurboC on MSDOS.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1773
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1774
	* src/gzip/zutil.c (zcalloc, zcfree): Enable only for
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1775
	MSDOS platform.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1776
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1777
2009-07-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
  1778
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1779
	gxvalid: Insert PureC pragma to allow unevaluated variables.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1780
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1781
	* builds/atari/ATARI.H: Insert PureC pragma not to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1782
	warn against set-but-unevaluated variable in gxvalid
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1783
	module.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1784
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1785
2009-07-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
  1786
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1787
	gxvalid: Pass the union by the pointer instead of the value.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1788
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1789
	* src/gxvalid/gxvcommn.h:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1790
	  - Declare new type `GXV_LookupValueCPtr'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1791
	  - Update the type of the 2nd argument to pass GXV_LookupValueDesc
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1792
	    data to the function prototyped as GXV_Lookup_Value_Validate_Func,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1793
	    from GXV_LookupValueDesc to GXV_LookupValueCPtr.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1794
	  - Likewise for the function prototyped as
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1795
	    GXV_Lookup_Fmt4_Transit_Func.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1796
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1797
	  - Declare new type `GXV_StateTable_GlyphOffsetCPtr'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1798
	  - Update the type of the 3rd argument to pass
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1799
	    GXV_StateTable_GlyphOffsetDesc data to the function prototyped
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1800
	    as GXV_StateTable_Entry_Validate_Func, from
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1801
	    GXV_StateTable_GlyphOffsetDesc to GXV_StateTable_GlyphOffsetCPtr.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1802
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1803
	  - Declare new type `GXV_XStateTable_GlyphOffsetCPtr'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1804
	  - Update the type of the 3rd argument to pass
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1805
	    GXV_XStateTable_GlyphOffsetDesc data to the function prototyped
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1806
	    as GXV_XStateTable_Entry_Validate_Func,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1807
	    from GXV_XStateTable_GlyphOffsetDesc
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1808
	    to GXV_XStateTable_GlyphOffsetCPtr.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1809
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1810
	* src/gxvalid/gxvcommn.c (gxv_LookupTable_fmt0_validate,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1811
	gxv_XClassTable_lookupval_validate,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1812
	gxv_XClassTable_lookupfmt4_transit):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1813
	Update from GXV_LookupValueDesc to GXV_LookupValueCPtr.
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/gxvalid/gxvbsln.c (gxv_bsln_LookupValue_validate,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1816
	gxv_bsln_LookupFmt4_transit): Ditto.
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/gxvalid/gxvjust.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1819
	(gxv_just_pcTable_LookupValue_entry_validate,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1820
	gxv_just_classTable_entry_validate,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1821
	gxv_just_wdcTable_LookupValue_validate): Ditto.
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
	* src/gxvalid/gxvkern.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1824
	(gxv_kern_subtable_fmt1_entry_validate): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1825
	
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1826
	* src/gxvalid/gxvlcar.c (gxv_lcar_LookupValue_validate,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1827
	gxv_lcar_LookupFmt4_transit): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1828
	
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1829
	* src/gxvalid/gxvopbd.c (gxv_opbd_LookupValue_validate,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1830
	gxv_opbd_LookupFmt4_transit): Ditto.
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/gxvalid/gxvprop.c (gxv_prop_LookupValue_validate,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1833
	gxv_prop_LookupFmt4_transit): Ditto.
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
	* src/gxvalid/gxvmort4.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1836
	(gxv_mort_subtable_type4_lookupval_validate): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1837
	
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1838
	* src/gxvalid/gxvmort0.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1839
	(gxv_mort_subtable_type0_entry_validate): Update
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1840
	from GXV_StateTable_GlyphOffsetDesc
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1841
	to GXV_StateTable_GlyphOffsetCPtr.
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
	* src/gxvalid/gxvmort1.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1844
	(gxv_mort_subtable_type1_entry_validate): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1845
	
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1846
	* src/gxvalid/gxvmort2.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1847
	(gxv_mort_subtable_type2_entry_validate): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1848
	
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1849
	* src/gxvalid/gxvmort5.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1850
	(gxv_mort_subtable_type5_entry_validate): Ditto.
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/gxvalid/gxvmorx2.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1853
	(gxv_morx_subtable_type2_entry_validate): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1854
	
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1855
	* src/gxvalid/gxvmorx5.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1856
	(gxv_morx_subtable_type5_entry_validate): Ditto.
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
	* src/gxvalid/gxvmorx1.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1859
	(gxv_morx_subtable_type1_entry_validate): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1860
	(gxv_morx_subtable_type1_LookupValue_validate,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1861
	gxv_morx_subtable_type1_LookupFmt4_transit):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1862
	Update from GXV_LookupValueDesc to GXV_LookupValueCPtr.
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/gxvalid/gxvmorx0.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1865
	(gxv_morx_subtable_type0_entry_validate): Update
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1866
	from GXV_XStateTable_GlyphOffsetDesc
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1867
	to GXV_XStateTable_GlyphOffsetCPtr.
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
2009-07-29  Fabrice Bellet  <fabrice@bellet.info>
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
	Fix Redhat bugzilla #513582 and Savannah bug #26849.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1872
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1873
	* src/cache/ftccache.h (FTC_CACHE_LOOKUP_CMP) <FTC_INLINE>: Fix
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1874
	aliasing bug.
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
2009-07-19  Werner Lemberg  <wl@gnu.org>
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
	Document recent library changes.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1879
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1880
	* docs/CHANGES: Do it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1881
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1882
2009-07-17  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1883
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1884
	Fix Savannah bug #23786.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1885
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1886
	* src/truetype/ttobjs.c (tt_size_init_bytecode): Don't reset x_ppem
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1887
	and y_ppem.  Otherwise the `*_CVT_Stretched' functions in ttinterp.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1888
	get never called.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1889
	An anonymous guy suggested this change on Savannah, and it seems to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1890
	be the right solution.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1891
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1892
2009-07-15  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1893
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1894
	* docs/release: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1895
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1896
2009-07-15  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1897
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1898
	README.CVS -> README.git
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1899
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1900
	* README.CVS: Renamed to...
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1901
	* README.git: This.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1902
	Updated.
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
2009-07-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
  1905
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1906
	Borland C++ compiler patch proposed by Mirco Babin.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1907
	http://lists.gnu.org/archive/html/freetype/2009-07/msg00016.html.
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
	* builds/exports.mk: Delete unused flags, CCexe_{CFLAGS,LDFLAGS}.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1910
	Fix APINAMES_C and APINAMES_EXE pathnames to reflect the platform
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1911
	specific pathname syntax.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1912
	* builds/compiler/bcc.mk: Remove unused flag, CCexe_LDFLAGS.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1913
	Define TE = `-e' separately (bcc32 cannot specify the pathname of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1914
	binary executable by T = `-o').
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1915
	Extend the large page size in linking freetype.lib.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1916
	Add extra CLEAN target to delete bcc specific temporary files.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1917
	* builds/compiler/bcc-dev.mk: Ditto.
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
2009-07-14  Werner Lemberg  <wl@gnu.org>
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
	Fix Savannah bug #27026.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1922
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1923
	* builds/win32/vc2005/freetype.sln: Use correct version number.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1924
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1925
2009-07-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
  1926
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1927
	Add a script to check the undefined and unused trace macros.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1928
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1929
	* src/tools/chktrcmp.py: A script to check trace_XXXX macros
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1930
	that are used in C source but undefined in fttrace.h, or
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1931
	defined in fttrace.h but unused in C sources.  See
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1932
	http://lists.gnu.org/archive/html/freetype-devel/2009-07/msg00013.html.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1933
	* docs/DEBUG: Mention on chktrcmp.py.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1934
	* docs/release: Ditto.
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
2009-07-09  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
	[ftraster] Make it compile again with -D_STANDALONE_.
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/raster/ftraster.c [_STANDALONE_]: Define
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1941
	FT_CONFIG_STANDARD_LIBRARY_H.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1942
	Include `string.h'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1943
	Don't include `rastpic.h'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1944
	Define FT_DEFINE_RASTER_FUNCS.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1945
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1946
2009-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
  1947
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1948
	smooth: Check glyph size by width/height, instead of pitch/height.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1949
	Suggested by der Mouse <mouse@Rodents-Montreal.ORG>.
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
	* src/smooth/ftsmooth.c (ft_smooth_render_generic): Improve
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1952
	the check for too large glyph.  Replace the pair of `pitch' and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1953
	`height' by the pair of `width' and `height'.  `pitch' cannot
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1954
	be greater than `height'.  The required is checking the product
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1955
	`pitch' * `height' <= FT_ULONG_MAX, but we use cheap checks for
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1956
	the realistic case only.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1957
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1958
2009-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
  1959
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1960
	Register 2 missing trace components, t1afm and ttbdf.
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
	* include/freetype/internal/fttrace.h: Add FT_TRACE_DEF( t1afm )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1963
	and FT_TRACE_DEF( ttbdf ).  See
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1964
	http://lists.gnu.org/archive/html/freetype-devel/2009-07/msg00013.html
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1965
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1966
2009-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
  1967
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1968
	Register a trace component for ftgloadr.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1969
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1970
	* include/freetype/internal/fttrace.h: Add FT_TRACE_DEF( gloader ).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1971
	The macro `trace_gloader' was already used in the initial version
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1972
	on 2002-02-24.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1973
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1974
2009-07-08  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1975
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1976
	Prevent the overflows by a glyph with too many points or contours.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1977
	The bug is reported by Boris Letocha <b.letocha@gmc.net>.  See
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1978
	http://lists.gnu.org/archive/html/freetype-devel/2009-06/msg00031.html
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1979
	http://lists.gnu.org/archive/html/freetype-devel/2009-07/msg00002.html	
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1980
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1981
	* include/freetype/ftimage.h (FT_OUTLINE_CONTOURS_MAX,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1982
	FT_OUTLINE_POINTS_MAX): New macros to declare the maximum
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1983
	values of FT_Outline.{n_contours,n_points}.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1984
	* src/base/ftgloadr.c (FT_GlyphLoader_CheckPoints): Check the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1985
	total numbers of points and contours cause no overflows in
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1986
	FT_Outline.{n_contours,n_points}.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1987
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1988
	* include/freetype/internal/ftgloadr.h (FT_GLYPHLOADER_CHECK_P,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1989
	FT_GLYPHLOADER_CHECK_C): Compare the numbers of points and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1990
	contours as unsigned long number, instead of signed int, to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1991
	prevent the overflows on 16-bit systems.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1992
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1993
2009-07-05  Bram Tassyns  <bramt@enfocus.be>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1994
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1995
	Improve compatibility to Acroread.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1996
	This fixes Savannah bug #26944.
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
	* src/cff/cffload.c (cff_charset_compute_cids): For multiple GID to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  1999
	single CID mappings, make the lowest value win.
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
2009-06-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
  2002
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2003
	ftpatent: Fix a bug by wrong usage of service->table_info().
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2004
	http://lists.gnu.org/archive/html/freetype-devel/2008-12/msg00039.html
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
	* include/freetype/internal/services/svsfnt.h: Extend
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2007
	FT_SFNT_TableInfoFunc() to take new argument to obtain the offset
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2008
	to the specified table.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2009
	* src/sfnt/sfdriver.c (sfnt_table_info): Extend to return the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2010
	table-offset to the caller function.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2011
	* src/base/ftpatent.c (_tt_check_patents_in_table): Use new
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2012
	service->table_info().
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2013
	* src/base/ftobjs.c (FT_Sfnt_Table_Info): Synchronize to new
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2014
	service->table_info().
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2015
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2016
2009-06-28  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2017
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2018
	[psaux, cff] Protect against nested `seac' calls.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2019
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2020
	* include/freetype/internal/psaux.h (T1_Decoder), src/cff/cffgload.h
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2021
	(CFF_Decoder): Add `seac' boolean variable.
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
	* src/cff/cffgload.c (cff_operator_seac), src/psaux/t1decode.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2024
	(t1operator_seac): Use it.
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
2009-06-28  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2027
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2028
	Thinko.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2029
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2030
	* src/psaux/t1decode.c (t1operator_seac)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2031
	[FT_CONFIG_OPTION_INCREMENTAL]: Test for existence of incremental
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2032
	interface.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2033
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2034
2009-06-28  Werner Lemberg  <wl@gnu.org>
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
	* devel/ftoption.h [FT_CONFIG_OPTION_INCREMENTAL]: Define.
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
2009-06-27  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2039
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2040
	Add tools to preprocess the source files for AtariST PureC.
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
	* builds/atari/deflinejoiner.awk: New file to filter C source files
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2043
	for broken C preprocessor of PureC compiler.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2044
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2045
	* builds/atari/gen-purec-patch.sh: New file to generate a patch set
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2046
	for PureC, by using deflinejoiner.awk.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2047
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2048
2009-06-27  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2049
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2050
	Keep existing modules.cfg in the building tree.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2051
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2052
	* configure: If `configure' is executed outside of the source tree,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2053
	an existing `modules.cfg' file in the build directory should be
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2054
	kept, not overwritten by the version in the source tree.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2055
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2056
2009-06-27  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2057
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2058
	Filter --srcdir= option before invoking builds/unix/configure.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2059
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2060
	* configure: If builds/unix/configure is invoked with --srcdir
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2061
	option, the option should take `builds/unix' directory instead of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2062
	the top source directory.  Thus the configure script in the top
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2063
	directory should modify the --srcdir= option if
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2064
	`builds/unix/configure' is invoked.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2065
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2066
2009-06-27  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2067
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2068
	Improve configure.raw for cross-building on exe-suffixed systems.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2069
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2070
	* builds/unix/configure.raw: Fix a bug in sed script to extract
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2071
	native suffix for binary executables, patch by Peter Breitenlohner.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2072
	http://lists.gnu.org/archive/html/freetype-devel/2009-04/msg00036.html
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2073
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2074
2009-06-26  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2075
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2076
	[truetype] Remove TT_SubGlyphRec.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2077
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2078
	* src/truetype/ttobjs.h (TT_SubGlyphRec): Removed, unused.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2079
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2080
2009-06-26  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2081
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2082
	* */*: For warning messages, replace FT_ERROR with FT_TRACE0.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2083
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2084
	FT_ERROR is now used only if a function produces a non-zero `error'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2085
	value.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2086
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2087
	Formatting, improving and harmonizing debug strings.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2088
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2089
2009-06-25  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2090
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2091
	Provide version information better.
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
	* src/base/ftinit.c (FT_Init_FreeType): Don't set version here
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2094
	but...
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2095
	* src/base/ftobjs.c (FT_New_Library): Here.
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
2009-06-22  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2098
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2099
	Use 16.16 format while parsing Type 1 charstrings.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2100
	This fixes Savannah bug #26867.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2101
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2102
	Previously, only integers have been used which can lead to serious
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2103
	rounding errors.
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
	However, fractional values are only used internally; after the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2106
	charstrings (of either Type 1 or 2) have been processed, the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2107
	resulting coordinates get rounded to integers currently -- before
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2108
	applying scaling.  This should be fixed; at the same time a new load
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2109
	flag should be introduced, to be used in combination with
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2110
	FT_LOAD_NO_SCALE, which indicates that font units are returned in
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2111
	16.16 format.  Similarly, the incremental interface should be
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2112
	extended to allow fractional values for metrics.
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
	* include/freetype/internal/psaux.h (T1_BuilderRec): Remove `shift'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2115
	field.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2116
	* include/freetype/internal/pshints.h (T1_Hints_SetStemFunc,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2117
	T1_Hints_SetStem3Func): Use FT_Fixed for coordinates.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2118
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2119
	* src/psaux/psobjs.c: Include FT_INTERNAL_CALC_H.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2120
	(t1_build_add_point): Always convert fixed to integer.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2121
	* src/psaux/t1decode.c (t1_decoder_parse_charstrings):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2122
	Use 16.16 format everywhere (except for large integers followed by a
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2123
	`div').
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2124
	[CAN_HANDLE_NON_INTEGRAL_T1_OPERANDS]: Remove #ifdef and activate
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2125
	code uncoditionally.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2126
	Add support for random numbers and update remaining code
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2127
	accordingly; this should work now.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2128
	(t1_operator_seac): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2129
	* src/psaux/pshrec.c: Include FT_INTERNAL_CALC_H.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2130
	(ps_hints_t1stem3, t1_hints_stem): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2131
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2132
	* src/cid/cidgload.c: Include FT_INTERNAL_CALC_H.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2133
	(cid_load_glyph) [FT_CONFIG_OPTION_INCREMENTAL],
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2134
	(cid_face_compute_max_advance, cid_slot_load_glyph): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2135
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2136
	* src/type1/t1gload.c (T1_Parse_Glyph_And_Get_Char_String)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2137
	[FT_CONFIG_OPTION_INCREMENTAL], (T1_Get_Advances, T1_Load_Glyph):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2138
	Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2139
	* src/type1/t1load.c: Include FT_INTERNAL_CALC_H.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2140
	* src/type1/t1objs.c (T1_Face_Init): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2141
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2142
2009-06-21  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2143
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2144
	* src/pshinter/pshrec.c: Use PSH_Err_Ok.
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
2009-06-21  Werner Lemberg  <wl@gnu.org>
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
	Code beautification.
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
	* src/type1/t1load.c (FT_INT_TO_FIXED): Removed.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2151
	Replace everywhere with INT_TO_FIXED.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2152
	(FT_FIXED_TO_INT): Move to ...
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2153
	* include/freetype/internal/ftcalc.h (FIXED_TO_INT): Here.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2154
	Update all users.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2155
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2156
2009-06-20  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2157
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2158
	Remove unused variables.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2159
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2160
	* include/freetype/internal/psaux.h (T1_BuilderRec),
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2161
	src/cff/cffgload.h (CFF_Builder): Remove `last'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2162
	Update all users.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2163
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2164
2009-06-20  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2165
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2166
	[psaux] Check large integers while parsing charstrings.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2167
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2168
	* src/psaux/t1decode.c (t1_decoder_parse_charstrings): Large
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2169
	integers must be followed by a `div' operator.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2170
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2171
2009-06-20  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2172
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2173
	[cff] Revert last change.
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/cffgload.c (cff_decoder_parse_charstrings): Do it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2176
	Next time, don't confuse Type 2 charstring opcodes with TOP DICT
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2177
	values...
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
2009-06-20  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2180
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2181
	* src/autofit/aflatin.c (af_latin_metrics_check_digits): Fix
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2182
	compiler warning.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2183
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2184
2009-06-20  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2185
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2186
	* builds/compiler/gcc.mk (CFLAGS): Use -O3, not -O6.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2187
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2188
2009-06-19  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2189
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2190
	[cff] Fix handling of reserved byte 0xFF.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2191
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2192
	* src/cff/cffgload.c (cff_decoder_parse_charstrings): Abort if byte
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2193
	0xFF is encountered.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2194
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2195
2009-06-19  Werner Lemberg  <wl@gnu.org>
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
	Improve debug messages for Type1 charstrings.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2198
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2199
	* src/psaux/t1decode.c (t1_decoder_parse_charstrings): Emit newlines
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2200
	after instructions.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2201
	Prettify output.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2202
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2203
2009-06-19  Werner Lemberg  <wl@gnu.org>
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
	More ftgray fixes for FT_STATIC_RASTER.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2206
	Problems reported by suyu@cooee.cn.
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
	* src/smooth/ftgrays.c (gray_move_to, gray_raster_render): Use
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2209
	RAS_VAR.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2210
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2211
2009-06-18  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2212
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2213
	* docs/CHANGES: Updated.
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
2009-06-18  Werner Lemberg  <wl@gnu.org>
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 B/W rasterization of subglyphs with different drop-out modes.
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
	Normally, the SCANMODE instruction (if present) to set the drop-out
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2220
	mode in a TrueType font is located in the `prep' table only and thus
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2221
	valid for all glyphs.  However, there are fonts like `pala.ttf'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2222
	which additionally contain this instruction in the hinting code of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2223
	some glyphs (but not all).  As a result it can happen that a
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2224
	composite glyph needs multiple drop-out modes for its subglyphs
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2225
	since the rendering state gets reset for each subglyph.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2226
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2227
	FreeType collects the hinted outlines from all subglyphs, then it
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2228
	sends the data to the rasterizer.  It also sends the drop-out mode
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2229
	-- after hinting has been applied -- and here is the error: It sends
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2230
	the drop-out mode of the last subglyph only; drop-out modes of all
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2231
	other subglyphs are lost.
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 patch fixes the problem; it adds a second, alternative
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2234
	mechanism to pass the drop-out mode: For each contour, the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2235
	rasterizer now checks the first `tags' array element.  If bit 2 is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2236
	set, bits 5-7 contain the contour's drop-out mode, overriding the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2237
	global drop-out mode.
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
	* include/freetype/ftimage.h (FT_CURVE_TAG_HAS_SCANMODE): New macro.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2240
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2241
	* src/truetype/ttgload.c (TT_Hint_Glyph): Store drop-out mode in
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2242
	`tags[0]'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2243
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2244
	* src/raster/ftraster.c (Flow_Up, Overshoot_Top, Overshoot_Bottom):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2245
	Use bits 3-5 instead of 0-2.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2246
	(New_Profile): Set the drop-out mode in the profile's `flags' field.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2247
	(Decompose_Curve): Check `tags[0]' and set `dropOutControl' if
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2248
	necessary.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2249
	(Vertical_Sweep_Drop, Horizontal_Sweep_Drop,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2250
	Horizontal_Gray_Sweep_Drop, Draw_Sweep): Use the profile's drop-out
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2251
	mode.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2252
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2253
2009-06-16  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2254
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2255
	Improve scan conversion rules 4 and 6.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2256
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2257
	Two new constraints are introduced to better identify a `stub' -- a
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2258
	concept which is only vaguely described in the OpenType
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2259
	specification.  The old code was too rigorous and suppressed more
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2260
	pixel than it should.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2261
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2262
	  . The intersection of the two profiles with the scanline is less
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2263
	    than a half pixel.  Code related to this was already present in
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2264
	    the sources but has been commented out.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2265
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2266
	  . The endpoint of the original contour forming a profile has a
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2267
	    distance (`overshoot') less than half a pixel to the scanline.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2268
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2269
	Note that the two additional conditions fix almost all differences
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2270
	to the Windows rasterizer, but some problematic cases remain.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2271
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2272
	* src/raster/ftraster.c (Overshoot_Top, Overshoot_Bottom): New
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2273
	macros for the `flags' field in the `TProfile' structure.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2274
	(IS_BOTTOM_OVERSHOOT, IS_TOP_OVERSHOOT): New macros.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2275
	(New_Profile, End_Profile): Pass overshoot flag as an argument and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2276
	set it accordingly.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2277
	Update callers.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2278
	(Vertical_Sweep_Drop, Horizontal_Sweep_Drop): Implement the two new
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2279
	constraints.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2280
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2281
2009-06-11  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2282
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2283
	Increase precision for B/W rasterizer.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2284
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2285
	* src/raster/ftraster.c (Set_High_Precision): Add two more bits to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2286
	the precision.  This corrects rendering of some small glyphs, for
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2287
	example, glyph `xi' in verdana.ttf at 13 ppem.  Testing with ftbench
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2288
	on my GNU/Linux box I don't see a performance degradation.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2289
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2290
2009-06-08  Michael Zucchi  <notzed@gmail.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2291
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2292
	Handle FT_STROKER_LINECAP_BUTT.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2293
	This fixes Savannah bug #26757.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2294
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2295
	* src/base/ftstroke.c (ft_stroker_cap): Implement it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2296
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2297
2009-06-07  Harald Fernengel  <harry@kdevelop.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2298
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2299
	Fix some potential out-of-memory crashes.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2300
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2301
	* src/base/ftobjs.c (ft_glyphslot_done): Check `slot->internal'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2302
	* src/base/ftstream.c (FT_Stream_ReleaseFrame): Check `stream'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2303
	* src/truetype/ttinterp.c (TT_New_Context): Avoid double-free of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2304
	`exec' in case of failure.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2305
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2306
2009-06-07  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2307
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2308
	Simplify math.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2309
	Suggested by Alexei Podtelezhnikov <apodtele@gmail.com>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2310
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2311
	* src/raster/ftraster.c (Vertical_Sweep_Drop, Horizontal_Sweep_Drop,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2312
	Horizontal_Gray_Sweep_Drop): Do it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2313
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2314
2009-06-04  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2315
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2316
	Preparation for fixing scan conversion rules 4 and 6.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2317
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2318
	* src/raster/ftraster.c (TFlow): Replace enumeration with...
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2319
	(Flow_Up): This macro.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2320
	(TProfile): Replace `flow' member with `flags' bit field.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2321
	Update all affected code.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2322
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2323
2009-05-29  James Cloos  <cloos@jhcloos.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2324
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2325
	Enable autohinting for glyphs rotated by multiples of 90°.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2326
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2327
	* src/base/ftobjs.c (FT_Load_Glyph): Alter check for permitted
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2328
	matrices to allow rotations by multiples of 90°, not only unrotated,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2329
	possibly slanted matrices.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2330
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2331
2009-05-28  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2332
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2333
	Remove compiler warning.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2334
	Reported by Krzysztof Kowalczyk <kkowalczyk@gmail.com>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2335
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2336
	* src/autofit/aflatin2.c (af_latin2_hint_edges): Move declaration of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2337
	`n_edges' into `#if' block.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2338
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2339
2009-05-28  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2340
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2341
	Make compilation work with FT_CONFIG_OPTION_USE_ZLIB not defined.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2342
	Reported by Krzysztof Kowalczyk <kkowalczyk@gmail.com>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2343
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2344
	* src/pcf/pcfdrivr.c (PCF_Face_Init) [!FT_CONFIG_OPTION_USE_ZLIB]:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2345
	Make it work.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2346
	Simplify #ifdef logic.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2347
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2348
2009-05-22  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2349
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2350
	Improve b/w rasterizer.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2351
	Problem reported by Krzysztof Kotlenga <pocek@users.sf.net>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2352
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2353
	* src/raster/raster.c (Vertical_Sweep_Drop, Horizontal_Sweep_Drop,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2354
	Horizontal_Gray_Sweep_Drop): For smart drop-out mode, if
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2355
	intersections are equally distant relative to next pixel center,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2356
	select the left pixel, not the right one.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2357
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2358
2009-05-19  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2359
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2360
	Fix Savannah bug #26600.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2361
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2362
	* src/type42/t42parse.c (t42_load_keyword): Handle
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2363
	T1_FIELD_LOCATION_FONT_EXTRA.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2364
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2365
2009-04-30  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2366
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2367
	Document recent changes to ftview.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2368
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2369
	* docs/CHANGES: Do it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2370
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2371
2009-04-27  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2372
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2373
	autohinter: Don't change digit widths if all widths are the same.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2374
	This fixes FreeDesktop bug #21197.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2375
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2376
	* src/autofit/afglobal.c (AF_DIGIT): New macro.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2377
	(af_face_globals_compute_script_coverage): Mark ASCII digits in
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2378
	`glyph_scripts' array.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2379
	(af_face_globals_get_metrics): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2380
	(af_face_globals_is_digit): New function.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2381
	* src/autofit/afglobal.h: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2382
	(AF_ScriptMetricsRec): Add `digits_have_same_width' flag.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2383
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2384
	* src/autofit/aflatin.c: Include FT_ADVANCES_H.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2385
	(af_latin_metrics_check_digits): New function.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2386
	(af_latin_metrics_init): Use it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2387
	* src/autofit/aflatin.h: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2388
	* src/autofit/afcjk.c (af_cjk_metrics_init): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2389
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2390
	* src/autofit/aflatin2.c: Similar changes as with aflatin.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2391
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2392
	* src/autofit/afloader.c (af_loader_load_g): Test digit width.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2393
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2394
	* docs/CHANGES: Document it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2395
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2396
2009-04-26  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2397
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2398
	Make ftgrays compile with _STANDALONE_ and FT_STATIC_RASTER again.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2399
	Problems reported by suyu@cooee.cn.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2400
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2401
	* src/smooth/ftgrays.c (FT_DEFINE_OUTLINE_FUNCS,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2402
	FT_DEFINE_RASTER_FUNCS) [_STANDALONE_]: Define.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2403
	[!_STANDALONE_]: Include ftspic.h only here.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2404
	(ras): Define/declare after definition of `TWorker'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2405
	Use `RAS_VAR_' where necessary.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2406
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2407
2009-04-21  Karl Berry  <karl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2408
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2409
	Fix AC_CHECK_FT2.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2410
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2411
	* builds/unix/freetype2.m4: Only check PATH for freetype-config if
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2412
	we did not already find it from a prefix option.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2413
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2414
2009-04-05  Oran Agra  <oran@monfort.co.il>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2415
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2416
	Add #error to modules and files that do not support PIC yet.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2417
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2418
	When FT_CONFIG_OPTION_PIC is defined the following files will
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2419
	create #error:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2420
	* src/bdf/bdfdrivr.h
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2421
	* src/cache/ftcmanag.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2422
	* src/cid/cidriver.h
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2423
	* src/gxvalid/gxvmod.h
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2424
	* src/gzip/ftgzip.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2425
	* src/lzw/ftlzw.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2426
	* src/otvalid/otvmod.h
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2427
	* src/pcf/pcfdrivr.h
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2428
	* src/pfr/pfrdrivr.h
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2429
	* src/psaux/psauxmod.h
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2430
	* src/type1/t1driver.h
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2431
	* src/type42/t42drivr.h
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2432
	* src/winfonts/winfnt.h
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2433
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2434
2009-04-05  Oran Agra  <oran@monfort.co.il>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2435
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2436
	Position Independent Code (PIC) support in autofit module.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2437
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2438
	* include/freetype/internal/autohint.h add macros to init
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2439
	instances of FT_AutoHinter_ServiceRec.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2440
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2441
	* src/autofit/afmodule.h declare autofit_module_class
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2442
	using macros from ftmodapi.h,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2443
	when FT_CONFIG_OPTION_PIC is defined create and destroy
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2444
	functions will be declared.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2445
	* src/autofit/afmodule.c when FT_CONFIG_OPTION_PIC is defined
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2446
	af_autofitter_service and autofit_module_class structs
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2447
	will have functions to init or create and destroy them
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2448
	instead of being allocated in the global scope.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2449
	And macros will be used from afpic.h in order to access them.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2450
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2451
	* src/autofit/aftypes.h add macros to init and declare
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2452
	instances of AF_ScriptClassRec.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2453
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2454
	* src/autofit/afcjk.h declare af_cjk_script_class
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2455
	using macros from aftypes.h,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2456
	when FT_CONFIG_OPTION_PIC is defined init function will be declared.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2457
	* src/autofit/afcjk.c when FT_CONFIG_OPTION_PIC is defined
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2458
	af_cjk_script_class struct will have function to init it instead of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2459
	being allocated in the global scope.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2460
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2461
	* src/autofit/afdummy.h declare af_dummy_script_class
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2462
	using macros from aftypes.h,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2463
	when FT_CONFIG_OPTION_PIC is defined init function will be declared.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2464
	* src/autofit/afdummy.c when FT_CONFIG_OPTION_PIC is defined
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2465
	af_dummy_script_class struct will have function to init it instead of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2466
	being allocated in the global scope.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2467
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2468
	* src/autofit/afindic.h declare af_indic_script_class
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2469
	using macros from aftypes.h,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2470
	when FT_CONFIG_OPTION_PIC is defined init function will be declared.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2471
	* src/autofit/afindic.c when FT_CONFIG_OPTION_PIC is defined
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2472
	af_indic_script_class struct will have function to init it instead of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2473
	being allocated in the global scope.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2474
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2475
	* src/autofit/aflatin.h declare af_latin_script_class
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2476
	using macros from aftypes.h,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2477
	when FT_CONFIG_OPTION_PIC is defined init function will be declared.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2478
	* src/autofit/aflatin.c when FT_CONFIG_OPTION_PIC is defined
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2479
	af_latin_script_class struct will have function to init it instead of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2480
	being allocated in the global scope.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2481
	Change af_latin_blue_chars to be PIC-compatible by being a two
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2482
	dimentional array rather than array of pointers.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2483
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2484
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2485
	* src/autofit/aflatin2.h declare af_latin2_script_class
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2486
	using macros from aftypes.h,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2487
	when FT_CONFIG_OPTION_PIC is defined init function will be declared.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2488
	* src/autofit/aflatin2.c when FT_CONFIG_OPTION_PIC is defined
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2489
	af_latin2_script_class struct will have function to init it instead of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2490
	being allocated in the global scope.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2491
	Change af_latin2_blue_chars to be PIC-compatible by being a two
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2492
	dimentional array rather than array of pointers.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2493
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2494
	* src/autofit/afglobal.c when FT_CONFIG_OPTION_PIC is defined
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2495
	af_script_classes array initialization was moved to afpic.c and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2496
	is later refered using macros defeined in afpic.h.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2497
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2498
	New Files:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2499
	* src/autofit/afpic.h declare struct to hold PIC globals for autofit
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2500
	module and macros to access them.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2501
	* src/autofit/afpic.c implement functions to allocate, destroy and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2502
	initialize PIC globals for autofit module.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2503
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2504
	* src/autofit/autofit.c add new file to build: afpic.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2505
	* src/autofit/jamfile add new files to FT2_MULTI build: afpic.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2506
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2507
2009-04-05  Oran Agra  <oran@monfort.co.il>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2508
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2509
	Position Independent Code (PIC) support in pshinter module.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2510
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2511
	* include/freetype/internal/pshints.h add macros to init
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2512
	instances of PSHinter_Interface.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2513
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2514
	* src/pshinter/pshmod.h declare pshinter_module_class
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2515
	using macros from ftmodapi.h,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2516
	when FT_CONFIG_OPTION_PIC is defined create and destroy
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2517
	functions will be declared.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2518
	* src/pshinter/pshmod.c when FT_CONFIG_OPTION_PIC is defined
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2519
	pshinter_interface and pshinter_module_class structs
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2520
	will have functions to init or create and destroy them
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2521
	instead of being allocated in the global scope.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2522
	And macros will be used from pshpic.h in order to access them.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2523
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2524
	New Files:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2525
	* src/pshinter/pshpic.h declare struct to hold PIC globals for pshinter
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2526
	module and macros to access them.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2527
	* src/pshinter/pshpic.c implement functions to allocate, destroy and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2528
	initialize PIC globals for pshinter module.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2529
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2530
	* src/pshinter/pshinter.c add new file to build: pshpic.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2531
	* src/pshinter/jamfile add new files to FT2_MULTI build: pshpic.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2532
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2533
2009-04-05  Oran Agra  <oran@monfort.co.il>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2534
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2535
	Position Independent Code (PIC) support in psnames module.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2536
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2537
	* include/freetype/internal/services/svpscmap.h add macros to init
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2538
	instances of FT_Service_PsCMapsRec.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2539
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2540
	* src/psnames/psmodule.h declare psnames_module_class
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2541
	using macros from ftmodapi.h,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2542
	when FT_CONFIG_OPTION_PIC is defined create and destroy
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2543
	functions will be declared.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2544
	* src/psnames/psmodule.c when FT_CONFIG_OPTION_PIC is defined
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2545
	pscmaps_interface and pscmaps_services structs
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2546
	and psnames_module_class array
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2547
	will have functions to init or create and destroy them
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2548
	instead of being allocated in the global scope.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2549
	And macros will be used from pspic.h in order to access them.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2550
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2551
	New Files:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2552
	* src/psnames/pspic.h declare struct to hold PIC globals for psnames
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2553
	module and macros to access them.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2554
	* src/psnames/pspic.c implement functions to allocate, destroy and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2555
	initialize PIC globals for psnames module.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2556
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2557
	* src/psnames/psnames.c add new file to build: pspic.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2558
	* src/psnames/jamfile add new files to FT2_MULTI build: pspic.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2559
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2560
2009-04-05  Oran Agra  <oran@monfort.co.il>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2561
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2562
	Position Independent Code (PIC) support in raster renderer.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2563
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2564
	* src/raster/ftrend1.h declare ft_raster1_renderer_class
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2565
	and ft_raster5_renderer_class
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2566
	using macros from ftrender.h,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2567
	when FT_CONFIG_OPTION_PIC is defined create and destroy
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2568
	functions will be declared.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2569
	* src/smooth/ftrend1.c when FT_CONFIG_OPTION_PIC is defined
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2570
	ft_raster1_renderer_class and ft_raster5_renderer_class structs
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2571
	will have functions to init or create and destroy them
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2572
	instead of being allocated in the global scope.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2573
	Macros will be used from rastpic.h in order to access
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2574
	ft_standard_raster from the pic_container (allocated in ftraster.c).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2575
	In ft_raster1_render when PIC is enabled, the last letter of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2576
	module_name is used to verfy the renderer class rather than the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2577
	class pointer.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2578
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2579
	* src/raster/ftraster.c when FT_CONFIG_OPTION_PIC is defined
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2580
	ft_standard_raster struct will have function to init it
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2581
	instead of being allocated in the global scope.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2582
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2583
	New Files:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2584
	* src/raster/rastpic.h declare struct to hold PIC globals for raster
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2585
	renderer and macros to access them.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2586
	* src/raster/rastpic.c implement functions to allocate, destroy and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2587
	initialize PIC globals for raster renderer.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2588
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2589
	* src/raster/raster.c add new file to build: rastpic.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2590
	* src/raster/jamfile add new files to FT2_MULTI build: rastpic.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2591
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2592
2009-04-05  Oran Agra  <oran@monfort.co.il>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2593
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2594
	Position Independent Code (PIC) support in smooth renderer.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2595
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2596
	* src/smooth/ftsmooth.h declare ft_smooth_renderer_class,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2597
	ft_smooth_lcd_renderer_class and ft_smooth_lcd_v_renderer_class
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2598
	using macros from ftrender.h,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2599
	when FT_CONFIG_OPTION_PIC is defined create and destroy
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2600
	functions will be declared.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2601
	* src/smooth/ftsmooth.c when FT_CONFIG_OPTION_PIC is defined
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2602
	the following structs:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2603
	ft_smooth_renderer_class, ft_smooth_lcd_renderer_class
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2604
	and ft_smooth_lcd_v_renderer_class
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2605
	will have functions to init or create and destroy them
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2606
	instead of being allocated in the global scope.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2607
	And macros will be used from ftspic.h in order to access
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2608
	ft_grays_raster from the pic_container (allocated in ftgrays.c).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2609
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2610
	* src/smooth/ftgrays.h include FT_CONFIG_CONFIG_H
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2611
	* src/smooth/ftgrays.c when FT_CONFIG_OPTION_PIC is NOT defined
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2612
	func_interface was moved from gray_convert_glyph_inner function
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2613
	to the global scope.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2614
	When FT_CONFIG_OPTION_PIC is defined
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2615
	func_interface and ft_grays_raster structs
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2616
	will have functions to init them
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2617
	instead of being allocated in the global scope.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2618
	And func_interface will be allocated on the stack of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2619
	gray_convert_glyph_inner.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2620
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2621
	New Files:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2622
	* src/smooth/ftspic.h declare struct to hold PIC globals for smooth
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2623
	renderer and macros to access them.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2624
	* src/smooth/ftspic.c implement functions to allocate, destroy and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2625
	initialize PIC globals for smooth renderer.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2626
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2627
	* src/smooth/smooth.c add new file to build: ftspic.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2628
	* src/smooth/jamfile add new files to FT2_MULTI build: ftspic.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2629
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2630
2009-04-05  Oran Agra  <oran@monfort.co.il>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2631
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2632
	Position Independent Code (PIC) support in cff driver.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2633
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2634
	* include/freetype/internal/services/svcid.h add macros to init
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2635
	instances of FT_Service_CIDRec.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2636
	* include/freetype/internal/services/svpsinfo.h add macros to init
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2637
	instances of FT_Service_PsInfoRec.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2638
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2639
	* src/cff/cffcmap.h declare cff_cmap_encoding_class_rec
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2640
	and cff_cmap_unicode_class_rec using macros from
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2641
	ftobjs.h, when FT_CONFIG_OPTION_PIC is defined create and destroy
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2642
	functions will be declared.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2643
	* src/cff/cffcmap.c when FT_CONFIG_OPTION_PIC is defined
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2644
	the following structs:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2645
	cff_cmap_encoding_class_rec and cff_cmap_unicode_class_rec
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2646
	will have functions to init or create and destroy them
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2647
	instead of being allocated in the global scope.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2648
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2649
	* src/cff/cffdrivr.h declare cff_driver_class using macros from
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2650
	ftdriver.h, when FT_CONFIG_OPTION_PIC is defined create and destroy
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2651
	functions will be declared.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2652
	* src/cff/cffdrivr.c when FT_CONFIG_OPTION_PIC is defined
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2653
	the following structs:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2654
	cff_service_glyph_dict, cff_service_ps_info, cff_service_ps_name
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2655
	cff_service_get_cmap_info, cff_service_cid_info, cff_driver_class,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2656
	and cff_services array
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2657
	will have functions to init or create and destroy them
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2658
	instead of being allocated in the global scope.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2659
	And macros will be used from cffpic.h in order to access them
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2660
	from the pic_container.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2661
	Use macros from cffpic.h in order to access the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2662
	structs allocated in cffcmap.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2663
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2664
	* src/cff/cffobjs.c Use macros from cffpic.h in order to access the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2665
	structs allocated in cffcmap.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2666
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2667
	* src/cff/parser.c when FT_CONFIG_OPTION_PIC is defined
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2668
	implement functions to create and destroy cff_field_handlers array
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2669
	instead of being allocated in the global scope.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2670
	And macros will be used from cffpic.h in order to access it
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2671
	from the pic_container.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2672
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2673
	New Files:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2674
	* src/cff/cffpic.h declare struct to hold PIC globals for cff
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2675
	driver and macros to access them.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2676
	* src/cff/cffpic.c implement functions to allocate, destroy and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2677
	initialize PIC globals for cff driver.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2678
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2679
	* src/cff/cff.c add new file to build: cffpic.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2680
	* src/cff/jamfile add new files to FT2_MULTI build: cffpic.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2681
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2682
2009-04-05  Oran Agra  <oran@monfort.co.il>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2683
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2684
	Position Independent Code (PIC) support in sfnt driver.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2685
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2686
	* include/freetype/internal/services/svbdf.h add macros to init
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2687
	instances of FT_Service_BDFRec.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2688
	* include/freetype/internal/services/svgldict.h add macros to init
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2689
	instances of FT_Service_GlyphDictRec.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2690
	* include/freetype/internal/services/svpostnm.h add macros to init
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2691
	instances of FT_Service_PsFontNameRec.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2692
	* include/freetype/internal/services/svsfnt.h add macros to init
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2693
	instances of FT_Service_SFNT_TableRec.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2694
	* include/freetype/internal/services/svttcmap.h add macros to init
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2695
	instances of FT_Service_TTCMapsRec.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2696
	* include/freetype/internal/sfnt.h add macros to init
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2697
	instances of SFNT_Interface.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2698
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2699
	* src/sfnt/sfdriver.h declare sfnt_module_class using macros from
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2700
	ftmodapi.h, when FT_CONFIG_OPTION_PIC is defined create and destroy
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2701
	functions will be declared.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2702
	* src/sfnt/sfdriver.c when FT_CONFIG_OPTION_PIC is defined
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2703
	the following structs:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2704
	sfnt_service_sfnt_table, sfnt_service_glyph_dict, sfnt_service_ps_name
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2705
	tt_service_get_cmap_info, sfnt_service_bdf, sfnt_interface,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2706
	sfnt_module_class, and sfnt_services array
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2707
	will have functions to init or create and destroy them
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2708
	instead of being allocated in the global scope.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2709
	And macros will be used from sfntpic.h in order to access them
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2710
	from the pic_container.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2711
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2712
	* src/sfnt/ttcmap.h add macros to init
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2713
	instances of TT_CMap_ClassRec.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2714
	* src/sfnt/ttcmap.c when FT_CONFIG_OPTION_PIC is defined
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2715
	the following structs:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2716
	tt_cmap0_class_rec, tt_cmap2_class_rec, tt_cmap4_class_rec
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2717
	tt_cmap6_class_rec, tt_cmap8_class_rec, tt_cmap10_class_rec,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2718
	tt_cmap12_class_rec, tt_cmap14_class_rec and tt_cmap_classes array
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2719
	will have functions to init or create and destroy them
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2720
	instead of being allocated in the global scope.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2721
	And macros will be used from sfntpic.h in order to access them
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2722
	from the pic_container.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2723
	The content of tt_cmap_classes is now described in the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2724
	new file 'ttcmapc.h'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2725
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2726
	New Files:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2727
	* src/sfnt/sfntpic.h declare struct to hold PIC globals for sfnt
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2728
	driver and macros to access them.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2729
	* src/sfnt/sfntpic.c implement functions to allocate, destroy and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2730
	initialize PIC globals for sfnt driver.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2731
	* src/sfnt/ttcmapc.h describing the content of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2732
	tt_cmap_classes allocated in ttcmap.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2733
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2734
	* src/sfnt/sfnt.c add new file to build: sfntpic.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2735
	* src/sfnt/jamfile add new files to FT2_MULTI build: sfntpic.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2736
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2737
2009-04-05  Oran Agra  <oran@monfort.co.il>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2738
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2739
	Position Independent Code (PIC) support in truetype driver.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2740
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2741
	* include/freetype/internal/services/svmm.h add macros to init
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2742
	instances of FT_Service_MultiMastersRec.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2743
	* include/freetype/internal/services/svttglyf.h add macros to init
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2744
	instances of FT_Service_TTGlyfRec.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2745
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2746
	* src/truetype/ttdriver.h declare tt_driver_class using macros from
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2747
	ftdriver.h, when FT_CONFIG_OPTION_PIC is defined create and destroy
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2748
	functions will be declared.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2749
	* src/truetype/ttdriver.c when FT_CONFIG_OPTION_PIC is defined
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2750
	the following structs:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2751
	tt_service_gx_multi_masters, tt_service_truetype_glyf, tt_driver_class
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2752
	and tt_services array,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2753
	will have functions to init or create and destroy them
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2754
	instead of being allocated in the global scope.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2755
	And macros will be used from ttpic.h in order to access them
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2756
	from the pic_container.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2757
	* src/truetype/ttobjs.c change trick_names array to be
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2758
	PIC-compatible by being a two dimentional array rather than array
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2759
	of pointers.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2760
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2761
	New Files:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2762
	* src/truetype/ttpic.h declare struct to hold PIC globals for truetype
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2763
	driver and macros to access them.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2764
	* src/truetype/ttpic.c implement functions to allocate, destroy and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2765
	initialize PIC globals for truetype driver.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2766
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2767
	* src/truetype/truetype.c add new file to build: ttpic.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2768
	* src/truetype/jamfile add new files to FT2_MULTI build: ttpic.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2769
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2770
2009-04-05  Oran Agra  <oran@monfort.co.il>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2771
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2772
	Position Independent Code (PIC) support and infrastructure in base.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2773
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2774
	* include/freetype/config/ftoption.h add FT_CONFIG_OPTION_PIC
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2775
	* include/freetype/internal/ftobjs.h Add pic_container member to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2776
	FT_LibraryRec.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2777
	Add macros to declare and init instances of FT_CMap_ClassRec.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2778
	Add macros to init instances of FT_Outline_Funcs and FT_Raster_Funcs.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2779
	Add macros to declare, allocate and initialize modules
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2780
	(FT_Module_Class).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2781
	Add macros to declare, allocate and initialize renderers
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2782
	(FT_Renderer_Class).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2783
	Add macro to init instances of FT_Glyph_Class.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2784
	Add macros to declare, allocate and initialize drivers
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2785
	(FT_Driver_ClassRec).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2786
	* include/freetype/internal/ftpic.h new file to declare the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2787
	FT_PIC_Container struct and the functions to allocate and detroy it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2788
	* include/freetype/internal/ftserv.h add macros to allocate and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2789
	destory arrays of FT_ServiceDescRec.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2790
	* include/freetype/internal/internal.h define macro to include
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2791
	ftpic.h.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2792
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2793
	New Files:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2794
	* src/base/ftpic.c implement functions to allocate and destory the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2795
	global pic_container.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2796
	* src/base/basepic.h declare struct to hold PIC globals for base and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2797
	macros to access them.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2798
	* src/base/basepic.c implement functions to allocate, destroy and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2799
	initialize PIC globals for base.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2800
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2801
	* src/base/ftinit.c when FT_CONFIG_OPTION_PIC is defined implement
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2802
	functions that allocate and destroy ft_default_modules according to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2803
	FT_CONFIG_MODULES_H in the pic_container instead of the global scope
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2804
	and use macro from basepic.h to access it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2805
	* src/base/ftobjs.c add calls to the functions that allocate and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2806
	destroy the global pic_container when the library is created and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2807
	destroyed.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2808
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2809
	* src/base/jamfile add new files to FT2_MULTI build:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2810
	ftpic.c and basepic.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2811
	* src/base/ftbase.c add new files to build:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2812
	ftpic.c and basepic.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2813
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2814
	* src/base/ftglyph.c when FT_CONFIG_OPTION_PIC is defined
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2815
	ft_bitmap_glyph_class and ft_outline_glyph_class will be allocated
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2816
	in the pic_container instead of the global scope and use macros from
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2817
 	basepic.h to access them.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2818
	* src/base/ftbbox.c allocate bbox_interface stract on the stack
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2819
	instead of the global scope when FT_CONFIG_OPTION_PIC is defined.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2820
	* src/base/ftstroke.c access ft_outline_glyph_class allocated in
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2821
	ftglyph.c via macros from basepic.h
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2822
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2823
2009-04-05  Oran Agra  <oran@monfort.co.il>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2824
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2825
	Preparing changes in cff parser later needed for PIC version.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2826
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2827
	* src/cff/cffload.c, src/cff/cffload.h, src/cff/cffobjs.c,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2828
	src/cff/cffparse.c, src/cff/cffparse.h: Add library pointer to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2829
	'CFF_ParserRec' set by `cff_parser_init'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2830
	Route library pointer from 'cff_face_init' to 'cff_subfont_load'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2831
	for `cff_parser_init'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2832
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2833
	* src/cff/cffparse.c (CFF_Field_Handler): Move it to...
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2834
	* src/cff/cffparse.h: This file, to be used by other C files.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2835
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2836
2009-04-05  Oran Agra  <oran@monfort.co.il>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2837
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2838
	Minor change in ftstroke.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2839
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2840
	* src/base/ftstroke.c (FT_StrokerRec): Replace `memory' member with
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2841
	`library' needed for PIC version.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2842
	Update all callers.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2843
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2844
2009-04-04  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2845
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2846
	ftnames.c -> ftsnames.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2847
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2848
	* src/base/ftnames.c: Rename to...
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2849
	* src/base/ftsnames.c: This.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2850
	* src/base/Jamfile, src/base/rules.mk, src/base/ftbase.c: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2851
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2852
2009-04-04  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2853
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2854
	Add support for cmap type 13.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2855
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2856
	* 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
  2857
	(TT_CONFIG_CMAP_FORMAT_13): New macro.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2858
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2859
	* src/sfnt/ttcmap.c (TT_CMap13Rec, tt_cmap13_init,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2860
	tt_cmap13_validate, tt_cmap13_char_index, tt_cmap13_char_next,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2861
	tt_cmap13_get_info, tt_cmap13_char_map_def_binary,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2862
	tt_cmap14_class_rec): New functions and structures for cmap 13
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2863
	support.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2864
	(tt_cmap_classes): Register tt_cmap13_class_rec.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2865
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2866
	* docs/CHANGES: Mention cmap 13 support.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2867
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2868
2009-04-01  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2869
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2870
	Ignore empty contours in CFF glyphs.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2871
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2872
	Problem 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
  2873
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2874
	* src/cff/cffgload.c (cff_builder_close_contour): Synchronize with
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2875
	t1_builder_close_contour.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2876
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2877
2009-03-21  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2878
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2879
	Another redundant header inclusion.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2880
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2881
	* src/truetype/ttgxvar.c: Fix Ghostscript Coverity issue #4041.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2882
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2883
2009-03-21  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2884
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2885
	Remove redundant header inclusions.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2886
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2887
	This covers many Ghostscript Coverity issues.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2888
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2889
	* src/*: Do it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2890
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2891
2009-03-21  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2892
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2893
	Fix Ghostscript Coverity issue #3904.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2894
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2895
	* 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
  2896
	invalid values of `runcnt'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2897
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2898
2009-03-20  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2899
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2900
	Fix `make multi' run.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2901
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2902
	* src/smooth/ftsmooth.h: Include FT_INTERNAL_DEBUG_H.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2903
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2904
2009-03-20  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2905
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2906
	Fix Savannah bug #25923.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2907
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2908
	* src/cache/ftccmap.c (FTC_CMAP_HASH): Fix typo.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2909
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2910
2009-03-20  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2911
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2912
	Protect against too large glyphs.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2913
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2914
	Problem reported by Tavis Ormandy <taviso@google.com>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2915
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2916
	* src/smooth/ftsmooth.c (ft_smooth_render_generic): Don't allow
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2917
	`pitch' or `height' to be larger than 0xFFFF.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2918
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2919
2009-03-20  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2920
	    Tavis Ormandy  <taviso@google.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2921
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2922
	Fix validation for various cmap table formats.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2923
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2924
	* src/sfnt/ttcmap.c (tt_cmap8_validate, tt_cmap10_validate,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2925
	tt_cmap12_validate): Check `length' correctly.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2926
	(tt_cmap_14_validate): Check `length' and `numMappings' correctly.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2927
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2928
2009-03-20  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2929
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2930
	Protect against malformed compressed data.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2931
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2932
	* src/lzw/ftzopen.c (ft_lzwstate_io): Test whether `state->prefix' is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2933
	zero.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2934
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2935
2009-03-20  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2936
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2937
	Protect against invalid SID values in CFFs.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2938
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2939
	Problem reported by Tavis Ormandy <taviso@google.com>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2940
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2941
	* src/cff/cffload.c (cff_charset_load): Reject SID values larger
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2942
	than 64999.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2943
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2944
2009-03-19  Vincent Richomme  <richom.v@free.fr>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2945
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2946
	Update WinCE Visual C project files.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2947
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2948
	* builds/wince/vc2005-ce/freetype.vcproj,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2949
	builds/wince/vc2008-ce/freetype.vcproj: Add missing base extension
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2950
	files.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2951
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2952
2009-03-19  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2953
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2954
	Remove unused Win32 code.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2955
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2956
	* builds/wince/ftdebug.c: Remove code guarded with `!_WIN32_WCE'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2957
	Since Win32 is handled separately this is no longer needed.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2958
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2959
2009-03-19  Vincent Richomme  <richom.v@free.fr>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2960
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2961
	Make `gzip' module compile on WinCE.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2962
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2963
	* src/gzip/zconf.h [_WIN32_WCE]: Define NO_ERRNO_H.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2964
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2965
2009-03-19  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2966
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2967
	Remove unused WinCE code.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2968
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2969
	* builds/win32/ftdebug.c: Remove code guarded with `_WIN32_WCE'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2970
	Since WinCE is handled separately this is no longer needed.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2971
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2972
2009-03-16  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2973
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2974
	docmaker: Don't ignore single-line code blocks.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2975
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2976
	* src/tools/docmaker/content.py (DocBlock::_init__): Fix change from
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2977
	2009-01-31.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2978
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2979
2009-03-15  Steve Langasek  <steve.langasek@canonical.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2980
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2981
	Use __asm__ for declaring assembly instead of asm.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2982
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2983
	* builds/unix/ftconfig.in (FT_MulFix_arm): Use __asm__ instead of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2984
	asm on arm, fixing a build failure on armel with -pedantic.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2985
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2986
2009-03-14  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2987
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2988
	Fix valgrind warning.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2989
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2990
	* src/sfnt/ttsbit0.c (tt_sbit_decoder_load_bit_aligned): Don't read
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2991
	past the end of the frame.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2992
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2993
2009-03-12  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2994
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2995
	* Version 2.3.9 released.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2996
	=========================
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2997
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2998
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  2999
	Tag sources with `VER-2-3-9'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3000
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3001
2009-03-12  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3002
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3003
	* builds/unix/freetype2.in: Move @FT2_EXTRA_LIBS@ to `Libs.private'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3004
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3005
2009-03-12  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3006
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3007
	Fix some FreeType Coverity issues as reported for Ghostscript.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3008
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3009
	* src/base/ftobjs.c (FT_New_Face, FT_New_Memory_Face): Initialize
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3010
	`args.stream' (#3874, #3875).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3011
	(open_face_PS_from_sfnt_stream): Improve error management (#3786).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3012
	* src/base/ftmm.c (ft_face_get_mm_service): Fix check of `aservice'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3013
	(#3870).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3014
	* src/base/ftstroke.c (ft_stroke_border_get_counts): Remove dead
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3015
	code (#3790).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3016
	* src/base/ftrfork.c (raccess_guess_apple_generic): Check error
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3017
	value of `FT_Stream_Skip' (#3784).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3018
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3019
	* src/type1/t1gload.c (T1_Load_Glyph): Check `size' before accessing
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3020
	it (#3872)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3021
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3022
	* src/pcf/pcfdrivr.c (PCF_Glyph_Load): Check `face' before accessing
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3023
	it (#3871).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3024
	* src/pcf/pcfread.c (pcf_get_metrics): Handle return value of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3025
	`pcf_get_metric' (#3789, #3782).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3026
	(pcf_get_properties): Use FT_STREAM_SKIP (#3783).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3027
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3028
	* src/cache/ftcmanag.c (FTC_Manager_RegisterCache): Fix check of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3029
	`acache' (#3797)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3030
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3031
	* src/cff/cffdrivr.c (cff_ps_get_font_info): Fix check of `cff'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3032
	(#3796).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3033
	* src/cff/cffgload.c (cff_decoder_prepare): Check `size' (#3795).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3034
	* src/cff/cffload.c (cff_index_get_pointers): Add comment (#3794).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3035
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3036
	* src/bdf/bdflib.c (_bdf_add_property): Check `fp->value.atom'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3037
	(#3793).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3038
	(_bdf_parse_start): Add comment (#3792).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3039
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3040
	* src/raster/ftraster.c (Finalize_Profile_Table): Check
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3041
	`ras.fProfile' (#3791).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3042
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3043
	* src/sfnt/ttsbit.c (Load_SBit_Image): Use FT_STREAM_SKIP (#3785).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3044
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3045
	* src/gzip/ftgzip.c (ft_gzip_get_uncompressed_size): Properly ignore
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3046
	seek error (#3781).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3047
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3048
2009-03-11  Michael Toftdal  <toftdal@gmail.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3049
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3050
	Extend CID service functions to handle CID-keyed CFFs as CID fonts.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3051
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3052
	* include/freetype/ftcid.h (FT_Get_CID_Is_Internally_CID_keyed,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3053
	FT_Get_CID_From_Glyph_Index): New functions.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3054
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3055
	* include/freetype/internal/services/svcid.h
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3056
	(FT_CID_GetIsInternallyCIDKeyedFunc,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3057
	FT_CID_GetCIDFromGlyphIndexFunc): New function typedefs.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3058
	(CID Service): Use them.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3059
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3060
	* src/base/ftcid.c: Include FT_CID_H.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3061
	(FT_Get_CID_Is_Internally_CID_keyed, FT_Get_CID_From_Glyph_Index):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3062
	New functions.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3063
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3064
	* src/cff/cffdrivr.c (cff_get_is_cid, cff_get_cid_from_glyph_index):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3065
	New functions.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3066
	(cff_service_cid_info): Add them.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3067
	* src/cff/cffload.c (cff_font_load): Don't free `font->charset.sids'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3068
	-- it is needed for access as a CID-keyed font.  It gets deleted
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3069
	later on.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3070
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3071
	* src/cid/cidriver.c (cid_get_is_cid, cid_get_cid_from_glyph_index):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3072
	New functions.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3073
	(cid_service_cid_info): Add them.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3074
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3075
	* docs/CHANGES: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3076
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3077
2009-03-11  Bram Tassyns  <bramt@enfocus.be>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3078
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3079
	Fix Savannah bug #25597.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3080
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3081
	* src/cff/cffparse.c (cff_parse_real): Don't allow fraction_length
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3082
	to become larger than 9.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3083
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3084
2009-03-11  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3085
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3086
	Fix Savannah bug #25814.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3087
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3088
	* builds/unix/freetype2.in: As suggested in the bug report, move
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3089
	@LIBZ@ to `Libs.private'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3090
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3091
2009-03-11  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3092
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3093
	Fix Savannah bug #25781.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3094
	We now simply check for a valid `offset', no longer handling `delta
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3095
	= 1' specially.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3096
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3097
	* src/sfnt/ttcmap.c (tt_cmap4_validate): Don't check `delta' for
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3098
	last segment.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3099
	(tt_cmap4_set_range, tt_cmap4_char_map_linear,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3100
	tt_cmap4_char_map_binary): Check offset.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3101
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3102
2009-03-11  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3103
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3104
	* src/base/Jamfile: Fix handling of ftadvanc.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3105
	Reported by Oran Agra <oran@monfort.co.il>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3106
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3107
2009-03-10  Vincent Richomme  <richom.v@free.fr>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3108
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3109
	Restructure Win32 and Wince compiler support.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3110
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3111
	* src/builds/win32: Remove files for WinCE.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3112
	Move VC 2005 support to a separate directory.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3113
	Add directory for VC 2008 support.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3114
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3115
	* src/builds/wince: New directory hierarchy for WinCE compilers
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3116
	(VC 2005 and VC 2008).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3117
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3118
2009-03-09  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3119
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3120
	More preparations for 2.3.9 release.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3121
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3122
	* docs/CHANGES: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3123
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3124
	* Jamfile, README: s/2.3.8/2.3.9/, s/238/239/.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3125
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3126
2009-03-09  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3127
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3128
	* src/sfnt/rules.mk (SFNT_DRV_H): Add ttsbit0.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3129
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3130
2009-03-09  Alexey Kryukov  <anagnost@yandex.ru>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3131
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3132
	Fix handling of EBDT formats 8 and 9 (part 2).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3133
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3134
	This patch fixes the following problems in ttsbit0.c:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3135
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3136
	. Bitmaps for compound glyphs were never allocated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3137
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3138
	. `SBitDecoder' refused to load metrics if some other metrics have
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3139
	  already been loaded.  This condition certainly makes no sense for
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3140
	  recursive calls, so I've just disabled it.  Another possibility
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3141
	  would be resetting `decoder->metrics_loaded' to false before
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3142
	  loading each composite component.  However, we must restore the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3143
	  original metrics after finishing the recursion; otherwise we can
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3144
	  get a misaligned glyph.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3145
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3146
	. `tt_sbit_decoder_load_bit_aligned' incorrectly handled `x_pos',
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3147
	  causing some glyph components to be shifted too far to the right
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3148
	  (especially noticeable for small sizes).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3149
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3150
	Note that support for grayscale bitmaps (not necessarily compound) is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3151
	completely broken in ttsbit0.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3152
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3153
	* src/sfnt/tt_sbit_decoder_load_metrics: Always load metrics.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3154
	(tt_sbit_decoder_load_bit_aligned): Handle `x_pos' correctly in case
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3155
	of `h == height'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3156
	(tt_sbit_decoder_load_compound): Reset metrics after loading
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3157
	components.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3158
	Allocate bitmap.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3159
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3160
2009-03-09  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3161
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3162
	* builds/unix/configure.raw (version_info): Set to 9:20:3.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3163
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3164
2009-03-03  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3165
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3166
	Protect SFNT kerning table parser against malformed tables.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3167
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3168
	This closes Savannah BUG #25750.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3169
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3170
	* src/sfnt/ttkern.c (tt_face_load_kern, tt_face_get_kerning): Fix a
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3171
	bug where a malformed table would be successfully loaded but later
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3172
	crash the engine during parsing.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3173
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3174
2009-03-03  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3175
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3176
	Update documentation and bump version number to 2.3.9.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3177
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3178
	* include/freetype/freetype.h: Bump patch version to 9.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3179
	* docs/CHANGES: Document the ABI break in 2.3.8.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3180
	* docs/VERSION.DLL: Update version numbers table for 2.3.9.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3181
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3182
2009-03-03  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3183
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3184
	Remove ABI-breaking field in public PS_InfoFontRec definition.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3185
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3186
	Instead, we define a new internal PS_FontExtraRec structure to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3187
	hold the additional field, then place it in various internal
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3188
	positions of the corresponding FT_Face derived objects.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3189
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3190
	* include/freetype/t1tables.h (PS_FontInfoRec): Remove the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3191
	`fs_type' field from the public structure.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3192
	* include/freetype/internal/psaux.h (T1_FieldLocation): New
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3193
	enumeration `T1_FIELD_LOCATION_FONT_EXTRA'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3194
	* include/freetype/internal/t1types.h (PS_FontExtraRec): New
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3195
	structure.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3196
	(T1_FontRec, CID_FaceRec): Add it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3197
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3198
	* src/cid/cidload.c (cid_load_keyword): Handle
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3199
	T1_FIELD_LOCATION_FONT_EXTRA.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3200
	* src/cid/cidtoken.h, src/type1/t1tokens.h, src/type42/t42parse.c:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3201
	Adjust FT_STRUCTURE and T1CODE properly to handle `FSType'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3202
	* src/type1/t1load.c (t1_load_keyword): Handle
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3203
	T1_FIELD_LOCATION_FONT_EXTRA.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3204
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3205
	* include/freetype/internal/services/svpsinfo.h (PsInfo service):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3206
	Add `PS_GetFontExtraFunc' function typedef.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3207
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3208
	* src/base/ftfstype.c: Include FT_INTERNAL_SERVICE_H and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3209
	FT_SERVICE_POSTSCRIPT_INFO_H.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3210
	(FT_Get_FSType_Flags): Use POSTSCRIPT_INFO service.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3211
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3212
	* src/cff/cffdrivr.c (cff_service_ps_info): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3213
	* src/cid/cidriver.c (cid_ps_get_font_extra): New function.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3214
	(cid_service_ps_info): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3215
	* src/type1/t1driver.c (t1_ps_get_font_extra): New function.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3216
	(t1_service_ps_info): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3217
	* src/type42/t42drivr.c (t42_ps_get_font_extra): New function.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3218
	(t42_service_ps_info): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3219
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3220
2009-03-02  Alexey Kryukov  <anagnost@yandex.ru>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3221
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3222
	Fix handling of EBDT formats 8 and 9.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3223
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3224
	The main cycle in `blit_sbit' makes too many iterations: it actually
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3225
	needs the count of lines in the source bitmap rather than in the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3226
	target image.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3227
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3228
	* src/sfnt/ttsbit.c (blit_sbit) [FT_CONFIG_OPTION_OLD_INTERNALS]:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3229
	Add parameter `source_height' and use it for main loop.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3230
	(Load_SBit_Single) [FT_CONFIG_OPTION_OLD_INTERNALS]: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3231
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3232
2009-02-23  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3233
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3234
	Fix Savannah bug #25669.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3235
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3236
	* src/base/ftadvanc.h (FT_Get_Advances): Fix serious typo.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3237
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3238
	* src/base/ftobjs.c (FT_Select_Metrics, FT_Request_Metrics): Fix
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3239
	scaling factor for non-scalable fonts.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3240
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3241
	* src/cff/cffdrivr.c (cff_get_advances): Use correct advance width
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3242
	value to prevent incorrect scaling.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3243
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3244
	* docs/CHANGES: Document it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3245
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3246
2009-02-15  Matt Godbolt  <matt@godbolt.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3247
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3248
	Fix Savannah bug #25588.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3249
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3250
	* builds/unix/ftconfig.in (FT_MulFix_arm): Use correct syntax for
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3251
	`orr' instruction.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3252
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3253
2009-02-11  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3254
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3255
	* src/truetype/ttobjs.c (tt_check_trickyness): Add `DFKaiShu'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3256
	Reported by David Bevan <dbevan@emtex.com>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3257
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3258
2009-02-09  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3259
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3260
	Fix Savannah bug #25495.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3261
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3262
	* src/sfnt/sfobjs.c (sfnt_load_face): Test for bitmap strikes before
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3263
	setting metrics and bbox values.  This ensures that the check for a
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3264
	font with neither a `glyf' table nor bitmap strikes can be performed
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3265
	early enough to set metrics and bbox values too.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3266
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3267
2009-02-04  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3268
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3269
	Fix Savannah bug #25480.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3270
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3271
	* builds/unix/freetype-config.in: For --ftversion, don't use $prefix
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3272
	but $includedir.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3273
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3274
2009-01-31  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3275
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3276
	Minor docmaker improvements.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3277
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3278
	* src/tools/docmaker/content.py (DocBlock::__init__): Ignore empty
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3279
	code blocks.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3280
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3281
2009-01-25  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3282
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3283
	Fix SCANCTRL handling in TTFs.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3284
	Problem reported by Alexey Kryukov <anagnost@yandex.ru>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3285
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3286
	* src/truetype/ttinterp.c (Ins_SCANCTRL): Fix threshold handling.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3287
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3288
2009-01-23  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3289
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3290
	Move FT_Get_FSType_Flags to a separate file.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3291
	Problem reported by Mickey Gabel <mickey@monfort.co.il>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3292
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3293
	* src/base/ftobjs.c (FT_Get_FSType_Flags): Move to...
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3294
	* src/base/ftfstype.c: This new file.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3295
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3296
	* modules.cfg (BASE_EXTENSION): Add ftfstype.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3297
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3298
	* docs/INSTALL.ANY: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3299
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3300
	* builds/mac/*.txt, builds/amiga/*makefile*,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3301
	builds/win32/{visualc,visualce}/freetype.*, builds/symbian/*:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3302
	Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3303
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3304
2009-01-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
  3305
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3306
	* builds/unix/ftsystem.c (FT_Stream_Open): Fix 2 error
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3307
	messages ending without "\n".
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3308
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3309
2009-01-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
  3310
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3311
	Fix Savannah bug #25347.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3312
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3313
	* src/base/ftobjs.c (open_face_PS_from_sfnt_stream): Rewind
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3314
	the stream to the original position passed to this function,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3315
	when ft_lookup_PS_in_sfnt_stream() failed.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3316
	(Mac_Read_sfnt_Resource): Rewind the stream to the head of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3317
	sfnt resource body, when open_face_PS_from_sfnt_stream()
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3318
	failed.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3319
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3320
2009-01-19  Michael Lotz  <mmlr@mlotz.ch>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3321
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3322
	Fix Savannah bug #25355.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3323
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3324
	* include/freetype/config/ftconfig.h (FT_MulFix_i386): Make
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3325
	assembler code work with gcc 2.95.3 (as used by the Haiku project).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3326
	Add `cc' register to the clobber list.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3327
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3328
2009-01-18  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3329
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3330
	Protect FT_Get_Next_Char.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3331
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3332
	* src/sfnt/ttcmap.c (tt_cmap4_set_range): Apply fix similar to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3333
	change from 2008-07-22.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3334
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3335
	Patch from Ronen Ghoshal <rghoshal@emtex.com>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3336
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3337
2009-01-18  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3338
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3339
	Implement FT_Get_Name_Index for SFNT driver.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3340
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3341
	* src/sfnt/sfdriver.c (sfnt_get_name_index): New function.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3342
	(sfnt_service_glyph_dict): Use it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3343
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3344
	Problem reported by Truc Truong <tructv@necsv.com>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3345
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3346
2009-01-18  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3347
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3348
	* include/freetype/ftstroke.h (FT_Outline_GetInsideBorder): Fix
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3349
	documentation.  Problem reported by Truc Truong <tructv@necsv.com>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3350
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3351
	* docs/CHANGES: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3352
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3353
2009-01-14  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3354
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3355
	* Version 2.3.8 released.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3356
	=========================
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3357
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3358
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3359
	Tag sources with `VER-2-3-8'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3360
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3361
	* 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
  3362
	2.3.8.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3363
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3364
	* README, Jamfile (RefDoc), builds/win32/visualc/index.html,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3365
	builds/win32/visualc/freetype.dsp,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3366
	builds/win32/visualc/freetype.vcproj,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3367
	builds/win32/visualce/index.html,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3368
	builds/win32/visualce/freetype.dsp,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3369
	builds/win32/visualce/freetype.vcproj: s/2.3.7/2.3.8/, s/237/238/.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3370
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3371
	* include/freetype/freetype.h (FREETYPE_PATCH): Set to 8.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3372
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3373
	* builds/unix/configure.raw (version_info): Set to 9:19:3.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3374
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3375
	* docs/release: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3376
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3377
2009-01-14  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3378
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3379
	* builds/toplevel.mk (dist): Compress better.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3380
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3381
2009-01-13  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3382
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3383
	* src/base/ftobjs.c (FT_Get_FSType_Flags): Cast for compilation
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3384
	with C++.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3385
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3386
2009-01-13  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3387
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3388
	Don't use stdlib.h and friends directly.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3389
	Reported by Mickey Gabel <mickey@monfort.co.il>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3390
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3391
	* src/base/ftdbgmem.c: s/<stdlib.h>/FT_CONFIG_STANDARD_LIBRARY_H/.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3392
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3393
	* src/gzip/ftgzip.c, src/lzw/ftlzw.c, src/raster/ftmisc.h:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3394
	s/<string.h>/FT_CONFIG_STANDARD_LIBRARY_H/.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3395
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3396
	* src/autofit/aftypes.h, src/autofit/afhints.c,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3397
	src/pshinter/pshalgo.c: s/<stdio.h>/FT_CONFIG_STANDARD_LIBRARY_H/
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3398
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3399
	* src/lzw/ftlzw.c, src/base/ftdbgmem.c: Don't include stdio.h.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3400
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3401
2009-01-12  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3402
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3403
	Avoid compiler warnings.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3404
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3405
	* */*: s/do ; while ( 0 )/do { } while ( 0 )/.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3406
	Reported by Sean McBride <sean@rogue-research.com>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3407
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3408
2009-01-12  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3409
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3410
	Fix stdlib dependencies.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3411
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3412
	Problem reported by Mickey Gabel <mickey@monfort.co.il>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3413
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3414
	* include/freetype/config/ftstdlib.h (ft_exit): Removed.  Unused.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3415
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3416
	* src/autofit/afhints.c, src/base/ftlcdfil.c, src/smooth/ftsmooth.c:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3417
	s/memcpy/ft_memcpy/.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3418
	* src/psaux/t1decode.c: s/memset/ft_memset/, s/memcpy/ft_memcpy/.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3419
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3420
2009-01-11  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3421
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3422
	* docs/formats.txt: Add link to PCF specification.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3423
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3424
	* include/freetype/ftbdf.h (FT_Get_BDF_Property): Improve
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3425
	documentation.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3426
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3427
2009-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
  3428
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3429
	* src/base/ftadvanc.c (_ft_face_scale_advances, FT_Get_Advance,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3430
	FT_Get_Advances): Change the type of load_flags from FT_UInt32 to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3431
	FT_Int32, to match with the flags for FT_Load_Glyph().
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3432
	* src/cff/cffdrivr.c (cff_get_advances): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3433
	* src/truetype/ttdriver.c (tt_get_advances): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3434
	* include/freetype/ftadvanc.h (FT_Get_Advance, FT_Get_Advances):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3435
	Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3436
	* include/freetype/internal/ftdriver.h (FT_Face_GetAdvancesFunc):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3437
	Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3438
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3439
2009-01-09  Daniel Zimmermann  <netzimme@aol.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3440
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3441
	* src/gxvalid/gxvmort.c (gxv_mort_feature_validate): Fix wrong
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3442
	length check.  From Savannah patch #6682.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3443
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3444
2009-01-09  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3445
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3446
	Fix problem with T1_FIELD_{NUM,FIXED}_TABLE2.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3447
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3448
	* src/psaux/psobjs.c (ps_parser_load_field_table): Don't handle
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3449
	`count_offset' if it is zero (i.e., unused).  Otherwise, the first
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3450
	element of the structure which holds the data is erroneously
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3451
	modified.  Problem reported by Chi Nguyen <chint@necsv.com>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3452
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3453
2009-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
  3454
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3455
	* src/base/ftadvanc.c (_ft_face_scale_advances, FT_Get_Advance,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3456
	FT_Get_Advances): Extend the type of load_flags from FT_UInt to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3457
	FT_UInt32, to pass 32-bit flags on 16bit platforms.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3458
	* src/cff/cffdrivr.c (cff_get_advances): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3459
	* src/truetype/ttdriver.c (tt_get_advances): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3460
	* include/freetype/ftadvanc.h (FT_Get_Advance, FT_Get_Advances):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3461
	Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3462
	* include/freetype/internal/ftdriver.h (FT_Face_GetAdvancesFunc):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3463
	Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3464
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3465
2009-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
  3466
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3467
	* src/base/ftobjs.c (FT_Done_Library): Issue an error message when
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3468
	FT_Done_Face() cannot free all faces. If the list of the opened
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3469
	faces includes broken face which FT_Done_Face() cannot free,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3470
	FT_Done_Library() retries FT_Done_Face() and it can fall into
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3471
	an endless loop. See the discussion:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3472
	http://lists.gnu.org/archive/html/freetype-devel/2008-09/msg00047.html
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3473
	http://lists.gnu.org/archive/html/freetype-devel/2008-10/msg00000.html
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3474
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3475
2009-01-07  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3476
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3477
	* docs/CHANGES: Document new key `a' in ftdiff.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3478
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3479
2009-01-06  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3480
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3481
	* autogen.sh: Don't use GNUisms while calling sed.  Problem reported
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3482
	by Sean McBride.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3483
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3484
2009-01-06  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3485
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3486
	* src/base/ftbitmap.c (FT_Bitmap_Convert): Handle FT_PIXEL_MODE_LCD
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3487
	and FT_PIXEL_MODE_LCD_V.  Problem reported by Chi Nguyen
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3488
	<chint@necsv.com>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3489
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3490
2009-01-06  Diego Pettenò  <flameeyes@gmail.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3491
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3492
	* builds/unix/configure.raw: Don't call AC_CANONICAL_BUILD and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3493
	AC_CANONICAL_TARGET and use $host_os only.  A nice explanation for
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3494
	this change can be found at
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3495
	http://blog.flameeyes.eu/s/canonical-target.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3496
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3497
	From Savannah patch #6712.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3498
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3499
2009-01-06  Sean McBride  <sean@rogue-research.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3500
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3501
	* src/base/ftdbgmem.c (_debug_mem_dummy): Make it static.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3502
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3503
	* src/base/ftmac.c: Remove some #undefs.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3504
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3505
2008-12-26  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3506
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3507
	Set `face_index' field in FT_Face for all font formats.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3508
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3509
	* cff/cffobjs.c (cff_face_init), winfonts/winfnt.c (FNT_Face_Init),
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3510
	sfnt/sfobjs.c (sfnt_init_face): Do it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3511
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3512
	* docs/CHANGES: Document it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3513
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3514
2008-12-22  Steve Grubb
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3515
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3516
	* builds/unix/ftsystem.c (FT_Stream_Open): Reject zero-length files.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3517
	Patch from Savannah bug #25151.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3518
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3519
2008-12-21  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3520
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3521
	* src/pfr/pfrdrivr.c, src/winfonts/winfnt.c, src/cache/ftcmanag.c,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3522
	src/smooth/ftgrays.c, src/base/ftobjc.s, src/sfobjs.c:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3523
	s/_Err_Bad_Argument/_Err_Invalid_Argument/.  The former is for
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3524
	errors in the bytecode interpreter only.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3525
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3526
2008-12-21  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3527
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3528
	* src/base/ftpfr.c (FT_Get_PFR_Metrics): Protect against NULL
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3529
	arguments.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3530
	Fix return value for non-PFR fonts.  Both problems reported by Chi
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3531
	Nguyen <chint@necsv.com>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3532
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3533
2008-12-21  anonymous
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3534
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3535
	FT_USE_MODULE declares things as:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3536
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3537
	  extern const FT_Module_Class
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3538
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3539
	(or similar for C++).  However, the actual types of the variables
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3540
	being declared are often different, e.g., FT_Driver_ClassRec or
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3541
	FT_Renderer_Class.  (Some are, indeed, FT_Module_Class.)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3542
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3543
	This works with most C compilers (since those structs begin with an
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3544
	FT_Module_Class struct), but technically it's undefined behavior.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3545
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3546
	To quote the ISO/IEC 9899:TC2 final committee draft, section 6.2.7
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3547
	paragraph 2:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3548
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3549
	  All declarations that refer to the same object or function shall
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3550
	  have compatible type; otherwise, the behavior is undefined.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3551
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3552
	(And they are not compatible types.)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3553
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3554
	Most C compilers don't reject (or even detect!) code which has this
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3555
	issue, but the GCC LTO development branch compiler does.  (It
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3556
	outputs the types of the objects while generating .o files, along
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3557
	with a bunch of other information, then compares them when doing the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3558
	final link-time code generation pass.)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3559
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3560
	Patch from Savannah bug #25133.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3561
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3562
	* src/base/ftinit.c (FT_USE_MODULE): Include variable type.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3563
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3564
	* builds/amiga/include/freetype/config/ftmodule.h,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3565
	include/freetype/config/ftmodule.h, */module.mk: Updated to declare
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3566
	pass correct types to FT_USE_MODULE.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3567
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3568
2008-12-21  Hongbo Ni  <hongbo@njstar.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3569
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3570
	* src/autofit/aflatin.c (af_latin_hint_edges),
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3571
	src/autofit/aflatin2.c (af_latin2_hint_edges), src/autofit/afcjk.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3572
	(af_cjk_hint_edges): Protect against division by zero.  This fixes
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3573
	Savannah bug #25124.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3574
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3575
2008-12-18  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3576
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3577
	* docs/CHANGES: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3578
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3579
2008-12-18  Bevan, David  <dbevan@emtex.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3580
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3581
	Provide API for accessing embedding and subsetting restriction
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3582
	information.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3583
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3584
	* include/freetype.h (FT_FSTYPE_INSTALLABLE_EMBEDDING,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3585
	FT_FSTYPE_RESTRICTED_LICENSE_EMBEDDING,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3586
	FT_FSTYPE_PREVIEW_AND_PRINT_EMBEDDING, FT_FSTYPE_EDITABLE_EMBEDDING,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3587
	FT_FSTYPE_NO_SUBSETTING, FT_FSTYPE_BITMAP_EMBEDDING_ONLY): New
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3588
	macros.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3589
	(FT_Get_FSType_Flags): New function declaration.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3590
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3591
	* src/base/ftobjs.c (FT_Get_FSType_Flags): New function.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3592
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3593
	* src/cid/cidtoken.h, src/type1/t1tokens.h, src/type42/t42parse.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3594
	(t42_keywords): Handle `FSType'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3595
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3596
	* include/freetype/t1tables.h (PS_FontInfoRec): Add `fs_type' field.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3597
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3598
2008-12-17  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3599
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3600
	* src/base/ftsynth.c (FT_GlyphSlot_Embolden): Don't use internal
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3601
	macros so that copying the source code into an application works
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3602
	out of the box.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3603
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3604
2008-12-17  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3605
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3606
	* include/freetype/ftsynth.h, src/base/ftsynth.c: Move
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3607
	FT_GlyphSlot_Own_Bitmap to...
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3608
	* include/freetype/ftbitmap.h, src/base/ftbitmap.c: These files.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3609
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3610
	* docs/CHANGES: Document it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3611
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3612
2008-12-10  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3613
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3614
	Generalize the concept of `tricky' fonts by introducing
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3615
	FT_FACE_FLAG_TRICKY to indicate that the font format's hinting
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3616
	engine is necessary for correct rendering.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3617
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3618
	At the same time, slightly modify the behaviour of tricky fonts:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3619
	FT_LOAD_NO_HINTING is now ignored.  To really force raw loading
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3620
	of tricky fonts (without hinting), both FT_LOAD_NO_HINTING and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3621
	FT_LOAD_NO_AUTOHINT must be used.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3622
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3623
	Finally, tricky TrueType fonts always use the bytecode interpreter
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3624
	even if the patented code is used.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3625
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3626
	* include/freetype/freetype.h (FT_FACE_FLAG_TRICKY, FT_IS_TRICKY):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3627
	New macros.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3628
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3629
	* src/truetype/ttdriver.c (Load_Glyph): Handle new load flags
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3630
	semantics as described above.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3631
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3632
	* src/truetype/ttobjs.c (tt_check_trickyness): New function, using
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3633
	code of ...
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3634
	(tt_face_init): This function, now simplified and updated to new
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3635
	semantics.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3636
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3637
	* src/base/ftobjs.c (FT_Load_Glyph): Don't use autohinter for tricky
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3638
	fonts.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3639
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3640
	* docs/CHANGES: Document it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3641
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3642
2008-12-09  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3643
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3644
	Really fix Savannah bug #25010: An SFNT font with neither outlines
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3645
	nor bitmaps can be considered as containing space `glyphs' only.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3646
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3647
	* src/truetype/ttpload.c (tt_face_load_loca): Handle the case where
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3648
	a `glyf' table is missing.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3649
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3650
	* src/truetype/ttgload.c (load_truetype_glyph): Abort if we have no
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3651
	`glyf' table but a non-zero `loca' entry.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3652
	(tt_loader_init): Handle missing `glyf' table.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3653
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3654
	* src/base/ftobjs.c (FT_Load_Glyph): Undo change 2008-12-05.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3655
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3656
	* src/sfnt/sfobjs.c (sfnt_load_face): A font with neither outlines
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3657
	nor bitmaps is scalable.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3658
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3659
2008-12-05  Werner Lemberg  <wl@nu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3660
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3661
	* src/autofit/aflatin.c (af_latin_uniranges): Add more ranges.  This
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3662
	fixes Savannah bug #21190 which also provides a basic patch.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3663
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3664
2008-12-05  Werner Lemberg  <wl@nu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3665
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3666
	* include/freetype/freetype.h (FT_LOAD_ADVANCE_ONLY): Use value
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3667
	0x100 instead of 0x10000; the latter value is already occupied by
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3668
	FT_LOAD_TARGET_LIGHT.  Bug reported by James Cloos.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3669
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3670
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3671
	Handle SFNT with neither outlines nor bitmaps.  This fixes Savannah
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3672
	bug #25010.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3673
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3674
	* src/base/ftobjs.c (FT_Load_Glyph): Reject fonts with neither
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3675
	outlines nor bitmaps.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3676
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3677
	* src/sfnt/sfobjs.c (sfnt_load_face): Don't return an error if there
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3678
	is no table with glyphs.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3679
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3680
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3681
	* src/sfnt/ttload.c (tt_face_lookup_table): Improve debugging
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3682
	message.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3683
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3684
2008-12-01  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3685
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3686
	GDEF tables need `glyph_count' too for validation.  Problem reported
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3687
	by Chi Nguyen <chint@necsv.com>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3688
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3689
	* src/otvalid/otvgdef.c (otv_GDEF_validate), src/otvalid/otvalid.h
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3690
	(otv_GDEF_validate), src/otvalid/otvmod.c (otv_validate): Pass
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3691
	`glyph_count'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3692
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3693
2008-11-29  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3694
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3695
	* src/autofit/afcjk.c, src/base/ftoutln.c, src/base/ftrfork.c,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3696
	src/bdf/bdfdrivr.c, src/gxvalid/gxvmorx.c, src/otvalid/otvmath.c,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3697
	src/pcf/pcfdrivr.c, src/psnames/pstables.h, src/smooth/ftgrays.c,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3698
	src/tools/glnames.py, src/truetype/ttinterp.c, src/type1/t1load.c,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3699
	src/type42/t42objs.c, src/winfonts/winfnt.c: Fix compiler warnings
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3700
	(Atari PureC).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3701
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3702
2008-11-29  James Cloos  <cloos@jhcloos.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3703
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3704
	* src/type/t1load.c (mm_axis_unmap): Revert previous patch and fix
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3705
	it correctly by using FT_INT_TO_FIXED (FreeType expects 16.16 values
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3706
	in the /BlendDesignMap space).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3707
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3708
2008-11-29  James Cloos  <cloos@jhcloos.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3709
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3710
	* src/type1/t1load.c (mm_axis_unmap): `blend_points' is FT_Fixed*,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3711
	whereas `design_points' is FT_Long*.  Therefore, return blend rather
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3712
	than design points.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3713
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3714
2008-11-27  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3715
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3716
	* src/cff/cffparse.c (cff_parse_real): Handle more than nine
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3717
	significant digits correctly.  This fixes Savannah bug #24953.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3718
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3719
2008-11-25  Daniel Zimmermann  <netzimme@aol.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3720
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3721
	* src/base/ftstream.c (FT_Stream_ReadFields): Don't access stream
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3722
	before the NULL check.  From Savannah patch #6681.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3723
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3724
2008-11-24  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3725
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3726
	Fixes from the gnuwin32 port.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3727
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3728
	* src/base/ftlcdfil.c: s/EXPORT/EXPORT_DEF/.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3729
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3730
	* src/base/ftotval.c: Include FT_OPENTYPE_VALIDATE_H.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3731
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3732
	* src/psaux/psobjs.c (ps_table_add): Check `length'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3733
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3734
2008-11-15  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3735
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3736
	* src/truetype/ttinterp.c (tt_default_graphics_state): The default
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3737
	value for `scan_type' is zero, as confirmed by Greg Hitchcock from
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3738
	Microsoft.  Problem reported by Michal Nowakowski
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3739
	<miszka@limes.com.pl>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3740
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3741
2008-11-12  Tor Andersson  <tor.andersson@gmail.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3742
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3743
	* src/cff/cffdrivr.c (cff_get_cmap_info): Initialize `format' field.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3744
	This fixes Savannah bug #24819.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3745
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3746
2008-11-08  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3747
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3748
	* src/sfnt/sfobjs.c (sfnt_load_face): Remove #if 0/#endif guards
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3749
	since OpenType version 1.5 has been released.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3750
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3751
	* include/ttnameid.h (TT_NAME_ID_WWS_FAMILY,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3752
	TT_NAME_ID_WWS_SUBFAMILY): New macros for OpenType 1.5.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3753
	(TT_URC_COPTIC, TT_URC_VAI, TT_URC_NKO, TT_URC_BALINESE,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3754
	TT_URC_PHAGSPA, TT_URC_NON_PLANE_0, TT_URC_PHOENICIAN,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3755
	TT_URC_TAI_LE, TT_URC_NEW_TAI_LUE, TT_URC_BUGINESE,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3756
	TT_URC_GLAGOLITIC, TT_URC_YIJING, TT_URC_SYLOTI_NAGRI,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3757
	TT_URC_LINEAR_B, TT_URC_ANCIENT_GREEK_NUMBERS, TT_URC_UGARITIC,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3758
	TT_URC_OLD_PERSIAN, TT_URC_SHAVIAN, TT_URC_OSMANYA,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3759
	TT_URC_CYPRIOT_SYLLABARY, TT_URC_KHAROSHTHI, TT_URC_TAI_XUAN_JING,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3760
	TT_URC_CUNEIFORM, TT_URC_COUNTING_ROD_NUMERALS, TT_URC_SUNDANESE,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3761
	TT_URC_LEPCHA, TT_URC_OL_CHIKI, TT_URC_SAURASHTRA, TT_URC_KAYAH_LI,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3762
	TT_URC_REJANG, TT_URC_CHAM, TT_URC_ANCIENT_SYMBOLS,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3763
	TT_URC_PHAISTOS_DISC, TT_URC_OLD_ANATOLIAN, TT_URC_GAME_TILES): New
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3764
	macros for OpenType 1.5.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3765
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3766
2008-11-08  Wenlin Institute  <wenlin@wenlin.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3767
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3768
	* src/base/ftobjs.c (ft_glyphslot_free_bitmap): Protect against
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3769
	slot->internal == NULL.  Reported by Graham Asher.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3770
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3771
2008-11-08  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3772
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3773
	* src/sfnt/sfobjs.c (tt_face_get_name): Modified to return an error
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3774
	code so that memory allocation problems can be distinguished from
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3775
	missing table entries.  Reported by Graham Asher.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3776
	(GET_NAME): New macro.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3777
	(sfnt_load_face): Use it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3778
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3779
2008-11-05  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3780
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3781
	* 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
  3782
	[TT_CONFIG_OPTION_BYTECODE_INTERPRETER]: Undefine
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3783
	TT_CONFIG_OPTION_UNPATENTED_HINTING.  This fixes the return value of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3784
	`FT_Get_TrueType_Engine_Type' (and makes it work as documented).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3785
	Reported in bug #441638 of bugzilla.novell.com.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3786
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3787
	* docs/CHANGES: Document it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3788
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3789
2008-11-03  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3790
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3791
	* src/type1/t1load.c (parse_subrs): Use an endless loop.  There are
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3792
	fonts (like HELVI.PFB version 003.001, used on OS/2) which define
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3793
	some `subrs' elements more than once.  Problem reported by Peter
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3794
	Weilbacher <mozilla@weilbacher.org>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3795
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3796
2008-10-15  Graham Asher  <graham.asher@btinternet.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3797
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3798
	* src/sfnt/ttpost.c (tt_post_default_names): Add `const'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3799
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3800
2008-10-15  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3801
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3802
	* src/truetype/ttgxvar.c (TT_Set_MM_Blend): Disambiguate for
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3803
	meddlesome compilers' warning against `for ( ...; ...; ...) ;'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3804
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3805
2008-10-14  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3806
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3807
	* src/cff/cffobjs.c (cff_face_init): Remove compiler warning.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3808
	Suggested by Bram Tassyns in Savannah patch #6651.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3809
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3810
2008-10-12  Graham Asher  <graham.asher@btinternet.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3811
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3812
	* src/sfnt/sfobjs.c (sfnt_load_face): Fix computation of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3813
	`underline_position'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3814
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3815
2008-10-12  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3816
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3817
	* docs/CHANGES: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3818
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3819
2008-10-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
  3820
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3821
	Fix Savannah bug #24468.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3822
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3823
	According to include/freetype/internal/ftobjs.h, the appropriate
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3824
	type to interchange single character codepoint is FT_UInt32. It
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3825
	should be distinguished from FT_UInt which can be 16bit integer.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3826
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3827
	* src/sfnt/ttcmap.c (tt_cmap4_char_map_linear): Change the type
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3828
	of the second argument `pcharcode' from FT_UInt* to FT_UInt32*.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3829
	(tt_cmap4_char_map_binary): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3830
	(tt_cmap14_get_nondef_chars): Change the type of return value
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3831
	from FT_UInt* to FT_UInt32*.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3832
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3833
2008-10-08  John Tytgat  <John.Tytgat@esko.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3834
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3835
	Fix Savannah bug #24485.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3836
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3837
	* src/type1/t1load.c (parse_charstrings): Assure that we always have
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3838
	a .notdef glyph.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3839
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3840
2008-10-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
  3841
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3842
	* src/base/ftmac.c: Include FT_TRUETYPE_TAGS_H for multi build.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3843
	* builds/mac/ftmac.c: Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3844
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3845
2008-10-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
  3846
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3847
	* include/freetype/tttags.h (TTAG_TYP1, TTAG_typ1): Fix definitions.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3848
	* src/base/ftobjs.c: Include FT_TRUETYPE_TAGS_H.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3849
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3850
2008-10-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
  3851
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3852
	* src/sfnt/sfobjs.c (sfnt_open_font): Allow `typ1' version tag in
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3853
	the beginning of sfnt container.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3854
	* src/sfnt/ttload.c (check_table_dir): Return
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3855
	`SFNT_Err_Table_Missing' when sfnt table directory structure is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3856
	correct but essential tables for TrueType fonts (`head', `bhed' or
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3857
	`SING') are missing.  Other errors are returned by
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3858
	SFNT_Err_Unknown_File_Format.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3859
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3860
	* src/base/ftobjs.c (FT_Open_Face): When TrueType driver returns
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3861
	`FT_Err_Table_Missing', try `open_face_PS_from_sfnt_stream'.  It is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3862
	enabled only when old mac font support is configured.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3863
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3864
2008-10-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
  3865
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3866
	* include/freetype/tttags.h (TTAG_CID, TTAG_FOND, TTAG_LWFN,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3867
	TTAG_POST, TTAG_sfnt, TTAG_TYP1, TTAG_typ1): New tags to simplify
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3868
	the repeated calculations of these values in ftobjs.c and ftmac.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3869
	* src/base/ftobjs.c: Replace all FT_MAKE_TAG by new tags.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3870
	* src/base/ftmac.c: Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3871
	* builds/mac/ftmac.c: Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3872
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3873
2008-10-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
  3874
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3875
	* src/base/ftobjs.c (ft_lookup_PS_in_sfnt_stream): Remove wrong
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3876
	initialization of *is_sfnt_cid.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3877
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3878
2008-10-04  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3879
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3880
	* src/base/ftobjs.c (open_face_PS_from_sfnt_stream): Remove compiler
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3881
	warnings.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3882
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3883
2008-10-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
  3884
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3885
	* src/base/ftobjs.c (ft_lookup_PS_in_sfnt): Replaced by...
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3886
	(ft_lookup_PS_in_sfnt_stream): This.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3887
	(open_face_PS_from_sfnt_stream): New function.  It checks whether
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3888
	the stream is sfnt-wrapped Type1 PS font or sfnt-wrapped CID-keyed
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3889
	font, then try to open a face for given face_index.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3890
	(Mac_Read_sfnt_Resource): Replace the combination of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3891
	`ft_lookup_PS_in_sfnt' and `open_face_from_buffer' by
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3892
	`open_face_PS_from_sfnt_stream'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3893
	* src/base/ftmac.c (FT_New_Face_From_SFNT): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3894
	* builds/mac/ftmac.c (FT_New_Face_From_SFNT): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3895
	* src/base/ftbase.h: Remove `ft_lookup_PS_in_sfnt' and add
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3896
	`open_face_PS_from_sfnt_stream'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3897
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3898
2008-10-03  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3899
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3900
	* src/base/ftobjs.c (ft_lookup_PS_in_sfnt): Set *is_sfnt_cid to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3901
	FALSE if neither `CID ' nor `TYP1' is found in the sfnt container.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3902
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3903
2008-10-03  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3904
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3905
	* include/freetype/config/ftconfig.h: Define FT_MACINTOSH when SC or
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3906
	MrC compiler of MPW is used.  These compilers do not define the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3907
	macro __APPLE__ by themselves.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3908
	* builds/unix/ftconfig.in: Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3909
	* builds/vms/ftconfig.h: Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3910
	* src/base/ftbase.c: Use FT_MACINTOSH instead of __APPLE__, to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3911
	include ftmac.c if FreeType 2 is built by MPW.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3912
	* src/base/ftobjs.c: Use FT_MACINTOSH instead of __APPLE__, to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3913
	enable shared functions for ftmac.c if FreeType 2 is built by MPW.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3914
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3915
	* builds/mac/ftmac.c: Include ftbase.h.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3916
	(memory_stream_close): Removed.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3917
	(new_memory_stream): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3918
	(open_face_from_buffer): Removed.  Use the implementation in
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3919
	ftobjs.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3920
	(ft_lookup_PS_in_sfnt): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3921
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3922
	* builds/mac/FreeType.m68k_far.make.txt: Build ftmac.c as an
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3923
	included part of ftbase.c, to share the functions in ftobjs.c.  The
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3924
	rule compiling ftmac.c separately is removed and the rule copying
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3925
	ftbase.c from src/base/ftbase.c to builds/mac/ftbase.c is added.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3926
	* builds/mac/FreeType.m68k_cfm.make.txt: Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3927
	* 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
  3928
	* builds/mac/FreeType.ppc_carbon.make.txt: Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3929
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3930
2008-10-02  Bram Tassyns  <bramt@enfocus.be>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3931
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3932
	* src/cff/cffgload.c (cff_slot_load): Map CID 0 to GID 0.  This
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3933
	fixes Savannah bug #24430.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3934
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3935
2008-10-02  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3936
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3937
	* builds/freetype.mk (BASE_H): Rename to...
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3938
	(INTERNAL_H): This.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3939
	(FREETYPE_H): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3940
	* src/base/rules.mk: (BASE_OBJ_S, OBJ_DIR/%.$O): Add BASE_H.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3941
	* src/bdf/rules.mk (BDF_DRV_H): Add bdferror.h.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3942
	* src/cache/rules.mk (CACHE_DRV_H): Add ftccache.h and ftcsbits.h.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3943
	* src/pcf/rules.mk (PCF_DRV_H): Add pcfread.h.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3944
	* src/raster/rules.mk (RASTER_DRV_H): Add ftmisc.h.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3945
	* src/type42/rules.mk (T42_DRV_H): Add t42types.h.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3946
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3947
2008-10-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
  3948
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3949
	* src/base/ftbase.h: New file to declare the private utility
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3950
	functions shared by the sources of base modules.  Currently,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3951
	`ft_lookup_PS_in_sfnt' and `open_face_from_buffer' are declared to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3952
	share between ftobjs.c and ftmac.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3953
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3954
	* src/base/rule.mk: Add ftbase.h.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3955
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3956
	* src/base/ftobjs.c: Include ftbase.h.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3957
	(memory_stream_close): Build on any platform when old MacOS font
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3958
	support is enabled.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3959
	(new_memory_stream): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3960
	(open_face_from_buffer): Build on any platform when old MacOS font
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3961
	support is enabled.  The counting of the face in a font file is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3962
	slightly different between Carbon-dependent parser and Carbon-free
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3963
	parser.  They are merged with the platform-specific conditional.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3964
	(ft_lookup_PS_in_sfnt): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3965
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3966
	* src/base/ftmac.c: Include ftbase.h.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3967
	(memory_stream_close): Removed.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3968
	(new_memory_stream): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3969
	(open_face_from_buffer): Removed.  Use the implementation in
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3970
	ftobjs.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3971
	(ft_lookup_PS_in_sfnt): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3972
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3973
2008-10-02  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3974
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3975
	* src/sfnt/sfobjs.c (sfnt_load_face): `psnames_error' is only needed
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3976
	if TT_CONFIG_OPTION_POSTSCRIPT_NAMES is defined.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3977
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3978
2008-10-01  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3979
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3980
	* src/truetype/ttobjs.c (tt_face_done), src/cff/cffobjs.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3981
	(cff_face_done), src/pfr/pfrobjs.c (pfr_face_done),
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3982
	src/pcf/pcfdrivr.c (PCF_Face_Done), src/cid/cidobjs.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3983
	(cid_face_done), src/bdf/bdfdrivr. (BDF_Face_Done),
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3984
	src/sfnt/sfobjs.c (sfnt_face_done): Protect against face == 0.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3985
	Reported by Graham Asher.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3986
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3987
2008-09-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
  3988
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3989
	* src/base/rules.mk: Add conditional source to BASE_SRC, for `make
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3990
	multi' on Mac OS X.  If the macro $(ftmac_c) is defined,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3991
	$(BASE_DIR)/$(ftmac_c) is added to BASE_SRC.  In a normal build, the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3992
	lack of ftmac.c in BASE_SRC is not serious because ftbase.c includes
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3993
	ftmac.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3994
	* builds/unix/unix-def.in: Add a macro definition of $(ftmac_c).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3995
	* builds/unix/configure.raw: Add procedure to set up appropriate
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3996
	value of $(ftmac_c) with the consideration of the availability of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3997
	Carbon framework.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3998
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  3999
2008-09-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
  4000
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4001
	* src/base/Jamfile: Add target for multi build by jam on Mac OS X.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4002
	* src/base/ftobjs.c (FT_New_Face): Fix the condition to include this
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4003
	function for MPW building.  It is synchronized the condition to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4004
	include ftmac.c source into ftbase.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4005
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4006
2008-09-22  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4007
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4008
	* src/cff/cffgload.c (CFF_Operator, cff_argument_counts,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4009
	cff_decoder_parse_charstrings): Handle (invalid)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4010
	`callothersubr' and `pop' instructions.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4011
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4012
2008-09-22  John Tytgat  <John.Tytgat@esko.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4013
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4014
	Fix Savannah bug #24307.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4015
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4016
	* include/freetype/internal/t1types.h (CID_FaceRec),
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4017
	src/type42/t42types.h (T42_FaceRec): Comment out `afm_data'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4018
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4019
2008-09-21  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4020
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4021
	* src/smooth/ftgrays.c (gray_raster_render): Don't dereference
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4022
	`target_map' if FT_RASTER_FLAG_DIRECT is set.  Problem reported by
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4023
	Stephan T. Lavavej <stl@nuwen.net>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4024
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4025
2008-09-21  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4026
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4027
	* src/otvalid/Jamfile: Add missing target `otvmath' for multi build
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4028
	by jam.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4029
	* src/sfnt/Jamfile: Add missing target `ttmtx' for multi build by
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4030
	jam.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4031
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4032
2008-09-20  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4033
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4034
	* src/smooth/ftgrays.c (gray_find_cell): Fix threshold.  The values
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4035
	passed to this function are already `normalized'.  Problem reported
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4036
	by Stephan T. Lavavej <stl@nuwen.net>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4037
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4038
	* docs/CHANGES: Document it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4039
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4040
2008-09-20  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4041
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4042
	* src/base/ftoutln.c: Include FT_INTERNAL_DEBUG_H.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4043
	(FT_Outline_Decompose): Decorate with tracing messages.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4044
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4045
	* src/smooth/ftgrays.c [DEBUG_GRAYS]: Replace with
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4046
	FT_DEBUG_LEVEL_TRACE.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4047
	[_STANDALONE_ && FT_DEBUG_LEVEL_TRACE]: Include stdio.h and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4048
	stdarg.h.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4049
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4050
	(FT_TRACE) [_STANDALONE_]: Remove.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4051
	(FT_Message) [_STANDALONE_ && FT_DEBUG_LEVEL_TRACE]: New function.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4052
	(FT_TRACE5, FT_TRACE7) [_STANDALONE_]: New macros.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4053
	(FT_ERROR) [_STANDALONE_]: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4054
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4055
	(gray_hline) [FT_DEBUG_LEVEL_TRACE]: Fix condition.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4056
	Use FT_TRACE7.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4057
	(gray_dump_cells): Make it `static void'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4058
	(gray_convert_glyph): Use FT_TRACE7.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4059
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4060
	(FT_Outline_Decompose) [_STANDALONE_]: Synchronize with version in
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4061
	ftoutln.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4062
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4063
	* src/base/ftadvanc.c (FT_Get_Advance, FT_Get_Advances): Use
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4064
	FT_ERROR_BASE.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4065
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4066
	* docs/formats.txt: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4067
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4068
2008-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
  4069
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4070
	* src/base/ftmac.c: Import sfnt-wrapped Type1 and sfnt-wrapped
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4071
	CID-keyed font support.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4072
	* builds/mac/ftmac.c: Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4073
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4074
2008-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
  4075
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4076
	* src/base/ftobjs.c (Mac_Read_sfnt_Resource): Fix double free bug in
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4077
	sfnt-wrapped Type1 and sfnt-wrapped CID-keyed font support code.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4078
	`open_face_from_buffer' frees the passed buffer if it cannot open a
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4079
	face from the buffer, so the caller must not free it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4080
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4081
2008-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
  4082
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4083
	* src/base/ftobjs.c (Mac_Read_sfnt_Resource): Add initial support
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4084
	for sfnt-wrapped Type1 and sfnt-wrapped CID-keyed font.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4085
	(ft_lookup_PS_in_sfnt): New function to look up `TYP1' or `CID '
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4086
	table in sfnt table directory.  It is used before loading TrueType
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4087
	font driver.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4088
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4089
	* docs/CHANGES: Add note about the current status of sfnt-wrapped
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4090
	Type1 and sfnt-wrapped CID-keyed font support.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4091
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4092
2008-09-18  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4093
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4094
	* src/base/ftsystem.c (FT_Done_Memory): Use ft_sfree directly for
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4095
	orthogonality (ft_free and ft_sfree could belong to different memory
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4096
	pools).  This fixes Savannah bug #24297.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4097
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4098
2008-09-18  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4099
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4100
	* src/cff/cffobjs.c (cff_face_init): Use TTAG_OTTO defined
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4101
	in ttags.h instead of numerical value 0x4F54544FL.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4102
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4103
2008-09-16  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4104
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4105
	* src/cff/cffgload.h, src/cff/cffgload.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4106
	(cff_decoder_set_width_only): Eliminate function call.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4107
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4108
2008-09-15  George Williams  <gww@silcom.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4109
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4110
	Fix Savannah bug #24179, reported by Bram Tassyns.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4111
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4112
	* src/type1/t1load.c (mm_axis_unmap, T1_Get_MM_Var): Fix computation
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4113
	of default values.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4114
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4115
2008-09-15  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4116
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4117
	* src/tools/glnames.py (main): Surround `ft_get_adobe_glyph_index'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4118
	and `ft_adobe_glyph_list' with FT_CONFIG_OPTION_ADOBE_GLYPH_LIST to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4119
	prevent unconditional definition.  This fixes Savannah bug #24241.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4120
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4121
	* src/psnames/pstables.h: Regenerated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4122
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4123
2008-09-13  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4124
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4125
	* autogen.sh, builds/unix/configure.raw,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4126
	include/freetype/config/ftconfig.h, builds/unix/ftconfig.in: Minor
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4127
	beautifying.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4128
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4129
	* include/freetype/ftadvanc.h, include/freetype/ftgasp.h,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4130
	include/freetype/ftlcdfil.h: Protect against FreeType 1.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4131
	Some other minor fixes.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4132
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4133
	* devel/ftoption.h: Synchronize with
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4134
	include/freetype/config/ftoption.h.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4135
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4136
2008-09-11  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4137
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4138
	* src/base/ftbase.c: Include ftadvanc.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4139
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4140
2008-09-11  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4141
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4142
	* builds/unix/ftconfig.in: Duplicate the cpp computation of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4143
	FT_SIZEOF_{INT|LONG} from include/freetype/config/ftconfig.h.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4144
	(FT_USE_AUTOCONF_SIZEOF_TYPES): New macro.  If defined, the cpp
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4145
	computation is disabled and the statically configured sizes are
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4146
	used.  This fixes Savannah bug #21250.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4147
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4148
	* builds/unix/configure.raw: Add the checks to compare the cpp
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4149
	computation results of the bit length of int and long versus the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4150
	sizes detected by running `configure'.  If the results are
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4151
	different, FT_USE_AUTOCONF_SIZEOF_TYPES is defined to prioritize the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4152
	results.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4153
	New option --{enable|disable}-biarch-config is added to define or
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4154
	undefine FT_USE_AUTOCONF_SIZEOF_TYPES manually.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4155
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4156
2008-09-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
  4157
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4158
	* builds/unix/configure.raw: Clear FT2_EXTRA_LIBS when Carbon or
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4159
	ApplicationService framework is missing.  Although this value is not
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4160
	used in building of FreeType2, it is written in `freetype2.pc' and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4161
	`freetype-config'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4162
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4163
2008-09-01  david turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4164
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4165
	* src/cache/ftccmap.c (FTC_CMapCache_Lookup): Accept a negative cmap
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4166
	index to mean `use default cached FT_Face's charmap'.  This fixes
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4167
	Savannah bug #22625.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4168
	* include/freetype/ftcache.h: Document it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4169
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4170
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4171
	Make FT_MulFix an inlined function.  This is done to speed up
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4172
	FreeType a little (on x86 3% when loading+hinting, 10% when
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4173
	rendering, ARM savings are more important though).  Disable this by
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4174
	undefining FT_CONFIG_OPTION_INLINE_MULFIX.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4175
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4176
	Use of assembler code can now be controlled with
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4177
	FT_CONFIG_OPTION_NO_ASSEMBLER.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4178
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4179
	* 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
  4180
	[!FT_CONFIG_OPTION_NO_ASSEMBLER] (FT_MulFix_arm): New assembler
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4181
	implementation.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4182
	[!FT_CONFIG_OPTION_NO_ASSEMBLER] (FT_MulFix_i386): Assembler
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4183
	implementation taken from `ftcalc.c'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4184
	[!FT_CONFIG_OPTION_NO_ASSEMBLER] (FT_MULFIX_ASSEMBLER): New macro
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4185
	which is defined to the platform-specific assembler implementation
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4186
	of FT_MulFix.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4187
	[FT_CONFIG_OPTION_INLINE_MULFIX && FT_MULFIX_ASSEMBLER]
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4188
	(FT_MULFIX_INLINED): New macro.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4189
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4190
	* include/freetype/config/ftoption.h (FT_CONFIG_OPTION_NO_ASSEMBLER,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4191
	FT_CONFIG_OPTION_INLINE_MULFIX): New macros.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4192
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4193
	* include/freetype/freetype.h: Updated to handle FT_MULFIX_INLINED.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4194
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4195
	* src/base/ftcalc.c: Updated to use FT_MULFIX_ASSEMBLER and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4196
	FT_MULFIX_INLINED.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4197
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4198
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4199
	Add a new header named FT_ADVANCES_H declaring some new APIs to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4200
	extract the advances of one or more glyphs without necessarily
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4201
	loading their outlines.  Also provide `fast loaders' for the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4202
	TrueType, Type1, and CFF font drivers (more to come later).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4203
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4204
	* src/base/ftadvanc.c, include/freetype/ftadvanc.h: New files.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4205
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4206
	* include/freetype/config/ftheader.h (FT_ADVANCES_H): New macro.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4207
	* include/freetype/freetype.h (FT_LOAD_ADVANCE_ONLY): New macro.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4208
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4209
	* include/freetype/internal/ftdriver.h (FT_Face_GetAdvancesFunc):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4210
	`flags' and `advances' are now of type `FT_UInt' and `FT_Fixed',
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4211
	respectively.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4212
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4213
	* src/base/Jamfile (_sources), src/base/rules.mk (BASE_SRC): Add
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4214
	ftadvanc.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4215
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4216
	* src/cff/cffdrivr.c (cff_get_advances): New function.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4217
	(cff_driver_class): Register it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4218
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4219
	* src/cff/cffgload.c (cff_decoder_set_width_only): New function.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4220
	(cff_decoder_parse_charstrings): Handle `width_only'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4221
	(cff_slot_load): Handle FT_LOAD_ADVANCE_ONLY.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4222
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4223
	* src/cff/cffgload.h (cff_decoder): New element `width_only'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4224
	(cff_decoder_set_width_only): New declaration.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4225
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4226
	* src/truetype/ttdriver.c (tt_get_advances): New function.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4227
	(tt_driver_class): Register it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4228
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4229
	* src/truetype/ttgload.c (Get_HMetrics, Get_VMetrics): Renamed to...
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4230
	(TT_Get_HMetrics, TT_Get_VMetrics): This.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4231
	Update callers.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4232
	* src/truetype/ttgload.h: Declare them.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4233
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4234
	* src/type1/t1gload.h, src/type1/t1gload.c (T1_Get_Advances): New
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4235
	function.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4236
	* src/type1/t1driver.c (t1_driver_class): Register T1_Get_Advances.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4237
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4238
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4239
	Add checks for minimum version of the `autotools' stuff.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4240
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4241
	* autogen.sh: Implement it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4242
	(get_major_version, get_minor_version, get_patch_version,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4243
	compare_to_minimum_version, check_tool_version): New auxiliary
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4244
	functions.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4245
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4246
	* README.CVS: Document it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4247
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4248
2008-08-29  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4249
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4250
	* src/sfnt/sfobjs.c (sfnt_open_font): Use TTAG_OTTO defined in
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4251
	ttags.h instead of FT_MAKE_TAG( 'O', 'T', 'T', 'O' ).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4252
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4253
2008-08-28  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4254
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4255
	* src/type1/t1load.c (parse_encoding): Protect against infinite
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4256
	loop.  This fixes Savannah bug #24150 (where a patch has been posted
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4257
	too).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4258
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4259
2008-08-23  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4260
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4261
	* src/type/t1afm.c (compare_kern_pairs), src/pxaux/afmparse.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4262
	(afm_compare_kern_pairs): Fix comparison.  This fixes Savannah bug
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4263
	#24119.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4264
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4265
2008-08-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
  4266
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4267
	* src/base/ftobjs.c (FT_Stream_New): Initialize *astream always,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4268
	even if passed library or arguments are invalid.  This fixes a bug
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4269
	that an uninitialized stream is freed when an invalid library handle
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4270
	is passed.  Originally proposed by Mike Fabian, 2008/08/18 on
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4271
	freetype-devel.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4272
	(FT_Open_Face): Ditto (stream).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4273
	(load_face_in_embedded_rfork): Ditto (stream2).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4274
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4275
2008-08-18  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4276
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4277
	* src/base/ftmac.c: Add a fallback to guess the availability of the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4278
	`ResourceIndex' type.  It is used when built without configure
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4279
	(e.g., a build with Jam).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4280
	* builds/mac/ftmac.c: Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4281
	* builds/unix/configure.raw: Set HAVE_TYPE_RESOURCE_INDEX to 1 or 0
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4282
	explicitly, even if `ResourceIndex' is unavailable.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4283
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4284
2008-08-18  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4285
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4286
	* builds/unix/configure.raw: In checking of Mac OS X features,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4287
	all-in-one header file `Carbon.h' is replaced by the minimum
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4288
	header file `CoreServices.h', similar to current src/base/ftmac.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4289
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4290
2008-08-18  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4291
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4292
	* src/sfnt/ttcmap.c (tt_cmap2_validate): Skip the validation of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4293
	sub-header when its code_count is 0.  Many Japanese Dynalab fonts
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4294
	include such an empty sub-header (code_count == 0, first_code == 0
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4295
	delta == 0, but offset != 0) as the second sub-header in SJIS cmap.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4296
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4297
2008-08-04  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4298
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4299
	* src/type1/t1tokens.h: Handle `ForceBold' keyword.  This fixes
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4300
	Savannah bug #23995.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4301
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4302
	* src/cid/cidload.c (parse_expansion_factor): New callback function.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4303
	(cid_field_records): Use it for `ExpansionFactor'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4304
	* src/cod/cidtoken.h: Handle `ForceBold' keyword.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4305
	Don't handle `ExpansionFactor'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4306
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4307
2008-08-04  Bram Tassyns  <bramt@enfocus.be>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4308
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4309
	* src/cff/cffparse.c (cff_parse_fixed_scaled): Fix thinko which
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4310
	resulted in incorrect scaling.  This fixes Savannah bug #23973.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4311
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4312
2008-08-04  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4313
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4314
	Be more tolerant w.r.t. invalid entries in SFNT table directory.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4315
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4316
	* src/sfnt/ttload.c (check_table_dir): Ignore invalid entries and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4317
	adjust table count.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4318
	Add more trace messages.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4319
	(tt_face_load_font_dir): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4320
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4321
2008-07-30  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4322
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4323
	* src/cff/cffgload.c (cff_decoder_parse_charstrings): No longer
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4324
	assume that the first argument on the stack is the bottom-most
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4325
	element.  Two reasons:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4326
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4327
	  o According to people from Adobe it is missing in the Type 2
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4328
	    specification that pushing of additional, superfluous arguments
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4329
	    on the stack is prohibited.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4330
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4331
	  o Acroread in general handles fonts differently, namely by popping
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4332
	    the number of arguments needed for a particular operand (as a PS
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4333
	    interpreter would do).  In case of buggy fonts this causes a
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4334
	    different interpretation which of the elements on the stack are
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4335
	    superfluous and which not.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4336
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4337
	Since there are CFF subfonts (embedded in PDFs) which rely on
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4338
	Acroread's behaviour, FreeType now does the same.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4339
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4340
2008-07-27  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4341
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4342
	Add extra mappings for `Tcommaaccent' and `tcommaaccent'.  This
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4343
	fixes Savannah bug #23940.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4344
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4345
	* src/psnames/psmodule.c (WGL_EXTRA_LIST_SIZE): Rename to...
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4346
	(EXTRA_GLYPH_LIST_SIZE): This.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4347
	Increase by 2.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4348
	(ft_wgl_extra_unicodes): Rename to...
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4349
	(ft_extra_glyph_unicodes): This.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4350
	Add two code values.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4351
	(ft_wgl_extra_glyph_names): Rename to...
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4352
	(ft_extra_glyph_names): This.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4353
	Add two glyphs.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4354
	(ft_wgl_extra_glyph_name_offsets): Rename to...
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4355
	(ft_extra_glyph_name_offsets): This.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4356
	Add two offsets.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4357
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4358
	(ps_check_wgl_name, ps_check_wgl_unicode): Rename to...
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4359
	(ps_check_extra_glyph_name, ps_check_extra_glyph_unicode): This.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4360
	Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4361
	(ps_unicodes_init): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4362
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4363
2008-07-26  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4364
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4365
	* src/cff/cffgload.c (cff_decoder_prepare,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4366
	cff_decoder_parse_charstrings): Improve debug output.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4367
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4368
2008-07-22  Martin McBride  <mmcbride@emtex.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4369
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4370
	* src/sfnt/ttcmap.c (tt_cmap4_validate, tt_cmap4_char_map_linear,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4371
	tt_cmap4_char_map_binary): Handle fonts which treat the last segment
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4372
	specially.  According to the specification, such fonts would be
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4373
	invalid but acroread accepts them.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4374
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4375
2008-07-16  Jon Foster  <Jon.Foster@cabot.co.uk>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4376
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4377
	* src/pfr/pfrdrivr.c (pfr_get_advance): Fix off-by-one error.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4378
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4379
	* src/base/ftcalc.c (FT_MulFix): Fix portability issue.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4380
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4381
	* src/sfnt/ttpost.c (MAC_NAME) [!FT_CONFIG_OPTION_POSTSCRIPT_NAMES]:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4382
	Fix compiler warning.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4383
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4384
2008-07-16  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4385
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4386
	Handle CID-keyed fonts wrapped in an SFNT (with cmaps) correctly.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4387
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4388
	* src/cff/cffload.c (cff_font_load): Pass `pure_cff'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4389
	Invert sids table only if `pure_cff' is set.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4390
	* src/cff/cffload.h: Udpated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4391
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4392
	* src/cff/cffobjs.c (cff_face_init): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4393
	Set FT_FACE_FLAG_CID_KEYED only if pure_cff is set.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4394
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4395
	* docs/CHANGES: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4396
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4397
2008-07-09  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4398
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4399
	* src/truetype/ttpload.c (tt_face_load_loca): Handle buggy fonts
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4400
	where num_locations < num_glyphs.  Problem reported by Ding Li.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4401
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4402
2008-07-05  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4403
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4404
	Since FreeType uses `$(value ...)', we now need GNU make 3.80 or
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4405
	newer.  This fixes Savannah bug #23648.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4406
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4407
	* configure: zsh doesn't like ${1+"$@"}.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4408
	Update needed GNU make version.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4409
	* builds/toplevel.mk: Check for `$(eval ...)'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4410
	* docs/INSTALL.GNU, docs/INSTALL.CROSS, docs/INSTALL.UNIX: Document
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4411
	it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4412
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4413
2008-07-04  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4414
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4415
	* src/raster/ftraster.c (Draw_Sweep): If span is smaller than one
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4416
	pixel, only check for dropouts if neither start nor end point lies
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4417
	on a pixel center.  This fixes Savannah bug #23762.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4418
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4419
2008-06-29  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4420
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4421
	* Version 2.3.7 released.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4422
	=========================
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4423
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4424
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4425
	Tag sources with `VER-2-3-7'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4426
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4427
	* docs/CHANGES, docs/VERSION.DLL: Update documentation and bump
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4428
	version number to 2.3.7.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4429
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4430
	* README, Jamfile (RefDoc), builds/win32/visualc/index.html,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4431
	builds/win32/visualc/freetype.dsp,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4432
	builds/win32/visualc/freetype.vcproj,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4433
	builds/win32/visualce/index.html,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4434
	builds/win32/visualce/freetype.dsp,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4435
	builds/win32/visualce/freetype.vcproj: s/2.3.6/2.3.7/, s/236/237/.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4436
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4437
	* include/freetype/freetype.h (FREETYPE_PATCH): Set to 7.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4438
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4439
	* builds/unix/configure.raw (version_info): Set to 9:18:3.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4440
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4441
	* docs/release: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4442
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4443
2008-06-28  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4444
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4445
	* src/ftglyph.c (FT_Matrix_Multiply, FT_Matrix_Invert): Move to...
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4446
	* src/ftcalc.c: Here.  This fixes Savannah bug #23729.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4447
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4448
2008-06-27  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4449
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4450
	* src/raster/ftraster.c (Vertical_Sweep_Drop, Horizontal_Sweep_Drop,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4451
	Horizontal_Gray_Sweep_Drop): Test for intersections which
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4452
	degenerate to a single point can be ignored; this has been confirmed
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4453
	by Greg Hitchcock from Microsoft.  (This was commented out code.)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4454
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4455
2008-06-26  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4456
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4457
	Improve navigation in API reference.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4458
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4459
	* src/tools/docmaker/tohtml.py (html_header_3): Renamed to...
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4460
	(html_header_6): This.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4461
	(html_header_3, html_header_3i, html_header_4, html_header_5,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4462
	html_header_5t): New strings.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4463
	(toc_footer_start, toc_footer_end): New strings.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4464
	(HtmlFormatter::html_header): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4465
	(HtmlFormatter::html_index_header, HtmlFormatter::html_toc_header):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4466
	New strings.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4467
	(HtmlFormatter::index_enter): Use `html_index_header'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4468
	(HtmlFormatter::index_exit): Print `html_footer'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4469
	(HtmlFormatter::toc_enter): Use `html_toc_header'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4470
	(HtmlFormatter::toc_exit): Print proper footer.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4471
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4472
	Convert ~ to non-breakable space.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4473
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4474
	* src/tools/docmaker/tohtml.py (make_html_para): Implement it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4475
	Update header files accordingly.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4476
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4477
2008-06-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
  4478
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4479
	* builds/unix/configure.raw: Check type `ResourceIndex' explicitly
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4480
	and define HAVE_TYPE_RESOURCE_INDEX if it is defined.  Mac OS X 10.5
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4481
	bundles 10.4u SDK with MAC_OS_X_VERSION_10_5 macro but without
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4482
	ResourceIndex type definition.  The macro does not inform the type
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4483
	availability.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4484
	* src/base/ftmac.c: More parentheses are inserted to clarify the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4485
	conditionals to disable legacy APIs in `10.5 and later' cases.  If
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4486
	HAVE_TYPE_RESOURCE_INDEX is not defined, ResourceIndex is defined.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4487
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4488
2008-06-24  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4489
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4490
	* src/truetype/ttinterp.c (Ins_SCANTYPE): Don't check rendering
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4491
	mode.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4492
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4493
	* src/raster/ftraster.c (Render_Glyph, Render_Gray_Glyph,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4494
	Draw_Sweep): No-dropout mode is value 2, not value 0.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4495
	(Draw_Sweep): Really skip dropout handling for no-dropout mode.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4496
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4497
2008-06-24  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4498
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4499
	* src/psaux/psobjs.c (t1_builder_close_contour): Don't add contour
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4500
	if it consists of one point only.  Based on a patch from Savannah
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4501
	bug #23683 (from John Tytgat).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4502
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4503
2008-06-22  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4504
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4505
	* src/truetype/ttgload.c (TT_Load_Glyph): Protect bytecode stuff
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4506
	with IS_HINTED.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4507
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4508
	* docs/CHANGES: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4509
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4510
2008-06-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
  4511
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4512
	* builds/unix/configure.raw: If CFLAGS has `-isysroot XXX' option
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4513
	but LDFLAGS does not, import it to LDFLAGS.  The option is used to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4514
	specify non-default SDK on Mac OS X (e.g., universal binary SDK for
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4515
	Mac OS X 10.4 on PowerPC platform).  Although Apple TechNote 2137
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4516
	recommends to add the option only to CFLAGS, LDFLAGS should include
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4517
	it because libfreetype.la is built with -no-undefined.  This fixes a
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4518
	bug reported by Ryan Schmidt in MacPorts,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4519
	http://trac.macports.org/ticket/15331.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4520
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4521
2008-06-21  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4522
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4523
	Enable access to the various dropout rules of the B&W rasterizer.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4524
	Pass dropout rules from the TT bytecode interpreter to the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4525
	rasterizer.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4526
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4527
	* include/freetype/ftimage.h (FT_OUTLINE_SMART_DROPOUTS,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4528
	FT_OUTLINE_EXCLUDE_STUBS): New flags for FT_Outline.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4529
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4530
	* src/raster/ftraster.c (Vertical_Sweep_Drop, Horizontal_Sweep_Drop,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4531
	Horizontal_Gray_Sweep_Drop): Use same mode numbers as given in the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4532
	OpenType specification.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4533
	Fix mode 4 computation.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4534
	(Render_Glyph, Render_Gray_Glyph): Handle new outline flags.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4535
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4536
	* src/truetype/ttgload.c (TT_Load_Glyph) Convert scan conversion
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4537
	mode to FT_OUTLINE_XXX flags.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4538
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4539
	* src/truetype/ttinterp.c (Ins_SCANCTRL): Enable ppem check.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4540
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4541
2008-06-19  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4542
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4543
	* src/cff/cffobjs.c (cff_face_init): Compute final
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4544
	`dict->units_per_em' value before assigning it to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4545
	`cffface->units_per_EM'.  Otherwise, CFFs without subfonts are
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4546
	scaled incorrectly if the font matrix is non-standard.  This fixes
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4547
	Savannah bug #23630.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4548
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4549
	* docs/CHANGES: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4550
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4551
2008-06-19  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4552
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4553
	* src/type/t1objs.c (T1_Face_Init): Slightly improve algorithm fix
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4554
	from 2008-06-19.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4555
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4556
2008-06-18  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4557
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4558
	* src/type/t1objs.c (T1_Face_Init): Fix change from 2008-03-21.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4559
	Reported by Peter Weilbacher <mozilla@weilbacher.org>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4560
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4561
	* docs/CHANGES: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4562
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4563
2008-06-15  George Williams  <gww@silcom.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4564
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4565
	* src/otvalid/otvgpos.c (otv_MarkBasePos_validate): Set
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4566
	`valid->extra2' to 1.  This is undocumented in the OpenType 1.5
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4567
	specification.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4568
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4569
2008-06-15  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4570
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4571
	* src/base/ftcalc.c (FT_MulFix) <asm>: Protect registers correctly
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4572
	from clobbering.  Patch from Savannah bug report #23556.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4573
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4574
	* docs/CHANGES: Document it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4575
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4576
2008-06-10  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4577
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4578
	* autogen.sh: Add option `--install' to libtoolize.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4579
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4580
2008-06-10  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4581
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4582
	* Version 2.3.6 released.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4583
	=========================
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4584
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4585
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4586
	Tag sources with `VER-2-3-6'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4587
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4588
	* docs/CHANGES, docs/VERSION.DLL: Update documentation and bump
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4589
	version number to 2.3.6.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4590
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4591
	* README, Jamfile (RefDoc), builds/win32/visualc/index.html,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4592
	builds/win32/visualc/freetype.dsp,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4593
	builds/win32/visualc/freetype.vcproj,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4594
	builds/win32/visualce/index.html,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4595
	builds/win32/visualce/freetype.dsp,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4596
	builds/win32/visualce/freetype.vcproj: s/2.3.5/2.3.6/, s/235/236/.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4597
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4598
	* include/freetype/freetype.h (FREETYPE_PATCH): Set to 6.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4599
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4600
	* builds/unix/configure.raw (version_info): Set to 9:17:3.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4601
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4602
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4603
	* include/freetype/internal/psaux.h (T1_BuilderRec): Remove `scale_x'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4604
	and `scale_y'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4605
	* src/cff/cffgload.h (CFF_Builder): Remove `scale_x' and `scale_y'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4606
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4607
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4608
	* src/cff/cffparse.c: Include FT_INTERNAL_DEBUG_H.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4609
	* src/cff/cffobjs.h: Include FT_INTERNAL_POSTSCRIPT_HINTS_H.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4610
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4611
2008-06-10  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4612
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4613
	* src/base/ftobjs.c (open_face): Check `clazz->init_face' and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4614
	`clazz->done_face'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4615
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4616
2008-06-09  VaDiM  <s_sliva@rambler.ru>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4617
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4618
	Support debugging on WinCE.  From Savannah patch #6536; this fixes
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4619
	bug #23497.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4620
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4621
	* builds/win32/ftdebug.c (OutputDebugStringEx): New function/macro
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4622
	as a replacement for OutputDebugStringA (which WinCE doesn't have).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4623
	Update all callers.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4624
	(ft_debug_init) [_WIN32_CE]: WinCE apparently doesn't have
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4625
	environment variables.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4626
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4627
2008-06-09  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4628
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4629
	* README.CVS: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4630
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4631
	* builds/unix/configure.raw, builds/unix/freetype-config.in: Updated
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4632
	for newer versions of autoconf and friends.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4633
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4634
2008-06-08  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4635
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4636
	* src/type1/t1parse.h (T1_ParserRec): Make `base_len' and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4637
	`private_len' unsigned.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4638
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4639
	* src/type1/t1parse.c (read_pfb_tag): Make `asize' unsigned and read
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4640
	it as such.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4641
	(T1_New_Parser, T1_Get_Private_Dict): Make `size' unsigned.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4642
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4643
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4644
	* src/base/ftstream.c (FT_Stream_Skip): Reject negative values.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4645
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4646
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4647
	* src/type1/t1load.c (parse_blend_design_positions): Check `n_axis'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4648
	for sane value.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4649
	Fix typo.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4650
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4651
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4652
	* src/psaux/psobjs.c (ps_table_add): Check `idx' correctly.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4653
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4654
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4655
	* src/truetype/ttinterp (Ins_SHC): Use BOUNDS() to check
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4656
	`last_point'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4657
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4658
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4659
	* src/sfnt/ttload.c (tt_face_load_max_profile): Limit
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4660
	`maxTwilightPoints'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4661
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4662
2008-06-06  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4663
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4664
	* src/truetype/ttinterp.c (Ins_IP): Handle case `org_dist == 0'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4665
	correctly.  This fixes glyphs `t' and `h' of Arial Narrow at 12ppem.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4666
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4667
2008-06-03  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4668
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4669
	* include/freetype/ftcache.h (FTC_FaceID): Change type back to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4670
	FT_Pointer.  Reported by Ian Britten <britten@caris.com>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4671
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4672
2008-06-02  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4673
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4674
	Emit header info for defined FreeType objects in reference.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4675
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4676
	* src/tools/docmaker/content.py (re_header_macro): New regexp.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4677
	(ContentProcessor::__init__): Initialize new dictionary `headers'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4678
	(DocBlock::__init__): Collect macro header definitions.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4679
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4680
	* src/tools/docmaker/tohtml.py (header_location_header,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4681
	header_location_footer): New strings.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4682
	(HtmlFormatter::__init__): Pass `headers' dictionary.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4683
	(HtmlFormatter::print_html_field): Don't emit paragraph tags.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4684
	(HtmlFormatter::print_html_field_list): Emit empty paragraph.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4685
	(HtmlFormatter::block_enter): Emit header info.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4686
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4687
2008-06-01  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4688
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4689
	* include/freetype/config/ftheader.h (FT_UNPATENTED_HINTING_H,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4690
	FT_INCREMENTAL_H): Added.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4691
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4692
2008-05-28  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4693
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4694
	* src/tools/docmaker/sources.py (SourceBlock::__init__): While
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4695
	looking for markup tags, return immediately as soon a single one is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4696
	found.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4697
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4698
2008-05-28  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4699
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4700
	* src/truetype/ttinterp.c (Ins_MD): The MD instruction also uses
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4701
	original, unscaled input values.  Confirmed by Greg Hitchcock from
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4702
	Microsoft.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4703
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4704
2008-05-27  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4705
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4706
	* src/tools/docmaker/tohtml.py (block_footer_start,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4707
	block_footer_middle): Beautify output.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4708
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4709
2008-05-25  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4710
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4711
	* src/raster/ftraster.c (fc_black_render): Return 0 when we are
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4712
	trying to render into a zero-width/height bitmap, not an error code.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4713
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4714
	* src/truetype/ttgload.c (load_truetype_glyph): Move initialization
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4715
	of the graphics state for subglyphs to...
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4716
	(TT_Hint_Glyph): This function.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4717
	Hinting instructions for a composite glyph apparently refer to the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4718
	just hinted subglyphs, not the unhinted, unscaled outline.  This
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4719
	seems to fix Savannah bugs #20973 and (at least partially) #23310.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4720
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4721
2008-05-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
  4722
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4723
	* src/base/ftmac.c (FT_New_Face_From_Suitcase): Check if valid
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4724
	`aface' is returned by FT_New_Face_From_FOND().  The patch was
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4725
	proposed by an anonymous reporter of Savannah bug #23204.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4726
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4727
2008-05-18  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4728
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4729
	* src/pshinter/pshalgo.c (ps_hints_apply): Reset scale values after
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4730
	correction for pixel boundary.  Without this patch, the effect can
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4731
	be cumulative under certain circumstances, making glyphs taller and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4732
	taller after each call.  This fixes Savannah bug #19976.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4733
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4734
2008-05-18  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4735
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4736
	* src/base/ftdebug.c (FT_Message, FT_Panic): Send output to stderr.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4737
	This fixes Savannah bug #23280.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4738
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4739
	* docs/CHANGES: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4740
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4741
2008-05-18  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4742
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4743
	* src/psnames/psmodule.c (ft_wgl_extra_unicodes,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4744
	ft_wgl_extra_glyph_names, ft_wgl_extra_glyph_name_offsets,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4745
	ps_check_wgl_name, ps_check_wgl_unicode): Use `static' to make
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4746
	declarations non-global.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4747
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4748
	* src/type1/t1load.c: Add missing comment.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4749
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4750
2008-05-17  Sam Hocevar  <samh>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4751
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4752
	* src/truetype/ttgload.c (TT_Load_Simple_Glyph): Handle zero-contour
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4753
	glyphs correctly.  Patch from Savannah bug #23277.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4754
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4755
2008-05-16  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4756
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4757
	* docs/CHANGES: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4758
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4759
2008-05-16  Sergey Tolstov  <stolstov@esri.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4760
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4761
	Improve support for WGL4 encoded fonts.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4762
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4763
	* src/psnames/psmodule.c (WGL_EXTRA_LIST_SIZE): New macro.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4764
	(ft_wgl_extra_unicodes, ft_wgl_extra_glyph_names,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4765
	ft_wgl_extra_glyph_name_offsets): New arrays.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4766
	(ps_check_wgl_name, ps_check_wgl_unicode): New functions.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4767
	(ps_unicodes_init): Use them to add additional Unicode mappings.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4768
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4769
2008-05-15  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4770
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4771
	* src/psaux/t1decode.c (t1_decoder_parse_charstrings)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4772
	<op_closepath>: `closepath' without a path is a no-op, not an error
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4773
	(cf. the PS reference manual).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4774
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4775
	Reported by Martin McBride.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4776
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4777
2008-05-15  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4778
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4779
	* builds/toplevel.mk (CONFIG_GUESS, CONFIG_SUB): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4780
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4781
2008-05-15  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4782
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4783
	* src/type1/t1load.c (parse_subrs): Accept fonts with a subrs array
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4784
	which contains a single but empty entry.  This is technically
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4785
	invalid (since it must end with `return'), but...
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4786
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4787
	Reported by Martin McBride.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4788
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4789
2008-05-14  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4790
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4791
	Finish fix of scaling bug of CID-keyed CFF subfonts.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4792
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4793
	* include/freetype/internal/ftcalc.h, src/base/ftcalc.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4794
	(FT_Matrix_Multiply_Scaled, FT_Vector_Transform_Scaled): New
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4795
	functions.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4796
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4797
	* src/cff/cffobjs.h (CFF_Internal): New struct.  It is used to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4798
	provide global hinting data for both the top-font and all subfonts
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4799
	(with proper scaling).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4800
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4801
	* src/cff/cffobjs.c (cff_make_private_dict): New function, using
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4802
	code from `cff_size_init'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4803
	(cff_size_init, cff_size_done, cff_size_select, cff_size_request):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4804
	Use CFF_Internal and handle subfonts.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4805
	(cff_face_init): Handle top-dict and subfont matrices correctly;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4806
	apply some heuristic in case of unlikely matrix concatenation
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4807
	results.  This has been discussed with people from Adobe (thanks
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4808
	goes mainly to David Lemon) who confirm that the CFF specs are fuzzy
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4809
	and not correct.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4810
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4811
	* src/cff/cffgload.h (cff_decoder_prepare): Add `size' argument.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4812
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4813
	* src/cff/cffgload.c (cff_builder_init): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4814
	(cff_decoder_prepare): Handle hints globals for subfonts.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4815
	Update all callers.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4816
	(cff_slot_load): Handling scaling of subfonts properly.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4817
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4818
	* src/cff/cffparse.c (cff_parse_fixed_dynamic): New function.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4819
	(cff_parse_font_matrix): Use it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4820
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4821
	* src/cff/cfftypes.h (CFF_FontDictRec): Make `units_per_em'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4822
	FT_ULong.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4823
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4824
	* docs/CHANGES: Document it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4825
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4826
2008-05-13  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4827
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4828
	* src/winfonts/winfnt.c (fnt_face_get_dll_font, FNT_Face_Init):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4829
	Handle case `face_index < 0'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4830
	* docs/CHANGES: Document it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4831
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4832
2008-05-04  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4833
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4834
	First steps to fix the scaling bug of CID-keyed CFF subfonts,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4835
	reported by Ding Li on 2008/03/28 on freetype-devel.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4836
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4837
	* src/base/cff/cffparse.c (power_tens): New array.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4838
	(cff_parse_real): Rewritten to introduce a fourth parameter which
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4839
	returns the `scaling' of the real number so that we have no
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4840
	precision loss.  This is not used yet.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4841
	Update all callers.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4842
	(cff_parse_fixed_thousand): Replace with...
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4843
	(cff_parse_fixed_scaled): This function.  Update all callers.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4844
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4845
2008-05-03  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4846
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4847
	* src/base/ftobjs.c (FT_Load_Glyph): Call the auto-hinter without
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4848
	transformation since it recursively calls FT_Load_Glyph.  This fixes
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4849
	Savannah bug #23143.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4850
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4851
2008-04-26  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4852
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4853
	* include/freetype/internal/psaux.h (T1_BuilderRec): Mark `scale_x'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4854
	and `scale_y' as obsolete since they aren't used.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4855
	* src/psaux/psobjs.c (t1_builder_init): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4856
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4857
	* src/cff/cffgload.h (CFF_Builder): Mark `scale_x' and `scale_y' as
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4858
	obsolete since they aren't used.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4859
	* src/cff/cffgload.c (cff_builder_init): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4860
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4861
2008-04-14  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4862
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4863
	* src/pcf/pcfdrivr.c (PCF_Face_Init): Protect call to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4864
	`FT_Stream_OpenLZW' with `FT_CONFIG_OPTION_USE_LZ'.  From Savannah
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4865
	bug #22909.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4866
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4867
2008-04-13  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4868
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4869
	* src/psaux/psconv.c (PS_Conv_ToFixed): Increase precision if
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4870
	integer part is zero.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4871
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4872
2008-04-01  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4873
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4874
	Fix compilation with g++ 4.1 (with both `single' and `multi'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4875
	targets).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4876
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4877
	* src/base/ftobjs.c (FT_Open_Face): Don't define a variable in block
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4878
	which is crossed by a `goto'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4879
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4880
	* src/otvalid/otvalid.h (otv_MATH_validate): Add prototype.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4881
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4882
2008-03-31  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4883
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4884
	Fix support for subsetted CID-keyed CFFs.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4885
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4886
	* include/freetype/freetype.h (FT_FACE_FLAG_CID_KEYED,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4887
	FT_IS_CID_KEYED): New macros.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4888
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4889
	* src/cff/cffobjs.c (cff_face_init): Set number of glyphs to the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4890
	maximum CID value in CID-keyed CFFs.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4891
	Handle FT_FACE_FLAG_CID_KEYED flag.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4892
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4893
	* docs/CHANGES: Document it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4894
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4895
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4896
	Fix CFF font matrix calculation and improve precision.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4897
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4898
	* src/cff/cffparse.c (cff_parse_real): Increase precision if integer
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4899
	part is zero.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4900
	(cff_parse_font_matrix): Simplify computation of `units_per_em';
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4901
	this prevents overflow also.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4902
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4903
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4904
	Support FT_Get_CID_Registry_Ordering_Supplement for PS CID fonts.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4905
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4906
	* src/cid/cidriver.c: Include FT_SERVICE_CID_H.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4907
	(cid_get_ros): New function.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4908
	(cid_service_cid_info): New service structure.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4909
	(cid_services): Register it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4910
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4911
2008-03-23  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4912
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4913
	Adjustments for Visual C++ 8.0, as reported by Rainer Deyke.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4914
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4915
	* builds/compiler/visualc.mk (CFLAGS): Remove /W5.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4916
	(ANSIFLAGS): Add _CRT_SECURE_NO_DEPRECATE.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4917
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4918
2008-03-21  Laurence Darby  <ldarby>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4919
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4920
	* src/type1/t1objs.c (T1_Face_Init): Use `/Weight'.  Patch from
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4921
	Savannah bug #22675.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4922
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4923
2008-03-13  Derek Clegg  <dclegg@apple.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4924
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4925
	* src/truetype/ttgxvar.c (TT_Get_MM_Var): Fix named style loop.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4926
	Patch from Savannah bug #22541.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4927
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4928
2008-03-03  Masatoshi Kimura  <VYV03354@nifty.ne.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4929
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4930
	* src/sfnt/ttcmap.c (tt_cmap14_char_map_nondef_binary,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4931
	tt_cmap14_find_variant): Return correct value.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4932
	(tt_cmap14_variant_chars): Fix check for `di'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4933
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4934
2008-02-29  Wermer Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4935
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4936
	* docs/CHANGES: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4937
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4938
2008-02-29  Wolf
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4939
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4940
	Add build support for symbian platform.  From Savannah bug #22440.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4941
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4942
	* builds/symbian/*: New files.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4943
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4944
2008-02-21  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4945
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4946
	* src/base/ftmac.c (parse_fond): Fix a bug of PostScript font name
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4947
	synthesis.  For any face of a specified FOND, always the name for
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4948
	the first face was used.  Except of a FOND that refers multiple
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4949
	Type1 font files, wrong synthesized font names are not used at all,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4950
	so this is an invisible bug.  A few limit checks are added too.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4951
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4952
	* builds/mac/ftmac.c: Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4953
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4954
2008-02-21  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4955
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4956
	* builds/unix/configure.raw: Split compiler option to link Carbon
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4957
	frameworks to one option for CoreServices framework and another
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4958
	option for ApplicationServices framework.  The split options can be
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4959
	managed by GNU libtool to avoid unrequired duplication when FreeType
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4960
	is linked with other applications.  Suggested by Daniel Macks,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4961
	Savannah bug #22366.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4962
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4963
2008-02-18  Victor Stinner  <victor.stinner@haypocalc.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4964
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4965
	* src/truetype/ttinterp.c (Ins_IUP): Check number of points.  Fix
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4966
	from Savannah bug #22356.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4967
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4968
2008-02-17  Jonathan Blow  <jon@number-none.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4969
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4970
	* src/autofit/afloader.c (af_loader_load_g, af_loader_load_glyph):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4971
	Check for valid callback pointers.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4972
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4973
2008-02-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
  4974
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4975
	* src/base/ftmac.c (FT_New_Face_From_SFNT): Check the sfnt resource
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4976
	handle by its value instead of ResError(), fix provided by Deron
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4977
	Kazmaier.  According to the Resource Manager Reference,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4978
	GetResource(), Get1Resource(), GetNamedResource(),
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4979
	Get1NamedResource() and RGetResource() set noErr but return NULL
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4980
	handle when they can not find the requested resource.  These
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4981
	functions never return undefined values, so it is sufficient to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4982
	check if the handle is not NULL.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4983
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4984
	* builds/mac/ftmac.c (FT_New_Face_From_SFNT): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4985
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4986
2008-02-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
  4987
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4988
	* src/base/ftbase.c: <ftmac.c> is replaced by "ftmac.c" as other
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4989
	inclusion styles.  Now it always includes src/base/ftmac.c;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4990
	builds/mac/ftmac.c is never included in any configuration.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4991
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4992
	* builds/unix/configure.raw: Print warning if configure is executed
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4993
	with options to specify Carbon functionalities explicitly.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4994
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4995
	* docs/INSTALL.MAC: Note that legacy builds/mac/ftmac.c is not
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4996
	included automatically and manual replacement is required.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4997
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4998
2008-02-11  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  4999
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5000
	* builds/modules.mk (CLOSE_MODULE, REMOVE_MODULE), builds/detect.mk
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5001
	(dos_setup), builds/freetype.mk (clean_project_dos,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5002
	distclean_project_dos): Don't use \ but $(SEP).  Reported by Duncan
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5003
	Murdoch.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5004
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5005
2008-01-18  Sylvain Pasche  <sylvain.pasche@gmail.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5006
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5007
	* src/base/ftlcdfil.c (_ft_lcd_filter_legacy): Updated comment to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5008
	mention intra-pixel algorithm.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5009
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5010
	* include/freetype/freetype.h (FT_Render_Mode): Mention that
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5011
	FT_Library_SetLcdFilter can be used to reduce fringes.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5012
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5013
2008-01-16  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5014
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5015
	* src/raster/ftraster.c (ft_black_render): Check `outline' before
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5016
	using it.  Reported by Allan Yang.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5017
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5018
2008-01-12  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5019
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5020
	* src/raster/ftraster.c (FT_CONFIG_OPTION_5_GRAY_LEVELS): Remove.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5021
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5022
2008-01-12  Allan Yang, Jian Hua - SH  <Allan.Yang@fmc.fujitsu.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5023
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5024
	* src/raster/ftraster.c (ft_black_init)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5025
	[FT_RASTER_OPTION_ANTI_ALIASING]: Fix compilation.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5026
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5027
2008-01-10  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5028
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5029
	* src/truetype/ttgload.c (load_truetype_glyph): Handle the case
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5030
	where the number of contours in a simple glyph is zero (and which
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5031
	does contain an entry in the `glyf' table).  This fixes Savannah bug
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5032
	#21990.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5033
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5034
2008-01-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
  5035
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5036
	Formatting suggested by Sean McBride.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5037
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5038
	* builds/mac/ftmac.c: Formatting (tab expanded).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5039
	* src/autofit/afindic.c: Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5040
	* src/base/ftcid.c: Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5041
	* src/base/ftmac.c: Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5042
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5043
2007-12-30  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5044
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5045
	* src/smooth/ftgrays.c (gray_raster_render): Check `outline'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5046
	correctly.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5047
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5048
2007-12-21  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5049
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5050
	Improvement of POSIX resource-fork accessor to load unsorted
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5051
	references in a resource.  In HelveLTMM (resource-fork PostScript
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5052
	Type1 font bundled with Mac OS X since 10.3.x), the appearance order
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5053
	of PFB chunks is not sorted; sorting the chunks by reference IDs is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5054
	required.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5055
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5056
	* include/freetype/internal/ftrfork.h (FT_RFork_Ref): New structure
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5057
	type to store a pair of reference ID and offset to the chunk.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5058
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5059
	* src/base/ftrfork.c (ft_raccess_sort_ref_by_id): New function to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5060
	sort FT_RFork_Ref by their reference IDs.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5061
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5062
	(FT_Raccess_Get_DataOffsets): Returns an array of offsets that is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5063
	sorted by reference ID.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5064
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5065
2007-12-14  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5066
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5067
	* src/cff/cffparse.c (cff_parse_real): Don't apply `power_ten'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5068
	division too early; otherwise the most significant digit(s) of the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5069
	final result are lost as the value is truncated to an integer.  This
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5070
	fixes Savannah bug #21794 (where the patch has been posted too).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5071
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5072
2007-12-06  Fix  <4d876b82@gmail.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5073
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5074
	Pass options from one configure script to another as-is (not
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5075
	expanded).  This is needed for options like
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5076
	--includedir='${prefix}/include'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5077
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5078
	* builds/unix/detect.mk, configure: Prevent argument expansion in
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5079
	call to the (real) `configure' script.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5080
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5081
2007-12-06  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5082
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5083
	* src/truetype/ttgload.c (load_truetype_glyph): Fix compilation if
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5084
	TT_USE_BYTECODE_INTERPRETER isn't defined.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5085
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5086
2007-12-06  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5087
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5088
	There exist CFFs which contain opcodes for the Type 1 operators
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5089
	`hsbw' and `closepath' which are both invalid in Type 2 charstrings.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5090
	However, it doesn't harm to support them.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5091
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5092
	* src/cff/cffgload.c (CFF_Operator): Add `cff_op_hsbw' and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5093
	`cff_op_closepath.'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5094
	(cff_argument_counts): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5095
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5096
	(cff_decoder_parse_charstrings): Handle Type 1 opcodes 9 (closepath)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5097
	and 13 (hsbw) which are invalid in Type 2 charstrings.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5098
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5099
2007-12-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
  5100
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5101
	* src/base/ftrfork.c (raccess_guess_darwin_newvfs): New function to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5102
	support new pathname syntax `..namedfork/rsrc' to access a resource
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5103
	fork on Mac OS X.  The legacy syntax `/rsrc' does not work on
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5104
	case-sensitive HFS+.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5105
	(raccess_guess_darwin_hfsplus): Fix a bug in the calculation of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5106
	buffer size to store a pathname.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5107
	* include/freetype/internal/ftrfork.h: Increment the number of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5108
	resource fork guessing rule.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5109
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5110
2007-12-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
  5111
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5112
	* builds/unix/configure.raw: Improve the compile tests to search
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5113
	Carbon functions.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5114
	* builds/mac/ftmac.c: Import fixes for Carbon incompatibilities
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5115
	proposed by Sean McBride from src/base/ftmac.c (see 2007-11-16).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5116
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5117
2007-12-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
  5118
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5119
	The documents and comments for Mac OS X are improved by Sean
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5120
	McBride.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5121
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5122
	* src/base/ftmac.c: Fix a comment.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5123
	* include/freetype/ftmac.h: Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5124
	* docs/INSTALL.MAC: Improve English and add comment on lowest
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5125
	system version specified by MACOSX_DEPLOYMENT_TARGET.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5126
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5127
2007-12-04  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5128
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5129
	* src/cff/cffload.c (cff_subfont_load): Don't use logical OR to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5130
	concatenate error codes.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5131
	* src/sfnt/ttsbit.c (Load_SBit_Range): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5132
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5133
2007-12-04  Graham Asher  <graham.asher@btinternet.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5134
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5135
	* src/truetype/ttobjs.c (tt_face_init): Don't use logical OR to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5136
	concatenate error codes.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5137
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5138
2007-12-04  Sean McBride  <sean@rogue-research.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5139
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5140
	* src/pfr/pfrgload.c (pfr_glyph_load_compound): Remove compiler
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5141
	warning.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5142
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5143
2007-11-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
  5144
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5145
	Fix MacOS legacy font support by Masatake Yamato on Mac OS X.  It is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5146
	not working since 2.3.5.  In FT_Open_New(), if FT_New_Stream()
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5147
	cannot mmap() the specified file and cannot seek to head of the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5148
	specified file, it returns NULL stream and FT_Open_New() returns the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5149
	error immediately.  On MacOS, most legacy MacOS fonts fall into such
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5150
	a scenario because their data forks are zero-sized and cannot be
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5151
	sought.  To proceed to guessing of resource fork fonts, the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5152
	functions for legacy MacOS font must properly handle the NULL stream
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5153
	returned by FT_New_Stream().
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5154
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5155
	* src/base/ftobjs.c (IsMacBinary): Return error
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5156
	FT_Err_Invalid_Stream_Operation immediately when NULL stream is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5157
	passed.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5158
	(FT_Open_Face): Even when FT_New_Stream() returns an error, proceed
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5159
	to fallback.  Originally, legacy MacOS font is tested in the cases
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5160
	of FT_Err_Invalid_Stream_Operation (occurs when data fork is empty)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5161
	or FT_Err_Unknown_File_Format (occurs when AppleSingle header or
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5162
	.dfont header is combined).  Now the case of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5163
	FT_Err_Cannot_Open_Stream is included.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5164
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5165
	* src/base/ftrfork.c (FT_Raccess_Guess): When passed stream is NULL,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5166
	skip FT_Stream_Seek(), which seeks to the head of stream, and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5167
	proceed to unit testing of raccess_guess_XXX().  FT_Stream_Seek()
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5168
	for a NULL stream causes a Bus error on Mac OS X.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5169
	(raccess_guess_apple_double): Return FT_Err_Cannot_Open_Stream
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5170
	immediately if passed stream is NULL.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5171
	(raccess_guess_apple_single): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5172
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5173
2007-11-16  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5174
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5175
	Fix for Carbon incompatibilities since Mac OS X 10.5,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5176
	proposed by Sean McBride.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5177
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5178
	* doc/INSTALL.MAC: Comment on MACOSX_DEPLOYMENT_TARGET.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5179
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5180
	* include/freetype/ftmac.h: Deprecate FT_New_Face_From_FOND and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5181
	FT_GetFilePath_From_Mac_ATS_Name.  Since Mac OS X 10.5, calling
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5182
	Carbon functions from a forked process is classified as unsafe
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5183
	by Apple.  All Carbon-dependent functions should be deprecated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5184
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5185
	* src/base/ftmac.c: Use essential header files
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5186
	<CoreServices/CoreServices.h> and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5187
	<ApplicationServices/ApplicationServices.h> instead of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5188
	all-in-one header file <Carbon/Carbon.h>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5189
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5190
	Include <sys/syslimits.h> and replace HFS_MAXPATHLEN by Apple
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5191
	genuine macro PATH_MAX.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5192
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5193
	Add fallback macro for kATSOptionFlagsUnRestrictedScope which
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5194
	is not found in Mac OS X 10.0.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5195
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5196
	Multi-character constants ('POST', 'sfnt' etc) are replaced by
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5197
	64bit constants calculated by FT_MAKE_TAG() macro.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5198
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5199
	For the index in the segment of resource fork, new portable
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5200
	type ResourceIndex is introduced for better compatibility.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5201
	This type is since Mac OS X 10.5, so it is defined as short
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5202
	when built on older platforms.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5203
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5204
	(FT_ATSFontGetFileReference): If build target is only the systems
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5205
	10.5 and newer, it calls Apple genuine ATSFontGetFileReference().
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5206
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5207
	(FT_GetFile_From_Mac_ATS_Name): Return an error if system is 10.5
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5208
	and newer or 64bit platform, because legacy type FSSpec type is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5209
	removed completely.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5210
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5211
	(FT_New_Face_From_FSSpec): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5212
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5213
2007-11-01  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5214
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5215
	* src/sfnt/sfobjs.c (sfnt_done_face): Check `sfnt' everywhere.  This
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5216
	fixes Savannah bug #21485.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5217
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5218
2007-10-29  Daniel Svoboda  <dasvo@planeta@cz>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5219
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5220
	* src/winfonts/winfnt.c (FNT_Face_Init): Check first that the driver
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5221
	can handle the font at all, then check `face_index'.  Otherwise, the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5222
	driver might return the wrong error code.  This fixes Savannah bug
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5223
	#21468.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5224
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5225
2007-10-21  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5226
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5227
	* src/sfnt/sfobjs.c (sfnt_load_face): Support bit 9 and prepare
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5228
	support for bit 8 of the `fsSelection' field in the `OS/2' table.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5229
	MS is already using this; hopefully, this becomes part of OpenType
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5230
	1.5.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5231
	Prepare also support for `name' IDs 21 (WWS_FAMILY) and 22
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5232
	(WWS_SUBFAMILY).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5233
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5234
2007-10-20  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5235
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5236
	* src/tools/docmaker/tohtml.py (html_header_2): Fix typo.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5237
	Add `td.left' element to CSS.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5238
	(toc_section_enter): Use it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5239
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5240
2007-10-18  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5241
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5242
	* include/freetype/freetype.h, src/base/ftobjs.c: Rename API
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5243
	functions related to cmap type 14 support to the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5244
	`FT_Object_ActionName' scheme:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5245
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5246
	  FT_Get_Char_Variant_index     -> FT_Face_GetCharVariantIndex
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5247
	  FT_Get_Char_Variant_IsDefault -> FT_Face_GetCharVariantIsDefault
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5248
	  FT_Get_Variant_Selectors      -> FT_Face_GetVariantSelectors
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5249
	  FT_Get_Variants_Of_Char       -> FT_Face_GetVariantsOfChar
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5250
	  FT_Get_Chars_Of_Variant       -> FT_Face_GetCharsOfVariant
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5251
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5252
	Update documentation accordingly.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5253
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5254
	* src/sfnt/ttcmap.c: Stronger cmap 14 validation.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5255
	Make the code a little more consistent with FreeType coding
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5256
	conventions and modify the cmap14 functions that returned a newly
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5257
	allocated array to use a persistent vector from the TT_CMap14 object
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5258
	instead.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5259
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5260
	(TT_CMap14Rec): Provide array and auxiliary data for result.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5261
	(tt_cmap14_done, tt_cmap14_ensure): New functions.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5262
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5263
	(tt_cmap14_init, tt_cmap14_validate, tt_cmap14_char_map_def_binary,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5264
	tt_cmap14_char_map_nondef_binary, tt_cmap14_find_variant,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5265
	tt_cmap14_char_var_index, tt_cmap14_variants,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5266
	tt_cmap14_char_variants, tt_cmap14_def_char_count,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5267
	tt_cmap14_get_def_chars, tt_cmap14_get_nondef_chars,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5268
	tt_cmap14_variant_chars, tt_cmap14_class_rec): Updated and improved.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5269
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5270
2007-10-15  George Williams  <gww@silcom.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5271
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5272
	Add support for cmap type 14.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5273
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5274
	* 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
  5275
	(TT_CONFIG_CMAP_FORMAT_14): New macro.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5276
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5277
	* include/freetype/internal/ftobjs.h (FT_CMap_CharVarIndexFunc,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5278
	FT_CMap_CharVarIsDefaultFunc, FT_CMap_VariantListFunc,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5279
	FT_CMap_CharVariantListFunc, FT_CMap_VariantCharListFunc): New
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5280
	support function prototypes.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5281
	(FT_CMap_ClassRec): Add them.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5282
	Update all users.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5283
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5284
	* include/freetype/ttnameid.h (TT_APPLE_ID_VARIANT_SELECTOR): New
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5285
	macro.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5286
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5287
	* include/freetype/freetype.h (FT_Get_Char_Variant_Index,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5288
	FT_Get_Char_Variant_IsDefault, FT_Get_Variant_Selectors,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5289
	FT_Get_Variants_Of_Char, FT_Get_Chars_Of_Variant): New API
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5290
	functions.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5291
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5292
	* src/base/ftobjs.c (find_variant_selector_charmap): New auxiliary
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5293
	function.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5294
	(FT_Set_Charmap): Disallow cmaps of type 14.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5295
	(FT_Get_Char_Variant_Index, FT_Get_Char_Variant_IsDefault,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5296
	FT_Get_Variant_Selectors, FT_Get_Variants_Of_Char,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5297
	FT_Get_Chars_Of_Variant): New API functions.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5298
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5299
	* src/sfnt/ttcmap.c (TT_PEEK_UINT24, TT_NEXT_UINT24): New macros.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5300
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5301
	(TT_CMap14Rec, tt_cmap14_init, tt_cmap14_validate,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5302
	tt_cmap14_char_index, tt_cmap14_char_next, tt_cmap14_get_info,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5303
	tt_cmap14_char_map_def_binary, tt_cmap14_char_map_nondef_binary,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5304
	tt_cmap14_find_variant, tt_cmap14_char_var_index,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5305
	tt_cmap14_char_var_isdefault, tt_cmap14_variants,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5306
	tt_cmap14_char_variants, tt_cmap14_def_char_count,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5307
	tt_cmap14_get_def_chars, tt_cmap14_get_nondef_chars,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5308
	tt_cmap14_variant_chars, tt_cmap14_class_rec): New functions and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5309
	structures for cmap 14 support.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5310
	(tt_cmap_classes): Register tt_cmap14_class_rec.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5311
	(tt_face_build_cmaps): One more error message.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5312
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5313
	* docs/CHANGES: Mention cmap 14 support.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5314
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5315
2007-10-01  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5316
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5317
	* src/base/ftobjs.c (find_unicode_charmap): If search for a UCS-4
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5318
	charmap fails, do the loop again while searching a UCS-2 charmap.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5319
	This favours MS charmaps over Apple ones.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5320
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5321
2007-08-29  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5322
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5323
	* src/base/ftmac.c: Introduction of abstract `short' data types,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5324
	ResFileRefNum and ResID.  These types were introduced for Copland,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5325
	then backported to MPW.  The variables exchanged with FileManager
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5326
	QuickDraw frameworks are redefined by these data types.  Patch was
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5327
	proposed by Sean McBride.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5328
	* builds/mac/ftmac.c: Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5329
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5330
2007-08-18  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5331
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5332
	* src/otvalid/otvcmmn.c (otv_x_y_ux_sy): Skip context glyphs.  Found
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5333
	by Imran Yousaf.  Fixes Savannah bug #20773.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5334
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5335
	(otv_Lookup_validate): Correct handling of LookupType.  Found by
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5336
	Imran Yousaf.  Fixes Savannah bug #20782.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5337
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5338
2007-08-17  George Williams  <gww@silcom.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5339
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5340
	* src/otvalid/otvgsub.c (otv_SingleSubst_validate): Fix handling of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5341
	SingleSubstFormat1.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5342
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5343
2007-08-11  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5344
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5345
	* builds/unix/configure.raw: Fix a bug which sets CC_BUILD by
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5346
	${build-gcc} (unchecked) instead of by ${build}-gcc (checked).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5347
	Found by Ryan Hill.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5348
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5349
2007-08-11  George Williams  <gww@silcom.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5350
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5351
	* src/otvalid/otvcommn.c, src/otvalid/otvcommn.h
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5352
	(otv_Coverage_validate): Add fourth argument to pass an expected
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5353
	count value.  Update all users.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5354
	Check glyph IDs.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5355
	(otv_ClassDef_validate): Check `StartGlyph'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5356
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5357
	* src/otvalid/otvgsub.c (otv_SingleSubst_validate): More glyph ID
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5358
	checks.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5359
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5360
	* src/otvalid/otvmath.c (otv_MathConstants_validate): There are only
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5361
	56 constants.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5362
	(otv_GlyphAssembly_validate, otv_MathGlyphConstruction_validate):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5363
	Check glyph IDs.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5364
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5365
2007-08-08  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5366
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5367
	* src/otvalid/otvbase.c, src/otvalid/otvcommn.c,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5368
	src/otvalid/otvgdef.c, src/otvalid/otvgpos.c, src/otvalid/otvgsub.c,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5369
	src/otvalid/otvjstf.c: s/FT_INVALID_DATA/FT_INVALID_FORMAT/ where
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5370
	appropriate.  Reported by George.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5371
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5372
	* include/freetype/internal/fttrace.h: Define `trace_otvmath'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5373
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5374
	* src/otvalid/rules.mk (OTV_DRV_SRC): Add otvmath.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5375
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5376
	* docs/CHANGES: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5377
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5378
2007-08-08  George Williams  <gww@silcom.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5379
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5380
	Add `MATH' validating support to otvalid module.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5381
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5382
	* include/freetype/tttags.h (TTAG_MATH): New macro.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5383
	* include/freetype/ftotval.h (FT_VALIDATE_MATH): New macro.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5384
	(FT_VALIDATE_OT): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5385
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5386
	* src/otvalid/otmath.c: New file.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5387
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5388
	* src/otvalid/otvalid.c: Include otvmath.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5389
	* src/otvalid/otvmod.c (otv_validate): Handle `MATH' table.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5390
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5391
2007-08-04  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5392
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5393
	* builds/unix/configure.raw: Add call to AC_LIBTOOL_WIN32_DLL.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5394
	Fixes Savannah bug #20686.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5395
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5396
2007-08-03  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5397
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5398
	* src/psnames/psmodule.c: Fix usage of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5399
	FT_CONFIG_OPTION_POSTSCRIPT_NAMES macro.  Reported by Graham Asher.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5400
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5401
2007-07-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
  5402
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5403
	* src/base/ftmac.c (open_face_from_buffer): The argument
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5404
	`driver_name' is typed as `const char*' to match with the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5405
	callers in FT_New_Face_From_LWFN and FT_New_Face_From_SFNT.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5406
	This is same with open_face_from_buffer in src/base/ftobjs.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5407
	Found and fixed by Sean McBride.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5408
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5409
2007-07-28  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5410
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5411
	* src/raster/ftraster.c (count_table): Make it conditional.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5412
	* src/base/ftobjs.c (FT_New_Library): Check FT_RENDER_POOL_SIZE with
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5413
	a preprocessor statement.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5414
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5415
2007-07-27  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5416
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5417
	* src/base/ftoutln.c (FT_Outline_Translate): Check `outline' before
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5418
	first usage.  From Savannah patch #6115.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5419
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5420
2007-07-16  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5421
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5422
	* docs/CHANGES: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5423
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5424
2007-07-16  Derek Clegg  <dclegg@apple.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5425
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5426
	Add new service for getting the ROS from a CID font.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5427
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5428
	* include/freetype/config/ftheader.h (FT_CID_H): New macro.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5429
	* include/freetype/ftcid.h: New file.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5430
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5431
	* include/freetype/internal/ftserv.h (FT_SERVIVE_CID_H): New macro.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5432
	* include/freetype/internal/services/svcid.h: New file.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5433
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5434
	* src/base/ftcid.c: New file.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5435
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5436
	* src/cff/cffdrivr.c: Include FT_SERVICE_CID_H.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5437
	(cff_get_ros): New function.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5438
	(cff_service_cid_info): New service structure.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5439
	(cff_services): Register it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5440
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5441
	* src/cff/cffload.c (cff_font_done): Free registry and ordering.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5442
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5443
	* src/cff/cfftypes.h (CFF_FontRec): Add `registry' and `ordering'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5444
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5445
	* modules.cfg (BASE_EXTENSIONS): Add ftcid.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5446
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5447
2007-07-11  Derek Clegg  <dclegg@apple.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5448
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5449
	Add support for postscript name service to CFF driver.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5450
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5451
	* src/cff/cffdrivr.c: Include FT_SERVICE_POSTSCRIPT_NAME_H.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5452
	(cff_get_ps_name): New function.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5453
	(cff_service_ps_name): New service structure.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5454
	(cff_services): Register it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5455
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5456
2007-07-07  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5457
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5458
	* src/base/ftglyph.c (FT_Glyph_Copy): Fix initialization of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5459
	`target'.  Reported by Sean McBride.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5460
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5461
2007-07-06  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5462
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5463
	* src/pfr/pfrcmap.c: Include pfrerror.h.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5464
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5465
	* src/autofit/afindic.c: Add some external declarations to pacify
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5466
	`make multi' compilation.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5467
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5468
	* src/cid/cidgload.c (cid_load_glyph): Pacify compiler.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5469
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5470
	* src/cff/cffdrivr.c (cff_ps_get_font_info), src/cff/cffobjs.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5471
	(cff_strcpy), include/freetype/internal/ftmemory.h (FT_MEM_STRDUP),
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5472
	src/autofit/aflatin.c (af_latin_hints_compute_edges),
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5473
	src/autofit/afcjk.c (af_cjk_hints_compute_edges), src/sfnt/ttmtx.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5474
	(tt_face_get_metrics), src/base/ftobjs.c (open_face)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5475
	[FT_CONFIG_OPTION_INCREMENTAL]: Fix compilation with C++ compiler.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5476
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5477
	* docs/release: Mention test compilation targets.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5478
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5479
2007-07-04  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5480
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5481
	* docs/PROBLEMS: Mention that some PS based fonts can't be
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5482
	handled correctly by FreeType.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5483
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5484
	* src/truetype/ttgload.c (load_truetype_glyph): Always allow a
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5485
	recursion depth of 1.  This was the maximum value in TrueType 1.0,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5486
	and some older fonts don't set this field correctly.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5487
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5488
	* src/gxvalid/gxvmort1.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5489
	(gxv_mort_subtable_type1_substTable_validate): Fix tracing message.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5490
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5491
2007-07-03  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5492
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5493
	* src/autofit/aflatin.c (af_latin_metrics_init_blues): Initialize
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5494
	`round' to pacify compiler.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5495
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5496
2007-07-02  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5497
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5498
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5499
	* Version 2.3.5 released.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5500
	=========================
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5501
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5502
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5503
	Tag sources with `VER-2-3-5'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5504
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5505
	* docs/CHANGES, docs/VERSION.DLL: Update documentation and bump
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5506
	version number to 2.3.5.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5507
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5508
	* README, Jamfile (RefDoc), builds/win32/visualc/index.html,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5509
	builds/win32/visualc/freetype.dsp,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5510
	builds/win32/visualc/freetype.vcproj,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5511
	builds/win32/visualce/index.html,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5512
	builds/win32/visualce/freetype.dsp,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5513
	builds/win32/visualce/freetype.vcproj: s/2.3.4/2.3.5/, s/234/235/.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5514
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5515
	* include/freetype/freetype.h (FREETYPE_PATCH): Set to 5.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5516
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5517
	* builds/unix/configure.raw (version_info): Set to 9:16:3.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5518
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5519
2007-07-01  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5520
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5521
	* include/freetype/freetype.h, src/base/ftpatent.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5522
	(FT_Face_SetUnpatentedHinting): New function to dynamically change
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5523
	the setting after a face is created.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5524
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5525
	* src/truetype/ttgload.c (TT_Load_Simple_Glyph): Fix a small bug
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5526
	that created distortions in the bytecode interpreter results.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5527
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5528
2007-06-30  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5529
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5530
	* src/truetype/ttinterp.c (Ins_IUP): Add missing variable
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5531
	initialization.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5532
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5533
	* src/autofit/aflatin.c (af_latin_metric_init_blues): Get rid of an
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5534
	infinite loop in the case of degenerate fonts.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5535
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5536
2007-06-26  Rahul Bhalerao  <b.rahul.pm@gmail.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5537
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5538
	Add autofit module for Indic scripts.  This currently just reuses
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5539
	the CJK-specific functions.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5540
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5541
	* include/freetype/config/ftoption.h (AF_CONFIG_OPTION_INDIC): New
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5542
	macro.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5543
	* devel/ftoption.h: Synchronize with
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5544
	include/freetype/config/ftoption.h.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5545
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5546
	* src/autofit/afindic.c, src/autofit/afindic.h: New files.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5547
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5548
	* src/autofit/afglobal.c, src/autofit/aftypes.h,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5549
	src/autofit/autofit.c: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5550
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5551
	* src/autofit/Jamfile (_sources), * src/autofit/rules.mk
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5552
	(AUTOF_DRV_SRC): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5553
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5554
2007-06-23  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5555
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5556
	* src/truetype/ttgload.c (TT_Load_Simple): Fix change from
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5557
	2007-06-16 that prevented the TrueType module from loading most
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5558
	glyphs.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5559
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5560
2007-06-20  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5561
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5562
	* src/cff/cffgload.c (cff_slot_load): Fix logic of 2007-05-28
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5563
	change.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5564
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5565
2007-06-19  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5566
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5567
	* src/type1/t1load.c (parse_encoding): Handle one more error.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5568
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5569
2007-06-19  Dmitry Timoshkov  <dmitry@codeweavers.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5570
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5571
	* src/winfonts/winfnt.c (fnt_face_get_dll_font): Return error
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5572
	FNT_Err_Invalid_File_Format if file format was recognized but
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5573
	the file doesn't contain any FNT(NE) or RT_FONT(PE) resources.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5574
	Add verbose debug logs to make it easier to debug failing load
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5575
	attempts.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5576
	(FNT_Face_Init): A single FNT font can't contain more than 1 face,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5577
	so return an error if requested face index is > 0.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5578
	Do not do further attempt to load fonts if a previous attempt has
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5579
	failed but returned error FNT_Err_Invalid_File_Format, i.e., the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5580
	file format has been recognized but no fonts found in the file.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5581
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5582
2007-07-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
  5583
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5584
	* src/base/ftmac.c: Apply patches proposed by Sean McBride.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5585
	(FT_GetFile_From_Mac_Name): Insert FT_UNUSED macros to fix
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5586
	the compiler warnings against unused arguments.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5587
	(FT_ATSFontGetFileReference): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5588
	(FT_GetFile_From_Mac_ATS_Name): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5589
	(FT_New_Face_From_FSSpec): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5590
	(lookup_lwfn_by_fond): Fix wrong comment.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5591
	Replace `const StringPtr' by more appropriate type
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5592
	`ConstStr255Param'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5593
	FSRefMakePathPath always returns UTF8 POSIX pathname in
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5594
	Mach-O, thus HFS pathname support is dropped.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5595
	(count_faces): Remove HLock and HUnlock which is not
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5596
	required on Mac OS X anymore.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5597
	(FT_New_Face_From_SFNT): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5598
	(FT_New_Face_From_FOND): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5599
	* builds/mac/ftmac.c: Synchronize to src/base/ftmac.c,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5600
	except of HFS pathname support and HLock/HUnlock.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5601
	They are required on classic CFM environment.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5602
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5603
2007-06-18  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5604
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5605
	* src/psaux/psobjs.c (ps_parser_skip_PS_token): Remove incorrect
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5606
	assertion.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5607
	(ps_parser_to_bytes): Fix error message.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5608
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5609
	* src/type42/t42objs.c (T42_Open_Face): Handle one more error.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5610
	* src/type42/t42parse.c (t42_parse_sfnts): s/alloc/allocated/.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5611
	Don't allow mixed binary and hex strings.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5612
	Handle string_size == 0 and string_buf == 0.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5613
	(t42_parse_encoding): Handle one more error.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5614
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5615
2007-06-18  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5616
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5617
	* src/psaux/psobjs.c (ps_tofixedarray, ps_tocoordarray): Fix exit
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5618
	logic.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5619
	(ps_parser_load_field) <T1_FIELD_TYPE_BBOX>: Skip delimiters
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5620
	correctly.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5621
	(ps_parser_load_field_table): Use `fields->array_max' instead of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5622
	T1_MAX_TABLE_ELEMENTS to limit the number of arguments.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5623
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5624
	* src/cff/cffgload.c (cff_decoder_prepare): Fix change from
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5625
	2007-06-06.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5626
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5627
2007-06-17  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5628
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5629
	* src/tools/ftrandom.c (font_size): New global variable.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5630
	(TestFace): Use it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5631
	(main): Handle new option `--size' to set `font_size'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5632
	(Usage): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5633
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5634
	* src/winfonts/winfnt.c (fnt_face_get_dll_font): Exit in case of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5635
	invalid font.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5636
	(FNT_Load_Glyph): Protect against invalid bitmap width.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5637
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5638
2007-06-16  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5639
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5640
	* src/smooth/ftgrays.c (gray_find_cell, gray_set_cell, gray_hline):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5641
	Prevent integer overflows when rendering very large outlines.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5642
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5643
	* src/truetype/ttgload.c (TT_Load_Simple_Glyph): Check the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5644
	well-formedness of the contours array when loading a glyph.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5645
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5646
	* src/truetype/ttinterp.c (TT_Load_Context): Initialize `zp0', `zp1',
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5647
	and `zp2'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5648
	(Ins_IP): Check argument ranges to reject bogus operations properly.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5649
	(IUP_WorkerRec): Add `max_points' member.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5650
	(_iup_worker_interpolate): Check argument ranges.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5651
	(Ins_IUP): Ignore empty outlines.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5652
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5653
2007-06-16  Dmitry Timoshkov  <dmitry@codeweavers.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5654
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5655
	* src/winfonts/winfnt.h: Add necessary structures for PE resource
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5656
	parsing.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5657
	(WinPE32_HeaderRec): New structure.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5658
	(WinPE32_SectionRec): New structure.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5659
	(WinPE_RsrcDirRec): New structure.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5660
	(WinPE_RsrcDirEntryRec): New structure.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5661
	(WinPE_RsrcDataEntryRec): New structure.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5662
	(FNT_FontRec): Remove unused `size_shift' field.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5663
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5664
	* src/winfonts/winfnt.c (fnt_face_get_dll_font): Add support for
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5665
	loading bitmap .fon files in PE format.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5666
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5667
2007-06-15  Dmitry Timoshkov  <dmitry@codeweavers.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5668
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5669
	* builds/win32/ftdebug.c: Unify debug level handling with other
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5670
	platforms.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5671
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5672
2007-06-14  Dmitry Timoshkov  <dmitry@codeweavers.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5673
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5674
	* builds/win32/ftdebug.c (FT_Message): Send debug output to the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5675
	console as well as to the debugger.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5676
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5677
2007-06-14  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5678
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5679
	* src/autofit/aflatin.c (af_latin_uniranges): Expand structure to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5680
	cover all ranges which could possibly be handled by the aflatin
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5681
	module (since the default fallback for unknown ranges is now the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5682
	afcjk module).  It might be necessary to fine-tune this further by
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5683
	splitting off modules for Greek, Cyrillic, or other blocks.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5684
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5685
2007-06-11  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5686
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5687
	* src/autofit/aflatin.c (af_latin_hints_link_segments): Fix
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5688
	incorrect segment linking computation.  This was the root cause of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5689
	Savannah bug #19565.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5690
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5691
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5692
	* src/autofit/* [FT_OPTION_AUTOFIT2]: Some very experimental changes
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5693
	to improve the Latin auto-hinter.  Note that the new code is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5694
	disabled by default since it is not stabilized yet.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5695
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5696
	* src/autofit/aflatin2.c, src/autofit/aflatin2.h: New files
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5697
	(disabled currently).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5698
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5699
	* src/autofit/afhints.c: Remove dead code.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5700
	(af_axis_hints_new_edge): Add argument to handle segment directions.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5701
	(af_edge_flags_to_string): New function.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5702
	(af_glyph_hints_dump_segments, af_glyph_hints_dump_edges): Handle
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5703
	option flags.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5704
	(af_glyph_hints_reload): Add argument to handle inflections.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5705
	Simplify.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5706
	(af_direction_compute): Fine tuning.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5707
	(af_glyph_hints_align_edge_points): Fix logic.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5708
	(af_glyph_hints_align_strong_points): Do linear search for small
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5709
	edge counts.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5710
	(af_glyph_hints_align_weak_points): Skip any touched neighbors.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5711
	(af_iup_shift): Handle zero `delta'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5712
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5713
	* src/autofit/afhints.h: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5714
	(AF_SORT_SEGMENTS): New macro (disabled).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5715
	(AF_AxisHintsRec) [AF_SORT_SEGMENTS]: New member `mid_segments'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5716
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5717
	* src/autofit/afglobal.c (af_face_globals_get_metrics): Add
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5718
	argument to pass option flags for handling scripts.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5719
	* src/autofit/afglobal.h: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5720
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5721
	* src/autofit/afcjk.c: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5722
	* src/autofit/aflatin.c: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5723
	(af_latin_metrics_scale_dim): Don't reduce scale by 2%.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5724
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5725
	(af_latin_hints_compute_segments) [AF_HINT_METRICS]: Remove dead code.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5726
	(af_latin_hints_compute_edges) [AF_HINT_METRICS]: Remove dead code.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5727
	Don't set `edge->dir'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5728
	(af_latin_hint_edges): Add more logging.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5729
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5730
	* src/autofit/afloader.c: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5731
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5732
2007-06-11  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5733
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5734
	* docs/CHANGES: Document FT_Face_CheckTrueTypePatents.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5735
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5736
2007-06-10  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5737
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5738
	* src/truetype/ttgload.c (TT_Load_Simple_Glyph): Slight speed-up to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5739
	the TrueType glyph loader.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5740
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5741
	* include/freetype/config/ftoption.h: Clarify documentation
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5742
	regarding unpatented hinting.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5743
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5744
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5745
	Add new `FT_Face_CheckTrueTypePatents' API.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5746
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5747
	* include/freetype/freetype.h (FT_Face_CheckTrueTypePatents): New
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5748
	declaration.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5749
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5750
	* include/freetype/internal/services/svttglyf.h,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5751
	src/base/ftpatent.c: New files.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5752
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5753
	* include/freetype/internal/ftserv.h (FT_SERVICE_TRUETYPE_GLYF_H):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5754
	New macro.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5755
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5756
	* src/truetype/ttdriver.c: Include FT_SERVICE_TRUETYPE_GLYF_H and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5757
	`ttpload.h'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5758
	(tt_service_truetype_glyf): New service structure.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5759
	(tt_services): Register it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5760
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5761
	* modules.cfg (BASE_EXTENSIONS), src/base/Jamfile (_sources): Add
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5762
	`ftpatent.c'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5763
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5764
2007-06-08  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5765
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5766
	* src/sfnt/sfobjs.c (sfnt_load_face): Undo change from 2007-04-28.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5767
	Fonts without a cmap must be handled correctly by FreeType (anything
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5768
	else would be a bug).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5769
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5770
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5771
	* src/psaux/t1decode.c (t1_decoder_parse_charstrings)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5772
	[FT_DEBUG_LEVEL_TRACE]: Improve tracing message.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5773
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5774
2007-06-07  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5775
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5776
	* src/sfnt/ttsbit0.c (tt_sbit_decoder_init,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5777
	tt_sbit_decoder_load_image): Protect against integer overflows.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5778
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5779
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5780
	* src/pfr/pfrgload.c (pfr_glyph_load_simple): More bounding checks
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5781
	for `x_control' and `y_control'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5782
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5783
2007-06-06  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5784
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5785
	* src/base/ftoutln.c (FT_Outline_Decompose): Check `last'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5786
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5787
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5788
	* src/pfr/pfrcmap.c (pfr_cmap_init): Convert assertion into normal
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5789
	FreeType error.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5790
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5791
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5792
	* src/winfonts/winfnt.c (fnt_face_get_dll_font): Do a rough check of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5793
	`font_count'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5794
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5795
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5796
	* src/type1/t1load.c (parse_font_matrix): Check `temp_scale'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5797
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5798
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5799
	* src/cff/cffgload.c (cff_decoder_prepare): Change return type to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5800
	`FT_Error'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5801
	Check `fd_index'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5802
	(cff_slot_load): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5803
	* src/cff/cffgload.h: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5804
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5805
2007-06-05  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5806
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5807
	* src/pfr/pfrgload.c (pfr_glyph_done): Comment out unused code.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5808
	(pfr_glyph_load_simple): Convert assertion into normal FreeType
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5809
	error.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5810
	Check `idx'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5811
	(pfr_glyph_load_compound, pfr_glyph_curve_to, pfr_glyph_line_to):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5812
	Convert assertion into normal FreeType error.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5813
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5814
	* src/pfr/pfrtypes.h (PFR_GlyphRec): Comment out unused code.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5815
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5816
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5817
	* src/winfonts/winfnt.c (FNT_Face_Init): Check `family_size'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5818
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5819
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5820
	* src/psaux/psobjs.c (ps_tocoordarray, ps_tofixedarray): Return -1
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5821
	in case of parsing error.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5822
	(ps_parser_load_field): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5823
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5824
	* src/type1/t1load.c (parse_font_matrix): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5825
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5826
2007-06-04  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5827
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5828
	* src/cid/cidgload.c (cid_load_glyph): Check `fd_select'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5829
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5830
	* src/tools/ftrandom/Makefile: Depend on `libfreetype.a'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5831
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5832
2007-06-03  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5833
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5834
	* src/tools/ftrandom/*: Add the `ftrandom' test program written by
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5835
	George Williams (with some modifications).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5836
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5837
2007-06-03  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5838
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5839
	* src/base/ftobjs.c (destroy_charmaps), src/type1/t1objs.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5840
	(T1_Face_Done), src/winfonts/winfnt.c (FNT_Face_Done): Check for
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5841
	face == NULL.  Suggested by Graham Asher.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5842
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5843
2007-06-03  Ismail Dönmez  <ismail@pardus.org.tr>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5844
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5845
	* src/base/ftobjs.c (FT_Request_Metrics): Fix compiler warning.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5846
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5847
2007-06-02  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5848
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5849
	* include/freetype/fterrdef.h (FT_Err_Corrupted_Font_Header,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5850
	FT_Err_Corrupted_Font_Glyphs): New error codes for BDF files.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5851
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5852
	* src/bdf/bdflib.c (bdf_load_font): Use them.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5853
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5854
	* src/bdf/bdflib.c (_bdf_parse_start): Check `FONT' better.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5855
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5856
2007-06-01  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5857
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5858
	* src/base/ftobjs.c (FT_Request_Metrics), src/cache/ftccmap.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5859
	(FTC_CMapCache_Lookup): Remove unused code.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5860
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5861
2007-06-01  Sean McBride  <sean@rogue-research.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5862
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5863
	* src/truetype/ttinterp.c (Null_Vector, NULL_Vector): Removed,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5864
	unused.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5865
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5866
2007-06-01  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5867
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5868
	* src/cid/cidparse.c (cid_parser_new): Don't continue second search
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5869
	pass for `StartData' if an error has occurred.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5870
	Exit properly if no `StartData' has been seen at all.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5871
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5872
	* builds/unix/ftsystem.c (FT_Stream_Open): Don't use ULONG_MAX but
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5873
	LONG_MAX to avoid compiler warning.  Suggested by Sean McBride.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5874
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5875
2007-05-30  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5876
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5877
	* src/type1/t1load.c (parse_subrs, parse_charstrings): Protect
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5878
	against too small binary data strings.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5879
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5880
	* src/bdf/bdflib.c (_bdf_parse_glyphs): Check `STARTCHAR' better.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5881
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5882
2007-05-28  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5883
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5884
	* src/cff/cffgload.c (cff_slot_load): Do not apply the identity
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5885
	transformation.  This significantly reduces the loading time of CFF
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5886
	glyphs.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5887
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5888
	* docs/CHANGES: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5889
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5890
	* src/autofit/afglobal.c (AF_SCRIPT_LIST_DEFAULT): Change default
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5891
	hinting script to CJK, since it works well with more scripts than
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5892
	latin.  Thanks to Rahul Bhalerao <b.rahul.pm@gmail.com> for pointing
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5893
	this out!
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5894
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5895
2007-05-25  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5896
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5897
	* docs/CHANGES: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5898
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5899
2007-05-24  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5900
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5901
	* src/truetype/ttobjs.h (tt_size_ready_bytecode): Move declaration
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5902
	into TT_USE_BYTECODE_INTERPRETER preprocessor block.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5903
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5904
2007-05-24  Graham Asher  <graham.asher@btinternet.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5905
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5906
	* src/truetype/ttobjs.c (tt_size_ready_bytecode)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5907
	[!TT_USE_BYTECODE_INTERPRETER]: Removed.  Unused.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5908
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5909
2007-05-22  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5910
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5911
	* src/truetype/ttgload.c (load_truetype_glyph): Fix last change to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5912
	avoid crashes in case the bytecode interpreter is not used.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5913
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5914
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5915
	Avoid heap blowup with very large .Z font files.  This fixes
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5916
	Savannah bug #19910.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5917
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5918
	* src/lzw/ftzopen.h (FT_LzwStateRec): Remove `in_cursor',
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5919
	`in_limit', `pad', `pad_bits', and `in_buff' members.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5920
	Add `buf_tab', `buf_offset', `buf_size', `buf_clear', and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5921
	`buf_total' members.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5922
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5923
	* src/lzw/ftzopen.c (ft_lzwstate_get_code): Rewritten.  It now takes
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5924
	only one argument.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5925
	(ft_lzwstate_refill, ft_lzwstate_reset, ft_lzwstate_io): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5926
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5927
2007-05-20  Ismail Dönmez  <ismail@pardus.org.tr>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5928
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5929
	* src/pshinter/pshrec.c (ps_mask_table_set_bits): Add `const'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5930
	(ps_dimension_set_mask_bits): Remove `const'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5931
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5932
2007-05-19  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5933
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5934
	* src/sfnt/ttmtx.c (tt_face_get_metrics)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5935
	[!FT_CONFIG_OPTION_OLD_INTERNALS]: Another type-punning fix.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5936
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5937
2007-05-19  Derek Clegg  <dclegg@apple.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5938
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5939
	Savannah patch #5929.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5940
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5941
	* include/freetype/tttables.h, src/base/ftobjcs.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5942
	(FT_Get_CMap_Format): New function.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5943
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5944
	* include/freetype/internal/services/svttcmap.c (TT_CMapInfo): Add
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5945
	`format' member.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5946
	* src/sfnt/ttcmap.c (tt_cmap{0,2,4,6,8,10,12}_get_info): Set
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5947
	cmap_info->format.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5948
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5949
2007-05-19  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5950
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5951
	* src/truetype/ttgload.c (load_truetype_glyph): Save graphics state
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5952
	before handling subglyphs so that it can be reinitialized each time.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5953
	This fixes Savannah bug #19859.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5954
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5955
2007-05-16  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5956
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5957
	* src/cache/ftccache.c (ftc_node_mru_link, ftc_node_mru_unlink),
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5958
	src/cache/ftccache.h (FTC_CACHE_LOOKUP_CMP), src/cache/ftcglyph.h
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5959
	(FTC_GCACHE_LOOKUP_CMP), src/pshinter/pshmod.c (ps_hinter_init),
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5960
	src/sfnt/ttmtx.c (tt_face_load_hmtx, tt_face_load_hhea,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5961
	tt_face_get_metrics): Fix type-punning issues.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5962
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5963
2007-05-15  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5964
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5965
	* include/freetype/config/ftstdlib.h,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5966
	include/freetype/internal/ftobjs.h: As suggested by Graham Asher,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5967
	ensure that ft_isalnum, ft_isdigit, etc., use hard-coded values
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5968
	instead on relying on the locale-dependent functions provided by
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5969
	<ctypes.h>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5970
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5971
2007-05-15  Graham Asher  <graham.asher@btinternet.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5972
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5973
	* src/autofit/afcjk.c (af_cjk_hints_compute_edges): Remove unused
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5974
	variable.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5975
	* src/autofit/afloader.c (af_loader_load_g): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5976
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5977
	* src/base/ftobjs.c (ft_validator_error): Use `ft_jmp_buf'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5978
	(open_face_from_buffer): Initialize `stream'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5979
	(FT_Request_Metrics): Remove unused variable.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5980
	Remove redundant `break' statements.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5981
	(FT_Get_Track_Kerning): Remove unused variable.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5982
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5983
	* src/psaux/afmparse.c (afm_parse_track_kern, afm_parse_kern_pairs,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5984
	afm_parse_kern_data): Remove redundant
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5985
	`break' statements.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5986
	(afm_parser_parse): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5987
	Don't use uninitialized variables.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5988
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5989
	* src/psnames/psmodule.c (VARIANT_BIT): Define as unsigned long.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5990
	Use `|' operator instead of `^' to set it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5991
	Update all users.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5992
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5993
	* src/sfnt/ttcmap.c (tt_face_build_cmaps): Use `ft_jmp_buf'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5994
	* src/sfnt/ttkern.c (tt_face_load_kern): Remove unused variable.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5995
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5996
	* src/truetype/ttgload.c (TT_Load_Simple_Glyph): Remove redundant
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5997
	comparison.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5998
	(TT_Process_Simple_Glyph): Use FT_UInt for `n_points' and `i'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  5999
	(TT_Load_Glyph): Remove unused variable.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6000
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6001
2007-05-13  Derek Clegg  <dclegg@apple.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6002
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6003
	* src/base/ftobjs.c (FT_New_Library): Only allocate rendering pool
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6004
	if FT_RENDER_POOL_SIZE is > 0.  From Savannah patch #5928.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6005
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6006
2007-05-11  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6007
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6008
	* src/cache/ftbasic.c, include/freetype/ftcache.h
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6009
	(FTC_ImageCache_LookupScaler, FTC_SBit_Cache_LookupScaler): Two new
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6010
	functions that allow us to look up glyphs using an FTC_Scaler object
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6011
	to specify the size, making it possible to use fractional pixel
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6012
	sizes.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6013
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6014
	* src/truetype/ttobjs.c (tt_size_ready_bytecode): Set
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6015
	`size->cvt_ready'.  Reported by Boris Letocha.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6016
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6017
2007-05-09  Graham Asher  <graham.asher@btinternet.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6018
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6019
	* src/truetype/ttinterp.c (Ins_IP), src/autofit/aflatin.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6020
	(af_latin_metrics_scale_dim): Fix compiler warnings.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6021
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6022
2007-05-06  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6023
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6024
	* builds/win32/visualce/freetype.sln: Removed, as requested by
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6025
	Vincent.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6026
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6027
2007-05-04  Vincent RICHOMME  <richom.v@free.fr>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6028
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6029
	* builds/win32/visualce/*: Add Visual C++ project files for Pocket
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6030
	PC targets.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6031
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6032
	* docs/CHANGES: Document them.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6033
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6034
2007-05-04  <harry@kdevelop.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6035
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6036
	* builds/unix/ftsystem.c (FT_Stream_Open): Handle return value 0 of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6037
	mmap (which might happen on some RTOS).  From Savannah patch #5909.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6038
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6039
2007-05-03  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6040
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6041
	* src/base/ftobjs.c (FT_Set_Char_Size): Simplify code.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6042
	* include/freetype/freetype.h (FT_Set_Char_Size): Update
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6043
	documentation.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6044
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6045
2007-04-28  Victor Stinner  <victor.stinner@inl.fr>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6046
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6047
	* src/sfnt/sfobjs.c (sfnt_load_face): Check error code after loading
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6048
	`cmap'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6049
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6050
2007-04-27  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6051
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6052
	* src/truetype/ttgload.c (TT_Load_Simple_Glyph): Check for negative
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6053
	number of points in contours.  Problem reported by Victor Stinner
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6054
	<victor.stinner@haypocalc.com>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6055
	(TT_Process_Simple_Glyph): Synchronize variable types.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6056
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6057
2007-04-26  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6058
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6059
	* src/base/ftglyph.c (FT_Glyph_Copy): Always set second argument to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6060
	zero in case of error.  This fixes Savannah bug #19689.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6061
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6062
2007-04-25  Boris Letocha  <b.letocha@cz.gmc.net>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6063
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6064
	* src/truetype/ttobjs.c: Fix a typo that created a speed regression
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6065
	in the TrueType bytecode loader.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6066
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6067
2007-04-10  Martin Horak  <horakm@centrum.cz>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6068
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6069
	* src/sfnt/sfobjs.c (sfnt_load_face) [FT_CONFIG_OPTION_INCREMENTAL]:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6070
	Ignore `hhea' table.  This fixes Savannah bug #19261.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6071
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6072
2007-04-09  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6073
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6074
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6075
	* Version 2.3.4 released.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6076
	=========================
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6077
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6078
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6079
	Tag sources with `VER-2-3-4'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6080
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6081
	* docs/CHANGES, docs/VERSION.DLL: Update documentation and bump
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6082
	version number to 2.3.4.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6083
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6084
	* README, Jamfile (RefDoc), builds/win32/visualc/index.html,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6085
	builds/win32/visualc/freetype.dsp,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6086
	builds/win32/visualc/freetype.vcproj: s/2.3.3/2.3.4/, s/233/234/.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6087
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6088
	* 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
  6089
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6090
	* builds/unix/configure.raw (version_info): Set to 9:15:3.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6091
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6092
2007-04-09  Martin Horak  <horakm@centrum.cz>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6093
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6094
	* src/truetype/ttgload.c (load_truetype_glyph): Save and restore
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6095
	memory stream to avoid a crash with the incremental memory
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6096
	interface (Savannah bug #19260).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6097
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6098
2007-04-06  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6099
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6100
	* src/base/ftbimap.c (ft_bitmap_assure_buffer): Fix buffer-overwrite bug
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6101
	(Savannah bug #19536).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6102
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6103
2007-04-04  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6104
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6105
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6106
	* Version 2.3.3 released.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6107
	=========================
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6108
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6109
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6110
	Tag sources with `VER-2-3-3'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6111
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6112
	* docs/CHANGES: Mention CVE-2007-1351.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6113
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6114
2007-04-03  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6115
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6116
	* src/base/ftobjs.c (FT_Set_Char_Size): As suggested by James Cloos,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6117
	if one of the resolution values is 0, treat it as if it were the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6118
	same as the other value.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6119
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6120
2007-04-02  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6121
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6122
	Add special code to detect `extra-light' fonts and do not snap their
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6123
	stem widths too much to avoid bizarre hinting effects.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6124
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6125
	* src/autofit/aflatin.h (AF_LatinAxisRec): Add `standard_width' and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6126
	`extra_light' members.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6127
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6128
	* src/autofit/aflatin.c (af_latin_metrics_init_widths): Initialize
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6129
	them.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6130
	(af_latin_metrics_scale_dim): Set `extra_light'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6131
	(af_latin_compute_stem_width): Use `extra_light'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6132
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6133
2007-03-28  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6134
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6135
	* src/base/ftbitmap.c (ft_bitmap_assure_buffer): Fix zero-ing of the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6136
	padding.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6137
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6138
2007-03-28  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6139
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6140
	* src/bdf/bdflib.c (setsbit, sbitset): Handle values >= 128
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6141
	gracefully.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6142
	(_bdf_set_default_spacing): Increase `name' buffer size to 256 and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6143
	issue an error for longer names.  This fixes CVE-2007-1351.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6144
	(_bdf_parse_glyphs): Limit allowed number of glyphs in font to the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6145
	number of code points in Unicode.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6146
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6147
	* builds/win32/visualc/index.html,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6148
	builds/win32/visualc/freetype.dsp,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6149
	builds/win32/visualc/freetype.vcproj, README: s/2.3.2/2.3.3/,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6150
	s/232/233/.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6151
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6152
	* docs/CHANGES: Mention ftdiff.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6153
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6154
2007-03-26  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6155
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6156
	* src/truetype/ttinterp.c [FIX_BYTECODE]: Remove it and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6157
	corresponding code.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6158
	(Ins_MD): Last regression fix.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6159
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6160
	* src/autofit/aflatin.c (af_latin_metrics_init_blues): Fix blues
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6161
	computations in order to ignore single-point contours.  These are
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6162
	never rasterized and correspond in certain fonts to mark-attach
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6163
	points that are very far from the glyph's real outline, ruining the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6164
	computation.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6165
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6166
	* src/autofit/afloader.c (af_loader_load_g): In the case of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6167
	monospaced fonts, always set `rsb_delta' and `lsb_delta' to 0.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6168
	Otherwise code that uses them will most certainly ruin the fixed
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6169
	advance property.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6170
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6171
	* docs/CHANGES, docs/VERSION.DLL, README, Jamfile (RefDoc): Update
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6172
	documentation and bump version number to 2.3.3.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6173
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6174
	* 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
  6175
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6176
	* builds/unix/configure.raw (version_info): Set to 9:14:3.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6177
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6178
2007-03-26  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6179
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6180
	* builds/unix/ftconfig.in: Disable Carbon framework dependency on
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6181
	64bit ABI on Mac OS X 10.4.x (ppc & i386).  Found by Sean McBride.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6182
	* builds/vms/ftconfig.h: Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6183
	* include/freetype/config/ftconfig.h: Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6184
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6185
2007-03-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
  6186
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6187
	* builds/unix/ftsystem.c (FT_Stream_Open): Temporary fix to prevent
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6188
	32bit unsigned long overflow by 64bit filesize on LP64 platform, as
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6189
	proposed by Sean McBride:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6190
	http://lists.gnu.org/archive/html/freetype-devel/2007-03/msg00032.html
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6191
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6192
2007-03-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
  6193
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6194
	* builds/unix/ftconfig.in: Suppress SGI compiler's warning against
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6195
	setjmp, proposed by Sean McBride:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6196
	http://lists.gnu.org/archive/html/freetype-devel/2007-03/msg00032.html
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6197
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6198
2007-03-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
  6199
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6200
	* builds/unix/configure.raw: Dequote `OS_INLINE' in comment of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6201
	conftest.c, to avoid unexpected shell evaluation.  Possibly it is a
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6202
	bug or undocumented behaviour of autoconf.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6203
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6204
2007-03-18  David Turner   <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6205
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6206
	* src/truetype/ttinterp.c (Ins_MDRP): Another bytecode regression
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6207
	fix; testing still needed.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6208
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6209
	* src/truetype/ttinterp.c (Ins_MD): Another bytecode regression fix.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6210
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6211
2007-03-17  David Turner   <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6212
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6213
	* src/truetype/ttinterp.c (Ins_IP): Fix wrong handling of the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6214
	(undocumented) twilight zone special case.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6215
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6216
2007-03-09  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6217
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6218
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6219
	* Version 2.3.2 released.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6220
	=========================
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6221
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6222
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6223
	Tag sources with `VER-2-3-2'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6224
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6225
	* builds/win32/visualc/index.html,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6226
	builds/win32/visualc/freetype.dsp,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6227
	builds/win32/visualc/freetype.vcproj, README: s/2.3.1/2.3.2/,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6228
	s/231/232/.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6229
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6230
2007-03-08  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6231
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6232
	* docs/CHANGES, docs/VERSION.DLL: Updated for upcoming release.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6233
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6234
	* builds/unix/configure.raw (version_info): Set to 9:13:3.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6235
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6236
	* 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
  6237
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6238
	* README, Jamfile (RefDoc): s/2.3.1/2.3.2/.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6239
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6240
	* src/base/ftutil.c (ft_mem_strcpyn): Fix a bug that prevented the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6241
	function to work properly, over-writing user-provided buffers in
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6242
	some cases.  Reported by James Cloos <cloos@jhcloos.com>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6243
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6244
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6245
2007-03-05  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6246
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6247
	* include/freetype/config/ftstdlib.h (ft_strstr): New wrapper
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6248
	macro for `strstr'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6249
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6250
	* src/truetype/ttobjs.c (tt_face_init): Use ft_strstr for scanning
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6251
	`trick_names', as suggested by Ivan Nincic.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6252
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6253
2007-03-05  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6254
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6255
	* src/base/ftinit.c (FT_Init_FreeType): Fix a small memory leak in
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6256
	case FT_Init_FreeType fails for some reason.  Problem reported by
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6257
	Maximilian Schwerin <maximilian.schwerin@buelowssiege.de>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6258
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6259
	* src/truetype/ttobs.c (tt_size_init_bytecode): Clear the `x_ppem'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6260
	and `y_ppem' fields of the `TT_Size.metrics' structure, not those of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6261
	`TT_Size.root.metrics'.  Problem reported by Daniel Glöckner
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6262
	<daniel-gl@gmx.net>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6263
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6264
	* src/type1/t1afm.c (T1_Read_PFM): Read kerning values as 16-bit
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6265
	signed values, not unsigned ones.  Problem reported by Johannes
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6266
	Walther <joh_walt@yahoo.de>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6267
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6268
2007-02-21  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6269
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6270
	* src/pshinter/pshalgo.c (psh_hint_align): Fix a bug in the hinting
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6271
	of small and ghost stems in the Postscript interpreter.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6272
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6273
2007-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
  6274
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6275
	* src/base/ftmac.c (FT_GetFileRef_From_Mac_ATS_Name): Fix memory
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6276
	leak, patch by "Jjgod Jiang" <gzjjgod@gmail.com>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6277
	* builds/mac/ftmac.c (FT_GetFileRef_From_Mac_ATS_Name): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6278
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6279
2007-02-16  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6280
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6281
	* src/truetype/ttinterp.c (Ins_MD): Remove unused variable.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6282
	* src/autofit/aflatin.c (af_latin_hints_link_segments): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6283
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6284
2007-02-14  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6285
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6286
	It seems that the following changes fix most of the known
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6287
	interpreter problems with my fonts, but more testing is needed,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6288
	though.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6289
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6290
	* src/truetype/ttinterp.c (FIX_BYTECODE): Activate.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6291
	(TT_MulFix14): Rewrite.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6292
	(Ins_MD, Ins_MDRP, Ins_IP) [FIX_BYTECODE]: Improved and updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6293
	(Ins_MIRP): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6294
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6295
2007-02-12  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6296
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6297
	* src/truetype/ttinterp.c (Project_x, Project_y): Remove compiler
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6298
	warnings.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6299
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6300
	* src/pcf/pcfread.c (pcf_interpret_style), src/bdf/bdfdrivr.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6301
	(bdf_interpret_style): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6302
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6303
2007-02-12  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6304
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6305
	Simplify projection and dual-projection code interface.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6306
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6307
	* src/truetype/ttinterp.h (TT_Project_Func): Use `FT_Pos', not
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6308
	FT_Vector' as argument type.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6309
	* src/truetype/ttinterp.c (CUR_Func_project, CUR_Func_dualproj):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6310
	Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6311
	(CUR_fast_project, CUR_fast_dualproj): New macros.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6312
	(Project, Dual_Project, Project_x, Project_y): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6313
	(Ins_GC, Ins_SCFS, Ins_MDAP, Ins_MIAP, Ins_IP): Use new `fast'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6314
	macros.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6315
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6316
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6317
	* src/autofit/afloader.c (af_loader_load_g): Improve spacing
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6318
	adjustments for the non-light auto-hinted modes.  Gets rid of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6319
	`inter-letter spacing is too wide' problems.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6320
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6321
	* src/autofit/aflatin.c (af_latin_hints_link_segments,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6322
	af_latin_hints_compute_edges): Slight optimization of the segment
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6323
	linker and better handling of serif segments to get rid of broken
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6324
	`9' in Arial at 9pt (96dpi).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6325
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6326
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6327
	Introduce new string functions and the corresponding macros to get
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6328
	rid of various uses of strcpy and other `evil' functions, as well as
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6329
	to simplify a few things.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6330
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6331
	* include/freetype/internal/ftmemory.h (ft_mem_strdup, ft_mem_dup,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6332
	ft_mem_strcpyn): New declarations.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6333
	(FT_MEM_STRDUP, FT_STRDUP, FT_MEM_DUP, FT_DUP, FT_STRCPYN): New
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6334
	macros.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6335
	* src/base/ftutil.c (ft_mem_dup, ft_mem_strdup, ft_mem_strcpyn): New
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6336
	functions.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6337
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6338
	* src/bfd/bfddrivr.c (bdf_interpret_style, BDF_Face_Init),
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6339
	src/bdf/bdflib.c (_bdf_add_property), src/pcf/pcfread.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6340
	(pcf_get_properties, pcf_interpret_style, pcf_load_font),
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6341
	src/cff/cffdrivr.c (cff_get_glyph_name), src/cff/cffload.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6342
	(cff_index_get_sid_string), src/cff/cffobjs.c (cff_strcpy),
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6343
	src/sfnt/sfdriver.c (sfnt_get_glyph_name), src/type1/t1driver.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6344
	(t1_get_glyph_name), src/type42/t42drivr.c (t42_get_glyph_name,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6345
	t42_get_name_index): Use new functions and simplify code.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6346
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6347
	* builds/mac/ftmac.c (FT_FSPathMakeSpec): Don't use FT_MIN.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6348
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6349
2007-02-11  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6350
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6351
	* src/autofit/afloader.c (af_loader_load_g): Don't change width for
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6352
	non-spacing glyphs.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6353
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6354
2007-02-07  Tom Parker  <palfrey@tevp.net>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6355
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6356
	* src/cff/cffdrivr.c (cff_get_name_index): Protect against NULL
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6357
	pointer.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6358
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6359
2007-02-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
  6360
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6361
	* include/freetype/ftmac.h (FT_DEPRECATED_ATTRIBUTE):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6362
	Introduce __attribute((deprecated))__ to warn functions
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6363
	which use non-ANSI data types in its interfaces.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6364
	(FT_GetFile_From_Mac_Name): Deprecated, using FSSpec.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6365
	(FT_GetFile_From_Mac_ATS_Name): Deprecated, using FSSpec.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6366
	(FT_New_Face_From_FSSpec): Deprecated, using FSSpec.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6367
	(FT_New_Face_From_FSRef): Deprecated, using FSRef.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6368
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6369
	* src/base/ftmac.c: Predefine FT_DEPRECATED_ATTRIBUTE as void
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6370
	to avoid warning in building FreeType.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6371
	* builds/mac/ftmac.c: Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6372
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6373
2007-02-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
  6374
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6375
	* src/base/ftbase.c: Fix to use builds/mac/ftmac.c, if configured
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6376
	`--with-fsspec' etc.  Replace #include "ftmac.c" with
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6377
	#include <ftmac.c>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6378
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6379
2007-02-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
  6380
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6381
	* include/freetype/ftmac.h (FT_GetFilePath_From_Mac_ATS_Name):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6382
	Introduced as replacement of FT_GetFile_From_Mac_ATS_Name.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6383
	* src/base/ftmac.c (FT_GetFilePath_From_Mac_ATS_Name): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6384
	(FT_GetFile_From_Mac_ATS_Name): Rewritten as wrapper of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6385
	FT_GetFilePath_From_Mac_ATS_Name.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6386
	* builds/mac/ftmac.c: Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6387
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6388
2007-02-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
  6389
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6390
	* include/freetype/ftmac.h: Fixed wrong comment: FSSpec of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6391
	FT_GetFile_From_Mac_Name, FT_GetFile_From_Mac_ATS_Name are
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6392
	for passing to FT_New_Face_From_FSSpec.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6393
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6394
2007-02-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
  6395
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6396
	* builds/unix/configure.raw: Check whether Mac OS X system headers
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6397
	can be built under ANSI C mode.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6398
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6399
	* src/base/ftmac.c (OS_INLINE): Redefine OS_INLINE by a version
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6400
	compatible to ANSI C in case system headers are ANSI C incompatible.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6401
	* builds/mac/ftmac.c (OS_INLINE): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6402
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6403
2007-02-01  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6404
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6405
	* include/freetype/ttnameid.h (TT_MS_LANGID_DZONGHKA_BHUTAN):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6406
	Explain why applications shouldn't use it.  Found by Alexei.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6407
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6408
2007-02-01  Alexei Podtelezhnikov  <apodtele@gmail.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6409
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6410
	* builds/unix/freetype2.m4 (AC_CHECK_FT2): Fix spelling of warning
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6411
	message.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6412
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6413
	* src/gxvalid/gxvmort1.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6414
	(gxv_mort_subtable_type1_substTable_validate): Fix debugging
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6415
	message.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6416
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6417
2007-01-31  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6418
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6419
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6420
	* Version 2.3.1 released.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6421
	=========================
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6422
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6423
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6424
	Tag sources with `VER-2-3-1-FINAL'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6425
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6426
	* builds/win32/visualc/freetype.dsp,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6427
	builds/win32/visualc/freetype.vcproj: s/230/231/.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6428
	* builds/win32/visualc/index.html: s/221/231/.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6429
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6430
	* vms_make.com: Add `ftgasp'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6431
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6432
2007-01-30  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6433
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6434
	Tag sources with VER-2-3-1 to prepare release.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6435
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6436
	* 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
  6437
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6438
	* docs/VERSION.DLL, docs/release, README, Jamfile (RefDoc):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6439
	s/2.3.0/2.3.1/.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6440
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6441
	* builds/unix/configure.raw (version_info): Set to 9:12:3.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6442
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6443
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6444
	* src/autofit/aftypes.h (AF_USE_WARPER), src/autofit/afloader.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6445
	(af_loader_load_g): Disable the warper (i.e., the light hinting
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6446
	improvements) to make a 2.3.1 bugfix release before introducing a
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6447
	new feature.  This should give us more time to tune and improve the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6448
	warper for the next release.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6449
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6450
	* docs/CHANGES: Update accordingly.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6451
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6452
2007-01-25  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6453
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6454
	For light auto-hinting, improve glyph advance widths and resurrect
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6455
	normal/full hinting to its normal quality.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6456
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6457
	* src/autofit/afhints.h (AF_GlyphHintsRec): New members `xmin_delta'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6458
	and `xmax_delta'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6459
	* src/autofit/afhints.c (af_glyph_hints_reload): Reset `xmin_delta'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6460
	and `xmax_delta'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6461
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6462
	* src/autofit/afloader.c (af_loader_load_g) <AF_USE_WARPER>: Replace
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6463
	preprocessor conditional with if-clause, handling both light and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6464
	normal mode.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6465
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6466
	* src/autofit/afwarp.c (AF_WarpScore): Fine-tune again.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6467
	(af_warper_compute): Handle `xmin_delta' and `xmax_delta'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6468
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6469
2007-01-25  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6470
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6471
	* docs/release: Updated -- Savannah uses a new uploading scheme.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6472
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6473
2007-01-25  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6474
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6475
	* src/cff/cffload.c (cff_index_get_pointers): Improve previous fix.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6476
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6477
	* 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
  6478
	<cff_op_callsubr, cff_op_callgsubr>: Fix sanity check for empty
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6479
	functions.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6480
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6481
	* docs/CHANGES: Document light auto-hinting improvement.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6482
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6483
2007-01-25  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6484
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6485
	* src/cff/cffload.c (cff_index_get_pointers): Handle last entry
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6486
	correctly in a sanity check.  Since this function is only used to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6487
	load local and global functions, any charstring that called the last
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6488
	local/global function would fail otherwise.  This fixes Savannah bug
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6489
	#18867.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6490
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6491
	* docs/CHANGES: Document it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6492
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6493
2007-01-23  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6494
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6495
	* src/truetype/ttobjs.c (tt_size_ready_bytecode): Fix typo that
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6496
	prevented compilation when disabling both the unpatented and the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6497
	bytecode interpreter in the TrueType font driver.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6498
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6499
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6500
	Fix and enable the warper to improve `light' hinting mode.  This is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6501
	not necessarily a final version, but it seems to work well.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6502
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6503
	* src/autofit/aflatin.c (af_latin_hints_init) [AF_USE_WARPER]:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6504
	Disable code.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6505
	(af_latin_hints_apply) [AF_USE_WARPER]: Handle FT_RENDER_MODE_LIGHT.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6506
	* src/autofit/aftypes.h: Activate AF_USE_WARPER.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6507
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6508
	* src/autofit/afwarp.c (AF_WarpScore): Tune table.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6509
	(af_warper_compute_line_best): Fix array size of `scores'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6510
	(af_warper_compute): Better handling of border cases.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6511
	* src/autofit/afwarp.h (AF_WarperRec): Remove unused members `X1'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6512
	and `X2'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6513
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6514
2007-01-21  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6515
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6516
	* ChangeLog: Split off older entries into...
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6517
	* ChangeLog.22: This new file.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6518
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6519
2007-01-21  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6520
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6521
	* docs/CHANGES: Document SHZ fix.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6522
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6523
2007-01-21  George Williams  <gww@silcom.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6524
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6525
	* src/truetype/ttinterp.c (Ins_SHZ): SHZ doesn't move phantom
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6526
	points.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6527
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6528
2007-01-21  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6529
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6530
	* src/sfnt/ttmtx.c (tt_face_get_metrics)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6531
	[!FT_CONFIG_OPTION_OLD_INTERNALS]: Fix limit check.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6532
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6533
2007-01-17  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6534
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6535
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6536
	* Version 2.3.0 released.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6537
	=========================
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6538
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6539
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6540
	Tag sources with `VER-2-3-0-FINAL'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6541
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6542
2007-01-17  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6543
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6544
	* docs/release: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6545
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6546
2007-01-16  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6547
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6548
	* src/autofit/aflatin.c (af_latin_hints_compute_segments),
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6549
	src/cff/cffdriver.c (cff_ps_get_font_info), src/truetype/ttobjs.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6550
	(tt_face_init), src/truetype/ttinterp.c (Ins_SHC): Fix compiler
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6551
	warnings.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6552
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6553
2007-01-15  Detlef Würkner  <TetiSoft@apg.lahn.de>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6554
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6555
	* builds/amiga/makefile, builds/amiga/makefile.os4,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6556
	builds/amiga/smakefile: Add `ftgasp.c' and `ftlcdfil.c'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6557
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6558
	* builds/amiga/include/freetype/config/ftconfig.h: Synchronize.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6559
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6560
2007-01-14  Detlef Würkner  <TetiSoft@apg.lahn.de>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6561
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6562
	Fix various compiler warnings.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6563
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6564
	* src/truetype/ttdriver.c (tt_size_select), src/cff/cffobjs.h,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6565
	src/cff/cffobjs.c (cff_size_request), src/type42/t42objs.h:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6566
	s/index/strike_index/.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6567
	* src/base/ftobjs.c (FT_Match_Size): s/index/size_index/.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6568
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6569
	* src/gxvalid/gxvmorx5.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6570
	(gxv_morx_subtable_type5_InsertList_validate): s/index/table_index/.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6571
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6572
	* src/truetype/ttinterp.c (Compute_Point_Displacement),
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6573
	src/pcf/pcfread.c (pcf_seek_to_table_type): Avoid possibly
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6574
	uninitialized variables.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6575
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6576
2007-01-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
  6577
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6578
	* docs/CHANGES, docs/INSTALL.MAC: Improvements.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6579
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6580
2007-01-13  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6581
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6582
	* src/type1/t1afm.c (T1_Read_Metrics): MS Windows allows PFM
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6583
	versions up to 0x3FF without complaining.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6584
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6585
2007-01-13  Derek Clegg  <dclegg@apple.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6586
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6587
	Add FT_Get_PS_Font_Info interface to CFF driver.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6588
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6589
	* src/cff/cfftypes.h: Include FT_TYPE1_TABLES_H.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6590
	(CFF_FontRec): Add `font_info' field.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6591
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6592
	* src/cff/cffload.c: Include FT_TYPE1_TABLES_H.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6593
	(cff_font_done): Free font->font_info if necessary.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6594
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6595
	* src/cff/cffdrvr.c (cff_ps_get_font_info): New function.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6596
	(cff_service_ps_info): Register cff_ps_get_font_info.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6597
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6598
2007-01-13  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6599
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6600
	* src/base/ftoutln.c (FT_Outline_Get_Orientation): Fix compilation
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6601
	with C++ compiler.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6602
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6603
	* src/autofit/afhints.c (af_glyph_hints_dump_segments,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6604
	af_glyph_hints_dump_edges): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6605
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6606
	* src/base/rules.mk (BASE_SRC): Remove ftgasp.c (it's already in
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6607
	`modules.cfg').
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6608
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6609
	* src/sfnt/ttsbit0.h: Remove.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6610
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6611
	* src/sfnt/rules.mk (SFNT_DRV_SRC): Don't include ttsbit0.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6612
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6613
2007-01-12  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6614
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6615
	* src/base/ftbitmap.c (ft_bitmap_assure_buffer): Fix memory stomping
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6616
	bug in the bitmap emboldener if the pitch of the source bitmap is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6617
	much larger than its width.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6618
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6619
	* src/truetype/ttinterp.c (Update_Max): Fix aliasing-related
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6620
	compilation warning.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6621
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6622
2007-01-12  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6623
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6624
	* builds/unix/install-sh, builds/unix/mkinstalldirs: Updated from
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6625
	`automake' CVS module from sources.redhat.com.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6626
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6627
2007-01-11  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6628
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6629
	* src/type1/t1load.c (is_space): Removed.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6630
	(parse_encoding, parse_charstrings): Use IS_PS_DELIM.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6631
	(parse_charstrings): Use IS_PS_TOKEN.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6632
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6633
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6634
	* autogen.sh: Avoid bash specific syntax.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6635
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6636
2007-01-11  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6637
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6638
	* docs/CHANGES: Small update.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6639
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6640
	* builds/unix/configure.raw (version_info): Set to 9:11:3.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6641
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6642
	* src/base/ftobjs.c (IsMacResource): Fix a small bug that caused a
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6643
	crash with some Mac OS X .dfont files.  Submitted by Masatake
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6644
	Yamato.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6645
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6646
	* autogen.sh: Small fix to get it working on Mac OS X properly:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6647
	The issue is that GNU libtool is called `glibtool' on this platform,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6648
	and we must call `glibtoolize', since `libtoolize' doesn't exist.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6649
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6650
2007-01-10  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6651
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6652
	* all-sources: Tag all sources with VER-2-3-0-RC1 and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6653
	VER-2-3-0.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6654
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6655
	* Jamfile (RefDoc), README, builds/win32/visualc/freetype.dsp,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6656
	builds/win32/visualc/freetype.vcproj, docs/VERSION.DLL: Update
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6657
	version number to 2.3.0.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6658
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6659
	* include/freetype/freetype.h (FREETYPE_MINOR): Set to 3.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6660
	(FREETYPE_PATCH): Set to 0.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6661
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6662
	* include/freetype/ftchapters.h, include/freetype/ftgasp.h,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6663
	include/freetype/ftlcdfil.h: Update reference documentation with
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6664
	GASP support and LCD filtering sections.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6665
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6666
	* src/pshinter/pshalgo.c (psh_glyph_compute_inflections): Fix a typo
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6667
	which created an endless loop with some malformed font files.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6668
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6669
2007-01-10  Derek Clegg  <dclegg@apple.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6670
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6671
	* src/type1/t1load.c (T1_Get_MM_Var): Always return fixed point
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6672
	values.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6673
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6674
2007-01-08  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6675
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6676
	* docs/CHANGES: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6677
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6678
	* include/freetype/ftgasp.h, src/base/ftgasp.c: New files which add
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6679
	a new API `FT_Get_Gasp' to return entries of the `gasp' table
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6680
	corresponding to a given character pixel size.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6681
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6682
	* src/sfnt/ttload.c (tt_face_load_gasp): Add version check for the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6683
	`gasp' table, in order to avoid potential problems with later
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6684
	versions.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6685
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6686
	* include/freetype/config/ftheader.h (FT_GASP_H): New macro for
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6687
	<freetype/ftgasp.h>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6688
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6689
	* src/base/rules.mk (BASE_SRC), src/base/Jamfile (_sources),
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6690
	modules.cfg (BASE_EXTENSIONS), builds/win32/visualc/freetype.dsp,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6691
	builds/win32/visualc/freetype.vcproj: Add src/base/ftgasp.c to the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6692
	default build.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6693
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6694
2007-01-07  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6695
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6696
	* src/cid/cidparse.c (cid_parser_new): Improve error message for
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6697
	Type 11 fonts.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6698
	Scan for `/sfnts' token.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6699
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6700
2007-01-07  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6701
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6702
	* src/cid/cidparse.c (cid_parser_new): Reject Type 11 fonts.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6703
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6704
2007-01-06  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6705
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6706
	* src/cff/cffload.c (cff_index_init): Remove unused variable.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6707
	(cff_index_read_offset): s/perror/errorp/ to avoid global shadowing.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6708
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6709
2007-01-04  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6710
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6711
	* src/pfr/pfrobjs.c (pfr_face_init): Detect non-scalable fonts
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6712
	correctly.  This fixes Savannah bug #17876.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6713
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6714
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6715
	Do not allocate interpreter-specific tables in memory if we are not
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6716
	going to load glyphs with the bytecode interpreter anyway.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6717
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6718
	* src/truetype/ttgload.c (tt_loader_init): Load execution context
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6719
	only if glyph is hinted.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6720
	Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6721
	* src/truetype/ttobjs.h (TT_SizeRec): Add members `bytecode_ready'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6722
	and `cvs_ready'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6723
	Add `tt_size_ready_bytecode' declaration.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6724
	* src/truetype/ttobjs.c (tt_size_done_bytecode,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6725
	tt_size_init_bytecode, tt_size_ready_bytecode): New functions.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6726
	(tt_size_init): Move most code into `tt_size_init_bytecode'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6727
	(tt_size_done): Move most code into `tt_size_done_bytecode'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6728
	(tt_size_reset): Move some code to `tt_size_ready_bytecode'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6729
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6730
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6731
	Don't extract the metrics table from the SFNT font file.  Instead,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6732
	reparse it on each glyph load.  The runtime difference is not
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6733
	noticeable, and it can save a lot of heap memory when memory-mapped
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6734
	files are not used.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6735
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6736
	* include/freetype/internal/tttypes.h (TT_FaceRec): Add members
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6737
	`horz_metrics_offset' and `vert_metrics_ofset'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6738
	* src/sfnt/ttmtx.c (tt_face_load_hmtx, tt_face_get_metrics):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6739
	Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6740
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6741
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6742
	* src/sfnt/ttcmap.c (tt_cmap4_validate): Slight optimization.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6743
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6744
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6745
	Do not load the CFF index offsets into memory, since this wastes a
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6746
	*lot* of heap memory with large Asian CFF fonts.  There is no
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6747
	significant performance loss.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6748
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6749
	* src/cff/cffload.h: Add `cff_charset_cid_to_gindex' declaration.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6750
	* src/cff/cfftypes.h (CFF_IndexRec): Add fields `start' and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6751
	`data_size'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6752
	(CFF_CharsetRec): Add field `num_glyphs'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6753
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6754
	* src/cff/cffload.c (cff_index_read_offset, cff_index_load_offsets,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6755
	cff_charset_cid_to_gindex): New functions.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6756
	(cff_new_index): Renamed to...
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6757
	(cff_index_init): This.  Update all callers.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6758
	Updated -- some code has been moved to `cff_index_load_offsets'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6759
	(cff_done_index): Renamed to...
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6760
	(cff_index_done): This.  Update all callers.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6761
	(cff_index_get_pointers, cff_index_access_element): Updated to use
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6762
	stream offsets.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6763
	(cff_charset_compute_cids): Set `num_glyphs' field.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6764
	(cff_encoding_load): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6765
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6766
	* src/cff/cffgload.c (cff_slot_load): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6767
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6768
2007-01-04  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6769
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6770
	* docs/INSTALL.UNIX: Simplify some parts, add reference to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6771
	autogen.sh and pointer to README.CVS.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6772
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6773
	* README.CVS: Add common problem description and solution
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6774
	when running autogen.sh.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6775
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6776
	* docs/INSTALL: Add reference to MacOS X.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6777
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6778
	* docs/MAKEPP, docs/INSTALL.MAC: New documentation files.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6779
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6780
	* docs/TODO: Remove obsolete items.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6781
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6782
	* src/raster/ftraster.c: (TRaster_Instance): Replace it with...
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6783
	(TWorker): This.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6784
	Remove `count_table' and `memory'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6785
	Make `grays' a pointer.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6786
	(TRaster): New structure.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6787
	(count_table): New static array.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6788
	(RAS_ARGS, RAS_ARG, RAS_VARS, RAS_VAR, FT_UNUSED_RASTER, cur_ras,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6789
	Vertical_Gray_Sweep_Step, ft_black_new, ft_black_done,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6790
	ft_black_set_mode, ft_black_render): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6791
	(ft_black_init): Don't initialize `count_table'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6792
	(ft_black_reset): Use the render pool.  This saves about 6KB of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6793
	heap space for each FT_Library instance.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6794
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6795
	* src/smooth/ftgrays.c (TRaster): Replaced with...
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6796
	(TWorker): This.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6797
	Remove `memory'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6798
	(TRaster): New structure.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6799
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6800
	(RAS_ARG_, RAS_ARG, RAS_VAR_, RAS_VAR, ras, gray_render_line,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6801
	gray_move_to, gray_line_to, gray_conic_to, gray_cubic_to,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6802
	gray_render_span, gray_raster_render): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6803
	(gray_raster_reset): Use the render pool.  This saves about 6KB of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6804
	heap space for each FT_Library instance.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6805
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6806
	* src/sfnt/sfobjs.c, src/sfnt/ttkern.c, src/sfnt/ttkern.h,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6807
	src/sfnt/ttmtx.c, src/sfnt/ttsbit.c, src/sfnt/ttsbit.h,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6808
	src/truetype/ttpload.c, include/freetype/config/ftoption.h: Remove
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6809
	FT_OPTIMIZE_MEMORY macro (and code for !FT_OPTIMIZE_MEMORY) since
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6810
	the optimization is no longer experimental.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6811
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6812
	* src/pshinter/pshalgo.c (psh_glyph_interpolate_normal_points):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6813
	Remove a typo that results in no hinting and a memory leak with some
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6814
	large Asian CFF fonts.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6815
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6816
	* src/base/ftobjs.c (FT_Done_Library): Remove a subtle memory leak
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6817
	which happens when FT_Done_Library is called with still opened
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6818
	CFF_Faces in it.  We need to close all faces before destroying the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6819
	modules, or else some bad things (memory leaks) may happen.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6820
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6821
2007-01-02  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6822
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6823
	* src/gxvalid/gxvkern.c (gxv_kern_subtable_fmt0_pairs_validate):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6824
	Remove compiler warning.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6825
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6826
2007-01-02  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6827
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6828
	* src/sfnt/sfobjs.c: Add documentation comment.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6829
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6830
2006-12-31  Masatake YAMATO  <jet@gyve.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6831
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6832
	* src/gxvalid/gxvkern.c (gxv_kern_subtable_fmt0_pairs_validate): New
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6833
	function.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6834
	Check uniqueness of the gid pairs.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6835
	(gxv_kern_subtable_fmt0_validate): Move some code to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6836
	`gxv_kern_subtable_fmt0_pairs_validate'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6837
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6838
2006-12-22  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6839
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6840
	* src/autofit/aflatin.c, src/truetype/ttgload.c: Remove compiler
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6841
	warnings.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6842
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6843
	* builds/win32/visualc/freetype.vcproj: Add _CRT_SECURE_NO_DEPRECATE
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6844
	to avoid deprecation warnings with Visual C++ 8.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6845
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6846
2006-12-16  Anders Kaseorg  <anders@kaseorg.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6847
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6848
	* src/base/ftlcdfil.c (FT_Library_SetLcdFilter)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6849
	[FT_FORCE_LIGHT_LCD_FILTER]: Fix typo.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6850
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6851
2006-12-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
  6852
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6853
	* include/freetype/internal/services/svotval.h: Add `volatile' to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6854
	sync with the modification by Jens Claudius on 2006-08-22; cf.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6855
	  http://cvs.savannah.gnu.org/viewcvs/freetype/freetype2/src/otvalid/otvmod.c?r1=1.4&r2=1.5
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6856
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6857
2006-12-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
  6858
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6859
	* src/base/ftmac.c: Specialized for Mac OS X only.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6860
	* builds/unix/ftconfig.in: Fixed for ppc64 missing Carbon framework.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6861
	* builds/unix/configure.raw: Ditto.  When explicit switches for
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6862
	FSSpec/FSRef/QuickDraw/ATS availability are given to configure,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6863
	builds/mac/ftmac.c is used instead of default src/base/ftmac.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6864
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6865
2006-12-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
  6866
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6867
	* builds/mac/ftmac.c: Copied src/base/ftmac.c for legacy system.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6868
	* builds/mac/FreeType.m68k_cfm.make.txt: Fix to use builds/mac/ftmac.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6869
	instead of src/base/ftmac.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6870
	* builds/mac/FreeType.ppc_carbon.make.txt: Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6871
	* 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
  6872
	* builds/mac/FreeType.m68k_far.make.txt: Ditto, and exclude gxvalid.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6873
	that cannot be built at present.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6874
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6875
2006-12-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
  6876
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6877
	* src/base/ftobjs.c: Improvement of resource fork handler for
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6878
	POSIX, cf.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6879
	  http://lists.gnu.org/archive/html/freetype-devel/2006-10/msg00025.html
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6880
	(Mac_Read_sfnt_Resource): Count only `sfnt' resource of suitcase font
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6881
	format or .dfont, to simulate the face index number counted by ftmac.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6882
	(IsMacResource): Return the number of scalable faces correctly.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6883
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6884
2006-12-10  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6885
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6886
	* builds/toplevel.mk (version): Protect against `distclean' target.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6887
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6888
2006-12-09  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6889
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6890
	* builds/*/*def.mk, builds/*/detect.mk (CAT): Define to either `cat'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6891
	or `type'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6892
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6893
	* builds/freetype.mk (version): Extracted from freetype.h, using
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6894
	GNU make's built-in string functions.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6895
	(refdoc): Use $(version) instead of static version number.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6896
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6897
2006-12-08  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6898
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6899
	* builds/toplevel.mk (dist): Extract version number from freetype.h.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6900
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6901
2006-12-08  Vladimir Volovich  <vvv@vsu.ru>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6902
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6903
	* src/tools/apinames.c (State): Remove final comma in structure --
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6904
	xlc v5 under AIX 4.3 doesn't like this.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6905
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6906
2006-12-07  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6907
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6908
	* src/autofit/afloader.c (af_loader_load_g): Small adjustment
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6909
	to the spacing of auto-fitted glyphs.  This only impacts rare
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6910
	cases (e.g., Arial Bold at rather small character sizes).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6911
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6912
2006-12-03  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6913
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6914
	* src/sfnt/rules.mk (SFNT_DRV_SRC): Add ttsbit0.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6915
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6916
2006-12-01  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6917
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6918
	* src/sfnt/sfobjs.c (tt_face_get_name): All Unicode strings are
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6919
	encoded in UTF-16BE.  Patch from Rajeev Pahuja <rpahuja@esri.com>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6920
	(tt_name_entry_ascii_from_ucs4): Removed.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6921
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6922
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6923
	* include/freetype/ftxf86.h: Fix and extend comment so that it
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6924
	appears in the documentation.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6925
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6926
	* include/freetype/ftchapters.h: Add `font_format' section.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6927
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6928
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6929
	* src/tools/docmaker/tohtml.py (HtmlFormatter::index_exit): Add link
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6930
	to TOC in index page.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6931
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6932
2006-11-28  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6933
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6934
	* src/smooth/ftgrays.c (gray_raster_render): Return 0 when we are
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6935
	trying to render into a zero-width/height bitmap, not an error code.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6936
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6937
	* src/truetype/ttobjs.c (tt_face_init): Fix typo in previous patch.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6938
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6939
	* src/smooth/ftgrays.c: Remove hard-coded error values; use FreeType
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6940
	ones instead.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6941
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6942
	* src/autofit/afhints.c (af_glyph_hints_dump_segments): Remove unused
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6943
	variable.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6944
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6945
2006-11-26  Pierre Hanser  <hanser@club-internet.fr>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6946
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6947
	* src/truetype/ttobjs.c (tt_face_init): Protect against NULL pointer.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6948
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6949
2006-11-25  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6950
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6951
	* 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
  6952
	af_glyph_hints_dump_segments, af_glyph_hints_dumpedges) [!AF_DEBUG]:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6953
	Add stubs to link the `ftgrid' test program when debugging is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6954
	disabled in the auto-hinter.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6955
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6956
2006-11-23  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6957
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6958
	* src/autofit/afhints.c, src/autofit/afhints.h, src/autofit/aflatin.c,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6959
	src/autofit/aftypes.h: Miscellaneous auto-hinter improvements.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6960
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6961
	* src/autofit/afhints.c (af_glyph_hints_dump_segments) [AF_DEBUG]:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6962
	Emit more sensible information.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6963
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6964
	* src/autofit/afhints.h (AF_SegmentRec): Add `height' member.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6965
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6966
	* src/autofit/aflatin.c (af_latin_metrics_scale_dim): Improve
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6967
	rounding of blue values.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6968
	(af_latin_hints_compute_segments): Hint segment heights.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6969
	(af_latin_hints_link_segments): Reduce `len_score' value.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6970
	(af_latin_hints_compute_edges): Increase `segment_length_threshold'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6971
	value and use `height' member for comparisons.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6972
	(af_latin_hint_edges): Extend logging message.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6973
	Improve handling of remaining edges.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6974
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6975
2006-11-22  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6976
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6977
	Fix Savannah bug #15553.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6978
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6979
	* src/truetype/ttgload.c (tt_loader_init): Re-execute the CVT
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6980
	program after a change from mono to grayscaling (and vice versa).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6981
	Use correct constant for comparison to get `exec->grayscale'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6982
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6983
2006-11-18  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6984
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6985
	Because FT_Load_Glyph expects CID values for CID-keyed fonts, the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6986
	test for a valid glyph index must be deferred to the font drivers.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6987
	This patch fixes Savannah bug #18301.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6988
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6989
	* src/base/ftobjs.c (FT_Load_Glyph): Don't check `glyph_index'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6990
	* src/bdf/bdfdrivr.c (BDF_Glyph_Load), src/cff/cffgload.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6991
	(cff_slot_load), src/cid/cidgload.c (cid_slot_load_glyph),
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6992
	src/pcf/pcfdrivr.c (PCF_Glyph_Load), src/pfr/pfrobjs.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6993
	(pfr_slot_load), src/truetype/ttdriver.c (Load_Glyph),
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6994
	src/type1/t1gload.c (T1_Load_Glyph), src/winfonts/winfnt.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6995
	(FNT_Load_Glyph): Check validity of `glyph_index'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6996
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6997
2006-11-13  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6998
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  6999
	* src/truetype/ttinterp.c (FIX_BYTECODE): Undefine.  The interpreter
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7000
	`enhancements' are still too buggy for general use.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7001
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7002
	* src/base/ftlcdfil.c: Add support for FT_FORCE_LIGHT_LCD_FILTER and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7003
	FT_FORCE_LEGACY_LCD_FILTER at compile time.  Define these macros
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7004
	when building the library to change the default LCD filter to be
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7005
	used.  This is only useful for experimentation.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7006
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7007
	* include/freetype/ftlcdfil.h: Update documentation.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7008
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7009
2006-11-10  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7010
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7011
	* src/smooth/ftsmooth.c: API change for the LCD
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7012
	filter.  The FT_LcdFilter value is an enumeration describing which
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7013
	filter to apply, with new values FT_LCD_FILTER_LIGHT and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7014
	FT_LCD_FILTER_LEGACY (the latter implements the LibXft original
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7015
	algorithm which produces strong color fringes for everything
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7016
	except very-well hinted text).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7017
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7018
	* include/freetype/ftlcdfil.h (FT_Library_SetLcdFilter): Change
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7019
	second parameter to an enum type.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7020
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7021
	* src/base/ftlcdfil.c (USE_LEGACY): Define.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7022
	(_ft_lcd_filter): Rename to...
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7023
	(_ft_lcd_filter_fir): This.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7024
	Update parameters.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7025
	(_ft_lcd_filter_legacy) [USE_LEGACY]: New filter function.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7026
	(FT_Library_Set_LcdFilter): Update parameters.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7027
	Handle new filter modes.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7028
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7029
	* include/internal/ftobjs.h: Include FT_LCD_FILTER_H.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7030
	(FT_Bitmap_LcdFilterFunc): Change third argument to `FT_Library'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7031
	(FT_LibraryRec) [FT_CONFIG_OPTION_SUBPIXEL_RENDERING]: Add filtering
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7032
	callback and update other fields.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7033
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7034
	* src/smooth/ftsmooth.c (ft_smooth_render_generic)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7035
	[FT_CONFIG_OPTION_SUBPIXEL_RENDERING]: Update.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7036
	Other minor improvements.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7037
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7038
	* src/autofit/aflatin.c: Various tiny improvements that drastically
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7039
	improve the handling of serif fonts and of LCD/LCD_V hinting modes.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7040
	(af_latin_hints_compute_edges): Fix typo.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7041
	(af_latin_compute_stem_width): Take better care of diagonal stems.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7042
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7043
2006-11-09  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7044
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7045
	* src/pshinter/pshalgo.c (psh_glyph_compute_inflections): Fix
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7046
	typo which created a variable-used-before-initialized bug.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7047
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7048
2006-11-07  Zhe Su  <james.su@gmail.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7049
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7050
	* src/base/ftsynth.c (FT_GlyphSlot_Embolden): Handle vertical layout
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7051
	also.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7052
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7053
2006-11-03  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7054
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7055
	* src/base/ftcalc.c: Don't use `long long' but `FT_Int64'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7056
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7057
2006-11-02  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7058
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7059
	Add a few tweaks to better handle serif fonts.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7060
	Add more debugging messages.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7061
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7062
	* src/autofit/aflatin.c (af_latin_hints_compute_edges): Ignore
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7063
	segments that are less than 1.5 pixels high.  This gets rid of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7064
	*many* corner cases with serifs.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7065
	(af_latin_align_linked_edge): Add logging message.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7066
	(af_latin_hint_edges): Use AF_HINTS_DO_BLUES.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7067
	Add logging messages.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7068
	Handle AF_EDGE_FLAG flag specially.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7069
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7070
	* src/autofit/afmodule.c [AF_DEBUG]: Add _af_debug,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7071
	_af_debug_disable_blue_hints, and _af_debug_hints variables.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7072
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7073
	* src/autofit/aftypes.h (AF_LOG) [AF_DEBUG]: Use _af_debug.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7074
	Update external declarations.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7075
	(af_corner_orientation, af_corner_is_flat): Replaced by...
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7076
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7077
	* include/freetype/internal/ftcalc.h (ft_corner_orientation,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7078
	ft_corner_is_flat): These declarations.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7079
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7080
	* src/autofit/afangles.c (af_corner_orientation, af_corner_is_flat):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7081
	Comment out.  Replaced by...
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7082
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7083
	* src/base/ftcalc.h (ft_corner_orientation, ft_corner_is_flat):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7084
	These functions.  Update all callers.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7085
	(FT_Add64) [!FT_LONG64]: Simplify.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7086
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7087
	* src/autofit/afhints.c: Include FT_INTERNAL_CALC_H.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7088
	(af_direction_compute): Add a missing FT_ABS call.  This bug caused
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7089
	production of garbage by missing lots of segments.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7090
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7091
	* src/autofit/afhints.h (AF_HINTS_DO_BLUES): New macro.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7092
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7093
	* src/autofit/afloader.c (af_loader_init, af_loader_done)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7094
	[AF_DEBUG]: Set _af_debug_hints.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7095
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7096
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7097
	* src/pshinter/pshalgo.c: Include FT_INTERNAL_CALC_H.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7098
	(psh_corner_is_flat, psh_corner_orientation): Use ft_corner_is_flat
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7099
	and ft_corner_orientation.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7100
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7101
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7102
	* src/gzip/inftrees.c (huft_build): Remove compiler warning.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7103
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7104
2006-10-24  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7105
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7106
	* src/cff/cffload.c (cff_encoding_load): Remove unused variable.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7107
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7108
	* src/base/ftobjs.c (FT_Select_Charmap): Disallow FT_ENCODING_NONE
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7109
	as argument.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7110
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7111
2006-10-23  Zhe Su  <zsu@novell.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7112
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7113
	* src/base/ftoutln.c (FT_Outline_Get_Orientation): Re-implement to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7114
	better deal with broken Asian fonts with strange glyphs, having
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7115
	self-intersections and other peculiarities.  The used algorithm is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7116
	based on the nonzero winding rule.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7117
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7118
2006-10-23  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7119
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7120
	Speed up the CFF font loader.  With some large CFF fonts,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7121
	FT_Open_Face is now more than three times faster.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7122
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7123
	* src/cff/cffload.c (cff_get_offset): Removed.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7124
	(cff_new_index): Inline functionality of `cff_get_offset'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7125
	(cff_charset_compute_cids, cff_charset_free_cids): New functions.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7126
	(cff_charset_done): Call `cff_charset_free_cids'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7127
	(cff_charset_load): Call `cff_charset_compute_cids'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7128
	(cff_encoding_load) <Populate>: Ditto, to replace inefficient loop.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7129
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7130
	* src/sfnt/ttmtx.c (tt_face_load_hmtx): Replace calls to FT_GET_XXX
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7131
	with FT_NEXT_XXX.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7132
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7133
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7134
	Speed up the Postscript hinter, with more than 100% speed increase
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7135
	on my machine.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7136
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7137
	* src/pshinter/pshalgo.c (psh_corner_is_flat,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7138
	psh_corner_orientation): New functions.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7139
	(psh_glyph_compute_inflections): Merge loops for efficiency.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7140
	Use `psh_corner_orientation'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7141
	(psh_glyph_init): Use `psh_corner_is_flat'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7142
	(psh_hint_table_find_strong_point): Renamed to...
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7143
	(psh_hint_table_find_strong_points): This.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7144
	Rewrite, adding argument to handle all points at once.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7145
	Update all callers.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7146
	(PSH_MAX_STRONG_INTERNAL): New macro.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7147
	(psh_glyph_interpolate_normal_points): Rewrite for efficiency.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7148
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7149
2006-10-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
  7150
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7151
	* src/base/ftmac.c (FT_New_Face_From_FOND): Initialize variable
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7152
	`error' with FT_Err_Ok.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7153
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7154
2006-10-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
  7155
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7156
	* docs/INSTALL.CROSS: New document file for cross-building.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7157
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7158
	* builds/unix/configure.raw: Preliminary cross-building support.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7159
	Find native C compiler and pass it by CC_BUILD, and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7160
	find suffix for native executable and pass it by EXEEXT_BUILD.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7161
	Also suffix for target executable is passed by EXEEXT.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7162
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7163
	* builds/unix/unix-cc.in (CCraw_build, E_BUILD): New variables to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7164
	build `apinames' which runs on building system.  They are set by
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7165
	CC_BUILD and EXEEXT_BUILD.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7166
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7167
	* builds/exports.mk (APINAMES_EXE): Change the extension for
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7168
	apinames from the suffix for target (E) to that for building host
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7169
	(E_BUILD).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7170
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7171
2006-10-12  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7172
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7173
	* docs/INSTALL.UNX, docs/UPGRADE.UNX: Renamed to...
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7174
	* docs/INSTALL.UNIX, docs/UPGRADE.UNIX: This.  Update all documents
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7175
	which reference those files.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7176
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7177
2006-10-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
  7178
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7179
	* builds/unix/configure.raw (FT2_EXTRA_LIBS): New variable.  It is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7180
	embedded in freetype2.pc and freetype-config.  Use it to record
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7181
	Carbon dependency of MacOSX.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7182
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7183
	* builds/unix/freetype2.in: Embed FT2_EXTRA_LIBS.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7184
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7185
	* builds/unix/freetype-config.in: Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7186
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7187
2006-10-11  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7188
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7189
	* devel/ftoption.h (FT_CONFIG_OPTION_SUBPIXEL_RENDERING): Define for
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7190
	development.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7191
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7192
2006-10-03  Jens Claudius  <jens.claudius@yahoo.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7193
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7194
	* include/freetype/config/ftstdlib.h: Cast away volatileness from
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7195
	argument to ft_setjmp.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7196
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7197
	* include/freetype/internal/ftvalid.h: Add comment that
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7198
	ft_validator_run must not be used.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7199
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7200
2006-10-01  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7201
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7202
	* src/base/ftbase.c: Undo change from 2006-09-30.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7203
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7204
	* src/base/rules.mk (BASE_SRC): Remove `ftlcdfil.c'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7205
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7206
2006-09-30  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7207
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7208
	* 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
  7209
	s/unpatented_hinting/ignore_unpatented_hinter/.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7210
	Update all callers.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7211
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7212
	* src/base/ftobjs.c (FT_Load_Glyph): Refine the algorithm whether
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7213
	auto-hinting shall be used or not.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7214
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7215
	* src/truetype/ttobjs.c (tt_face_init): Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7216
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7217
2006-09-30  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7218
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7219
	* src/base/rules.mk (BASE_SRC): Remove `ftapi.c' (which is no longer
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7220
	in use).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7221
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7222
	* src/base/ftbase.c: Include `ftlcdfil.c'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7223
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7224
2006-09-29  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7225
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7226
	* src/sfnt/ttcmap.c (tt_cmap4_char_map_binary): Fix algorithm for
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7227
	overlapping segments.  Bug reported by Stefan Koch.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7228
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7229
2006-09-28  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7230
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7231
	Fix a bug in the automatic unpatented hinting support which prevents
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7232
	normal bytecode hinting to work properly.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7233
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7234
	* 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
  7235
	s/force_autohint/unpatented_hinting/.  Update all callers.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7236
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7237
	* src/base/ftobjs.c (FT_Load_Glyph): Updated code.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7238
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7239
	* src/autofit/aftypes.h (AF_DEBUG): Undefine to get rid of traces.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7240
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7241
2006-09-27  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7242
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7243
	* include/freetype/freetype.h (FT_FREETYPE_PATCH): Set to 2.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7244
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7245
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7246
	Add a new API to support color filtering of subpixel glyph bitmaps.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7247
	In a default build, the function `FT_Library_SetLcdFilter' returns
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7248
	`FT_Err_Unimplemented_Feature'; you need to #define
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7249
	FT_CONFIG_OPTION_SUBPIXEL_RENDERING in ftoption.h to compile the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7250
	real implementation.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7251
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7252
	* include/freetype/ftlcdfil.h, src/base/ftlcdfil.c: New files.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7253
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7254
	* include/freetype/internal/ftobjs.h (FT_Bitmap_LcdFilterFunc): New
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7255
	typedef.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7256
	(FT_LibraryRec) [FT_CONFIG_OPTION_SUBPIXEL_RENDERING]: New members
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7257
	`lcd_filter_weights' and `lcd_filter'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7258
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7259
	* src/smooth/ftsmooth.c (ft_smooth_render_generic): Remove arguments
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7260
	`hmul' and `vmul'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7261
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7262
	Handle subpixel rendering.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7263
	Simplify function.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7264
	(ft_smooth_render_lcd): Use `FT_RENDER_MODE_LCD'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7265
	(ft_smooth_render_lcd_v): Use `FT_RENDER_MODE_LCD_V'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7266
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7267
	* include/freetype/config/ftheader.h (FT_LCD_FILTER_H): New macro,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7268
	pointing to <freetype/ftlcdfil.h>.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7269
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7270
	* src/base/Jamfile (_sources), src/base/rules.mk (BASE_SRC),
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7271
	vms_make.com: Add `ftlcdfil.c' to the list of compiled source files.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7272
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7273
	* modules.cfg (BASE_EXTENSIONS): Add ftlcdfil.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7274
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7275
2006-09-26  David Bustin
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7276
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7277
	* src/pfr/pfrobjs.c (pfr_face_get_kerning): Skip adjustment bytes
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7278
	correctly.  Reported as Savannah bug #17843.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7279
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7280
2006-09-26  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7281
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7282
	* src/autofit/afhints.h (AF_HINTS_DO_HORIZONTAL,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7283
	AF_HINTS_DO_VERTICAL, AF_HINTS_DO_ADVANCE): New macros to disable
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7284
	horizontal and vertical hinting for the purpose of debugging the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7285
	auto-fitter.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7286
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7287
	* src/autofit/afmodule.c (_af_debug_disable_horz_hints,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7288
	_af_debug_disable_vert_hints) [AF_DEBUG]: New global variables.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7289
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7290
	* src/autofit/aftypes.h [AF_DEBUG]: Declare above variables.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7291
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7292
	* 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
  7293
	(FT_CONFIG_OPTION_SUBPIXEL_RENDERING): New macro to control whether
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7294
	we want to compile LCD-optimized rendering code (à la ClearType) or
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7295
	not.  The macro *must* be disabled in default builds of the library
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7296
	for patent reasons.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7297
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7298
	* src/smooth/ftsmooth.c (ft_smooth_render_generic): Disable
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7299
	LCD-specific rendering when FT_CONFIG_OPTION_SUBPIXEL_RENDERING
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7300
	isn't defined at compile time.  This only changes the content of the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7301
	rendered glyph to match the one of normal gray-level rendering,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7302
	hence clients should not need to be modified.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7303
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7304
	* docs/CHANGES: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7305
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7306
2006-09-18  Garrick Meeker  <garrick@digitalanarchy.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7307
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7308
	* src/base/ftmac.c (FT_New_Face_From_FOND): Fall back to SFNT if
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7309
	LWFN fails and both are available.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7310
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7311
2006-09-11  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7312
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7313
	* src/sfnt/sfobjs.c (tt_face_get_name): Support some fonts which
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7314
	report their English names through an Apple Roman
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7315
	(platform,encoding) pair, with language_id != English.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7316
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7317
	If the font uses another name entry with language_id == English, it
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7318
	will be selected correctly, though.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7319
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7320
	* src/truetype/ttobjs.c (tt_face_init): Add unpatented hinting
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7321
	selection for `mingli.ttf'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7322
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7323
2006-09-05  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7324
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7325
	* src/truetype/ttpload.c (tt_face_load_hdmx): Handle `record_size'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7326
	values which have the upper two bytes set to 0xFF instead of 0x00
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7327
	(as it happens in at least two CJKV fonts, `HAN NOM A.ttf' and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7328
	`HAN NOM B.ttf').
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7329
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7330
	* src/smooth/ftgrays.c [GRAYS_USE_GAMMA]: Really remove all code.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7331
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7332
2006-09-05  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7333
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7334
	Minor source cleanups and optimizations.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7335
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7336
	* src/smooth/ftgrays.c (GRAYS_COMPACT): Removed.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7337
	(TRaster): Remove `count_ex' and `count_ey'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7338
	(gray_find_cell): Remove 2nd and 3rd argument.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7339
	(gray_alloc_cell): Merged with `gray_find_cell'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7340
	(gray_record_cell): Simplify.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7341
	(gray_set_cell): Rewrite.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7342
	(gray_start_cell): Apply offsets to `ras.ex' and `ras.ey'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7343
	(gray_render_span): Don't use FT_MEM_SET for small values.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7344
	(gray_dump_cells) [DEBUG_GRAYS]: New function.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7345
	(gray_sweep): Avoid buffer overwrites when to drawing the end of a
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7346
	bitmap scanline.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7347
	(gray_convert_glyph): Fix speed-up.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7348
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7349
2006-09-04  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7350
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7351
	* src/smooth/ftgrays.c (gray_convert_glyphs): Make it work with
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7352
	64bit processors.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7353
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7354
2006-09-03  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7355
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7356
	* devel/ftoption.h: Synchronize with
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7357
	include/freetype/config/ftoption.h.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7358
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7359
	* src/smooth/ftgrays.c (gray_record_cell): Remove shadowing
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7360
	variable declaration.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7361
	(gray_convert_glyph): Fix compiler warnings.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7362
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7363
2006-09-01  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7364
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7365
	* src/truetype/ttobjs.c (tt_face_init): Update the TrueType loader
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7366
	to recognize a few fonts that require the automatic unpatented
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7367
	loader.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7368
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7369
	* src/smooth/ftgrays.c: Optmize the performance of the anti-aliased
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7370
	rasterizer.  The speed improvement is between 15% and 25%, depending
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7371
	on the font data.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7372
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7373
	(GRAYS_USE_GAMMA, GRAYS_COMPACT): Removed, and all associated code.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7374
	(TCell): Redefine.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7375
	(TRaster): New members `buffer', `buffer_size', `ycells', `ycount'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7376
	(gray_init_cells): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7377
	(gray_find_cell, gray_alloc_cell): New functions.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7378
	(gray_record_cell): Rewritten to use `gray_find_cell' and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7379
	`gray_alloc_cell'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7380
	(PACK, LESS_THAN, SWAP_CELLS, DEBUG_SORT, QUICK_SORT, SHELL_SORT,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7381
	QSORT_THRESHOLD):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7382
	Removed.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7383
	(gray_shell_sort, gray_quick_sort, gray_check_sort,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7384
	gray_dump_cells): Removed.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7385
	(gray_sweep): Rewritten.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7386
	(gray_convert_glyph): Rewrite code which used one of the sorting
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7387
	functions.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7388
	(gray_raster_render): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7389
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7390
2006-08-29  Dr. Werner Fink  <werner@suse.de>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7391
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7392
	* configure: Make it possible to handle configure options which
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7393
	have strings containing spaces.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7394
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7395
2006-08-27  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7396
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7397
	* include/freetype/config/ftoption.h (TT_USE_BYTECODE_INTERPRETER):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7398
	New macro, defined if either TT_CONFIG_OPTION_BYTECODE_INTERPRETER
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7399
	or TT_CONFIG_OPTION_UNPATENTED_HINTING is defined.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7400
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7401
	* include/freetype/internal/ftcalc.h, src/base/ftcalc.c,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7402
	src/truetype/truetype.c, src/truetype/ttdriver.c,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7403
	src/truetype/ttgload.c, src/truetype/ttgload.h,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7404
	src/truetype/ttinterp.c, src/truetype/ttobjs.c,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7405
	src/truetype/ttobjs.h, src/truetype/ttpload.c, src/type42/t42drivr.c:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7406
	s/TT_CONFIG_OPTION_BYTECODE_INTERPRETER/TT_USE_BYTECODE_INTERPRETER/.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7407
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7408
	* include/freetype/internal/ftobjs.h (FT_Face_InternalRec): New
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7409
	member `force_autohint'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7410
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7411
	* src/base/ftobjs.c (FT_Load_Glyph): Use `force_autohint'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7412
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7413
	* src/truetype/ttobjs.c (tt_face_init): Prepare code for testing
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7414
	against a list of font names which need the bytecode interpreter.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7415
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7416
2006-08-27  Jens Claudius  <jens.claudius@yahoo.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7417
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7418
	Fix miscellaneous compiler warnings.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7419
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7420
	* include/freetype/internal/ftobjs.h: Close comment with `*/' to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7421
	avoid `/* in comment' compiler warning.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7422
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7423
	* src/base/ftdbgmem.c (ft_mem_table_get_source): Turn cast
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7424
	`(FT_UInt32)(void*)' into `(FT_UInt32)(FT_PtrDist)(void*)' since on
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7425
	64-bit platforms void* is larger than FT_UInt32.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7426
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7427
	* src/base/ftobjs.c (t_validator_error): Cast away
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7428
	volatileness of argument to ft_longjmp.  Spotted by Werner
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7429
	`Putzfrau' Lemberg.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7430
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7431
	* src/bdf/bdflib.c (bdf_load_font): Initialize local
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7432
	variable `lineno'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7433
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7434
	* src/gxvalid/gxvmod.c (classic_kern_validate): Mark local variable
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7435
	`error' as volatile.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7436
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7437
2006-08-27  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7438
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7439
	* builds/unix/ftconfig.in: Synchronize with main ftconfig.h.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7440
	Reported by Jens.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7441
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7442
2006-08-22  Jens Claudius  <jens.claudius@yahoo.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7443
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7444
	Fix for previous commit, which caused many compiler warnings/errors
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7445
	about addresses of volatile objects passed as function arguments as
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7446
	non-volatile pointers.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7447
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7448
	* include/freetype/internal/ftvalid.h: Make FT_Validator typedef a
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7449
	pointer to a volatile object.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7450
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7451
	* src/gxvalid/gxvmod.c (gxv_load_table): Make function argument
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7452
	`table' a pointer to a volatile object.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7453
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7454
	* src/otvalid/otvmod.c (otv_load_table): Make function argument
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7455
	`table' a pointer to a volatile object.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7456
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7457
2006-08-18  Jens Claudius  <jens.claudius@yahoo.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7458
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7459
	* src/gxvalid/gxvmod.c (GXV_TABLE_DECL): Mark local variable `_sfnt'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7460
	as volatile since it must keep its value across a call to ft_setjmp.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7461
	(gxv_validate): Same for local variables `memory' and `valid'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7462
	(classic_kern_validate): Same for local variables `memory',
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7463
	`ckern', and `valid'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7464
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7465
	* src/otvalid/otvmod.c (otv_validate): Same for function parameter
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7466
	`face' and local variables `base', `gdef', `gpos', `gsub', `jstf',
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7467
	and 'valid'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7468
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7469
	* src/sfnt/ttcmap.c (tt_face_build_cmaps): Same for local variable
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7470
	`cmap'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7471
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7472
2006-08-16  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7473
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7474
	* src/cid/cidgload.c (cid_slot_load_glyph): Remove compiler
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7475
	warnings.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7476
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7477
	* src/base/ftobjs.c (ft_validator_run): Disable function; it is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7478
	buggy by design.  Always return -1.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7479
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7480
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7481
	Improvements to native TrueType hinting.  This is a first try,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7482
	controlled by the FIX_BYTECODE macro in src/truetype/ttinterp.c.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7483
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7484
	* include/freetype/internal/ftgloadr.h (FT_GlyphLoadRec): Add member
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7485
	`extra_points2'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7486
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7487
	* include/freetype/internal/tttypes.h (TT_GlyphZoneRec): Add member
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7488
	`orus'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7489
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7490
	* src/base/ftgloadr.c (FT_GlyphLoader_Reset,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7491
	FT_GlyphLoader_Adjust_Points, FT_GlyphLoader_CreateExtra,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7492
	FT_GlyphLoader_CheckPoints, FT_GlyphLoader_CopyPoints): Updated to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7493
	handle `extra_points2'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7494
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7495
	* src/truetype/ttgload.c (tt_prepare_zone): Handle `orus'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7496
	Remove compiler warning.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7497
	(cur_to_arg): Remove macro.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7498
	(TT_Hint_Glyph): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7499
	(TT_Process_Simple_Glyph): Handle `orus'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7500
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7501
	* src/truetype/ttinterp.c (FIX_BYTECODE): New macro.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7502
	(Ins_MD, Ins_MDRP, Ins_IP) [FIX_BYTECODE]: Handle `orus'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7503
	(LOC_Ins_IUP): Renamed to...
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7504
	(IUP_WorkerRec): This.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7505
	Add `orus' member.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7506
	(Shift): Renamed to...
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7507
	(_iup_worker_shift): This.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7508
	Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7509
	(Interp): Renamed to...
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7510
	(_iup_worker_interpolate): This.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7511
	Updated to handle `orus'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7512
	(Ins_IUP): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7513
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7514
	* src/truetype/ttobjs.c (tt_glyphzone_done, tt_glyphzone_new):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7515
	Handle `orus'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7516
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7517
2006-08-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
  7518
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7519
	* modules.cfg (BASE_EXTENSIONS): Compile in ftgxval.c by default to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7520
	build ftvalid in ft2demos.  This has been inadvertedly changed
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7521
	2006-08-13.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7522
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7523
2006-08-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
  7524
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7525
	`ft_validator_run' wrapping `setjmp' can cause a crash, as found by
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7526
	Jens:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7527
	http://lists.gnu.org/archive/html/freetype-devel/2006-08/msg00004.htm.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7528
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7529
	* src/otvalid/otvmod.c: Replace `ft_validator_run' by `ft_setjmp'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7530
	It reverts the change introduced on 2005-08-20.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7531
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7532
	* src/gxvalid/gxvmod.c: Ditto.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7533
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7534
2006-08-13  Jens Claudius  <jens.claudius@yahoo.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7535
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7536
	* finclude/freetype/internal/psaux.h: (T1_TokenType): Add
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7537
	T1_TOKEN_TYPE_KEY.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7538
	(T1_FieldRec): Add `dict'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7539
	(T1_FIELD_DICT_FONTDICT, T1_FIELD_DICT_PRIVATE): New macros.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7540
	(T1_NEW_XXX, T1_FIELD_XXX): Update to take the dictionary where a PS
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7541
	keyword is expected as an additional argument.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7542
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7543
	* src/cid/cidload.c: (cid_field_records): Adjust invocations of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7544
	T1_FIELD_XXX.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7545
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7546
	* src/cid/cidtoken.h: Adjust invocations of T1_FIELD_XXX.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7547
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7548
	* src/psaux/psobjs.c: Add macro FT_COMPONENT for tracing.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7549
	(ps_parser_to_token): Report a PostScript key as T1_TOKEN_TYPE_KEY,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7550
	not T1_TOKEN_TYPE_ANY.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7551
	(ps_parser_load_field): Make sure a token that should be a string or
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7552
	name is really a string or name.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7553
	Avoid memory leak if a keyword has been already encountered and its
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7554
	value is overwritten.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7555
	* src/type1/t1load.c: (t1_keywords): Adjust invocations of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7556
	T1_FIELD_XXX.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7557
	(parse_dict): Ignore keywords that occur in the wrong dictionary
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7558
	(e.g., in `Private' instead of `FontDict').
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7559
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7560
	* src/type1/t1tokens.h: Adjust invocations of T1_FIELD_XXX.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7561
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7562
	* src/type42/t42parse.c: (t42_keywords): Adjust invocations of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7563
	T1_FIELD_XXX.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7564
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7565
2006-07-18  Jens Claudius  <jens.claudius@yahoo.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7566
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7567
	Move creation of field `buildchar' of T1_DecoderRec out of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7568
	`t1_decoder_init' and let the caller of `t1_decoder_init' take care
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7569
	of it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7570
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7571
	Call the finisher for T1_Decoder in `cid_face_compute_max_advance'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7572
	and `T1_Compute_Max_Advance'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7573
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7574
	* include/freetype/internal/psaux.h (T1_DecoderRec): Remove field
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7575
	`face', add `len_buildchar'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7576
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7577
	* include/freetype/internal/t1types.h (T1_FaceRec): Add field
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7578
	`buildchar'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7579
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7580
	* src/cid/cidgload.c (cid_face_compute_max_advance): Call finisher
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7581
	for T1_Decoder.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7582
	(cid_slot_load_glyph): Do not ignore failure when initializing the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7583
	T1_Decoder.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7584
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7585
	* src/psaux/t1decode.c (t1_decoder_parse_charstrings): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7586
	(t1_decoder_init): Remove initialization of fields `buildchar' and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7587
	`len_buildchar'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7588
	(t1_decoder_done): Remove deallocation of field `buildchar'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7589
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7590
	* freetype/src/type1/t1gload.c (T1_Compute_Max_Advance): Initialize
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7591
	T1_Decoder's `buildchar' and `len_buildchar'; call finisher for
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7592
	T1_Decoder.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7593
	(T1_Load_Glyph): Initialize T1_Decoder's `buildchar' and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7594
	`len_buildchar'; make sure to call finisher for T1_Decoder even in
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7595
	case of error.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7596
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7597
	* src/type1/t1load.c (T1_Open_Face): Allocate new field `buildchar'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7598
	of T1_FaceRec.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7599
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7600
	* src/type1/t1objs.c (T1_Face_Done): Free new field `buildchar' of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7601
	T1_FaceRec.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7602
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7603
2006-07-14  Jens Claudius  <jens.claudius@yahoo.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7604
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7605
	* include/freetype/internal/psaux.h: New macros IS_PS_NEWLINE,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7606
	IS_PS_SPACE, IS_PS_SPECIAL, IS_PS_DELIM, IS_PS_DIGIT, IS_PS_XDIGIT,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7607
	and IS_PS_BASE85 (from src/psaux/psconv.h).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7608
	(T1_FieldLocation): Add T1_FIELD_LOCATION_LOADER,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7609
	T1_FIELD_LOCATION_FACE, and T1_FIELD_LOCATION_BLEND.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7610
	(T1_DecoderRec): New fields `buildchar' and `face'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7611
	(IS_PS_TOKEN): New macro.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7612
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7613
	* include/freetype/internal/t1types.h (T1_FaceRec): New fields
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7614
	`ndv_idx', `cdv_idx', and `len_buildchar'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7615
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7616
	* include/freetype/t1tables.h (PS_BlendRec): New fields
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7617
	`default_design_vector' and `num_default_design_vector'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7618
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7619
	* src/psaux/psconv.h: Move macros IS_PS_NEWLINE, IS_PS_SPACE,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7620
	IS_PS_SPECIAL, IS_PS_DELIM, IS_PS_DIGIT, IS_PS_XDIGIT, and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7621
	IS_PS_BASE85 to include/freetype/internal/psaux.h.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7622
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7623
	* src/psaux/psobjs.c (ps_parser_to_token_array): Allow `token'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7624
	argument to be NULL if we want only to count the number of tokens.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7625
	(ps_tocoordarray): Allow `coords' argument to be NULL if we just
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7626
	want to skip the array.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7627
	(ps_tofixedarray): Allow `values' argument to be NULL if we just
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7628
	want to skip the array.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7629
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7630
	* src/psaux/t1decode.c (t1_decoder_parse_charstrings): Add support
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7631
	for (partially commented out) othersubrs 19-25, 27, and 28.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7632
	(t1_decoder_init): Initialize new fields `face' and `buildchar'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7633
	(t1_decoder_done): Release new field `buildchar'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7634
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7635
	* src/type1/t1load.c (parse_buildchar, parse_private): New
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7636
	functions.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7637
	(t1_keywords): Register them.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7638
	(t1_allocate_blend): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7639
	(t1_load_keyword): Handle field types T1_FIELD_LOCATION_LOADER,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7640
	T1_FIELD_LOCATION_FACE and T1_FIELD_LOCATION_BLEND.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7641
	(parse_dict): Remove `keyword_flags' argument.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7642
	Use new macro IS_PS_TOKEN.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7643
	Changed function so that later PostScript definitions override
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7644
	earlier ones.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7645
	(t1_init_loader): Initialize new field `keywords_encountered'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7646
	(T1_Open_Face): Initialize new fields `ndv_idx', `cdv_idx', and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7647
	`len_buildchar'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7648
	Remove `keywords_flags'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7649
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7650
	* src/type1/t1load.h (T1_LoaderRect): New field
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7651
	`keywords_encountered'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7652
	(T1_PRIVATE, T1_FONTDIR_AFTER_PRIVATE): New macros.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7653
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7654
	* src/type1/t1tokens.h [!T1_CONFIG_OPTION_NO_MM_SUPPORT]: New
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7655
	entries for parsing /NDV, /CDV, and /DesignVector.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7656
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7657
2006-07-07  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7658
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7659
	Add many checks to protect against malformed PCF files.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7660
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7661
	* src/pcf/pcfdrivr.c (PCF_Face_Done): Protect against NULL pointers.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7662
	(PCF_Face_Init): Add calls to PCF_Face_Done in case of errors.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7663
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7664
	* src/pcf/pcfread.c (pcf_read_TOC): Protect against malformed table
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7665
	data and check that tables don't overlap (using a simple
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7666
	bubblesort).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7667
	(PCF_METRIC_SIZE, PCF_COMPRESSED_METRIC_SIZE, PCF_PROPERTY_SIZE):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7668
	New macros which give the size of data structures in the data
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7669
	stream.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7670
	(pcf_get_properties): Use rough estimates to get array size limits.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7671
	Assign `face->nprops' and `face->properties' earlier so that a call
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7672
	to PCF_Face_Done can do the clean-up in case of error.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7673
	Protect against invalid string offsets.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7674
	(pcf_get_metrics): Clean up code.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7675
	Adjust tracing message levels.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7676
	Use rough estimate to get array size limit.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7677
	(pcf_get_bitmaps): Clean up code.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7678
	Adjust tracing message levels.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7679
	Use rough estimates to get offset limits.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7680
	(pcf_get_encodings): Adjust tracing message level.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7681
	(pcf_get_accel): Clean up code.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7682
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7683
2006-06-26  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7684
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7685
	* src/bdf/bdfdrivr.c (BDF_Face_Init): Handle fonts correctly which
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7686
	don't have a POINT_SIZE property.  This fixes Savannah bug #16914.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7687
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7688
2006-06-26  Jens Claudius  <jens.claudius@yahoo.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7689
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7690
	* src/psaux/t1decode.c (T1_Operator, t1_args_count): Add opcode 15.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7691
	(t1_decoder_parse_charstrings): Operator with
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7692
	opcode 15 pops its two arguments.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7693
	Handle the case where the pops of an othersubr may be part of a
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7694
	subroutine.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7695
	Handle unknown othersubrs gracefully: count their operands and let
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7696
	the following pop operators push the operands as the results onto
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7697
	the Type1 stack.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7698
	Improve handling of setcurrentpoint opcode.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7699
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7700
2006-06-25  Jens Claudius  <jens.claudius@yahoo.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7701
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7702
	The Type 1 parser now skips over top-level procedures as required
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7703
	for a `Simplified Parser'.  This makes the parser more robust as it
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7704
	doesn't poke around in PostScript code.  Additionally, it makes the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7705
	FontDirectory hackery in src/type1/t1load.c unnecessary.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7706
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7707
	* src/psaux/psobjs.c (IS_OCTAL_DIGIT): New macro.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7708
	(skip_literal_string): Add FT_Error as return value.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7709
	Handle escapes better.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7710
	(skip_string): Add FT_Error as return value.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7711
	Don't set `parser->error' but return error code directly.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7712
	(skip_procedure): New function.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7713
	(ps_parser_skip_PS_token): Handle procedures.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7714
	Update code.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7715
	(ps_parser_to_token): Update code.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7716
	(ps_parser_load_field_table): Handle bbox entries also.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7717
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7718
	* src/type1/t1load.c (parse_dict): Remove FontDirectory hackery.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7719
	Add commented-out code for synthetic fonts.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7720
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7721
2006-06-24  Eugeniy Meshcheryakov  <eugen@univ.kiev.ua>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7722
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7723
	Fix two hinting bugs as reported in
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7724
	http://lists.gnu.org/archive/html/freetype-devel/2006-06/msg00057.html.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7725
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7726
	* include/freetype/internal/tttypes.h (TT_GlyphZoneRec): Add
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7727
	`first_point' member.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7728
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7729
	* src/truetype/ttgload.c (tt_prepare_zone): Initialize
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7730
	`first_point'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7731
	(TT_Process_Composite_Glyph): Always untouch points.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7732
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7733
	* src/truetype/ttinterp.c (Ins_SHC): Fix computation of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7734
	`first_point' and `last_point' in case of composite glyphs.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7735
	(Ins_IUP): Fix computation of `end_point'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7736
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7737
2006-06-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
  7738
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7739
	Insert EndianS16_BtoN and EndianS32_BtoN as workaround for Intel
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7740
	Mac.  The original patch was written by David Sachitano and Lawrence
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7741
	Coopet, and modified by Sean McBride for MPW compatibility.  Only
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7742
	required data are converted; unused data are left in big endian.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7743
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7744
	* src/base/ftmac.c: Include <Endian.h> for byteorder macros for non
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7745
	Mac OS X platforms.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7746
	(OS_INLINE): Undefine before definition.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7747
	(count_faces_sfnt): Insert EndianS16_BtoN to parse the header of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7748
	FontAssociation table in FOND resource.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7749
	(count_faces_scalable): Insert EndianS16_BtoN to parse the header
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7750
	and fontSize at each entry of FontAssociation table in FOND
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7751
	resource.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7752
	(parse_fond): Insert EndianS16_BtoN and EndianS32_BtoN to parse
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7753
	ffStylOff of FamilyRecord header of FOND resource, the header,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7754
	fontSize, fontID at each entry of FontAssociation table, and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7755
	StyleMapping table.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7756
	(count_faces): Call `HUnlock' after all FOND utilization.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7757
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7758
2006-06-08  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7759
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7760
	Public API of TrueTypeGX, OpenType, and classic kern table validator
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7761
	should return `FT_Err_Unimplemented_Feature' if validation service
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7762
	is unavailable (disabled in `modules.cfg').  It is originally
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7763
	suggested by David Turner, cf.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7764
	http://lists.gnu.org/archive/html/freetype-devel/2005-11/msg00078.html
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7765
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7766
	* src/base/ftgxval.c (FT_TrueTypeGX_Validate): Return
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7767
	FT_Err_Unimplemented_Feature if TrueTypeGX validation service is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7768
	unavailable.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7769
	(FT_ClassicKern_Validate): Return FT_Err_Unimplemented_Feature if
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7770
	classic kern table validation service is unavailable.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7771
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7772
	* src/base/ftotval.c (FT_OpenType_Validate): Return
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7773
	FT_Err_Unimplemented_Feature if OpenType validation service is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7774
	unavailable.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7775
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7776
2006-06-08  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7777
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7778
	* src/bdf/bdflib.c (bdf_load_font): Fix memory leaks in case of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7779
	errors.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7780
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7781
2006-06-07  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7782
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7783
	* src/type1/t1afm.c (KERN_INDEX): Make it more robust.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7784
	(T1_Read_Metrics): Fix memory leak which happened when the metrics
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7785
	file doesn't have kerning pairs.  This fixes Savannah bug #16768.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7786
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7787
2006-06-06  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7788
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7789
	Fix memory leak described in Savannah bug #16759.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7790
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7791
	We change `ps_unicodes_init' so that it also takes a
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7792
	`free_glyph_name' callback to release the glyph names returned by
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7793
	`get_glyph_name'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7794
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7795
	* include/freetype/internal/services/svpscmap.h (PS_Glyph_NameFunc):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7796
	Renamed to ...
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7797
	(PS_GetGlyphNameFunc): This.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7798
	(PS_FreeGlyphNameFunc): New typedef.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7799
	(PS_Unicodes_InitFunc): Add variable for PS_FreeGlyphNameFunc.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7800
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7801
	* src/cff/cffcmap.c (cff_sid_to_glyph_name): Use `TT_Face' for first
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7802
	argument.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7803
	(cff_sid_free_glyph_name): New function.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7804
	(cff_cmap_unicode_init): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7805
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7806
	* src/psaux/t1cmap.c (t1_cmap_unicode_init): Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7807
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7808
	* src/psnames/psmodule.c (ps_unicodes_init): Add variable for
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7809
	PS_FreeGlyphNameFunc and use it.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7810
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7811
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7812
2006-06-04  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7813
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7814
	* src/base/ftutil.c (ft_mem_qrealloc): Fix the function to accept
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7815
	`item_size == 0' as well -- though this sounds weird, it can
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7816
	theoretically happen.  This fixes Savannah bug #16669.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7817
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7818
	* src/pfr/pfrobjs.c (pfr_face_init): Fix the computation
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7819
	of `face->num_glyphs' which missed the last glyph, due to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7820
	the offset-by-1 computation, since the PFR format doesn't
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7821
	guarantee that glyph index 0 corresponds to the `missing
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7822
	glyph.  This fixes Savannah bug #16668.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7823
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7824
2006-05-25  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7825
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7826
	* builds/unix/unix-cc.in (LINK_LIBRARY): Don't comment out
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7827
	`-no-undefined'.  Reported by Christian Biesinger.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7828
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7829
2006-05-19  Brian Weed  <bw@imaginengine.com>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7830
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7831
	* builds/win32/visualc/freetype.dsp: Release libraries no longer
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7832
	have debug information, and debug libraries use `C7 compatible'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7833
	debug info.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7834
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7835
2006-05-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
  7836
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7837
	Apply patch by Derek Clegg to fix two memory leaks in the MacOS
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7838
	resource fork handler.  This fixes Savannah bug #16631.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7839
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7840
	* src/base/ftobjs.c (load_face_in_embedded_rfork): Replace
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7841
	`FT_Stream_Close' by `FT_Stream_Free' to fix memory leak.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7842
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7843
	* src/base/ftrfrk.c (raccess_guess_linux_double_from_file_name):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7844
	Replace `FT_Stream_Close' by `FT_Stream_Free' to fix memory leak.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7845
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7846
2006-05-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
  7847
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7848
	* build/unix/configure.raw: Add a fallback to disable Carbon
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7849
	dependency, if configured with no options on Mac OS X.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7850
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7851
2006-05-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
  7852
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7853
	* src/base/ftmac.c (open_face_from_buffer): Deallocate stream when
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7854
	its content cannot be parsed as supported font.  This fixes
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7855
	the second part of Savannah bug #16590.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7856
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7857
2006-05-18  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7858
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7859
	* src/truetype/ttgload.c (TT_Load_Composite_Glyph)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7860
	[FT_CONFIG_OPTION_BYTECODE_INTERPRETER]: Make it compilable again.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7861
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7862
2006-05-17  David Turner  <david@freetype.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7863
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7864
	This is a major patch used to drastically improve the performance of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7865
	loading glyphs.  This both speeds up loading the glyph vectors
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7866
	themselves and the auto-fitter module.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7867
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7868
	We now use inline assembler code with GCC to implement `FT_MulFix',
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7869
	which is probably the most important function related to the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7870
	engine's performance.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7871
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7872
	The resulting speed-up is about 25%.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7873
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7874
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7875
	* include/freetype/internal/tttypes.h (TT_LoaderRec): Add fields
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7876
	`cursor' and `limit'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7877
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7878
	* src/autofit/afangles.c (af_corner_is_flat, af_corner_orientation):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7879
	New functions.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7880
	(AF_ATAN_BITS, af_arctan, af_angle_atan): Comment out.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7881
	[TEST]: Remove.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7882
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7883
	* src/autofit/afcjk.c (AF_Script_UniRangeRec): Comment out test
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7884
	code.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7885
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7886
	* src/autofit/afhints.c (af_axis_hints_new_segment): Don't call
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7887
	`FT_ZERO'
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7888
	(af_direction_compute, af_glyph_hints_compute_inflections): Rewritten.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7889
	(af_glyph_hints_reload: Rewrite recognition of weak points.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7890
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7891
	* src/autofit/aflatin.c (af_latin_hints_compute_segments): Move
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7892
	constant values out of the loops.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7893
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7894
	* src/autofit/aftypes.h: Updated.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7895
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7896
	* src/base/ftcalc.c (FT_MulFix): Use inline assembler code.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7897
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7898
	* src/base/ftoutln.c (FT_Outline_Get_Orientation): Use vector
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7899
	product to get orientation.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7900
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7901
	* src/gzip/ftgzip.c (ft_get_uncompressed_size): New function.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7902
	(FT_Stream_OpenGzip): Use it to handle small files directly in
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7903
	memory.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7904
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7905
	* src/psaux/psconv.c (PS_Conv_ASCIIHexDecode, PS_ConvEexecDecode):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7906
	Improve performance.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7907
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7908
	* src/truetype/ttgload.c (TT_Access_Glyph_Frame): Set `cursor' and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7909
	`limit'.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7910
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7911
	(TT_Load_Glyph_Header, TT_Load_Simple_Glyph,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7912
	TT_Load_Composite_Glyph): Updated.  Add threshold to protect against
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7913
	exceedingly large values of number of contours.  Speed up by
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7914
	reducing the number of loops.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7915
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7916
	* src/type1/t1gload.c (T1_Load_Glyph): Don't apply unit matrix.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7917
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7918
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7919
	* src/cache/ftccmap.c (FTC_CMapCache_Lookup): Change the threshold
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7920
	used to detect rogue clients from 4 to 16.  This is to prevent some
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7921
	segmentation faults with fonts like `KozMinProVI-Regular.otf' which
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7922
	comes from the Japanese Adobe Reader Asian Font pack.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7923
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7924
2007-05-17  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7925
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7926
	* src/cff/cffload.c (cff_font_done): Deallocate subfont array.  This
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7927
	fixes the first part of Savannah bug #16590.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7928
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7929
2006-05-16  Werner Lemberg  <wl@gnu.org>
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7930
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7931
	* docs/PROBLEMS: Updated icl issues.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7932
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7933
----------------------------------------------------------------------------
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7934
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7935
Copyright 2006, 2007, 2008, 2009, 2010 by
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7936
David Turner, Robert Wilhelm, and Werner Lemberg.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7937
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7938
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
  7939
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
  7940
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
  7941
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
  7942
fully.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7943
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7944
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7945
Local Variables:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7946
version-control: never
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7947
coding: utf-8
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
  7948
End: