modules/freetype2/ChangeLog.22

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

michael@0 1 2006-05-12 Werner Lemberg <wl@gnu.org>
michael@0 2
michael@0 3
michael@0 4 * Version 2.2.1 released.
michael@0 5 =========================
michael@0 6
michael@0 7
michael@0 8 Tag sources with `VER-2-2-1'.
michael@0 9
michael@0 10 2006-05-12 Werner Lemberg <wl@gnu.org>
michael@0 11
michael@0 12 * src/tools/docmaker/sources.py (re_source_keywords): Add word
michael@0 13 boundary markers.
michael@0 14 * src/tools/docmaker/content.py (re_field): Allow `.' in field names
michael@0 15 (but not at the beginning or end).
michael@0 16 * src/tools/docmaker/tohtml.py (html_header_1): Use `utf-8' charset.
michael@0 17 (block_footer): Split into...
michael@0 18 (block_footer_start, block_footer_middle, block_footer_end): This to
michael@0 19 add navigation buttons.
michael@0 20 (HtmlFormatter::block_exit): Updated.
michael@0 21
michael@0 22 * include/freetype/*: Many minor documentation improvements (adding
michael@0 23 links, spelling errors, etc.).
michael@0 24
michael@0 25 2006-05-11 Werner Lemberg <wl@gnu.org>
michael@0 26
michael@0 27 * README: Minor updates.
michael@0 28
michael@0 29 * include/freetype/*: s/scale/scaling value/ where appropriate.
michael@0 30 Many other minor documentation improvements.
michael@0 31
michael@0 32 * src/tools/docmaker/sources.py (re_italic, re_bold): Handle
michael@0 33 trailing punctuation.
michael@0 34 * src/tools/docmaker/tohtml.py (HtmlFormatter::make_html_word): Add
michael@0 35 warning message for undefined cross references.
michael@0 36 Update handling of re_italic and re_bold.
michael@0 37
michael@0 38 2006-05-11 Masatake YAMATO <jet@gyve.org>
michael@0 39
michael@0 40 * builds/unix/ftsystem.c (FT_Stream_Open): Check errno only if
michael@0 41 read system call returns -1.
michael@0 42 Remove a redundant parenthesis.
michael@0 43
michael@0 44 2006-05-10 Werner Lemberg <wl@gnu.org>
michael@0 45
michael@0 46 * builds/unix/ftsystem.c (FT_Stream_Open): Avoid infinite loop if
michael@0 47 given an empty, un-mmap()able file. Reported and suggested fix in
michael@0 48 Savannah bug #16555.
michael@0 49
michael@0 50 * builds/freetype.mk (refdoc): Write-protect the `docmaker'
michael@0 51 directory to suppress generation of .pyc files. According to the
michael@0 52 Python docs there isn't a more elegant solution (currently).
michael@0 53
michael@0 54 * builds/toplevel.mk (dist): New target which builds .tar.gz,
michael@0 55 .tar.bz2, and .zip files. Note that the version number is still
michael@0 56 hard-coded.
michael@0 57 (do-dist): Sub-target of `dist'.
michael@0 58 (CONFIG_GUESS, CONFIG_SUB): New variables.
michael@0 59 (.PHONY): Updated.
michael@0 60
michael@0 61 2006-05-09 Rajeev Pahuja <rpahuja@esri.com>
michael@0 62
michael@0 63 * builds/win32/visualc/freetype.sln,
michael@0 64 builds/win32/visualc/freetype.vcproj: Upgraded to VS.NET 2005 from
michael@0 65 VS.NET 2003
michael@0 66 Added files ftbbox.c, fttype1.c, ftwinfnt.c, ftsynth.c.
michael@0 67
michael@0 68 * builds/win32/visualc/index.html: Updated.
michael@0 69
michael@0 70 2006-05-07 Werner Lemberg <wl@gnu.org>
michael@0 71
michael@0 72 Put version information into the configure script. Reported by Paul
michael@0 73 Watson <pwatson@redlinepy.com>.
michael@0 74
michael@0 75 * builds/unix/configure.ac: Renamed to...
michael@0 76 * builds/unix/configure.raw: This which now serves (with appropriate
michael@0 77 modifications) as a template for configure.ac.
michael@0 78
michael@0 79 * version.sed: New script.
michael@0 80
michael@0 81 * autogen.sh: Generate configure.ac from configure.raw, using
michael@0 82 FREETYPE_MAJOR, FREETYPE_MINOR, and FREETYPE_PATCH from freetype.h.
michael@0 83
michael@0 84 2006-05-06 Werner Lemberg <wl@gnu.org>
michael@0 85
michael@0 86 * include/freetype/freetype.h (FREETYPE_PATCH): Set to 1.
michael@0 87
michael@0 88 * builds/unix/configure.ac (version_info): Set to 9:10:3.
michael@0 89
michael@0 90 * builds/win32/visualc/index.html,
michael@0 91 builds/win32/visualc/freetype.dsp,
michael@0 92 builds/win32/visualc/freetype.vcproj, builds/freetype.mk (refdoc),
michael@0 93 Jamfile (RefDoc), README: s/220/221/, s/2.2.0/2.2.1/.
michael@0 94 Minor updates.
michael@0 95
michael@0 96 * docs/CHANGES, docs/VERSION.DLL, docs/PROBLEMS, README.CVS:
michael@0 97 Updated.
michael@0 98
michael@0 99 * builds/unix/install-sh: Updated from `texinfo' CVS module at
michael@0 100 savannah.gnu.org.
michael@0 101
michael@0 102 * devel/ftoption.h: Synchronize with
michael@0 103 include/freetype/config/ftoption.h.
michael@0 104
michael@0 105 2006-05-04 Werner Lemberg <wl@gnu.org>
michael@0 106
michael@0 107 * src/lzw/ftlzw2.c: Renamed to...
michael@0 108 * src/lzw/ftlzw.c: This.
michael@0 109
michael@0 110 * src/lzw/Jamfile, src/lzw/rules.mk: Updated.
michael@0 111
michael@0 112 * builds/mac/FreeType.m68k_cfm.make.txt,
michael@0 113 builds/mac/FreeType.m68k_far.make.txt,
michael@0 114 builds/mac/FreeType.ppc_carbon.make.txt,
michael@0 115 builds/mac/FreeType.ppc_classic.make.txt: Updated.
michael@0 116
michael@0 117 2006-05-03 David Turner <david@freetype.org>
michael@0 118
michael@0 119 Allow compilation again with C++ compilers.
michael@0 120
michael@0 121 * include/freetype/internal/ftmemory.h (FT_ASSIGNP,
michael@0 122 FT_ASSIGNP_INNER): New macros which do the actual assignment, and
michael@0 123 which exist in two variants (for C and C++).
michael@0 124 Update callers accordingly.
michael@0 125
michael@0 126 2006-05-03 Werner Lemberg <wl@gnu.org>
michael@0 127
michael@0 128 * include/freetype/config/ftoption.h (FT_STRICT_ALIASING): Removed.
michael@0 129
michael@0 130 2006-05-02 Werner Lemberg <wl@gnu.org>
michael@0 131
michael@0 132 * include/freetype/internal/ftmemory.h: s/new/newsz/ (for C++).
michael@0 133 (FT_ALLOC): Remove redundant redefinition.
michael@0 134
michael@0 135 * builds/compiler/gcc-dev.mk (CFLAGS) [g++]: Don't use
michael@0 136 `-Wstrict-prototypes'.
michael@0 137
michael@0 138 * src/base/ftstream.c (FT_Stream_EnterFrame): Add cast.
michael@0 139
michael@0 140 * include/freetype/config/ftconfig.h (FT_BASE_DEF) [__cplusplus]:
michael@0 141 Remove `extern'.
michael@0 142
michael@0 143 2006-05-02 David Turner <david@freetype.org>
michael@0 144
michael@0 145 Update the memory management functions and macros to safely deal
michael@0 146 with array size buffer overflows. This corresponds to attempts to
michael@0 147 allocate arrays that are too large. For an example, consider the
michael@0 148 following code:
michael@0 149
michael@0 150 count = read_uint32_from_file(); array = malloc( sizeof ( Item ) *
michael@0 151 count ); for ( nn = 0; nn < count; nn++ )
michael@0 152 array[nn] = read_item_from_file();
michael@0 153
michael@0 154 If `count' is larger than `FT_UINT_MAX/sizeof(Item)', the
michael@0 155 multiplication overflows, and the array allocated os smaller than
michael@0 156 the data read from the file. In this case, the heap will be
michael@0 157 trashed, and this can be used as a denial-of-service attack, or make
michael@0 158 the engine crash later.
michael@0 159
michael@0 160 The FT_ARRAY_NEW and FT_ARRAY_RENEW macros now ensure that the new
michael@0 161 count is no larger than `FT_INT_MAX/item_size', otherwise a new
michael@0 162 error code `FT_Err_Array_Too_Large' will be returned.
michael@0 163
michael@0 164 Note that the memory debugger now works again when FT_DEBUG_MEMORY
michael@0 165 is defined. FT_STRICT_ALIASING has disappeared; the corresponding
michael@0 166 code is now the default.
michael@0 167
michael@0 168
michael@0 169 * include/freetype/config/ftconfig.h (FT_BASE_DEF) [!__cplusplus]:
michael@0 170 Don't use `extern'.
michael@0 171
michael@0 172 * include/freetype/fterrdef.h (FT_Err_Array_Too_Large): New error
michael@0 173 code.
michael@0 174
michael@0 175 * include/freetype/internal/ftmemory.h (FT_DEBUG_INNER)
michael@0 176 [FT_DEBUG_MEMORY]: New macro.
michael@0 177 (ft_mem_realloc, ft_mem_qrealloc): Pass new object size count also.
michael@0 178 (ft_mem_alloc_debug, ft_mem_qalloc_debug, ft_mem_realloc_debug,
michael@0 179 ft_mem_qrealloc_debug, ft_mem_free_debug): Removed.
michael@0 180 (FT_MEM_ALLOC, FT_MEM_REALLOC, FT_MEM_QALLOC, FT_MEM_QREALLOC,
michael@0 181 FT_MEM_FREE): Redefine.
michael@0 182 (FT_MEM_NEW_ARRAY, FT_MEM_RENEW_ARRAY, FT_MEM_QNEW_ARRAY,
michael@0 183 FT_MEM_QRENEW_ARRAY): Redefine.
michael@0 184 (FT_ALLOC_MULT, FT_REALLOC_MULT, FT_MEM_QALLOC_MULT,
michael@0 185 FT_MEM_QREALLOC_MULT): New macros. Update callers where
michael@0 186 appropriate.
michael@0 187 (FT_MEM_SET_ERROR): Slightly redefine.
michael@0 188
michael@0 189
michael@0 190 * src/base/ftdbgmem.c (_ft_debug_file, _ft_debug_lineno)
michael@0 191 [FT_DEBUG_MEMORY]: New global variables, replacing...
michael@0 192 (FT_MemTable_Rec) [FT_DEBUG_MEMORY]: Remove `filename' and
michael@0 193 `line_no'. Update all callers.
michael@0 194 (ft_mem_debug_alloc) [FT_DEBUG_MEMORY]: Avoid possible integer
michael@0 195 overflow.
michael@0 196 (ft_mem_alloc_debug, ft_mem_realloc_debug, ft_mem_qalloc_debug,
michael@0 197 ft_mem_qrealloc_debug, ft_mem_free_debug): Removed.
michael@0 198
michael@0 199 * src/base/ftmac.c (read_lwfn): Catch integer overflow.
michael@0 200 * src/base/ftrfork.c (raccess_guess_darwin_hfsplus): Ditto.
michael@0 201 * src/base/ftutil.c: Remove special code for FT_STRICT_ALIASING.
michael@0 202 (ft_mem_alloc, ft_mem_realloc, ft_mem_qrealloc): Rewrite.
michael@0 203
michael@0 204
michael@0 205 * include/freetype/ftstream.h (FT_FRAME_ENTER, FT_FRAME_EXIT,
michael@0 206 FT_FRAME_EXTRACT, FT_FRAME_RELEASE): Use FT_DEBUG_INNER to report the
michael@0 207 place where the frames were entered, extracted, exited or released
michael@0 208 in the memory debugger.
michael@0 209
michael@0 210 * src/base/ftstream.c (FT_Stream_ReleaseFrame) [FT_DEBUG_MEMORY]:
michael@0 211 Call ft_mem_free.
michael@0 212 (FT_Stream_EnterFrame) [FT_DEBUG_MEMORY]: Use ft_mem_qalloc.
michael@0 213 (FT_Stream_ExitFrame) [FT_DEBUG_MEMORY]: Use ft_mem_free.
michael@0 214
michael@0 215 2006-04-30 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
michael@0 216
michael@0 217 * src/base/ftobjs.c (Mac_Read_POST_Resource): Correct pfb_pos
michael@0 218 initialization, remove extra cast to copy to pfb_lenpos. This fixes
michael@0 219 parsing of PFB fonts with MacOS resource fork (bug introduced
michael@0 220 2003-09-11). Patch provided by Huib-Jan Imbens <ft@imbens.nl>.
michael@0 221
michael@0 222 2006-04-29 Werner Lemberg <wl@gnu.org>
michael@0 223
michael@0 224 Further C library abstraction. Based on a patch from
michael@0 225 msn2@bidyut.com.
michael@0 226
michael@0 227 * include/freetype/config/ftstdlib.h (FT_CHAR_BIT, FT_FILE,
michael@0 228 ft_fopen, ft_fclose, ft_fseek, ft_ftell, ft_fread, ft_smalloc,
michael@0 229 ft_scalloc, ft_srealloc, ft_sfree, ft_labs): New wrapper macros for
michael@0 230 C library functions. Update all users accordingly (and catch some
michael@0 231 other places where the C library function was used instead of the
michael@0 232 wrapper functions).
michael@0 233
michael@0 234 * src/base/ftsystem.c: Don't include stdio.h and stdlib.h.
michael@0 235 * src/gzip/zutil.h [MSDOS && !(__TURBOC__ || __BORLANDC__)]: Don't
michael@0 236 include malloc.h.
michael@0 237
michael@0 238
michael@0 239 * builds/unix/unix-def.in (datarootdir): Define, for autoconf 2.59c
michael@0 240 and forthcoming versions.
michael@0 241
michael@0 242 2006-04-28 Werner Lemberg <wl@gnu.org>
michael@0 243
michael@0 244 * src/lzw/ftlzw.c, src/lzw/zopen.c, src/lzw/zopen.h: Removed,
michael@0 245 obsolete.
michael@0 246
michael@0 247 2006-04-27 yi luo <luoyi.ly@gmail.com>
michael@0 248
michael@0 249 * builds/win32/visualc/freetype.vcproj: Updated.
michael@0 250
michael@0 251 2006-04-26 David Turner <david@freetype.org>
michael@0 252
michael@0 253
michael@0 254 * Version 2.2 released.
michael@0 255 =======================
michael@0 256
michael@0 257
michael@0 258 Tag sources with `VER-2-2-0'.
michael@0 259
michael@0 260 2006-04-26 Werner Lemberg <wl@gnu.org>
michael@0 261
michael@0 262 * src/psaux/psobjs.c (shift_elements): Don't use FT_Long but
michael@0 263 FT_PtrDiff for `delta'. Reported by Céline PILLET
michael@0 264 <Celine.Pillet@Tagginfo.com>.
michael@0 265
michael@0 266 2006-04-21 David Turner <david@freetype.org>
michael@0 267
michael@0 268 * include/freetype/ftincrem.h: Documentation updates.
michael@0 269 (FT_Incremental_Interface): New typedef.
michael@0 270
michael@0 271 * include/freetype/ftmodapi.h, include/freetype/ftglyph.h:
michael@0 272 Documentation updates.
michael@0 273
michael@0 274 * include/freetype/freetype.h: Documentation update.
michael@0 275 (FT_HAS_FAST_GLYPHS): Always set to 0.
michael@0 276
michael@0 277 * include/freetype/ftstroke.h, src/base/ftstroke.c (FT_Stroker_New):
michael@0 278 Take an FT_Library argument instead of FT_Memory.
michael@0 279
michael@0 280 * src/sfnt/ttcmap.c: Remove compiler warnings (gcc-4.0.2).
michael@0 281
michael@0 282 2006-04-13 David Turner <david@freetype.org>
michael@0 283
michael@0 284 * src/autofit/afloader.c (af_loader_init, af_loader_load_g): Remove
michael@0 285 superfluous code in the auto-fitter's loader.
michael@0 286
michael@0 287 2006-04-05 Detlef Würkner <TetiSoft@apg.lahn.de>
michael@0 288
michael@0 289 * builds/amiga/makefile, builds/amiga/makefile.os4,
michael@0 290 builds/amiga/smakefile: Added FT2_BUILD_LIBRARY define.
michael@0 291
michael@0 292 2006-04-03 luoyi <luoyi.ly@gmail.com>
michael@0 293
michael@0 294 * builds/compiler/intelc.mk (TE): New variable.
michael@0 295 (ANSIFLAGS): Updated.
michael@0 296
michael@0 297 2006-04-03 Werner Lemberg <wl@gnu.org>
michael@0 298
michael@0 299 * builds/exports.mk (clean_symbols_list, clean_apinames): Removed.
michael@0 300 (CLEAN): Add $(EXPORTS_LIST) and $(APINAMES_EXE).
michael@0 301 (.PHONY): Updated.
michael@0 302
michael@0 303 * configure.ac: Minor fixes to improve --help output.
michael@0 304
michael@0 305
michael@0 306 * docs/PROBLEMS: New file.
michael@0 307
michael@0 308 2006-04-01 David Turner <david@freetype.org>
michael@0 309
michael@0 310 * docs/CHANGES: Updated.
michael@0 311
michael@0 312 * include/freetype/ftcache.h, include/freetype/config/ftheader.h:
michael@0 313 Update documentation comments.
michael@0 314
michael@0 315 2006-04-01 Werner Lemberg <wl@gnu.org>
michael@0 316
michael@0 317 * builds/unix/install.mk (uninstall): Don't handle `cache'
michael@0 318 directory which no longer exists.
michael@0 319
michael@0 320 2006-03-29 Detlef Würkner <TetiSoft@apg.lahn.de>
michael@0 321
michael@0 322 * src/psaux/psconv.c: Changed some variables which are expected to
michael@0 323 hold negative values from `char' to `FT_Char' to allow building with
michael@0 324 a compiler where `char' is unsigned by default.
michael@0 325
michael@0 326 2006-03-27 David Turner <david@freetype.org>
michael@0 327
michael@0 328 * src/sfnt/ttkern.c (tt_face_get_kerning): Fix a serious bug that
michael@0 329 causes some programs to go into an infinite loop when dealing with
michael@0 330 fonts that don't have a properly sorted kerning sub-table.
michael@0 331
michael@0 332 2006-03-26 Werner Lemberg <wl@gnu.org>
michael@0 333
michael@0 334 * src/bdf/bdflib.c (ERRMSG4): New macro.
michael@0 335 (_bdf_parse_glyphs): Handle invalid BBX values.
michael@0 336
michael@0 337 * include/freetype/fterrdef.h (FT_Err_Bbx_Too_Big): New error
michael@0 338 macro.
michael@0 339
michael@0 340 2006-03-23 Werner Lemberg <wl@gnu.org>
michael@0 341
michael@0 342 * docs/CHANGES: Updated.
michael@0 343
michael@0 344
michael@0 345 * src/tools/docmaker/tohtml.py (html_header_2): Add horizontal
michael@0 346 padding between table elements.
michael@0 347 (html_header_1): The `DOCTYPE' comment must be in uppercase.
michael@0 348 (make_html_para): Convert `...' quotations into real left and
michael@0 349 right single quotes.
michael@0 350 Use `para_header' and `para_footer'.
michael@0 351
michael@0 352 * src/tools/docmaker/sources.py (re_bold, re_italic): Accept "'"
michael@0 353 also.
michael@0 354
michael@0 355 2006-03-23 David Turner <david@freetype.org>
michael@0 356
michael@0 357 Add FT_Get_SubGlyph_Info API to retrieve subglyph data. Note that
michael@0 358 we do not expose the FT_SubGlyphRec structure.
michael@0 359
michael@0 360 * include/freetype/internal/ftgloadr.h (FT_SUBGLYPH_FLAGS_*): Moved
michael@0 361 to...
michael@0 362 * include/freetype/freetype.h (FT_SUBGLYPH_FLAGS_*): Here.
michael@0 363 (FT_Get_SybGlyph_Info): New declaration.
michael@0 364
michael@0 365 * src/base/ftobjs.c (FT_Get_SubGlyph_Info): New function.
michael@0 366
michael@0 367
michael@0 368 * src/autofit/afloader.c (af_loader_load_g): Compute lsb_delta and
michael@0 369 rsb_delta correctly in edge cases.
michael@0 370
michael@0 371 2006-03-22 Werner Lemberg <wl@gnu.org>
michael@0 372
michael@0 373 * src/cache/ftccache.c, (ftc_node_mru_up, FTC_Cache_Lookup)
michael@0 374 [!FTC_INLINE]: Compile conditionally.
michael@0 375 * src/cache/ftccache.h: Updated.
michael@0 376
michael@0 377 * src/cache/ftcglyph.c (FTC_GNode_Init, FTC_GNode_UnselectFamily,
michael@0 378 FTC_GNode_Done, FTC_GNode_Compare, FTC_Family_Init, FTC_GCache_New):
michael@0 379 s/FT_EXPORT/FT_LOCAL/.
michael@0 380 (FTC_GCache_Init, FTC_GCache_Done): Commented out.
michael@0 381 (FTC_GCache_Lookup) [!FTC_INLINE]: Compile conditionally.
michael@0 382 s/FT_EXPORT/FT_LOCAL/.
michael@0 383 * src/cache/ftcglyph.h: Updated.
michael@0 384
michael@0 385 * src/cache/ftcimage.c (FTC_INode_Free, FTC_INode_New):
michael@0 386 s/FT_EXPORT/FT_LOCAL/.
michael@0 387 (FTC_INode_Weight): Commented out.
michael@0 388 * src/cache/ftcimage.h: Updated.
michael@0 389
michael@0 390 * src/cache/ftmanag.c (FTC_Manager_Compress,
michael@0 391 FTC_Manager_RegisterCache, FTC_Manager_FlushN):
michael@0 392 s/FT_EXPORT/FT_LOCAL/.
michael@0 393 * src/cache/ftmanag.h: Updated.
michael@0 394
michael@0 395 * src/cache/ftcsbits.c (FTC_SNode_Free, FTC_SNode_New,
michael@0 396 FTC_SNode_Compare): s/FT_EXPORT/FT_LOCAL/.
michael@0 397 (FTC_SNode_Weight): Commented out.
michael@0 398 * src/cache/ftcsbits.h: Updated.
michael@0 399
michael@0 400 2006-03-22 Werner Lemberg <wl@gnu.org>
michael@0 401
michael@0 402 * src/cache/ftccache.c, src/cache/ftccache.h (FTC_Node_Destroy):
michael@0 403 Remove, unused.
michael@0 404
michael@0 405 * src/cache/ftccmap.h: Remove, unused.
michael@0 406
michael@0 407 * src/cache/rules.mk (CACHE_DRV_H): Remove ftccmap.h.
michael@0 408
michael@0 409 2006-03-21 Zhe Su <james.su@gmail.com>
michael@0 410
michael@0 411 * src/base/ftoutln.c (FT_Outline_Get_Orientation): Improve
michael@0 412 algorithm.
michael@0 413
michael@0 414 2006-03-21 Werner Lemberg <wl@gnu.org>
michael@0 415
michael@0 416 * src/cff/cfftypes.h (CFF_CharsetRec): Add `max_cid' member.
michael@0 417
michael@0 418 * src/cff/cffload.c (cff_charset_load): Set `charset->max_cid'.
michael@0 419
michael@0 420 * src/cff/cffgload.c (cff_slot_load): Change type of third parameter
michael@0 421 to `FT_UInt'.
michael@0 422 Check range of `glyph_index'.
michael@0 423 * src/cff/cffgload.h: Updated.
michael@0 424
michael@0 425
michael@0 426 * src/sfnt/ttcmap.c (tt_face_build_cmaps): Handle invalid offset
michael@0 427 correctly.
michael@0 428
michael@0 429
michael@0 430 * builds/freetype.mk (refdoc), docs/CHANGES, Jamfile (RefDoc),
michael@0 431 README: s/2.1.10/2.2/.
michael@0 432
michael@0 433 2006-03-21 David Turner <david@freetype.org>
michael@0 434
michael@0 435 * src/autofit/aflatin.c (af_latin_metrics_scale): Fix small bug
michael@0 436 that crashes the auto-hinter (introduced by previous patch).
michael@0 437
michael@0 438 2006-03-20 Werner Lemberg <wl@gnu.org>
michael@0 439
michael@0 440 * builds/freetype.mk (CACHE_DIR, CACHE_H): Remove.
michael@0 441 (FREETYPE_H): Updated.
michael@0 442
michael@0 443 * src/cache/rules.mk (CACHE_H_DIR): Remove.
michael@0 444 (CACHE_DRV_H): Updated.
michael@0 445
michael@0 446 2006-03-20 David Turner <david@freetype.org>
michael@0 447
michael@0 448 * include/freetype/cache/ftccache.h,
michael@0 449 include/freetype/cache/ftccmap.h, include/freetype/cache/ftcglyph.h
michael@0 450 include/freetype/cache/ftcimage.h include/freetype/cache/ftcmanag.h
michael@0 451 include/freetype/cache/ftcmru.h include/freetype/cache/ftcsbits.h:
michael@0 452 Move to...
michael@0 453
michael@0 454 * src/cache/ftccache.h, src/cache/ftcglyph.h, src/cache/ftcimage.h,
michael@0 455 src/cache/ftcsbits.h, src/cache/ftcmanag.h, src/cache/ftccmap.h,
michael@0 456 src/cache/ftcmru.h: This new location.
michael@0 457 Update declarations according to the changes in the corresponding
michael@0 458 source files.
michael@0 459
michael@0 460 Note that these files are not used by FreeType clients; all public
michael@0 461 APIs of the cache module have been already moved to
michael@0 462 `include/freetype/ftcache.h', and all FT_CACHE_INTERNAL_XXXX_H
michael@0 463 macros resolve to it.
michael@0 464
michael@0 465 Reason for the move is to allow modifications of the internals
michael@0 466 without interferences with rogue clients. Note that there are no
michael@0 467 known clients that access the cache internals at the moment.
michael@0 468
michael@0 469 * builds/unix/install.mk (install): Don't install headers from
michael@0 470 $(CACHE_H).
michael@0 471 Remove `freetype/cache' from the target directory.
michael@0 472
michael@0 473 * include/freetype/config/ftheader.h (FT_CACHE_MANAGER_H,
michael@0 474 FT_CACHE_INTERNAL_MRU_H, FT_CACHE_INTERNAL_MANAGER_H,
michael@0 475 FT_CACHE_INTERNAL_CACHE_H, FT_CACHE_INTERNAL_GLYPH_H,
michael@0 476 FT_CACHE_INTERNAL_IMAGE_H, FT_CACHE_INTERNAL_SBITS_H): Point to
michael@0 477 FT_CACHE_H.
michael@0 478
michael@0 479 * src/cache/ftcbasic.c, src/cache/ftccache.h, src/cache/ftccback.h,
michael@0 480 src/cache/ftccmap.c, src/cache/ftcglyph.c, src/cache/ftcglyph.h,
michael@0 481 src/cache/ftcimage.c, src/cache/ftcimage.h, src/cache/ftcmanag.c,
michael@0 482 src/cache/ftcmanag.h, src/cache/ftcmru.h, src/cache/ftcsbits.c,
michael@0 483 src/cache/ftcsbits.h: Don't use the FT_CACHE_INTERNAL_XXX_H macros
michael@0 484 but include the headers directly (which are now in `src/cache').
michael@0 485
michael@0 486 * src/cache/ftccache.c: Don't use the FT_CACHE_INTERNAL_XXX_H
michael@0 487 macros but include the headers directly.
michael@0 488 (FTC_Cache_Init, FTC_Cache_Done, FTC_Cache_NewNode,
michael@0 489 FTC_Cache_Lookup, FTC_Cache_RemoveFaceID): Declare as FT_LOCAL_DEF.
michael@0 490
michael@0 491 * src/cache/ftccache.c: Don't use the FT_CACHE_INTERNAL_XXX_H
michael@0 492 macros but include the headers directly.
michael@0 493 (FTC_MruNode_Prepend, FTC_MruNode_Up, FTC_MruNode_Remove,
michael@0 494 FTC_MruList_Init, FTC_MruList_Reset, FTC_MruList_Done,
michael@0 495 FTC_MruList_New, FTC_MruList_Remove, FTC_MruList_RemoveSelection):
michael@0 496 Declare as FT_LOCAL_DEF.
michael@0 497 (FTC_MruListFind, FTC_MruList_Lookup) [!FTC_INLINE]: Compile
michael@0 498 conditionally.
michael@0 499 Declare as FT_LOCAL_DEF.
michael@0 500
michael@0 501
michael@0 502 * builds/win32/visualc/freetype.dsp: Update project file, add
michael@0 503 missing base source files (ftstroke.c, ftxf86.c, etc.).
michael@0 504
michael@0 505
michael@0 506 * src/autofit/afcjk.c, src/autofit/aflatin.c, src/base/ftobjs.c,
michael@0 507 src/cff/cffobjs.c, src/cid/cidobjs.c, src/pfr/pfrobjs.c,
michael@0 508 src/sfnt/sfobjs.c, src/sfnt/ttmtx.c, src/type1/t1afm.c,
michael@0 509 src/type1/t1objs.c: Remove compiler warnings when building with
michael@0 510 Visual C++ 6 and /W4.
michael@0 511
michael@0 512 * src/autofit/aflatin.c (af_latin_hints_init): Disable horizontal
michael@0 513 hinting for italic/oblique fonts.
michael@0 514
michael@0 515
michael@0 516
michael@0 517 * src/truetype/ttpload.c, src/truetype/ttpload.h
michael@0 518 (tt_face_get_device_metrics): Change second argument to `FT_UInt'.
michael@0 519
michael@0 520 2006-03-06 David Turner <david@freetype.org>
michael@0 521
michael@0 522 * src/cache/ftcmanag.c (FTC_Manager_Lookup_Size): Prevent crashes in
michael@0 523 Mozilla/FireFox print preview in Ubuntu Hoary.
michael@0 524
michael@0 525 2006-02-28 Chia-I Wu <b90201047@ntu.edu.tw>
michael@0 526
michael@0 527 * src/base/ftutil.c (ft_mem_qalloc) [FT_STRICT_ALIASING]: Do not
michael@0 528 return error when size == 0.
michael@0 529
michael@0 530 2006-02-28 Chia-I Wu <b90201047@ntu.edu.tw>
michael@0 531
michael@0 532 * src/base/ftobjs.c (FT_Done_Library): Remove modules in reverse
michael@0 533 order so that type42 module is removed before truetype module. This
michael@0 534 avoids double free in some occasions.
michael@0 535
michael@0 536 2006-02-28 David Turner <david@freetype.org>
michael@0 537
michael@0 538 * Release candidate VER-2-2-0-RC4.
michael@0 539 ----------------------------------
michael@0 540
michael@0 541 * docs/CHANGES: Documentation updates.
michael@0 542
michael@0 543 2006-02-28 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
michael@0 544
michael@0 545 * modules.cfg (BASE_EXTENSIONS): Compile in ftgxval.c by default to
michael@0 546 build ftvalid in ft2demos. It works as dummy ABI if gxvalid is not
michael@0 547 built.
michael@0 548
michael@0 549 2006-02-27 Werner Lemberg <wl@gnu.org>
michael@0 550
michael@0 551 * include/freetype/cache/ftccache.h
michael@0 552 [FT_CONFIG_OPTION_OLD_INTERNALS]: Remove declaration of
michael@0 553 ftc_node_done.
michael@0 554
michael@0 555 * src/cache/ftccache.c (ftc_node_destroy)
michael@0 556 [!FT_CONFIG_OPTION_OLD_INTERNALS]: Mark as FT_LOCAL_DEF. This
michael@0 557 should now fix all possible compilation options.
michael@0 558
michael@0 559 2006-02-27 David Turner <david@freetype.org>
michael@0 560
michael@0 561 * src/base/ftutil.c (ft_mem_alloc, ft_mem_qalloc, ft_mem_realloc,
michael@0 562 ft_mem_qrealloc): Return an error if a negative size is passed in
michael@0 563 parameters.
michael@0 564
michael@0 565 * src/cache/ftccache.c (ftc_node_destroy): Mark as FT_BASE_DEF since
michael@0 566 it needs to be exported for rogue clients.
michael@0 567
michael@0 568 * src/pshinter/pshglob.c (psh_blues_set_zones_0): Prevent problems
michael@0 569 with malformed fonts which have an odd number of blue values (these
michael@0 570 are broken according to the specs).
michael@0 571
michael@0 572 * src/cff/cffload.c (cff_subfont_load), src/type1/t1load.c
michael@0 573 (T1_Open_Face): Modify the loaders to force even-ness of
michael@0 574 `num_blue_values'.
michael@0 575
michael@0 576 (cff_index_access_element): Ignore invalid entries in index files.
michael@0 577
michael@0 578 2006-02-27 Chia-I Wu <b90201047@ntu.edu.tw>
michael@0 579
michael@0 580 * src/base/ftobjs.c (FT_Set_Char_Size): Check the case where width
michael@0 581 or height is 0.
michael@0 582
michael@0 583 2006-02-27 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
michael@0 584
michael@0 585 * builds/mac/FreeType.m68k_cfm.make.txt,
michael@0 586 builds/mac/FreeType.m68k_far.make.txt,
michael@0 587 builds/mac/FreeType.ppc_carbon.make.txt,
michael@0 588 builds/mac/FreeType.ppc_classic.make.txt: Update to new header
michael@0 589 inclusion introduced on 2006-02-16.
michael@0 590
michael@0 591 2006-02-27 Chia-I Wu <b90201047@ntu.edu.tw>
michael@0 592
michael@0 593 * src/base/ftobjs.c (GRID_FIT_METRICS): New macro.
michael@0 594 (ft_glyphslot_grid_fit_metrics, FT_Load_Glyph) [GRID_FIT_METRICS]:
michael@0 595 Re-enable glyph metrics grid-fitting. It is now done in the base
michael@0 596 layer.
michael@0 597 (FT_Set_Char_Size, FT_Set_Pixel_Sizes): Make sure the width and
michael@0 598 height are not too small or too large, just like we were doing in
michael@0 599 2.1.10.
michael@0 600
michael@0 601 * src/autofit/afloader.c (af_loader_load_g): The vertical metrics
michael@0 602 are not scaled.
michael@0 603
michael@0 604 2006-02-26 Werner Lemberg <wl@gnu.org>
michael@0 605
michael@0 606 * docs/release: Minor additions and clarifications.
michael@0 607
michael@0 608 * docs/CHANGES: Updated to reflect many fixes for backwards
michael@0 609 compatibility. Still incomplete.
michael@0 610
michael@0 611 2006-02-26 David Turner <david@freetype.org>
michael@0 612
michael@0 613 * src/base/ftobjs.c (ft_recompute_scaled_metrics): Re-enable
michael@0 614 conservative rounding of metrics to avoid breaking clients like
michael@0 615 Pango (see http://bugzilla.gnome.org/show_bug.cgi?id=327852).
michael@0 616
michael@0 617 2006-02-25 Werner Lemberg <wl@gnu.org>
michael@0 618
michael@0 619 * devel/ftoption.h: Synchronize with
michael@0 620 include/freetype/config/ftoption.h.
michael@0 621
michael@0 622 * src/cache/ftccache.c (ftc_node_destroy): Use FT_LOCAL_DEF (again).
michael@0 623
michael@0 624 2006-02-25 David Turner <david@freetype.org>
michael@0 625
michael@0 626 Fix compiler warnings as well as C++ compilation problems.
michael@0 627 Add missing prototypes.
michael@0 628
michael@0 629 * src/autofit/afcjk.c, src/base/ftobjs.c, src/base/ftutil.c,
michael@0 630 src/bdf/bdfdrivr.c, src/cff/cffcmap.c, src/cff/cffobjs.c,
michael@0 631 src/psaux/afmparse.c,, src/psaux/t1cmap.c, src/smooth/ftgrays.c
michael@0 632 src/tools/apinames.c, src/truetype/ttdriver.c: Add various casts,
michael@0 633 initialize variables, and decorate functions with FT_CALLBACK_DEF,
michael@0 634 etc., to fix compiler warnings (and C++ compiling errors).
michael@0 635
michael@0 636 * src/cache/ftcbasic.c: Fix `-Wmissing-prototypes' warnings with
michael@0 637 gcc.
michael@0 638
michael@0 639 * builds/unix/ftsystem.c: Don't include FT_INTERNAL_OBJECTS_H but
michael@0 640 FT_INTERNAL_STREAM_H.
michael@0 641
michael@0 642 * src/base/ftsystem.c: Include FT_INTERNAL_STREAM_H.
michael@0 643
michael@0 644 * include/freetype/config/ftheader.h (FT_PFR_H): New macro.
michael@0 645
michael@0 646 * include/freetype/config/ftoption.h (FT_STRICT_ALIASING): Don't
michael@0 647 define for C++.
michael@0 648
michael@0 649 * include/freetype/internal/services/svotval.h: Don't include
michael@0 650 FT_OPENTYPE_VALIDATE_H but FT_INTERNAL_VALIDATE_H.
michael@0 651
michael@0 652 * include/freetype/internal/services/svpfr.h: Include FT_PFR_H.
michael@0 653
michael@0 654 * src/gzip/ftgzip.c: Include FT_GZIP_H.
michael@0 655
michael@0 656 * src/lzw/ftlzw.c, src/lzw/ftlzw2.c: Include FT_LZW_H.
michael@0 657
michael@0 658 * src/sfnt/ttbdf.c (tt_face_load_bdf_props): Rearrange code.
michael@0 659
michael@0 660 2006-02-24 Chia-I Wu <b90201047@ntu.edu.tw>
michael@0 661
michael@0 662 * src/base/ftoutln.c (FT_OUTLINE_GET_CONTOUR, ft_contour_has,
michael@0 663 ft_contour_enclosed, ft_outline_get_orientation): Commented out. We
michael@0 664 have to wait until `FT_GlyphSlot_Own_Bitmap' is stabilized.
michael@0 665 (FT_Outline_Embolden): Use `FT_Outline_Get_Orientation'.
michael@0 666
michael@0 667 2006-02-24 Chia-I Wu <b90201047@ntu.edu.tw>
michael@0 668
michael@0 669 * include/freetype/ftbitmap.h (FT_Bitmap_Embolden): Update
michael@0 670 documentation.
michael@0 671
michael@0 672 * include/freetype/ftsynth.h (FT_GlyphSlot_Own_Bitmap),
michael@0 673 src/base/ftsynth.c (FT_GlyphSlot_Own_Bitmap): New function to make
michael@0 674 sure a glyph slot owns its bitmap. It is also marked experimental
michael@0 675 and due to change.
michael@0 676 (FT_GlyphSlot_Embolden): Undo the last change. It turns out that
michael@0 677 rendering the outline confuses some applications.
michael@0 678
michael@0 679 2006-02-24 David Turner <david@freetype.org>
michael@0 680
michael@0 681 * Release candidate VER-2-2-0-RC3.
michael@0 682 ----------------------------------
michael@0 683
michael@0 684 * src/cache/ftcbasic.c: Correct compatibility hack bug.
michael@0 685
michael@0 686 2006-02-24 Chia-I Wu <b90201047@ntu.edu.tw>
michael@0 687
michael@0 688 * include/freetype/freetype.h (FT_Size_RequestRec): Change the type
michael@0 689 of `width' and `height' to `FT_Long'.
michael@0 690 (enum FT_Size_Request_Type), src/base/ftobjs.c (FT_Request_Metrics):
michael@0 691 New request type `FT_SIZE_REQUEST_TYPE_SCALES' to specify the scales
michael@0 692 directly.
michael@0 693
michael@0 694 2006-02-23 David Turner <david@freetype.org>
michael@0 695
michael@0 696 Two BDF patches from Debian libfreetype6 for 2.1.10.
michael@0 697
michael@0 698 * src/bdf/bdflib.c (_bdf_parse_glyphs): Fix a bug with zero-width
michael@0 699 glyphs.
michael@0 700 Fix a problem with large encodings.
michael@0 701
michael@0 702
michael@0 703 Fix binary compatibility issues for gnustep-back (GNUstep backend
michael@0 704 module) which still crashes under Sarge.
michael@0 705
michael@0 706 * src/cache/ftccmap.c (FTC_OldCMapType, FTC_OldCMapIdRec,
michael@0 707 FTC_OldCMapDesc) [FT_CONFIG_OPTION_OLD_INTERNALS]: New data
michael@0 708 structures and enumerations.
michael@0 709 (FTC_CMapCache_Lookup) [FT_CONFIG_OPTION_OLD_INTERNALS]: New
michael@0 710 compatibility code.
michael@0 711
michael@0 712 * src/cache/ftcbasic.c: Fix a silly bug that prevented our `hack' to
michael@0 713 support rogue clients compiled against 2.1.7 to work correctly.
michael@0 714 This probably explains the GNUstep crashes with the second release
michael@0 715 candidate.
michael@0 716
michael@0 717 2006-02-23 Chia-I Wu <b90201047@ntu.edu.tw>
michael@0 718
michael@0 719 * include/freetype/ftoutln.h (enum FT_Orientation): New value
michael@0 720 `FT_ORIENTATION_NONE'.
michael@0 721
michael@0 722 * src/base/ftoutln.c (FT_OUTLINE_GET_CONTOUR, ft_contour_has,
michael@0 723 ft_contour_enclosed, ft_outline_get_orientation): Another version of
michael@0 724 `FT_Outline_Get_Orientation'. This version differs from the public
michael@0 725 one in that each part (contour not enclosed in another contour) of the
michael@0 726 outline is checked for orientation.
michael@0 727 (FT_Outline_Embolden): Use `ft_outline_get_orientation'.
michael@0 728
michael@0 729 * src/base/ftsynth.c (FT_GlyphSlot_Embolden): Render the outline and
michael@0 730 use bitmap's embolden routine when the outline one failed.
michael@0 731
michael@0 732 2006-02-22 Chia-I Wu <b90201047@ntu.edu.tw>
michael@0 733
michael@0 734 * modules.cfg: Compile in ftotval.c and ftxf86.c by default for ABI
michael@0 735 compatibility.
michael@0 736
michael@0 737 * src/sfnt/sfobjs.c (sfnt_done_face): Fix a memory leak.
michael@0 738
michael@0 739 * src/sfnt/ttsbit0.c (tt_sbit_decoder_load_bit_aligned,
michael@0 740 tt_sbit_decoder_load_byte_aligned) [FT_OPTIMIZE_MEMORY]: Fix sbit
michael@0 741 loading. (Only tested with bit aligned sbit with x_pos == 0.)
michael@0 742
michael@0 743 * src/truetype/ttpload.c (tt_face_load_hdmx,
michael@0 744 tt_face_get_device_metrics) [FT_OPTIMIZE_MEMORY]: `hdmx' is not
michael@0 745 actually used.
michael@0 746
michael@0 747 2006-02-21 David Turner <david@freetype.org>
michael@0 748
michael@0 749 Add a new API named FT_Get_TrueType_Engine_Type to determine whether
michael@0 750 we have a patented, unpatented, or unimplemented TrueType bytecode
michael@0 751 interpreter.
michael@0 752
michael@0 753 The FT_Get_Module_Flags API was removed consequently.
michael@0 754
michael@0 755 * include/freetype/ftmodapi.h (FT_Module_Get_Flags): Removed.
michael@0 756 Replaced with...
michael@0 757 (FT_Get_TrueType_Engine_Type): This.
michael@0 758 (FT_TrueTypeEngineType): New enumeration.
michael@0 759
michael@0 760 * include/freetype/internal/ftserv.h (FT_SERVICE_TRUETYPE_ENGINE_H):
michael@0 761 New macro.
michael@0 762
michael@0 763 * src/base/ftobjs.c: Include FT_SERVICE_TRUETYPE_ENGINE_H.
michael@0 764 (FT_Module_Get_Flags): Removed. Replaced with...
michael@0 765 (FT_Get_TrueType_Engine_Type): This.
michael@0 766
michael@0 767 * src/truetype/ttdriver.c: Include FT_SERVICE_TRUETYPE_ENGINE_H.
michael@0 768 (tt_service_truetype_engine): New service structure.
michael@0 769 (tt_services): Register it.
michael@0 770
michael@0 771 * include/freetype/internal/services/svtteng.h: New file.
michael@0 772
michael@0 773
michael@0 774 * src/sfnt/sfobjs.c (sfnt_load_face): Fix silly bug that prevented
michael@0 775 embedded bitmaps from being correctly listed and used.
michael@0 776
michael@0 777
michael@0 778 * src/sfnt/ttmtx.c (tt_face_load_hmtx): Disable memory optimization
michael@0 779 if FT_CONFIG_OPTION_OLD_INTERNALS is used. The is necessary because
michael@0 780 libXfont is directly accessing the HMTX data, unfortunately.
michael@0 781 Fix some compiler warnings.
michael@0 782 (tt_face_get_metrics): Ditto.
michael@0 783
michael@0 784
michael@0 785 * src/pfr/pfrsbit.c (pfr_slot_load_bitmap): Fix handling of
michael@0 786 character advances.
michael@0 787
michael@0 788 2006-02-20 David Turner <david@freetype.org>
michael@0 789
michael@0 790 Support binary compatibility with the X.Org server's Xfont library.
michael@0 791 Note that this change unfortunately prevents memory optimizations
michael@0 792 for the embedded bitmap loader.
michael@0 793
michael@0 794 * include/freetype/internal/sfnt.h (SFNT_Interface): Move
michael@0 795 `set_sbit_strike' and `load_sbit_metrics' fields to the location of
michael@0 796 version 2.1.8.
michael@0 797
michael@0 798 * src/sfnt/sfdriver.c (tt_face_set_sbit_strike_stub): Call
michael@0 799 FT_Size_Request.
michael@0 800 (sfnt_interface): Updated.
michael@0 801
michael@0 802 * src/sfnt/ttsbit.c [FT_CONFIG_OPTION_OLD_INTERNALS]: Don't load
michael@0 803 ttsbit0.c.
michael@0 804 (tt_load_sbit_metrics): Make `sbit_small_metrics_fields' static.
michael@0 805
michael@0 806 * src/sfnt/ttsbit.h: Updated.
michael@0 807
michael@0 808 2006-02-17 David Turner <david@freetype.org>
michael@0 809
michael@0 810 * builds/unix/unix-cc.in (LINK_LIBRARY): Don't filter out exported
michael@0 811 functions anymore. This ensures that all FT_BASE internal functions
michael@0 812 are available for dynamic linking.
michael@0 813
michael@0 814 * include/freetype/ftcache.h (FTC_IMAGE_TYPE_COMPARE,
michael@0 815 FTC_IMAGE_TYPE_HASH), src/cache/ftcbasic.c (FTC_OldFontRec,
michael@0 816 FTC_OldImageDescRec, FTC_ImageCache_Lookup, FTC_Image_Cache_New,
michael@0 817 FTC_OldImage_Desc, FTC_OLD_IMAGE_FORMAT, ftc_old_image_xxx,
michael@0 818 ftc_image_type_from_old_desc, FTC_Image_Cache_Lookup,
michael@0 819 FTC_SBitCache_Lookup, FTC_SBit_Cache_New, FTC_SBit_Cache_Lookup)
michael@0 820 [FT_CONFIG_OPTION_OLD_INTERNALS]: Try to revive old functions of the
michael@0 821 cache sub-system. We try to recognize old legacy signatures with a
michael@0 822 gross hack (hope it works).
michael@0 823
michael@0 824 2006-02-17 Werner Lemberg <wl@gnu.org>
michael@0 825
michael@0 826 * devel/ftoption.h: Synchronize with
michael@0 827 include/freetype/config/ftoption.h.
michael@0 828
michael@0 829 2006-02-16 David Turner <david@freetype.org>
michael@0 830
michael@0 831 Massive changes to the internals to respect the internal object
michael@0 832 layouts and exported functions of FreeType 2.1.7. Note that the
michael@0 833 cache sub-system cannot be fully retrofitted, unfortunately.
michael@0 834
michael@0 835 * include/freetype/config/ftoption.h
michael@0 836 (FT_CONFIG_OPTION_OLD_INTERNALS): New macro.
michael@0 837
michael@0 838 * include/freetype/ftcache.h, include/freetype/cache/ftccache.h,
michael@0 839 include/freetype/cache/ftccmap.h,
michael@0 840 include/freetype/internal/ftcalc.h,
michael@0 841 include/freetype/internal/ftdriver.h,
michael@0 842 include/freetype/internal/ftmemory.h,
michael@0 843 include/freetype/internal/ftobjs.h,
michael@0 844 include/freetype/internal/psaux.h, include/freetype/internal/sfnt.h,
michael@0 845 include/freetype/internal/t1types.h,
michael@0 846 include/freetype/internal/tttypes.h, src/base/ftcalc.c,
michael@0 847 src/base/ftdbgmem.c, src/base/ftobjs.c, src/base/ftutil.c,
michael@0 848 src/bdf/bdfdrivr.c, src/cache/ftccache.c, src/cache/ftccback.h,
michael@0 849 src/cache/ftcmanag.c, src/cff/cffdrivr.c, src/cid/cidriver.c,
michael@0 850 src/pcf/pcfdrivr.c, src/pfr/pfrdrivr.c, src/psaux/psauxmod.c,
michael@0 851 src/sfnt/sfdriver.c, src/truetype/ttdriver.c, src/type1/t1driver.c,
michael@0 852 src/type1/t1objs.c, src/type42/t42drivr.c, src/winfonts/winfnt.c:
michael@0 853 Use FT_CONFIG_OPTION_OLD_INTERNALS to revive old functions and data
michael@0 854 structures.
michael@0 855
michael@0 856 Move newly added structure elements to the end of the affected
michael@0 857 structure and add stub fields (if FT_CONFIG_OPTION_OLD_INTERNALS is
michael@0 858 defined) to assure binary compatibility with older FreeType
michael@0 859 versions.
michael@0 860 Use FT_CONFIG_OPTION_OLD_INTERNALS to add function stubs for old
michael@0 861 functions:
michael@0 862
michael@0 863 ft_stub_set_char_sizes
michael@0 864 ft_stub_set_pixel_sizes
michael@0 865
michael@0 866 Rename the following internal functions to provide the old function
michael@0 867 names as stubs:
michael@0 868
michael@0 869 FT_Alloc -> ft_mem_alloc
michael@0 870 FT_QAlloc -> ft_mem_qalloc
michael@0 871 FT_Realloc -> ft_mem_realloc
michael@0 872 FT_QRealloc -> ft_mem_qrealloc
michael@0 873 FT_Free -> ft_mem_free
michael@0 874 FT_Alloc_Debug -> ft_mem_alloc_debug
michael@0 875 FT_QAlloc_Debug -> ft_mem_qalloc_debug
michael@0 876 FT_Realloc_Debug -> ft_mem_realloc_debug
michael@0 877 FT_QRealloc_Debug -> ft_mem_qrealloc_debug
michael@0 878 FT_Free_Debug -> ft_mem_free_debug
michael@0 879
michael@0 880 2006-02-15 Chia-I Wu <b90201047@ntu.edu.tw>
michael@0 881
michael@0 882 * include/freetype/internal/ftobjs.h (FT_Face_InternalRec): Remove
michael@0 883 unused `max_points' and `max_contours'.
michael@0 884
michael@0 885 * src/cid/cidobjs.c (cid_face_init), src/type1/t1objs.c
michael@0 886 (T1_Face_Init), src/type42/t42objs.c (T42_Face_Init): Update.
michael@0 887
michael@0 888 * include/freetype/internal/tttypes.h (TT_FaceRec): Remove unused
michael@0 889 `max_components'.
michael@0 890
michael@0 891 * src/truetype/ttinterp.h (TT_ExecContextRec): Remove unused
michael@0 892 `loadSize' and `loadStack'.
michael@0 893
michael@0 894 * src/truetype/ttinterp.c (TT_Done_Context, TT_Load_Context),
michael@0 895 src/sfnt/ttload.c (tt_face_load_maxp): Update.
michael@0 896
michael@0 897 * src/cff/cffobjs.h (cff_size_select), src/sfnt/sfdriver.c
michael@0 898 (sfnt_interface), src/truetype/ttdriver.c (tt_size_request): Fix
michael@0 899 compiler errors/warnings when TT_CONFIG_OPTION_EMBEDDED_BITMAPS is not
michael@0 900 defined.
michael@0 901
michael@0 902 * src/sfnt/ttmtx.c (tt_face_load_hmtx, tt_face_get_metrics): Fix
michael@0 903 possible segment faults for the non-FT_OPTIMIZE_MEMORY'ed versions.
michael@0 904 (finally!)
michael@0 905
michael@0 906
michael@0 907 For most OpenType tables, `tt_face_load_xxxx' simply loads the table
michael@0 908 and `face->root' is set later in `sfnt_load_face'. Here, we try to
michael@0 909 make this work for _all_ tables. Also improve tracing messages.
michael@0 910
michael@0 911 * src/sfnt/ttsbit.c, src/sfnt/ttsbit0.c, src/sfnt/ttload.c,
michael@0 912 src/sfnt/ttmtx.c: all `tt_face_load_xxxx' should load the table and
michael@0 913 then exit. Error handling or setting face->root is done later in
michael@0 914 `sfnt_load_face'.
michael@0 915
michael@0 916 * src/sfnt/sfobjs.c (sfnt_load_face): Work harder.
michael@0 917 Mac bitmap-only fonts are not scalable.
michael@0 918 Check that `face->header.Units_Per_EM' is not zero.
michael@0 919 (LOAD_, LOADM_): Emit pretty trace messages.
michael@0 920
michael@0 921 * src/sfnt/ttsbit0.c (tt_face_load_strike_metrics): Read metrics
michael@0 922 from `eblc'.
michael@0 923
michael@0 924 * src/sfnt/ttcmap.c (tt_face_build_cmaps), src/sfnt/ttpost.c
michael@0 925 (load_format_20, load_format_25, tt_face_get_ps_name): Use
michael@0 926 face->max_profile.numGlyphs, instead of face->root.num_glyphs.
michael@0 927
michael@0 928 2006-02-14 Werner Lemberg <wl@gnu.org>
michael@0 929
michael@0 930 * include/freetype/ftoutln.h (FT_Outline_Embolden): Mention in
michael@0 931 documentation that negative strength values are possible.
michael@0 932 Give an example call.
michael@0 933
michael@0 934 * include/freetype/freetype.h (FT_GlyphSlotRec): Improve
michael@0 935 documentation of `outline' field.
michael@0 936
michael@0 937 * src/sfnt/sfobjc.s: Inckude FT_INTERNAL_DEBUG_H.
michael@0 938 * src/sfnt/sfdriver.c: Include ttmtx.h.
michael@0 939
michael@0 940 * src/autofit/afcjk.c: Include aftypes.h and aflatin.h.
michael@0 941
michael@0 942 2006-02-14 Chia-I Wu <b90201047@ntu.edu.tw>
michael@0 943
michael@0 944 * src/sfnt/ttmtx.c (tt_face_get_metrics): Typo.
michael@0 945
michael@0 946 2006-02-14 Chia-I Wu <b90201047@ntu.edu.tw>
michael@0 947
michael@0 948 * src/sfnt/ttmtx.c (tt_face_load_hhea, tt_face_load_hmtx): Simply
michael@0 949 return error if table is missing.
michael@0 950 Check table length in non-FT_OPTIMIZE_MEMORY'ed `tt_face_load_hmtx'.
michael@0 951
michael@0 952 * src/sfnt/sfobjs.c (sfnt_load_face): Take care of missing metrics
michael@0 953 tables. The last change makes Mac bitmap-only font not load and
michael@0 954 this fixes it.
michael@0 955
michael@0 956 * src/truetype/ttgload.c (load_truetype_glyph): Fix compilation
michael@0 957 error when FT_CONFIG_OPTION_INCREMENTAL is defined.
michael@0 958
michael@0 959 2006-02-13 Chia-I Wu <b90201047@ntu.edu.tw>
michael@0 960
michael@0 961 Clean up the SFNT_Interface. In this final pass, `load_hmtx' is
michael@0 962 split from `load_hhea'.
michael@0 963
michael@0 964 * include/freetype/internal/sfnt.h, src/sfnt/sfdriver.c,
michael@0 965 src/sfnt/ttmtx.c, src/sfnt/ttmtx.h: Split `hmtx' from `hhea'.
michael@0 966
michael@0 967 * src/sfnt/sfobjs.c (sfnt_load_face): Update.
michael@0 968
michael@0 969 2006-02-13 Chia-I Wu <b90201047@ntu.edu.tw>
michael@0 970
michael@0 971 * src/sfnt/ttmtx.h, src/sfnt/ttmtx.c: Why are there two copies of
michael@0 972 code...
michael@0 973
michael@0 974 2006-02-13 Chia-I Wu <b90201047@ntu.edu.tw>
michael@0 975
michael@0 976 Clean up the SFNT_Interface. In this pass, we want to treat the
michael@0 977 font directory (offset table and table directory) as a normal table
michael@0 978 like the others. This also means that TTCs are no longer recognized
michael@0 979 there but in `init_face'.
michael@0 980
michael@0 981 * include/freetype/internal/sfnt.h (SFNT_Interface),
michael@0 982 src/sfnt/sfdriver.c: `load_sfnt_header' and `load_directory' are
michael@0 983 combined and renamed to `load_font_dir'.
michael@0 984
michael@0 985 * src/sfnt/ttload.h, src/sfnt/ttload.c:
michael@0 986 s/sfnt_dir_check/check_table_dir/.
michael@0 987 `sfnt_init' is moved to sfobjs.c and renamed to `sfnt_open_font'.
michael@0 988 `tt_face_load_sfnt_header' and `tt_face_load_directory' are combined
michael@0 989 and renamed to `tt_face_load_font_dir'.
michael@0 990
michael@0 991 * src/sfnt/sfobjs.c (sfnt_init_face): Recognize TTC here.
michael@0 992
michael@0 993 2006-02-13 Chia-I Wu <b90201047@ntu.edu.tw>
michael@0 994
michael@0 995 Clean up the SFNT_Interface. Table loading functions are now named
michael@0 996 after the tables' tags; `hdmx' is TrueType-specific and thus the
michael@0 997 code is moved to the truetype module; `get_metrics' is moved here
michael@0 998 from the truetype module so that the code can be shared with the cff
michael@0 999 module.
michael@0 1000
michael@0 1001 This pass involves no real changes. That is, the code is moved
michael@0 1002 verbatim mostly. The only exception is the return value of
michael@0 1003 `tt_face_get_metrics'.
michael@0 1004
michael@0 1005 * include/freetype/internal/sfnt.h, src/sfnt/rules.mk,
michael@0 1006 src/sfnt/sfdriver.c, src/sfnt/sfnt.c, src/sfnt/sfobjs.c,
michael@0 1007 src/sfnt/ttload.c, src/sfnt/ttload.h, src/sfnt/ttsbit.c,
michael@0 1008 src/sfnt/ttsbit.h, src/sfnt/ttsbit0.c: Clean up the SFNT_Interface.
michael@0 1009
michael@0 1010 * src/sfnt/ttmtx.c, src/sfnt/ttmtx.h: New files. Metrics-related
michael@0 1011 tables' loading and parsing code is moved to here.
michael@0 1012 Move `tt_face_get_metrics' here from the truetype module. The
michael@0 1013 return value is changed from `void' to `FT_Error'.
michael@0 1014
michael@0 1015 * include/freetype/internal/fttrace.h: New trace: ttmtx.
michael@0 1016
michael@0 1017 * src/truetype/ttpload.c, src/truetype/ttpload.h: `hdmx' loading and
michael@0 1018 parsing code is moved here.
michael@0 1019 New function `tt_face_load_prep' split from `tt_face_load_fpgm'.
michael@0 1020 `tt_face_load_fpgm' returns `FT_Err_Ok' if `fpgm' doesn't exist.
michael@0 1021
michael@0 1022 * src/cff/cffgload.c, src/cff/cffobjs.c: Update.
michael@0 1023
michael@0 1024 * src/truetype/ttgload.c, src/truetype/ttobjs.c: Update.
michael@0 1025
michael@0 1026 2006-02-11 Chia-I Wu <b90201047@ntu.edu.tw>
michael@0 1027
michael@0 1028 * src/autofit/afcjk.c (af_cjk_metrics_init): Fix a stupid bug...
michael@0 1029
michael@0 1030 * src/autofit/aflatin.c (af_latin_metrics_init_widths): Use
michael@0 1031 AF_LatinMetricsRec as the dummy metrics because we cast the metrics
michael@0 1032 to it later in `af_latin_hints_link_segments'.
michael@0 1033
michael@0 1034 2006-02-11 Chia-I Wu <b90201047@ntu.edu.tw>
michael@0 1035
michael@0 1036 * include/freetype/config/ftoption.h (AF_CONFIG_OPTION_CJK): #define
michael@0 1037 to enable autofit CJK script support. (#define'd by default.)
michael@0 1038
michael@0 1039 * src/autofit/aflatin.h (AF_LATIN_CONSTANT): New macro.
michael@0 1040
michael@0 1041 * src/autofit/aflatin.c (af_latin_metrics_init_widths): Make sure
michael@0 1042 that `edge_distance_threshold' is always set.
michael@0 1043 (af_latin_hints_link_segments): Potential divide-by-zero bug.
michael@0 1044 Use latin constant in the scoring formula.
michael@0 1045
michael@0 1046 * src/autofit/afcjk.c: Minor updates due to the above three changes.
michael@0 1047
michael@0 1048 * docs/TODO, docs/CHANGES: Updated.
michael@0 1049
michael@0 1050 2006-02-09 Chia-I Wu <b90201047@ntu.edu.tw>
michael@0 1051
michael@0 1052 Introduce experimental autofit CJK module based on akito's autohint
michael@0 1053 patch. You need to #define AF_MOD_CJK in afcjk.c to enable it.
michael@0 1054
michael@0 1055 * src/autofit/afglobal.c, src/autofit/afcjk.h, src/autofit/afcjk.c,
michael@0 1056 src/autofit/rules.mk, src/autofit/autofit.c, src/autofit/aftypes.h:
michael@0 1057 Add CJK module based on akito's autohint patch.
michael@0 1058
michael@0 1059 * src/autofit/afhints.h (AF_SegmentRec): New field `len' for the
michael@0 1060 overlap length of the segments.
michael@0 1061 (AF_SEGMENT_LEN, AF_SEGMENT_DIST): New macros.
michael@0 1062
michael@0 1063 * src/autofit/aflatin.h (af_latin_metrics_init_widths),
michael@0 1064 src/autofit/aflatin.c (af_latin_metrics_init_widths): Made
michael@0 1065 `FT_LOCAL'.
michael@0 1066 Use the character given by the caller.
michael@0 1067 (af_latin_metrics_init_widths, af_latin_hints_link_segments): Scale
michael@0 1068 the thresholds.
michael@0 1069
michael@0 1070 * src/autofit/afloader.c (af_loader_load_g): Respect
michael@0 1071 AF_SCALER_FLAG_NO_ADVANCE.
michael@0 1072
michael@0 1073 2006-02-09 Werner Lemberg <wl@gnu.org>
michael@0 1074
michael@0 1075 * src/cid/cidparse.c (cid_parse_new): Remove shadowing variable.
michael@0 1076
michael@0 1077 2006-02-09 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
michael@0 1078
michael@0 1079 * src/cid/cidparse.c (cid_parse_new): Fix for abnormally short or
michael@0 1080 broken CIDFont. Reported by Taek Kwan(TK) Lee (see ft-devel
michael@0 1081 2005-11-02).
michael@0 1082
michael@0 1083 2006-02-08 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
michael@0 1084
michael@0 1085 * builds/unix/configure.ac: Fix bug for `--with-old-mac-fonts'
michael@0 1086 option on UNIX platform. It has been broken since 2006-01-11.
michael@0 1087
michael@0 1088 2006-02-01 Werner Lemberg <wl@gnu.org>
michael@0 1089
michael@0 1090 * src/otvalid/module.mk: s/otvalid_module_class/otv_module_class/.
michael@0 1091 * src/gxvalid/module.mk: s/gxvalid_module_class/gxv_module_class/.
michael@0 1092
michael@0 1093 * builds/unix/unixddef.mk: Actually do define PLATFORM (fixing
michael@0 1094 change from 2006-01-31).
michael@0 1095 (TOP_DIR, OBJ_DIR): Update.
michael@0 1096
michael@0 1097 * builds/unix/install.mk (install): Fix path for ftmodule.h.
michael@0 1098
michael@0 1099 * Makefile, *.mk, builds/unix/unix-cc.in, builds/unix-def.in: Use
michael@0 1100 `?=' where appropriate.
michael@0 1101
michael@0 1102 * builds/detect.mk (TOP_DIR), builds/os2/os2-dev.mk (TOP_DIR),
michael@0 1103 builds/win32/w32-dev.mk (TOP_DIR): Removed. Defined elsewhere.
michael@0 1104
michael@0 1105 2006-01-31 Werner Lemberg <wl@gnu.org>
michael@0 1106
michael@0 1107 Implement new, simplified module selection. With GNU make it is now
michael@0 1108 sufficient to modify a single file, `modules.cfg', to control the
michael@0 1109 inclusion of modules and base extension files.
michael@0 1110
michael@0 1111 This change also fixes the creation of ftmodule.h; it now depends on
michael@0 1112 `modules.cfg' and thus is rebuilt only if necessary.
michael@0 1113
michael@0 1114 Finally, a version of `ftoption.h' in OBJ_DIR is preferred over the
michael@0 1115 default location.
michael@0 1116
michael@0 1117 * modules.cfg: New file.
michael@0 1118
michael@0 1119 * builds/freetype.mk: Don't include `modules.mk'.
michael@0 1120 Include all `rules.mk' files as specified in `modules.cfg'.
michael@0 1121 (FTOPTION_FLAG, FTOPTION_H): New variables.
michael@0 1122 (FT_CFLAGS): Add macro definition for FT_CONFIG_MODULES_H.
michael@0 1123 Add FTOPTION_FLAG.
michael@0 1124 ($(FT_INIT_OBJ)): Don't use FT_MODULE_LIST.
michael@0 1125 (CONFIG_H): Add FTMODULE_H and FTOPTION_H.
michael@0 1126 (INCLUDES): Add DEVEL_DIR.
michael@0 1127 (INCLUDE_FLAGS, FTSYS_SRC, FTSYS_OBJ, FTDEBUG_SRC, FTDEBUG_OBJ,
michael@0 1128 OBJ_M, OBJ_S): Use `:=', not `='.
michael@0 1129 (remove_ftmodule_h): New phony target to delete `ftmodule.h'.
michael@0 1130 (distclean): Add remove_ftmodule_h.
michael@0 1131
michael@0 1132 * builds/modules.mk: (MODULE_LIST): Removed.
michael@0 1133 (make_module_list, clean_module_list): Replace targets
michael@0 1134 with...
michael@0 1135 (FTMODULE_H_INIT, FTMODULE_H_CREATE, FTMODULE_H_DONE): New
michael@0 1136 variables. Reason for the change is that it is not possible to have
michael@0 1137 a phony prerequisite which is run only if the target file must be
michael@0 1138 rebuilt (phony prerequisites act like subroutines and are *always*
michael@0 1139 executed). We only want to rebuild `ftmodule.h' if `module.cfg' is
michael@0 1140 changed.
michael@0 1141 Update all callers.
michael@0 1142 ($FTMODULE_H)): Rule to create `ftmodule.h', depending on
michael@0 1143 `modules.cfg'.
michael@0 1144
michael@0 1145 * builds/toplevel.mk: Rewrite and simplify module handling.
michael@0 1146 (MODULES_CFG, FTMODULE_H): New variables.
michael@0 1147 Include MODULES_CFG.
michael@0 1148 (MODULES): New variable to include all `module.mk' and `rules.mk'
michael@0 1149 files. We no longer use make's `wildcard' function for this.
michael@0 1150
michael@0 1151 * Makefile (USE_MODULES): Remove. Update all users.
michael@0 1152 (OBJ_DIR): Define it here.
michael@0 1153
michael@0 1154 * src/*/module.mk: Change
michael@0 1155
michael@0 1156 make_module_list: foo
michael@0 1157 foo: ...
michael@0 1158
michael@0 1159 to
michael@0 1160
michael@0 1161 FTMODULE_H_COMMANDS += FOO
michael@0 1162 define FOO
michael@0 1163 ...
michael@0 1164 endef
michael@0 1165
michael@0 1166 in all files. `FTMODULE_H_COMMANDS' is used in `FTMODULE_H_CREATE'.
michael@0 1167
michael@0 1168 * src/base/rules.mk (BASE_EXT_SRC): Use BASE_EXTENSIONS.
michael@0 1169
michael@0 1170 * builds/unix/detect.mk (setup): Always execute `configure' script.
michael@0 1171 (have_mk): Rename to...
michael@0 1172 (have_Makefile): This.
michael@0 1173 Don't use `strip' function.
michael@0 1174
michael@0 1175 * builds/unix/unix.mk: Include `install.mk' only if BUILD_PROJECT is
michael@0 1176 defined.
michael@0 1177 (have_mk): Don't use `strip' function.
michael@0 1178 Test for unix-def.mk in OBJ_DIR, not BUILD_DIR (and invert the test
michael@0 1179 accordingly).
michael@0 1180
michael@0 1181 * builds/unix/install.mk (install, uninstall): Handle `ftmodule.h'.
michael@0 1182
michael@0 1183 * builds/os2/os2-dev.mk, builds/unix/unix-dev.mk,
michael@0 1184 builds/win32/w32-bccd.mk, builds/win32/w32-dev.mk: Don't define
michael@0 1185 BUILD_DIR but DEVEL_DIR for development header files.
michael@0 1186
michael@0 1187 * builds/ansi/ansi-def.mk (TOP_DIR, OBJ_DIR),
michael@0 1188 builds/beos/beos-def.mk (TOP_DIR, OBJ_DIR), builds/unix/unix-def.in
michael@0 1189 (TOP_DIR, OBJ_DIR): Removed. Defined elsewhere.
michael@0 1190
michael@0 1191 * builds/dos/dos-def.mk (OBJ_DIR), builds/os2/os2-def.mk (OBJ_DIR),
michael@0 1192 builds/win32/win32-def.mk (OBJ_DIR): Removed. Defined elsewhere.
michael@0 1193
michael@0 1194 * builds/unix/unixddef.mk: Don't define BUILD_DIR but DEVEL_DIR for
michael@0 1195 development header files.
michael@0 1196 Don't define PLATFORM.
michael@0 1197
michael@0 1198 * configure: Copy `modules.cfg' to builddir if builddir != srcdir.
michael@0 1199 Update snippet taken from autoconf's m4sh.m4 to current CVS version.
michael@0 1200 Be more verbose.
michael@0 1201
michael@0 1202 * include/freetype/config/ftmodule.h: Add comments -- this file is
michael@0 1203 no longer used if FreeType is built with GNU make.
michael@0 1204
michael@0 1205 * docs/CHANGES, docs/CUSTOMIZE, docs/INSTALL, docs/INSTALL.ANY,
michael@0 1206 docs/INSTALL.GNU, docs/INSTALL.UNX: Document new build mechanism.
michael@0 1207 Other minor updates.
michael@0 1208
michael@0 1209 * modules.txt: Removed. Contents included in `modules.cfg'.
michael@0 1210
michael@0 1211
michael@0 1212 * include/freetype/internal/ftmemory.h (FT_QAlloc_Debug,
michael@0 1213 FT_Free_Debug) [FT_STRICT_ALIASING]: Fix typos.
michael@0 1214
michael@0 1215 * src/base/ftdbgmem.c (FT_Alloc_Debug, FT_Realloc_Debug,
michael@0 1216 FT_QAlloc_Debug, FT_QRealloc_Debug, FT_Free_Debug)
michael@0 1217 [FT_STRICT_ALIASING]: Implement.
michael@0 1218
michael@0 1219 2006-01-31 Chia-I Wu <b90201047@ntu.edu.tw>
michael@0 1220
michael@0 1221 * src/cff/cffobjs.c (cff_face_init), src/cid/cidobjs.c
michael@0 1222 (cid_face_init), src/pfr/pfrobjs.c (pfr_face_init),
michael@0 1223 src/type1/t1objs.c (T1_Face_Init): Set face->height to MAX(1.2 *
michael@0 1224 units_per_EM, ascender - descender).
michael@0 1225
michael@0 1226 2006-01-31 Chia-I Wu <b90201047@ntu.edu.tw>
michael@0 1227
michael@0 1228 * include/freetype/internal/t1types.h (AFM_FontInfo),
michael@0 1229 src/psaux/afmparse.c, src/tools/test_afm.c: Read `FontBBox',
michael@0 1230 `Ascender', and `Descender' from an AFM.
michael@0 1231
michael@0 1232 * src/type1/t1afm.c (T1_Read_Metrics): Use the metrics from the AFM.
michael@0 1233
michael@0 1234 * include/freetype/freetype.h (FT_FaceRec): Mention that fields may
michael@0 1235 be changed after file attachment.
michael@0 1236
michael@0 1237 2006-01-28 Werner Lemberg <wl@gnu.org>
michael@0 1238
michael@0 1239 * src/*/module.mk (.PHONY): Add.
michael@0 1240
michael@0 1241 2006-01-27 Werner Lemberg <wl@gnu.org>
michael@0 1242
michael@0 1243 * README, docs/FTL.TXT: Fix email address for bug reports.
michael@0 1244 Other minor formatting.
michael@0 1245
michael@0 1246 * devel/ftoption.h: Synchronize with
michael@0 1247 include/freetype/config/ftoption.h.
michael@0 1248
michael@0 1249 * src/autofit/module.mk (add_autofit_module), src/bdf/module.mk
michael@0 1250 (add_bdf_module), src/type42/module.mk (add_type42_driver): Fix
michael@0 1251 whitespace.
michael@0 1252
michael@0 1253 * src/smooth/module.mk (add_smooth_renderer): Add lcd and lcdv
michael@0 1254 renderer classes.
michael@0 1255
michael@0 1256 2006-01-27 David Turner <david@freetype.org>
michael@0 1257
michael@0 1258 * builds/unix/configure.ac: Fix build problem on Cygwin.
michael@0 1259
michael@0 1260 * builds/unix/install.mk (install): Don't install the internal
michael@0 1261 headers, and remove existing ones if found in the target install
michael@0 1262 directory.
michael@0 1263
michael@0 1264 * src/autofit/afwarp.c: Add simple #ifdef to prevent compilation
michael@0 1265 if the warp hinter isn't active (it shouldn't, still experimental).
michael@0 1266
michael@0 1267 * Jamfile, include/freetype/config/ftmodule.h: Remove `gxvalid'
michael@0 1268 and `otvalid' from the list of modules that are linked statically
michael@0 1269 to a given FreeType library. Functionality has been moved to the
michael@0 1270 `ftvalid' CVS module.
michael@0 1271
michael@0 1272 Note also that current Make-based build system still compiles the
michael@0 1273 modules though.
michael@0 1274
michael@0 1275 * include/freetype/config/ftoption.h (FT_STRICT_ALIASING): New macro
michael@0 1276 which controls the definitions of the memory management functions to
michael@0 1277 avoid warnings with recent versions of GCC. This macro is only here
michael@0 1278 to be disabled, in case we detect problems with the new scheme.
michael@0 1279
michael@0 1280 NOTE: Disable macro to use the memory debugger -- this will be fixed
michael@0 1281 later!
michael@0 1282
michael@0 1283 * include/freetype/internal/ftmemory.h, src/base/ftutil.c (FT_Alloc,
michael@0 1284 FT_QAlloc, FT_Realloc, FT_QRealloc, FT_Free) [FT_STRICT_ALIASING]:
michael@0 1285 New versions.
michael@0 1286
michael@0 1287
michael@0 1288 * builds/win32/visualc/freetype.dsp: Updating project file to
michael@0 1289 define FT2_BUILD_LIBRARY, and remove gxvalid + otvalid modules from
michael@0 1290 compilation.
michael@0 1291
michael@0 1292
michael@0 1293 * builds/freetype.mk (FT_CFLAGS), Jamfile (DEFINES): Define the
michael@0 1294 macro FT2_BUILD_LIBRARY when compiling the library.
michael@0 1295
michael@0 1296 * include/freetype/config/ftheader.h: Remove inclusions of internal
michael@0 1297 headers except if the macro FT2_BUILD_LIBRARY is defined.
michael@0 1298
michael@0 1299
michael@0 1300 * include/freetype/internal/psaux.h (AFM_KernPair, AFM_TrackKern,
michael@0 1301 AFM_FontInfo): Move structure declarations to...
michael@0 1302 * include/freetype/internal/t1types.h: This file.
michael@0 1303
michael@0 1304
michael@0 1305 * (many files): Fix compiler warnings.
michael@0 1306 Various minor reorganizations.
michael@0 1307
michael@0 1308
michael@0 1309 * src/cff/cffload.c (cff_font_done): Don't free static array
michael@0 1310 `subfonts'.
michael@0 1311
michael@0 1312 * src/otvalid/otvcommn.c (otv_ClassDef_validate),
michael@0 1313 src/otvalid/otvgpos.c (otv_x_sxy): Fix debugging information.
michael@0 1314
michael@0 1315
michael@0 1316 Get rid of writable static variables (i.e., the string table) in
michael@0 1317 afmparse, and fix compilation in FT2_MULTI mode.
michael@0 1318
michael@0 1319 * src/psaux/afmparse.c: Include ft2build.h and FT_FREETYPE_H.
michael@0 1320 (AFM_MAX_ARGUMENTS): Define...
michael@0 1321 * src/psaux/afmparse.h: Here.
michael@0 1322 * src/psaux/Jamfile (_sources): Add afmparse.
michael@0 1323
michael@0 1324 * src/psaux/psconv.c: Include psconv.h.
michael@0 1325
michael@0 1326 * src/type1/t1afm.c: Don't include FT_INTERNAL_TYPE1_TYPES_H but
michael@0 1327 FT_INTERNAL_POSTSCRIPT_AUX_H.
michael@0 1328 * src/type1/t1afm.h: Include FT_INTERNAL_TYPE1_TYPES_H.
michael@0 1329
michael@0 1330 2006-01-23 Chia-I Wu <b90201047@ntu.edu.tw>
michael@0 1331
michael@0 1332 * include/freetype/freetype.h (FT_Select_Size): Rename the second
michael@0 1333 argument from `idx' to `strike_index'.
michael@0 1334 (FT_Size_Request_Type): Add FT_SIZE_REQUEST_TYPE_MAX to the end of
michael@0 1335 this enum.
michael@0 1336
michael@0 1337 * include/freetype/internal/ftobjs.h (FT_REQUEST_WIDTH,
michael@0 1338 FT_REQUEST_HEIGHT): New macros to get the width and height of a
michael@0 1339 request, in fractional pixels.
michael@0 1340
michael@0 1341 * include/freetype/internal/ftobjs.h (FT_Select_Metrics,
michael@0 1342 FT_Request_Metrics), src/base/ftobjs.c (FT_Select_Metrics,
michael@0 1343 FT_Request_Metrics): New base functions to set the font metrics. They
michael@0 1344 were part of FT_Select_Size/FT_Request_Size and are made independent
michael@0 1345 functions so that metrics are not set again and again.
michael@0 1346
michael@0 1347 * src/base/ftobjs.c (FT_Select_Size, FT_Request_Size): Metrics are set
michael@0 1348 only when driver's size_select/size_request is NULL. That is, drivers
michael@0 1349 should set the metrics themselves.
michael@0 1350 (FT_Match_Size): Round before matching. This was what we did and it
michael@0 1351 does cause some problems without rounding.
michael@0 1352
michael@0 1353 * src/cff/cffobjs.c (cff_size_select), src/truetype/ttdriver.c
michael@0 1354 (tt_size_select): Set the font metrics.
michael@0 1355 s/index/strike_index/.
michael@0 1356 The scaled metrics are always preferred over strikes' metrics, even
michael@0 1357 when some strike is selected. This is done because the strikes'
michael@0 1358 metrics are not reliable, e.g., the sign of the descender is wrong for
michael@0 1359 some fonts.
michael@0 1360
michael@0 1361 * src/cff/cffobjs.c (cff_size_request), src/truetype/ttdriver.c
michael@0 1362 (tt_size_request): Set the font metrics.
michael@0 1363 Call cff_size_select/tt_size_select when some strike is matched.
michael@0 1364
michael@0 1365 * src/bdf/bdfdrivr.c, src/cff/cffobjs.c, src/cid/cidobjs.c,
michael@0 1366 src/pcf/pcfdrivr.c, src/truetype/ttdriver.c, src/type1/t1objs.c,
michael@0 1367 src/type1/t1objs.h, src/type42/t42objs.c, src/winfonts/winfnt.c:
michael@0 1368 Set the font metrics.
michael@0 1369 s/index/strike_index/.
michael@0 1370
michael@0 1371 * src/tools/test_afm.c, src/psaux/psconv.c: Older versions of these
michael@0 1372 files were committed. Just a catch-up.
michael@0 1373 (PS_Conv_ToFixed): Remove the `goto'.
michael@0 1374 (PS_Conv_ASCIIHexDecode, PS_Conv_EexecDecode): Speed up a little.
michael@0 1375
michael@0 1376 * src/sfnt/ttsbit.c (tt_face_load_sbit_strikes,
michael@0 1377 tt_face_load_strike_metrics), src/sfnt/ttsbit0.c
michael@0 1378 (tt_face_load_sbit_strikes, tt_face_load_strike_metrics): The
michael@0 1379 advertised metrics in `available_sizes' are different from those
michael@0 1380 actually used.
michael@0 1381
michael@0 1382 2006-01-23 Chia-I Wu <b90201047@ntu.edu.tw>
michael@0 1383
michael@0 1384 * src/psaux/psaux.c src/psaux/psauxmod.c src/type1/t1driver.c: Make
michael@0 1385 AFM parser optional, controlled by `T1_CONFIG_OPTION_NO_AFM'.
michael@0 1386
michael@0 1387 2006-01-22 Werner Lemberg <wl@gnu.org>
michael@0 1388
michael@0 1389 * builds/unix/install-sh, builds/unix/mkinstalldirs: Updated from
michael@0 1390 `texinfo' CVS module at savannah.gnu.org.
michael@0 1391
michael@0 1392 2006-01-21 Werner Lemberg <wl@gnu.org>
michael@0 1393
michael@0 1394 * src/autofit/rules.mk (AUTOF_DRV_SRC): Add afwarp.c.
michael@0 1395
michael@0 1396 * src/autofit/afloader.c (af_loader_load_g): Move AF_USE_WARPER up
michael@0 1397 to avoid compiler warnings.
michael@0 1398
michael@0 1399 * src/autofit/afwarp.c (af_warper_compute_line_best): Remove
michael@0 1400 shadowing variable declarations.
michael@0 1401 Fix warning parameters and replace printf with AF_LOG.
michael@0 1402 (af_warper_compute): Remove unused variable.
michael@0 1403
michael@0 1404 2006-01-20 David Turner <david@freetype.org>
michael@0 1405
michael@0 1406 Adding experimental implementation of `warp hinting' (new hinting
michael@0 1407 algorithm for gray-level and LCD rendering). It is disabled by
michael@0 1408 default, you need to #define AF_USE_WARPER in aftypes.h.
michael@0 1409
michael@0 1410 * src/autofit/afhints.c (af_glyph_hints_scale_dim) [AF_USE_WARPER]:
michael@0 1411 New function.
michael@0 1412 * src/autofit/afhints.h: Updated.
michael@0 1413
michael@0 1414 * src/autofit/aflatin.c [AF_USE_WARPER]: Include afwarp.h.
michael@0 1415 (af_latin_hints_init) [AF_USE_WARPER]: Reset mode to
michael@0 1416 FT_RENDER_MODE_NORMAL if an LCD mode is selected.
michael@0 1417 (af_latin_hints_apply) [AF_USE_WARPER]: Call af_warper_compute
michael@0 1418 appropriately.
michael@0 1419
michael@0 1420 * src/autofit/afloader.c (af_loader_load_g) [!AF_USER_WARPER]:
michael@0 1421 Isolate code for adjusting metrics.
michael@0 1422
michael@0 1423 * src/autofit/aftypes.h (AF_USE_WARPER): New macro (commented out by
michael@0 1424 default).
michael@0 1425
michael@0 1426 * src/autofit/afwarp.c, src/autofit/afwarp.h: New files.
michael@0 1427
michael@0 1428 * src/autofit/autofit.c [AF_USE_WARPER]: Include afwarp.c.
michael@0 1429
michael@0 1430 * src/autofit/Jamfile (_sources): Add afwarp.
michael@0 1431
michael@0 1432 2006-01-19 David Turner <david@freetype.org>
michael@0 1433
michael@0 1434 * src/sfnt/ttsbit0.c (tt_face_load_strike_metrics): Fix small bug
michael@0 1435 that prevented compilation when FT_OPTIMIZE_MEMORY is defined.
michael@0 1436
michael@0 1437 2006-01-19 Brian Weed <bw@imaginengine.com>
michael@0 1438
michael@0 1439 * builds/win32/visualc/freetype.dsp: Updated.
michael@0 1440
michael@0 1441 2006-01-17 Werner Lemberg <wl@gnu.org>
michael@0 1442
michael@0 1443 Use pscmap service in CFF module.
michael@0 1444
michael@0 1445 * src/cff/cffcmap.c (cff_cmap_uni_pair_compare): Removed.
michael@0 1446 (cff_sid_to_glyph_name): New function.
michael@0 1447 (cff_cmap_unicode_init, cff_cmap_unicode_done,
michael@0 1448 cff_cmap_unicode_char_index, cff_cmap_unicode_char next): Use pscmap
michael@0 1449 service.
michael@0 1450 (cff_cmap_unicode_class_rec): Updated.
michael@0 1451 * src/cff/cffcmap.h (CFF_CMapUnicode, CFF_CMap_UniPair): Removed.
michael@0 1452
michael@0 1453
michael@0 1454 * src/psnames/psmodule.c (ps_unicodes_char_next): Fix `unicode'
michael@0 1455 return value.
michael@0 1456
michael@0 1457
michael@0 1458 * src/psaux/afmparse.c (afm_parser_read_vals): Use double casting
michael@0 1459 to avoid compiler warnings regarding type-punning.
michael@0 1460
michael@0 1461 2006-01-16 Chia-I Wu <b90201047@ntu.edu.tw>
michael@0 1462
michael@0 1463 * src/psaux/afmparse.c, src/psaux/afmparse.h: New files which
michael@0 1464 implement an AFM parser.
michael@0 1465
michael@0 1466 * src/psaux/psconv.c, src/psaux/psconv.h: New files to provide
michael@0 1467 conversion functions (e.g., PS real number => FT_Fixed) for the
michael@0 1468 PS_Parser and AFM_Parser. Some of the functions are taken, with
michael@0 1469 some modifications, from the file psobjs.c.
michael@0 1470
michael@0 1471 * src/psaux/psobjs.c: Use functions from psconv.c.
michael@0 1472
michael@0 1473 * include/freetype/internal/psaux.h, src/psaux/psauxmod.c: Add
michael@0 1474 `AFM_Parser' to the `psaux' service.
michael@0 1475
michael@0 1476 * src/psaux/psaux.c, src/psaux/rules.mk (PSAUX_DRV_SRC): Include
michael@0 1477 those new files.
michael@0 1478
michael@0 1479 * src/tools/test_afm.c: A test program for AFM parser.
michael@0 1480
michael@0 1481 * include/freetype/internal/services/svkern.h: New file providing a
michael@0 1482 `Kerning' service. It is currently only used to get the track
michael@0 1483 kerning information.
michael@0 1484
michael@0 1485 * include/freetype/internal/ftserv.h (FT_SERVICE_KERNING_H): New
michael@0 1486 macro.
michael@0 1487
michael@0 1488 * src/type1/t1driver.c, src/type1/t1objs.c, src/type1/t1afm.c,
michael@0 1489 src/type1/t1afm.h: Update to use the AFM parser.
michael@0 1490 Provide the `Kerning' service.
michael@0 1491
michael@0 1492 * include/freetype/freetype.h, src/base/ftobjs.c: New API
michael@0 1493 `FT_Get_Track_Kerning'.
michael@0 1494
michael@0 1495 2006-01-15 Chia-I Wu <b90201047@ntu.edu.tw>
michael@0 1496
michael@0 1497 * include/freetype/internal/ftobjs.h, src/base/ftobjs.c,
michael@0 1498 src/bdf/bdfdrivr.c, src/cff/cffgload.c, src/cid/cidgload.c,
michael@0 1499 src/pcf/pcfdrivr.c, src/type1/t1gload.c, src/winfonts/winfnt.c:
michael@0 1500 s/ft_fake_vertical_metrics/ft_synthesize_vertical_metrics/.
michael@0 1501
michael@0 1502 * docs/CHANGES: Mention that vertical metrics are synthesized for
michael@0 1503 fonts not having this info.
michael@0 1504
michael@0 1505 2006-01-15 Chia-I Wu <b90201047@ntu.edu.tw>
michael@0 1506
michael@0 1507 * include/freetype/internal/ftobjs.h (ft_fake_vertical_metrics),
michael@0 1508 src/base/ftobjs.c (ft_fake_vertical_metrics): New function to fake
michael@0 1509 vertical metrics.
michael@0 1510
michael@0 1511 * src/cff/cffgload.c, src/cid/cidgload.c, src/pcf/pcfdrivr.c,
michael@0 1512 src/type1/t1gload.c, src/winfonts/winfnt.c: Fake vertical metrics,
michael@0 1513 which are monotone.
michael@0 1514
michael@0 1515 * src/truetype/ttgload.c (compute_glyph_metrics): Some fixes and
michael@0 1516 formattings in vertical metrics faking. There is still room for
michael@0 1517 improvements (and so does the CFF module).
michael@0 1518
michael@0 1519 2006-01-15 Chia-I Wu <b90201047@ntu.edu.tw>
michael@0 1520
michael@0 1521 * src/bdf/bdfdrivr.c (BDF_Glyph_Load), src/pcf/pcfdrivr.c
michael@0 1522 (PCF_Glyph_Load), src/winfonts/winfnt.c (FNT_Load_Glyph): Don't set
michael@0 1523 the linear advance fields as they are only used by the outline
michael@0 1524 glyphs.
michael@0 1525
michael@0 1526 * include/freetype/freetype.h: Documentation updates and
michael@0 1527 clarifications.
michael@0 1528 The meaning of FT_LOAD_FORCE_AUTOHINT is changed so that no real
michael@0 1529 change need be made to the code.
michael@0 1530
michael@0 1531 * src/base/ftobjs.c (FT_Load_Glyph): Resolve flag dependencies and
michael@0 1532 decide whether to use the auto-hinter according to documentation.
michael@0 1533 There should to be no real difference.
michael@0 1534 Some checks (e.g., is text height positive?) after the glyph is
michael@0 1535 loaded.
michael@0 1536 (FT_Select_Size, FT_Request_Size): Scales are set to wrong values.
michael@0 1537 Be careful that scales won't be negative.
michael@0 1538
michael@0 1539 2006-01-14 Chia-I Wu <b90201047@ntu.edu.tw>
michael@0 1540
michael@0 1541 * docs/CHANGES: Mention the size selection change.
michael@0 1542
michael@0 1543 * src/bdf/bdfdrivr.c (BDF_Size_Request, BDF_Size_Select),
michael@0 1544 src/pcf/pcfdrivr.c (PCF_Size_Request, PCF_Size_Select),
michael@0 1545 src/winfonts/winfnt.c (FNT_Size_Request, FNT_Size_Select): Do size
michael@0 1546 matching for requests of type NOMINAL and REAL_DIM.
michael@0 1547
michael@0 1548 * src/winfonts/winfnt.c (FNT_Face_Init): Print trace message when
michael@0 1549 `pixel_height' is used for nominal height.
michael@0 1550
michael@0 1551 * src/base/ftobjs.c (FT_Request_Size): Call `FT_Match_Size' if the
michael@0 1552 face is bitmap only and driver doesn't provide `request_size'. This
michael@0 1553 is added merely for completion as no driver satisfies the conditions.
michael@0 1554
michael@0 1555 2006-01-13 Chia-I Wu <b90201047@ntu.edu.tw>
michael@0 1556
michael@0 1557 Introduce new size selection interface.
michael@0 1558
michael@0 1559 * include/freetype/internal/ftdriver.h (struct FT_Driver_ClassRec):
michael@0 1560 Replace `set_char_sizes' and `set_pixel_sizes' by `request_size' and
michael@0 1561 `select_size'.
michael@0 1562
michael@0 1563 * include/freetype/freetype.h (FT_Select_Size, FT_Size_Request_Type,
michael@0 1564 FT_Size_Request, FT_Request_Size, FT_Select_Size), src/base/ftobjs.c
michael@0 1565 (FT_Select_Size, FT_Request_Size): API additions to export the new
michael@0 1566 size selection interface.
michael@0 1567
michael@0 1568 * src/base/ftobjs.c (FT_Set_Char_Size, FT_Set_Pixel_Sizes): Use
michael@0 1569 `FT_Request_Size'.
michael@0 1570
michael@0 1571 * include/freetype/internal/ftobjs.h (FT_Match_Size),
michael@0 1572 src/base/ftobjs.c (FT_Match_Size): New function to match a size
michael@0 1573 request against `available_sizes'. Drivers supporting bitmap strikes
michael@0 1574 can use this function to implement `request_size'.
michael@0 1575
michael@0 1576 * src/bdf/bdfdrivr.c, src/cid/cidobjs.c, src/cid/cidobjs.h,
michael@0 1577 src/cid/cidriver.c, src/pcf/pcfdrivr.c, src/type1/t1driver.c,
michael@0 1578 src/type1/t1objs.c, src/type1/t1objs.h, src/type42/t42drivr.c,
michael@0 1579 src/type42/t42objs.c, src/type42/t42objs.h, src/winfonts/winfnt.c:
michael@0 1580 Update to new size selection interface.
michael@0 1581
michael@0 1582 * src/cff/cffdrivr.c, src/cff/cffgload.c, src/cff/cffobjs.c,
michael@0 1583 src/cff/cffobjs.h, src/truetype/ttdriver.c, src/truetype/ttgload.c,
michael@0 1584 src/truetype/ttobjs.c, src/truetype/ttobjs.h: Update to new size
michael@0 1585 selection interface.
michael@0 1586 Make `strike_index' FT_ULong and always defined.
michael@0 1587 Use `load_strike_metrics' provided by SFNT interface.
michael@0 1588
michael@0 1589 2006-01-13 Chia-I Wu <b90201047@ntu.edu.tw>
michael@0 1590
michael@0 1591 * include/freetype/internal/sfnt.h (SFNT_Interface): New method
michael@0 1592 `load_strike_metrics' used to load the strike's metrics.
michael@0 1593
michael@0 1594 * src/sfnt/sfdriver.c, src/sfnt/ttsbit.c, src/sfnt/ttsbit.h,
michael@0 1595 src/sfnt/ttsbit0.c: New function `tt_face_load_strike_metrics'.
michael@0 1596
michael@0 1597 * src/pfr/pfrobjs.c (pfr_face_init): Set FT_Bitmap_Size correctly.
michael@0 1598
michael@0 1599 * src/winfonts/winfnt.c (FNT_Face_Init): Use `nominal_point_size' for
michael@0 1600 nominal size unless it is obviously incorrect.
michael@0 1601
michael@0 1602 * include/freetype/freetype.h (FT_Bitmap_Size): Update the comments on
michael@0 1603 FNT driver.
michael@0 1604
michael@0 1605 2006-01-12 Werner Lemberg <wl@gnu.org>
michael@0 1606
michael@0 1607 Prepare use of pscmap service within CFF module.
michael@0 1608
michael@0 1609 * include/freetype/internal/services/svpscmap.h: Include
michael@0 1610 FT_INTERNAL_OBJECTS_H.
michael@0 1611 (PS_Unicode_Index_Func): Removed. Unused.
michael@0 1612 (PS_Macintosh_Name_Func): Renamed to...
michael@0 1613 (PS_Macintosh_NameFunc): This.
michael@0 1614 Update all callers.
michael@0 1615 (PS_Adobe_Std_Strings_Func): Renamed to...
michael@0 1616 (PS_Adobe_Std_StringsFunc): This.
michael@0 1617 Update all callers.
michael@0 1618 (PS_UnicodesRec): This is the former `PS_Unicodes' structure.
michael@0 1619 Add `cmap' member.
michael@0 1620 Update all callers.
michael@0 1621 (PS_Unicodes): This is now a typedef'd pointer to PS_UnicodesRec.
michael@0 1622 Update all callers.
michael@0 1623 (PS_Glyph_NameFunc): New typedef.
michael@0 1624 (PS_Unicodes_InitFunc): Change arguments to expect a function
michael@0 1625 and generic data pointer which returns a glyph name from a given
michael@0 1626 index.
michael@0 1627
michael@0 1628 * src/psnames/psmodule.c (ps_unicodes_init, ps_unicodes_char_index,
michael@0 1629 ps_unicodes_char_next, pscmaps_interface): Updated.
michael@0 1630
michael@0 1631 * include/freetype/internal/t1types.h (T1_FaceRec): Updated.
michael@0 1632
michael@0 1633 * src/psaux/t1cmap.h (T1_CmapStdRec): Updated.
michael@0 1634 (T1_CmapUnicode, T1_CmapUnicodeRec): Removed.
michael@0 1635
michael@0 1636 * src/psaux/t1cmap.c (t1_get_glyph_name): New callback function.
michael@0 1637 (t1_cmap_unicode_init, t1_cmap_unicode_done,
michael@0 1638 t1_cmap_unicode_char_index, t1_cmap_unicode_char_next,
michael@0 1639 t1_cmap_unicode_class_rec): Updated.
michael@0 1640
michael@0 1641 * src/type42/t42types.h (T42_FaceRec): Updated.
michael@0 1642
michael@0 1643 2006-01-11 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
michael@0 1644
michael@0 1645 * include/freetype/ftmac.h: Add declaration of new functions
michael@0 1646 FT_New_Face_From_FSRef and FT_GetFile_From_Mac_ATS_Name that
michael@0 1647 were introduced by the jumbo patch on 2006-01-11.
michael@0 1648
michael@0 1649 2006-01-11 Werner Lemberg <wl@gnu.org>
michael@0 1650
michael@0 1651 Fix Savannah bug #15056 and use pscmap service in psaux module.
michael@0 1652
michael@0 1653 * include/freetype/internal/services/svpscmap.h (PS_UniMap): Use
michael@0 1654 FT_UInt32 for `glyph_index'.
michael@0 1655 (PS_Unicodes_InitFunc): Use FT_String for `glyph_names'.
michael@0 1656 (PS_Unicodes_CharIndexFunc): Use FT_UInt32 for `unicode'.
michael@0 1657 (PS_Unicodes_CharNextFunc): Make second argument a pointer to
michael@0 1658 FT_UInt32.
michael@0 1659
michael@0 1660 * src/psnames/psmodule.c (VARIANT_BIT, BASE_GLYPH): New macros.
michael@0 1661 (ps_unicode_value): Set VARIANT_BIT in return value if glyph is a
michael@0 1662 variant glyph (this is, it has non-leading `.' in its name).
michael@0 1663 (compare_uni_maps): Sort base glyphs before variant glyphs.
michael@0 1664 (ps_unicodes_init): Use FT_String for `glyph_names' argument.
michael@0 1665 Reallocate only if number of used entries is much smaller.
michael@0 1666 Updated to handle variant glyphs.
michael@0 1667 (ps_unicodes_char_index, ps_unicodes_char_next): Prefer base glyphs
michael@0 1668 over variant glyphs.
michael@0 1669 Simplify code.
michael@0 1670
michael@0 1671 * src/psaux/t1cmap.c (t1_cmap_uni_pair_compare): Removed.
michael@0 1672 (t1_cmap_unicode_init, t1_cmap_unicode_char_index,
michael@0 1673 t1_cmap_unicode_char_next): Use pscmap service.
michael@0 1674 (t1_cmap_unicode_done): Updated.
michael@0 1675
michael@0 1676 * src/psaux/t1cmap.h (T1_CMapUniPair): Removed.
michael@0 1677 (T1_CMapUnicode): Use PS_Unicodes structure.
michael@0 1678
michael@0 1679 2006-01-11 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
michael@0 1680
michael@0 1681 Jumbo patch to fix `deprecated' warning of cross-build for Tiger on
michael@0 1682 Intel, as reported by Sean McBride <sean@rogue-research.com> on
michael@0 1683 2005-08-24.
michael@0 1684
michael@0 1685 * src/base/ftmac.c: Heavy change to build without deprecated Carbon
michael@0 1686 functions on Tiger.
michael@0 1687
michael@0 1688 * builds/unix/configure.ac: Add options and autochecks for Carbon
michael@0 1689 functions availabilities, for MacOS X.
michael@0 1690
michael@0 1691 * builds/mac/ascii2mpw.py: Add converter for character `\305'.
michael@0 1692 * builds/mac/FreeType.m68k_{far|cfm}.make.txt: Add conditional
michael@0 1693 macros to avoid unavailable functions.
michael@0 1694 ftmac.c must be compiled without `-strict ansi', because it disables
michael@0 1695 cpp macro to use ToolBox system call.
michael@0 1696
michael@0 1697 * builds/mac/FreeType.ppc_{classic|carbon}.make.txt: Add conditional
michael@0 1698 macros to avoid unavailable functions.
michael@0 1699
michael@0 1700 * builds/mac/README: Detailed notes on function availabilities.
michael@0 1701
michael@0 1702 * docs/CHANGES: Notes about (possible) incompatibilities.
michael@0 1703
michael@0 1704 2006-01-08 Werner Lemberg <wl@gnu.org>
michael@0 1705
michael@0 1706 * docs/CHANGES: Updated.
michael@0 1707
michael@0 1708 2006-01-08 Huw D M Davies <h.davies1@physics.ox.ac.uk>
michael@0 1709
michael@0 1710 * include/freetype/ftmodapi.h (FT_Module_Get_Flags): New
michael@0 1711 declaration.
michael@0 1712
michael@0 1713 * src/base/ftobjs.c (FT_Module_Get_Flags): New function.
michael@0 1714
michael@0 1715 2006-01-07 Werner Lemberg <wl@gnu.org>
michael@0 1716
michael@0 1717 * src/pcf/pcfread.c (pcf_get_bitmaps): Remove unused variable
michael@0 1718 `bitmaps'. Reported by Yu Lei <yulei0@gmail.com>.
michael@0 1719
michael@0 1720 * src/base/ftutil.c (ft_highpow2): s/FT_BASE/FT_BASE_DEF/.
michael@0 1721 Reported by Niels Boldt <nielsboldt@gmail.com>.
michael@0 1722
michael@0 1723 2005-12-28 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
michael@0 1724
michael@0 1725 * src/sfnt/sfnt/ttbdf.c: Add newline '\n' to the end of file, for
michael@0 1726 MPW compiler.
michael@0 1727
michael@0 1728 2005-12-23 David Turner <david@freetype.org>
michael@0 1729
michael@0 1730 * Jamfile (RefDoc), docs/reference/README: Fix it so that `jam
michael@0 1731 refdoc' works correctly to generate the API reference in
michael@0 1732 `docs/reference'.
michael@0 1733
michael@0 1734 * src/tools/docmaker/tohtml.py (print_html_field,
michael@0 1735 print_html_field_list): Update to output nicer fields lists in the
michael@0 1736 API reference.
michael@0 1737
michael@0 1738 * src/base/ftobjs.c (FT_Load_Glyph): FT_LOAD_TARGET_LIGHT now
michael@0 1739 forces auto-hinting.
michael@0 1740
michael@0 1741 * freetype/freetype.h: Updating the documentation for
michael@0 1742 FT_LOAD_TARGET_XXX and FT_Render_Mode values.
michael@0 1743
michael@0 1744 2005-12-23 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
michael@0 1745
michael@0 1746 * src/base/ftmac.c (FT_New_Face_From_Suitcase): Count scalable faces
michael@0 1747 in supported formats (sfnt, LWFN) only, and ignore bitmap faces in
michael@0 1748 unsupported formats (fbit, NFNT). The number of available faces are
michael@0 1749 passed via face->num_faces. If bitmap faces are embedded in sfnt
michael@0 1750 resource, face->num_fixed_size is correctly set. In public API,
michael@0 1751 FT_New_Face() and FT_New_Face_From_FSSpec() count the faces as
michael@0 1752 FT_GetFile_From_Mac_Name(), which ignores NFNT resources.
michael@0 1753
michael@0 1754 * doc/CHANGES: Mention the changes.
michael@0 1755
michael@0 1756 2005-12-17 Chia-I Wu <b90201047@ntu.edu.tw>
michael@0 1757
michael@0 1758 * src/truetype/ttinterp.c (Update_Max): Set current size of buffer
michael@0 1759 correctly (so that memory debug system won't panic).
michael@0 1760
michael@0 1761 2005-12-16 Chia-I Wu <b90201047@ntu.edu.tw>
michael@0 1762
michael@0 1763 * include/freetype/internal/ftobjs.h (ft_glyphslot_grid_fit_metrics),
michael@0 1764 src/base/ftobjs.c (ft_glyphslot_grid_fit_metrics): Removed.
michael@0 1765
michael@0 1766 * src/base/ftobjs.c (ft_recompute_scaled_metrics): Do not round.
michael@0 1767
michael@0 1768 * src/cff/cffgload.c (cff_slot_load), src/cid/cidgload.c
michael@0 1769 (cid_slot_load_glyph), src/truetype/ttgload.c (compute_glyph_metrics),
michael@0 1770 src/type1/t1gload.c (T1_Load_Glyph): Do not round glyph metrics.
michael@0 1771
michael@0 1772 * doc/CHANGES: Mention the changes.
michael@0 1773
michael@0 1774 2005-12-13 David Turner <david@freetype.org>
michael@0 1775
michael@0 1776 Change the implementation of the LIGHT hinting mode to completely
michael@0 1777 disable horizontal hinting. This is an experimental effort to
michael@0 1778 integrate David Chester's latest patch without affecting the other
michael@0 1779 hinting modes as well.
michael@0 1780
michael@0 1781 Note that this doesn't force auto-hinting for all fonts, however.
michael@0 1782
michael@0 1783 * src/autofit/afhints.c (af_glyph_hints_reload): Don't set
michael@0 1784 scaler_fiags here but...
michael@0 1785 (af_glyph_hints_rescale): Here.
michael@0 1786
michael@0 1787 * src/autofit/aflatin.c (af_latin_hints_init): Disable horizontal
michael@0 1788 hinting for `light' hinting mode.
michael@0 1789
michael@0 1790
michael@0 1791 * Jamfile: Small fix to ensure that ftexport.sym is placed into the
michael@0 1792 same location as other generated objects (i.e., within the `objs'
michael@0 1793 directory of the current directory).
michael@0 1794
michael@0 1795
michael@0 1796 Add support for an embedded `BDF ' table within SFNT-based bitmap
michael@0 1797 font files. This is used to store atoms & properties from the
michael@0 1798 original BDF fonts that were used to generate the font file.
michael@0 1799
michael@0 1800 The feature is controlled by TT_CONFIG_OPTION_BDF within
michael@0 1801 `ftoption.h' and is used to implement FT_Get_BDF_Property for these
michael@0 1802 font files.
michael@0 1803
michael@0 1804 At the moment, this is still experimental, the BDF table format
michael@0 1805 isn't cast into stone yet.
michael@0 1806
michael@0 1807 * include/freetype/config/ftoption.h (TT_CONFIG_OPTION_BDF): New
michael@0 1808 macro.
michael@0 1809
michael@0 1810 * include/freetype/config/ftstdlib.h (ft_memchr): New macro.
michael@0 1811
michael@0 1812 * include/freetype/internal/tttypes.h (TT_BDFRec, TT_BDF)
michael@0 1813 [TT_CONFIG_OPTION_BDF]: New structure.
michael@0 1814 (TT_FaceRec) [TT_CONFIG_OPTION_BDF]: New member `bdf'.
michael@0 1815
michael@0 1816 * include/freetype/ttags.h (TTAG_BDF): New macro.
michael@0 1817
michael@0 1818 * src/sfnt/Jamfile (_sources): Add ttbdf.
michael@0 1819
michael@0 1820 * src/sfnt/rules.mk (SFNT_DRV_SRC): Add ttbdf.c.
michael@0 1821
michael@0 1822 * src/sfnt/sfdriver.c [TT_CONFIG_OPTION_BDF]: Include ttbdf.h and
michael@0 1823 FT_SERVICE_BDF_H.
michael@0 1824 (sfnt_get_charset_it) [TT_CONFIG_OPTION_BDF]: New function.
michael@0 1825 (sfnt_service_bdf) [TT_CONFIG_OPTION_BDF]: New service.
michael@0 1826 (sfnt_services) [TT_CONFIG_OPTION_BDF]: Add sfnt_service_bdf.
michael@0 1827
michael@0 1828 * src/sfnt/sfnt.c [TT_CONFIG_OPTION_BDF]: Include ttbdf.c.
michael@0 1829
michael@0 1830 * src/sfnt/sfobjs.c [TT_CONFIG_OPTION_BDF]: Include ttbdf.h.
michael@0 1831 (sfnt_done_face) [TT_CONFIG_OPTION_BDF]: Call
michael@0 1832 tt_face_free_bdf_props.
michael@0 1833
michael@0 1834 * src/sfnt/ttbdf.h, src/sfnt/ttbdf.c: New files.
michael@0 1835
michael@0 1836 2005-12-07 Werner Lemberg <wl@gnu.org>
michael@0 1837
michael@0 1838 * src/sfnt/sfobjc.c (sfnt_init_face): Move tag check to...
michael@0 1839 * src/sfnt/ttload.c (sfnt_init): Here, before handling TTCs.
michael@0 1840
michael@0 1841 2005-12-06 Chia-I Wu <b90201047@ntu.edu.tw>
michael@0 1842
michael@0 1843 * src/truetype/ttobjs.c (tt_size_init): size->ttmetrics.valid is
michael@0 1844 initialized twice.
michael@0 1845 size->strike_index is not initialized.
michael@0 1846
michael@0 1847 2005-12-02 Taek Kwan(TK) Lee <taeklee@gmail.com>
michael@0 1848
michael@0 1849 * src/type42/t42objs.c (T42_Face_Init): Replace call to
michael@0 1850 FT_New_Memory_Face with call to FT_Open_Face to pass `params'.
michael@0 1851
michael@0 1852 2005-11-30 Werner Lemberg <wl@gnu.org>
michael@0 1853
michael@0 1854 * docs/CHANGES: Document ftdump's `-v' option.
michael@0 1855 Document latest charmap code changes.
michael@0 1856
michael@0 1857 * src/sfnt/ttcmap.c, src/sfnt/ttcmap.h:
michael@0 1858 s/TT_CMAP_FLAG_OVERLAPPED/TT_CMAP_FLAG_OVERLAPPING/.
michael@0 1859
michael@0 1860 2005-11-30 Chia-I Wu <b90201047@ntu.edu.tw>
michael@0 1861
michael@0 1862 * src/sfnt/ttcmap.c (tt_cmap4_char_map_binary,
michael@0 1863 tt_cmap12_char_map_binary): Fix compiler warnings.
michael@0 1864
michael@0 1865 2005-11-29 Chia-I Wu <b90201047@ntu.edu.tw>
michael@0 1866
michael@0 1867 Major update to distinguish between unsorted and overlapping
michael@0 1868 segments for cmap format 4. For overlapping but sorted segments,
michael@0 1869 which is previously considered unsorted, we still use binary search.
michael@0 1870
michael@0 1871 * src/sfnt/ttcmap.h (TT_CMapRec_): Replace `unsorted' by `flags'.
michael@0 1872 (TT_CMAP_FLAG_UNSORTED, TT_CMAP_FLAG_OVERLAPPED): New macros.
michael@0 1873
michael@0 1874 * src/sfnt/ttcmap.c (OPT_CMAP4): Removed as it is always defined.
michael@0 1875 (TT_CMap4Rec_): Remove `old_charcode' and `table_length'.
michael@0 1876 (tt_cmap4_reset): Removed.
michael@0 1877 (tt_cmap4_init): Updated accordingly.
michael@0 1878 (tt_cmap4_next): Updated accordingly.
michael@0 1879 Take care of overlapping segments.
michael@0 1880 (tt_cmap4_validate): Make sure the subtable is large enough.
michael@0 1881 Do not check glyph_ids because some fonts set the length wrongly.
michael@0 1882 Also, if all segments have offset 0, glyph_ids is always invalid.
michael@0 1883 It does not cause any problem so far only because the check misses
michael@0 1884 equality.
michael@0 1885 Distinguish between unsorted and overlapping segments.
michael@0 1886 (tt_cmap4_char_map_linear, tt_cmap4_char_map_binary): New functions
michael@0 1887 to do `charcode => glyph index' by linear/binary search.
michael@0 1888 (tt_cmap4_char_index, tt_cmap4_char_next): Use
michael@0 1889 tt_cmap4_char_map_linear and tt_cmap4_char_map_binary.
michael@0 1890 (tt_face_build_cmaps): Treat the return value of validator as flags
michael@0 1891 for cmap.
michael@0 1892
michael@0 1893 2005-11-29 Chia-I Wu <b90201047@ntu.edu.tw>
michael@0 1894
michael@0 1895 * src/sfnt/ttcmap.c (TT_CMap12Rec_, tt_cmap12_init, tt_cmap12_next):
michael@0 1896 New structures and functions for fast `next char'.
michael@0 1897 (tt_cmap12_char_map_binary): New function to do `charcode => glyph
michael@0 1898 index' by binary search.
michael@0 1899 (tt_cmap12_char_index, tt_cmap12_char_next): Use
michael@0 1900 tt_cmap12_char_map_binary.
michael@0 1901 (tt_face_build_cmaps): Check table and offset correctly (equality is
michael@0 1902 missing).
michael@0 1903
michael@0 1904 2005-11-15 Detlef Würkner <TetiSoft@apg.lahn.de>
michael@0 1905
michael@0 1906 * builds/amiga/smakefile: Adjusted the compiler options
michael@0 1907 to the current sources, now really builds the gxvalid, gzip
michael@0 1908 and psnames modules.
michael@0 1909
michael@0 1910 * builds/amiga/src/base/ftsystem.c: The assumed Seek() position
michael@0 1911 in the file cache was off by one byte which could cause false
michael@0 1912 errors in font files.
michael@0 1913
michael@0 1914 2005-11-24 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
michael@0 1915
michael@0 1916 * builds/mac/FreeType.m68k_far.make.txt,
michael@0 1917 builds/mac/FreeType.m68k_cfm.make.txt,
michael@0 1918 builds/mac/FreeType.ppc_classic.make.txt,
michael@0 1919 builds/mac/FreeType.ppc_carbon.make.txt:
michael@0 1920 Updated for MPW to build all available modules.
michael@0 1921
michael@0 1922 2005-11-21 HÃ¥vard Wall <haavardw@ifi.uio.no>
michael@0 1923
michael@0 1924 * src/bdf/bdfdrivr.c (bdf_interpret_style, BDF_Face_Done): Fix small
michael@0 1925 memory leak.
michael@0 1926
michael@0 1927 2005-11-21 Werner Lemberg <wl@gnu.org>
michael@0 1928
michael@0 1929 * src/sfnt/ttload.c (sfnt_init): Add tracing message.
michael@0 1930
michael@0 1931 2005-11-21 Chia-I Wu <b90201047@ntu.edu.tw>
michael@0 1932
michael@0 1933 * src/sfnt/ttsbit0.c (tt_sbit_decoder_load_image): Image_offset was
michael@0 1934 added twice to image_start if image_format was 2 or 5.
michael@0 1935
michael@0 1936 2005-11-21 Chia-I Wu <b90201047@ntu.edu.tw>
michael@0 1937
michael@0 1938 * src/sfnt/sfobjs.c (sfnt_init_face): Check that format_tag is known
michael@0 1939 before loading the table directory.
michael@0 1940
michael@0 1941 * src/sfnt/ttload.c (tt_face_load_sfnt_header,
michael@0 1942 tt_face_load_directory): Delay sfnt_dir_check from
michael@0 1943 tt_face_load_sfnt_header to tt_face_load_directory.
michael@0 1944
michael@0 1945 2005-11-20 Chia-I Wu <b90201047@ntu.edu.tw>
michael@0 1946
michael@0 1947 * src/sfnt/ttload.c (sfnt_dir_check): Clean up and return correct
michael@0 1948 error code.
michael@0 1949 (sfnt_init): New function to fill in face->ttc_header. A non-TTC font
michael@0 1950 is synthesized into a TTC font with one offset table.
michael@0 1951 (tt_face_load_sfnt_header): Use sfnt_init.
michael@0 1952 Fix an invalid access if the font is TTC and face_index is -1.
michael@0 1953
michael@0 1954 2005-11-18 Werner Lemberg <wl@gnu.org>
michael@0 1955
michael@0 1956 * src/sfnt/ttload.c (tt_face_load_metrics): Ignore excess number
michael@0 1957 of metrics instead of aborting. Patch suggested by Derek Noonburg.
michael@0 1958
michael@0 1959 * src/cff/cffgload.c (cff_slot_load), src/cid/cidgload.c
michael@0 1960 (cid_slot_load_glyph), src/type1/t1gload.c (T1_Load_Glyph): Scale
michael@0 1961 the glyph properly if no hinter is available.
michael@0 1962
michael@0 1963 * docs/CHANGES: Mention scaling bug.
michael@0 1964
michael@0 1965 2005-11-18 susuzki toshiya <mpsuzuki@hiroshima-u.ac.jp>
michael@0 1966
michael@0 1967 * include/freetype/ftgxval.h, src/base/ftgxval.c
michael@0 1968 (FT_TrueTypeGX_Free, FT_ClassicKern_Free): New functions to free
michael@0 1969 buffers allocated by gxvalid module.
michael@0 1970 * include/freetype/ftotval.h, src/base/ftotval.c
michael@0 1971 (FT_OpenType_Free): New function to free buffer allocated by
michael@0 1972 otvalid module.
michael@0 1973
michael@0 1974 2005-11-18 Chia-I Wu <b90201047@ntu.edu.tw>
michael@0 1975
michael@0 1976 * builds/unix/ftsystem.c (FT_Stream_Open, FT_New_Memory,
michael@0 1977 FT_Done_Memory), builds/vms/ftsystem.c (FT_Stream_Open, FT_New_Memory,
michael@0 1978 FT_Done_Memory), builds/win32/ftdebug.c (FT_Message, FT_Panic):
michael@0 1979 s/FT_EXPORT/FT_BASE/.
michael@0 1980
michael@0 1981 2005-11-17 Detlef Würkner <TetiSoft@apg.lahn.de>
michael@0 1982
michael@0 1983 * builds/amiga/src/base/ftdebug.c (FT_Trace_Get_Count,
michael@0 1984 FT_Trace_Get_Name, FT_Message, FT_Panic),
michael@0 1985 builds/amiga/src/base/ftsystem.c (FT_New_Memory, FT_Done_Memory,
michael@0 1986 FT_Stream_Open): s/FT_EXPORT/FT_BASE/.
michael@0 1987
michael@0 1988 2005-11-17 Detlef Würkner <TetiSoft@apg.lahn.de>
michael@0 1989
michael@0 1990 * builds/amiga/makefile, builds/amiga/makefile.os4,
michael@0 1991 builds/amiga/smakefile,
michael@0 1992 builds/amiga/include/freetype/config/ftmodule.h: Updated the Amiga
michael@0 1993 build files (added support for the gxvalid module).
michael@0 1994
michael@0 1995 2005-11-17 Werner Lemberg <wl@gnu.org>
michael@0 1996
michael@0 1997 Add vertical metrics support to OpenType CFF outlines. Based on a
michael@0 1998 patch from Mike Moening <MikeM@RetekSolutions.com>.
michael@0 1999
michael@0 2000 * src/cff/cffgload.c (cff_face_get_vertical_metrics): New function.
michael@0 2001 (cff_slot_load): Use cff_face_get_vertical_metrics.
michael@0 2002
michael@0 2003 * docs/CHANGES: Updated.
michael@0 2004
michael@0 2005 2005-11-17 Chia-I Wu <b90201047@ntu.edu.tw>
michael@0 2006
michael@0 2007 * src/base/ftcalc.c (FT_MulTo64): Commented out.
michael@0 2008
michael@0 2009 * include/freetype/internal/ftcalc.h (FT_SqrtFixed),
michael@0 2010 src/base/ftcalc.c (FT_SqrtFixed),
michael@0 2011 include/freetype/internal/ftdebug.h (FT_Trace_Get_Count,
michael@0 2012 FT_Trace_Get_Name, FT_Message, FT_Panic), src/base/ftdebug.c
michael@0 2013 (FT_Trace_Get_Count, FT_Trace_Get_Name, FT_Message, FT_Panic),
michael@0 2014 include/freetype/internal/ftobjs.h (FT_New_Memory, FT_Done_Memory),
michael@0 2015 include/freetype/internal/ftstream.h (FT_Stream_Open),
michael@0 2016 src/base/ftsystem.c (FT_New_Memory, FT_Done_Memory, FT_Stream_Open):
michael@0 2017 s/FT_EXPORT/FT_BASE/.
michael@0 2018
michael@0 2019 * builds/exports.mk: Manually add TT_New_Context to EXPORTS_LIST
michael@0 2020 too.
michael@0 2021
michael@0 2022 2005-11-15 David Turner <david@freetype.org>
michael@0 2023
michael@0 2024 * src/base/fttrigon.c (ft_trig_prenorm): Fix a bug that created
michael@0 2025 invalid computations, resulting in very weird bugs in TrueType
michael@0 2026 bytecode hinted fonts.
michael@0 2027
michael@0 2028 * src/truetype/ttinterp.c (FT_UNUSED_EXEC): Don't perform a
michael@0 2029 structure copy each time.
michael@0 2030
michael@0 2031 2005-11-11 Werner Lemberg <wl@gnu.org>
michael@0 2032
michael@0 2033 * src/cache/ftccache.c (FTC_Cache_Clear), src/cache/ftcmanag.c
michael@0 2034 (FTC_Manager_Check): Remove FT_EXPORT_DEF tag.
michael@0 2035
michael@0 2036 * src/base/ftcalc.c (FT_Add64): Remove FT_EXPORT_DEF tag.
michael@0 2037 (FT_Div64by32, FT_Sqrt32): Commented out. Unused.
michael@0 2038
michael@0 2039 * include/freetype/internal/ftcalc.h (SQRT_32): Removed. Unused.
michael@0 2040 (FT_Sqrt32): Commented out. Unused.
michael@0 2041
michael@0 2042 * include/freetype/cache/ftccache.h:
michael@0 2043 s/ftc_node_destroy/FTC_Node_Destroy/.
michael@0 2044
michael@0 2045 * src/cache/ftccback.h (ftc_node_destroy): New declaration.
michael@0 2046
michael@0 2047 * src/cache/ftccache.c (ftc_node_destroy): Use FT_LOCAL_DEF tag.
michael@0 2048 (FTC_Node_Destroy): New exported wrapper function for
michael@0 2049 ftc_node_destroy.
michael@0 2050
michael@0 2051 * src/cache/ftcmanag.c: Include ftccback.c.
michael@0 2052
michael@0 2053 2005-11-10 Werner Lemberg <wl@gnu.org>
michael@0 2054
michael@0 2055 * src/autofit/afangles.c, src/autofit/aftypes.h (af_angle_diff):
michael@0 2056 Comment out. Unused.
michael@0 2057
michael@0 2058 * builds/exports.mk ($(EXPORTS_LIST)): Add TT_RunIns.
michael@0 2059
michael@0 2060 2005-11-10 Christian Biesinger <cbiesinger@web.de>
michael@0 2061
michael@0 2062 * builds/beos/beos.mk: Call beos-def.mk before anything else to
michael@0 2063 define the separator.
michael@0 2064
michael@0 2065 * builds/unix/unix-cc.in (LINK_LIBRARY): Add `-no-undefined' flag.
michael@0 2066
michael@0 2067 2005-11-07 Werner Lemberg <wl@gnu.org>
michael@0 2068
michael@0 2069 * src/type1/t1afm.c (T1_Read_PFM): Zero offset means `no kerning
michael@0 2070 table available'. From Sergey Tolstov <stolstov@esri.com>.
michael@0 2071
michael@0 2072 2005-11-03 Ville Syrjälä <syrjala@sci.fi>
michael@0 2073
michael@0 2074 * src/base/ftobjs.c (FT_Open_Face): Avoid possible memory leak.
michael@0 2075
michael@0 2076 2005-11-02 Werner Lemberg <wl@gnu.org>
michael@0 2077
michael@0 2078 Make compiling instructions in docs/CUSTOMIZE work again.
michael@0 2079
michael@0 2080 * builds/unix/unix-cc.in (CPPFLAGS): New variable.
michael@0 2081 (CFLAGS): Don't include @CPPFLAGS@.
michael@0 2082 * builds/freetype.mk (FT_CFLAGS): Add CPPFLAGS.
michael@0 2083
michael@0 2084 2005-10-28 David Turner <david@freetype.org>
michael@0 2085
michael@0 2086 Update build system to support the generation of a list of exported
michael@0 2087 symbols or Windows .DEF files by parsing the public headers with the
michael@0 2088 `apinames' tool located in src/tools/apinames.c.
michael@0 2089
michael@0 2090 Only tested on Unix at the moment. On Windows, the .DEF file is
michael@0 2091 generated but isn't used yet to generate a DLL.
michael@0 2092
michael@0 2093 * builds/exports.mk: New file.
michael@0 2094
michael@0 2095 * builds/freetype.mk: Include exports.mk.
michael@0 2096 (dll): New target.
michael@0 2097 (clean_project_dos): Fix rule.
michael@0 2098
michael@0 2099 * builds/compiler/visualc.mk (TE), builds/dos/dos-def.mk (E),
michael@0 2100 builds/os2/os2-def.mk (E), builds/win32/win32-def.mk (E): New
michael@0 2101 variables for controlling executable extensions.
michael@0 2102
michael@0 2103 * builds/unix/unix-cc.in (EXPORTS_LIST, CCexe),
michael@0 2104 builds/win32/w32-bcc.mk, builds/win32/w32-gcc.mk,
michael@0 2105 builds/win32/w32-icc.mk, builds/win32/w32-icc.mk,
michael@0 2106 builds/win32/w32-mingw32.mk, builds/win32/w32-vcc,
michael@0 2107 builds/win32/w32-wat.mk (EXPORTS_LIST, EXPORT_OPTIONS,
michael@0 2108 APINAMES_OPTIONS): New targets for controlling the `apinames' tool.
michael@0 2109
michael@0 2110 * Jamfile (GenExportSymbols): Updated.
michael@0 2111
michael@0 2112
michael@0 2113 * src/pfr/pfrtypes.h, src/pfr/pfrload.c, src/pfr/pfrobjs.c
michael@0 2114 [!FT_OPTIMIZE_MEMORY]: Fold memory optimization code into
michael@0 2115 FT_OPTIMIZE_MEMORY chunks for better maintainability and simplicity.
michael@0 2116
michael@0 2117
michael@0 2118 * src/base/fttrigon.c (ft_trig_prenorm), src/base/ftcalc.c
michael@0 2119 (FT_MulFix): Performance optimizations.
michael@0 2120
michael@0 2121
michael@0 2122 * include/freetype/internal/ftgloadr.h (FT_GLYPHLOADER_CHECK_P,
michael@0 2123 FT_GLYPHLOADER_CHECK_C, FT_GLYPHLOADER_CHECK_POINTS): New macros for
michael@0 2124 checking points and contours. Update callers to use
michael@0 2125 FT_GLYPHLOADER_CHECK_POINTS instead of FT_GlyphLoader_CheckPoints
michael@0 2126 at profile-detected hot-spots.
michael@0 2127
michael@0 2128 * src/base/ftgloadr.c (FT_GlyphLoader_CheckPoints): Set `adjust'
michael@0 2129 to 0 to not call `AdjustPoints' every time.
michael@0 2130
michael@0 2131
michael@0 2132 * src/autofit/aftypes.h (AF_ANGLE_DIFF): New macro to inline
michael@0 2133 FT_Angle_Diff.
michael@0 2134
michael@0 2135 * src/autofit/afhints.c (af_direction_compute): Re-implement.
michael@0 2136 (af_glyph_hints_compute_inflections, af_glyph_hints_reload): Use
michael@0 2137 AF_ANGLE_DIFF to speed up the detection of inflexions.
michael@0 2138
michael@0 2139
michael@0 2140 * src/tools/apinames.c: Include <string.h>.
michael@0 2141 (OutputFormat): New enumeration.
michael@0 2142 (names_dump): Add two parameters to control output format and DLL
michael@0 2143 name.
michael@0 2144 (names_dump_windef): Removed. Code folded into `names_dump'.
michael@0 2145 (read_header_file): Use isalnum, not isalpha. Otherwise function
michael@0 2146 names with digits aren't read correctly.
michael@0 2147 (usage): Updated.
michael@0 2148 (main): New option `-o' to control output file name.
michael@0 2149 New option `-d' to indicate DLL file name.
michael@0 2150 Extend `-w' flag to handle Borland and Watcom compilers and linkers.
michael@0 2151
michael@0 2152 2005-10-28 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
michael@0 2153
michael@0 2154 * builds/mac/ftlib.prj, builds/mac/freetype.mak: Removed.
michael@0 2155 ftlib.prj is unmaintained and incompatible with current tree.
michael@0 2156 freetype.mak is unrecoverably broken.
michael@0 2157
michael@0 2158 * builds/mac/ftlib.prj.xml: Added.
michael@0 2159 Generated by Metrowerks CodeWarrior 9.0.
michael@0 2160
michael@0 2161 * builds/mac/FreeType.m68k_far.make.txt,
michael@0 2162 builds/mac/FreeType.m68k_cfm.make.txt,
michael@0 2163 builds/mac/FreeType.ppc_classic.make.txt,
michael@0 2164 builds/mac/FreeType.ppc_carbon.make.txt: Added.
michael@0 2165 Skeleton files of MPW makefiles.
michael@0 2166
michael@0 2167 * builds/mac/ascii2mpw.py: Added.
michael@0 2168 Python script to make MPW makefile from skeleton.
michael@0 2169
michael@0 2170 * builds/mac/README: Updated.
michael@0 2171 Almost rewritten to use new files.
michael@0 2172
michael@0 2173 2005-10-28 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
michael@0 2174
michael@0 2175 * src/base/ftmac.c: Fix invalid casts from NULL to integer typed
michael@0 2176 variables. Advised by David Turner, Masatake YAMATO, Sean McBride,
michael@0 2177 and George Williams.
michael@0 2178
michael@0 2179 2005-10-27 Werner Lemberg <wl@gnu.org>
michael@0 2180
michael@0 2181 * include/freetype/ftsysmem.h, include/freetype/ftsysio.h: Removed.
michael@0 2182 Obsolete.
michael@0 2183
michael@0 2184 2005-10-25 Werner Lemberg <wl@gnu.org>
michael@0 2185
michael@0 2186 * src/sfnt/sfdriver.c (sfnt_interface): Move out
michael@0 2187 `tt_face_get_kerning' from a #ifdef clause. Reported by Tony J.
michael@0 2188 Ibbs <tibs@sj.co.uk>.
michael@0 2189
michael@0 2190 2005-10-23 Werner Lemberg <wl@gnu.org>
michael@0 2191
michael@0 2192 * src/base/ftdbgmem.c (ft_mem_debug_realloc): Make it compile with
michael@0 2193 C++.
michael@0 2194
michael@0 2195 2005-10-21 David Turner <david@freetype.org>
michael@0 2196
michael@0 2197 * src/base/ftdbgmem.c (ft_mem_table_set, ft_mem_debug_realloc):
michael@0 2198 Another realloc memory counting bug fix.
michael@0 2199
michael@0 2200 * src/tools/Jamfile: Add missing file.
michael@0 2201
michael@0 2202 * src/lzw/Jamfile: Fix incorrect source file reference.
michael@0 2203
michael@0 2204 2005-10-20 David Turner <david@freetype.org>
michael@0 2205
michael@0 2206 * src/base/ftdbgmem.c (ft_mem_table_set, ft_mem_table_remove,
michael@0 2207 ft_mem_debug_alloc, ft_mem_debug_free, ft_mem_debug_realloc): Fixes
michael@0 2208 to better account for memory reallocations.
michael@0 2209
michael@0 2210 * src/lzw/ftlzw2.c, src/lzw/ftzopen.h, src/lzw/ftzopen.c,
michael@0 2211 src/lzw/rules.mk: First version of LZW loader re-implementation.
michael@0 2212 Apparently, this saves about 330 KB of heap memory when loading
michael@0 2213 timR24.pcf.Z.
michael@0 2214
michael@0 2215 2005-10-20 Chia-I Wu <b90201047@ntu.edu.tw>
michael@0 2216
michael@0 2217 * include/freetype/ftbitmap.h (FT_Bitmap_Copy, FT_Bitmap_Embolden),
michael@0 2218 src/base/ftbdf.c (FT_Get_BDF_Property), src/cache/ftcmru.c
michael@0 2219 (FTC_MruList_Reset, FTC_MruList_Done, FTC_MruList_Lookup): Fix
michael@0 2220 FT_EXPORT/FT_EXPORT_DEF tagging.
michael@0 2221
michael@0 2222 2005-10-19 Chia-I Wu <b90201047@ntu.edu.tw>
michael@0 2223
michael@0 2224 * src/truetype/ttgload.c (TT_Load_Glyph): Allow size->ttmetrics to
michael@0 2225 be invalid when FT_LOAD_NO_SCALE is set.
michael@0 2226
michael@0 2227 2005-10-17 David Turner <david@freetype.org>
michael@0 2228
michael@0 2229 * src/base/ftobjs.c (FT_Open_Face): Don't call FT_New_GlyphSlot and
michael@0 2230 FT_New_Size if we are opening a face with face_index < 0 (which is
michael@0 2231 only used for testing the format).
michael@0 2232
michael@0 2233 * src/gxvalid/gxvmort0.c (gxv_mort_subtable_type0_entry_validate):
michael@0 2234 Remove compiler warning.
michael@0 2235
michael@0 2236 2005-10-16 David Turner <david@freetype.org>
michael@0 2237
michael@0 2238 * src/tools/apinames.c: Add new tool to extract public API function
michael@0 2239 names from header files.
michael@0 2240
michael@0 2241 2005-10-05 Werner Lemberg <wl@gnu.org>
michael@0 2242
michael@0 2243 Add FT_FACE_FLAG_HINTER to indicate that a specific font driver has
michael@0 2244 a hinting engine of its own.
michael@0 2245
michael@0 2246 * include/freetype/freetype.h (FT_FACE_FLAG_HINTER): New macro.
michael@0 2247
michael@0 2248 * src/cff/cffobjs.c (cff_face_init), src/cid/cidobjs.c
michael@0 2249 (cid_face_init), src/truetype/ttobjs.c (tt_face_init)
michael@0 2250 [TT_CONFIG_OPTION_BYTECODE_INTERPRETER], src/type1/t1objs.c
michael@0 2251 (T1_Face_Init), src/type42/t42objs.c (T42_Face_Init)
michael@0 2252 [TT_CONFIG_OPTION_BYTECODE_INTERPRETER]: Update face flags.
michael@0 2253
michael@0 2254 * docs/CHANGES: Document it.
michael@0 2255
michael@0 2256 2005-09-27 Werner Lemberg <wl@gnu.org>
michael@0 2257
michael@0 2258 * builds/unix/freetype2.m4: Add license exception so that the file
michael@0 2259 can be used in any other autoconf script.
michael@0 2260
michael@0 2261 2005-09-26 David Turner <david@freetype.org>
michael@0 2262
michael@0 2263 * src/autofit/aflatin.c (af_latin_compute_stem_width): Fix bad
michael@0 2264 computation of the `vertical' flag, causing ugly things in LCD mode
michael@0 2265 and others.
michael@0 2266
michael@0 2267 2005-09-23 David Turner <david@freetype.org>
michael@0 2268
michael@0 2269 * src/autofit/aflatin.c (af_latin_hints_init): Fix a bug that
michael@0 2270 prevented internal hint mode bitflags from being computed correctly.
michael@0 2271
michael@0 2272 * src/base/Jamfile: Adding src/base/ftgxval.c.
michael@0 2273
michael@0 2274 * src/gxvalid/gxvbsln.c, src/gxvalid/gxvcommn.c,
michael@0 2275 src/gxvalid/gxvfeat.c, src/gxvalid/gxvjust.c, src/gxvalid/gxvkern.c,
michael@0 2276 src/gxvalid/gxvlcar.c, src/gxvalid/gxvmort.c,
michael@0 2277 src/gxvalid/gxvmort0.c, src/gxvalid/gxvmort1.c,
michael@0 2278 src/gxvalid/gxvmort2.c, src/gxvalid/gxvmort4.c,
michael@0 2279 src/gxvalid/gxvmort5.c, src/gxvalid/gxvmorx.c,
michael@0 2280 src/gxvalid/gxvmorx0.c, src/gxvalid/gxvmorx1.c,
michael@0 2281 src/gxvalid/gxvmorx2.c, src/gxvalid/gxvmorx5.c,
michael@0 2282 src/gxvalid/gxvopbd.c, src/gxvalid/gxvprop.c,
michael@0 2283 src/truetype/ttgload.c: Remove _many_ compiler warnings when
michael@0 2284 compiling with Visual C++ at maximum level (/W4).
michael@0 2285
michael@0 2286 * src/autofit/afangles.c (af_angle_atan): Replaced CORDIC-based
michael@0 2287 implementation with one using lookup tables. This simple thing
michael@0 2288 speeds up glyph loading by 18%, according to ftbench!
michael@0 2289
michael@0 2290 * src/sfnt/sfdriver.c (sfnt_get_interface): Don't check for
michael@0 2291 `get_sfnt' and `load_sfnt' module interfaces.
michael@0 2292
michael@0 2293 2005-09-22 Werner Lemberg <wl@gnu.org>
michael@0 2294
michael@0 2295 * docs/CHANGES: Mention SING Glyphlet support.
michael@0 2296
michael@0 2297 2005-09-22 David Turner <david@freetype.org>
michael@0 2298
michael@0 2299 * src/base/Jamfile: Disable compilation of ftgxval module
michael@0 2300 temporarily.
michael@0 2301
michael@0 2302 2005-09-19 David Somers <dsomers@omz13.com>
michael@0 2303
michael@0 2304 * src/sfnt/ttload.c (sfnt_dir_check): Modified to allow a
michael@0 2305 font to have no `head' table if tables `SING' and `META' are
michael@0 2306 present; this is to support `SING Glyphlet'.
michael@0 2307
michael@0 2308 `SING Glyphlet' is an extension to OpenType developed by Adobe
michael@0 2309 primarily to facilitate adding supplemental glyphs to an OpenType
michael@0 2310 font (with emphasis on, but not necessarily limited to, gaiji to a
michael@0 2311 CJK font). A SING Glyphlet Font is an OpenType font that contains
michael@0 2312 the outline(s), either in a `glyf' or `CFF' table, for a glyph;
michael@0 2313 `cmap', `BASE', and `GSUB' tables are present with the same format
michael@0 2314 and functionaliy as a regular OpenType font; there are no `name',
michael@0 2315 `head', `OS/2', and `post' tables; there are two new tables, `SING'
michael@0 2316 which contains details about the glyphlet, and `META' which contains
michael@0 2317 metadata.
michael@0 2318
michael@0 2319 Further information on the SING Glyphlet format can be found at:
michael@0 2320
michael@0 2321 http://www.adobe.com/products/indesign/sing_gaiji.html
michael@0 2322
michael@0 2323 * include/freetype/ttags.h (TTAG_SING, TTAG_META): New macros for
michael@0 2324 the OpenType tables `SING' and `META'. These two tables are used in
michael@0 2325 SING Glyphlet Format fonts.
michael@0 2326
michael@0 2327 2005-09-09 Werner Lemberg <wl@gnu.org>
michael@0 2328
michael@0 2329 * src/sfnt/sfobjs.c (sfnt_load_face): Reactivate code to set
michael@0 2330 FT_FACE_FLAG_KERNING which has been commented out erroneously.
michael@0 2331
michael@0 2332 * docs/CHANGES: Document it.
michael@0 2333
michael@0 2334 2005-09-05 Werner Lemberg <wl@gnu.org>
michael@0 2335
michael@0 2336 Fixes for `make multi' and using C++ compiler.
michael@0 2337
michael@0 2338 * src/gxvalid/gxvcommn.c (gxv_set_length_by_ushort_offset,
michael@0 2339 gxv_set_length_by_ulong_offset, gxv_array_getlimits_byte,
michael@0 2340 gxv_array_getlimits_ushort): Declare with FT_LOCAL_DEF.
michael@0 2341 (gxv_compare_ranges): Make it static.
michael@0 2342 (gxv_LookupTable_fmt0_validate, gxv_LookupTable_fmt2_validate,
michael@0 2343 gxv_LookupTable_fmt4_validate, gxv_LookupTable_fmt6_validate,
michael@0 2344 gxv_LookupTable_fmt8_validate, gxv_LookupTable_validate): Improve
michael@0 2345 trace messages.
michael@0 2346 (gxv_StateArray_validate, gxv_XStateArray_validate): s/class/clazz/.
michael@0 2347 (GXV_STATETABLE_HEADER_SIZE, GXV_STATEHEADER_SIZE,
michael@0 2348 GXV_XSTATETABLE_HEADER_SIZE, GXV_XSTATEHEADER_SIZE): Move to
michael@0 2349 gxvcommn.h.
michael@0 2350
michael@0 2351 * src/gxvalid/gxvcommn.h: Add prototypes for
michael@0 2352 gxv_StateTable_subtable_setup, gxv_XStateTable_subtable_setup,
michael@0 2353 gxv_XStateTable_validate, gxv_array_getlimits_byte,
michael@0 2354 gxv_array_getlimits_ushort, gxv_set_length_by_ushort_offset,
michael@0 2355 gxv_set_length_by_ulong_offset, gxv_odtect_add_range,
michael@0 2356 gxv_odtect_validate.
michael@0 2357 (GXV_STATETABLE_HEADER_SIZE, GXV_STATEHEADER_SIZE,
michael@0 2358 GXV_XSTATETABLE_HEADER_SIZE, GXV_XSTATEHEADER_SIZE): Moved from
michael@0 2359 gxvcommn.c.
michael@0 2360
michael@0 2361 * src/gxvalid/gxvbsln.c (gxv_bsln_LookupValue_validate,
michael@0 2362 gxv_bsln_parts_fmt1_validate): Improve trace messages.
michael@0 2363
michael@0 2364 * src/gxvalid/gxvfeat.c: Split off predefined registry stuff to...
michael@0 2365 * src/gxvalid/gxvfeat.h: New file.
michael@0 2366
michael@0 2367 * src/gxvalid/gxvjust.c (gxv_just_wdc_entry_validate): Improve trace
michael@0 2368 message.
michael@0 2369
michael@0 2370 * src/gxvalid/gxvkern.c (GXV_kern_Dialect): Add KERN_DIALECT_UNKNOWN.
michael@0 2371 (gxv_kern_subtable_fmt1_valueTable_load,
michael@0 2372 gxv_kern_subtable_fmt1_subtable_setup,
michael@0 2373 gxv_kern_subtable_fmt1_entry_validate): Fix C++ compiler errors.
michael@0 2374 (gxv_kern_coverage_validate): Use KERN_DIALECT_UNKWOWN.
michael@0 2375 Improve trace message.
michael@0 2376 (gxv_kern_validate_generic): Fix C++ compiler error.
michael@0 2377 Improve trace message.
michael@0 2378 (gxv_kern_validate_classic): Fix C++ compiler error.
michael@0 2379
michael@0 2380 * src/gxvalid/gxvmort0.c (gxv_mort_subtable_type0_validate): Declare
michael@0 2381 with FT_LOCAL_DEF.
michael@0 2382
michael@0 2383 * src/gxvalid/gxvmort1.c
michael@0 2384 (gxv_mort_subtable_type1_substitutionTable_load,
michael@0 2385 gxv_mort_subtable_type1_subtable_setup): Fix C++ compiler errors.
michael@0 2386 (gxv_mort_subtable_type1_substTable_validate): Improve trace
michael@0 2387 message.
michael@0 2388 (gxv_mort_subtable_type1_validate): Declare with FT_LOCAL_DEF.
michael@0 2389
michael@0 2390 * src/gxvalid/gxvmort2.c (gxv_mort_subtable_type2_opttable_load,
michael@0 2391 gxv_mort_subtable_type2_subtable_setup,
michael@0 2392 gxv_mort_subtable_type2_ligActionOffset_validate,
michael@0 2393 gxv_mort_subtable_type2_ligatureTable_validate): Fix C++ compiler
michael@0 2394 errors.
michael@0 2395 (gxv_mort_subtable_type2_validate): Declare with FT_LOCAL_DEF.
michael@0 2396
michael@0 2397 * src/gxvalid/gxvmort4.c (gxv_mort_subtable_type4_validate): Declare
michael@0 2398 with FT_LOCAL_DEF.
michael@0 2399
michael@0 2400 * src/gxvalid/gxvmort5.c (gxv_mort_subtable_type5_subtable_setup,
michael@0 2401 gxv_mort_subtable_type5_InsertList_validate): Fix C++ compiler
michael@0 2402 errors.
michael@0 2403 (gxv_mort_subtable_type5_validate): Declare with FT_LOCAL_DEF.
michael@0 2404
michael@0 2405 * src/gxvalid/gxvmort.c: Include gxvfeat.h.
michael@0 2406 (gxv_mort_featurearray_validate, gxv_mort_coverage_validate):
michael@0 2407 Declare with FT_LOCAL_DEF.
michael@0 2408 (gxv_mort_subtables_validate, gxv_mort_validate): Improve trace
michael@0 2409 messages.
michael@0 2410
michael@0 2411 * src/gxvalid/gxvmort.h (gxv_mort_feature_validate): Remove.
michael@0 2412
michael@0 2413 * src/gxvalid/gxvmorx0.c (gxv_morx_subtable_type0_validate): Declare
michael@0 2414 with FT_LOCAL_DEF.
michael@0 2415
michael@0 2416 * src/gxvalid/gxvmorx1.c
michael@0 2417 (gxv_morx_subtable_type1_substitutionTable_load,
michael@0 2418 gxv_morx_subtable_type1_subtable_setup,
michael@0 2419 gxv_morx_subtable_type1_entry_validate,
michael@0 2420 gxv_morx_subtable_type1_substitutionTable_validate): Fix C++
michael@0 2421 compiler errors.
michael@0 2422 (gxv_morx_subtable_type1_validate): Declare with FT_LOCAL_DEF.
michael@0 2423
michael@0 2424 * src/gxvalid/gxvmorx2.c (gxv_morx_subtable_type2_opttable_load,
michael@0 2425 gxv_morx_subtable_type2_subtable_setup,
michael@0 2426 gxv_morx_subtable_type2_ligActionIndex_validate,
michael@0 2427 gxv_morx_subtable_type2_ligatureTable_validate): Fix C++ compiler
michael@0 2428 errors.
michael@0 2429 (gxv_morx_subtable_type2_validate): Declare with FT_LOCAL_DEF.
michael@0 2430 Fix typo.
michael@0 2431
michael@0 2432 * src/gxvalid/gxvmorx4.c (gxv_morx_subtable_type4_validate): Declare
michael@0 2433 with FT_LOCAL_DEF.
michael@0 2434
michael@0 2435 * src/gxvalid/gxvmorx5.c (gxv_morx_subtable_type5_insertionGlyph_load,
michael@0 2436 gxv_morx_subtable_type5_subtable_setup): Fix C++ compiler error.
michael@0 2437 (gxv_morx_subtable_type5_validate): Declare with FT_LOCAL_DEF.
michael@0 2438
michael@0 2439 * src/gxvalid/gxvmorx.c (gxv_morx_subtables_validate,
michael@0 2440 gxv_morx_validate): Improve trace message.
michael@0 2441
michael@0 2442 * src/gxvalid/gxvopbd.c (gxv_opbd_LookupFmt4_transit): Fix compiler
michael@0 2443 warnings.
michael@0 2444 (gxv_opbd_validate): Improve trace message.
michael@0 2445
michael@0 2446 * src/gxvalid/gxvprop.c: Decorate constants with `U' and `L' where
michael@0 2447 appropriate.
michael@0 2448 (gxv_prop_zero_advance_validate, gxv_prop_validate): Improve trace
michael@0 2449 message.
michael@0 2450
michael@0 2451 * src/gxvalid/gxvtrak.c (gxv_trak_trackTable_validate): Remove unused
michael@0 2452 parameter. Update all callers.
michael@0 2453 (gxv_trak_validate): Improve trace message.
michael@0 2454
michael@0 2455 * rules.mk (GXV_DRV_H): Add gxvfeat.h.
michael@0 2456
michael@0 2457 2005-09-01 Werner Lemberg <wl@gnu.org>
michael@0 2458
michael@0 2459 * src/gxvalid/gxvbsln.c (GXV_BSLN_VALUE_EMPTY): Add `U'.
michael@0 2460
michael@0 2461 * src/gxvalid/gxmort1.c (GXV_MORT_SUBTABLE_TYPE1_HEADER_SIZE),
michael@0 2462 src/gxvalid/gxmort2.c (GXV_MORT_SUBTABLE_TYPE2_HEADER_SIZE): Fix
michael@0 2463 typo.
michael@0 2464
michael@0 2465 * src/gxvalid/gxvmorx0.c, src/gxvalid/gxvmorx1.c,
michael@0 2466 src/gxvalid/gxvmorx2.c, src/gxvalid/gxvmorx4.c,
michael@0 2467 src/gxvalid/gxvmorx5.c, src/gxvalid/gxvmort.c: Improve trace
michael@0 2468 messages.
michael@0 2469 Decorate constants with `U' and `L' where appropriate.
michael@0 2470 Fix compiler warnings.
michael@0 2471
michael@0 2472 2005-08-31 Werner Lemberg <wl@gnu.org>
michael@0 2473
michael@0 2474 * src/truetype/ttgload.c (load_truetype_glyph): Fix typo.
michael@0 2475
michael@0 2476 * src/gxvalid/gxvbsln.c (gxv_bsln_validate): Fix trace message.
michael@0 2477
michael@0 2478 * src/gxvalid/gxvcommn.c (gxv_odtect_add_range): Use `const'.
michael@0 2479
michael@0 2480 * src/gxvalid/gxvfeat.c, src/gxvalid/gxvjust.c,
michael@0 2481 src/gxvalid/gxvkern.c, src/gxvalid/gxvlcar.c, src/gxvalid/gxvmod.c,
michael@0 2482 src/gxvalid/gxvmort0.c, src/gxvalid/gxvmort1.c,
michael@0 2483 src/gxvalid/gxvmort2.c, src/gxvalid/gxvmort4.c,
michael@0 2484 src/gxvalid/gxvmort5.c, src/gxvalid/gxvmort.c: Improve trace
michael@0 2485 messages.
michael@0 2486 Decorate constants with `U' and `L' where appropriate.
michael@0 2487 Fix compiler warnings.
michael@0 2488
michael@0 2489 2005-08-30 Werner Lemberg <wl@gnu.org>
michael@0 2490
michael@0 2491 * src/gxvalid/README: Revised.
michael@0 2492 * src/gxvalid/gxvbsln.c: Fix compiler warnings.
michael@0 2493 * src/gxvalid/gxvcommn.c: Fix compiler warnings.
michael@0 2494 (gxv_XEntryTable_validate, gxv_compare_ranges): Remove unused
michael@0 2495 parameter. Update all callers.
michael@0 2496 Improve trace messages.
michael@0 2497 Some formatting.
michael@0 2498
michael@0 2499 2005-08-29 Werner Lemberg <wl@gnu.org>
michael@0 2500
michael@0 2501 * include/freetype/freetype.h, include/freetype/ftchapters.h: Add
michael@0 2502 a preliminary section with some explanations about user allocation.
michael@0 2503
michael@0 2504 * src/tools/docmaker/tohtml.py (HtmlFormatter.section_enter):
michael@0 2505 Don't abort if there are no data types, functions, etc., in a
michael@0 2506 section.
michael@0 2507 Print synopsis only if we have a data type, function, etc.
michael@0 2508
michael@0 2509 * docs/INSTALL.ANY, docs/INSTALL, docs/INSTALL.UNX, docs/CUSTOMIZE,
michael@0 2510 docs/INSTALL.GNU, docs/TRUETYPE, docs/DEBUG, docs/UPGRADE.UNX,
michael@0 2511 docs/VERSION.DLL, docs/formats.txt: Revised, formatted.
michael@0 2512
michael@0 2513 2005-08-28 George Williams <gww@silcom.com>
michael@0 2514
michael@0 2515 * src/truetype/ttgload.c [TT_MAX_COMPOSITE_RECURSE]: Removed.
michael@0 2516 (load_truetype_glyph): Limit recursion depth by `maxComponentDepth'.
michael@0 2517
michael@0 2518 2005-08-25 J. Ali Harlow <ali@avrc.city.ac.uk>
michael@0 2519
michael@0 2520 * builds/unix/freetype2.in (CFlags): Add missing directory.
michael@0 2521
michael@0 2522 2005-08-24 Werner Lemberg <wl@gnu.org>
michael@0 2523
michael@0 2524 * docs/CHANGES: Mention gxvalid module.
michael@0 2525
michael@0 2526 2005-08-23 Werner Lemberg <wl@gnu.org>
michael@0 2527
michael@0 2528 * src/autofit/aflatin.c (af_latin_metrics_scale): Initialize
michael@0 2529 render mode properly. Reported by chris@dokein.co.uk.
michael@0 2530
michael@0 2531 2005-08-23 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
michael@0 2532
michael@0 2533 Add gxvalid module to validate TrueType GX/AAT tables.
michael@0 2534
michael@0 2535 Modifications on existing files:
michael@0 2536
michael@0 2537 * Jamfile: Register gxvalid module.
michael@0 2538 * src/base/Jamfile: Register ftgxval.c.
michael@0 2539 * src/base/rule.mk: Register ftgxval.c.
michael@0 2540 * docs/INSTALL.ANY: Register gxvalid/gxvalid.c.
michael@0 2541
michael@0 2542 * include/freetype/config/ftheader.h (FT_GX_VALIDATE_H): New macro
michael@0 2543 to include gxvalid header file.
michael@0 2544 * include/freetype/config/ftmodule.h: Register gxv_module_class.
michael@0 2545
michael@0 2546 * include/freetype/ftchapters.h: Add comment about gx_validation.
michael@0 2547 * include/freetype/ftotval.h: Change keyword FT_VALIDATE_XXX
michael@0 2548 to FT_VALIDATE_OTXXX to co-exist with gxvalid.
michael@0 2549 * include/freetype/tttags.h: Add tags for TrueType GX/AAT tables.
michael@0 2550
michael@0 2551 * include/freetype/internal/ftserv.h (FT_SERVICE_GX_VALIDATE_H): New
michael@0 2552 macro for gxvalid service.
michael@0 2553 * include/freetype/internal/fttrace.h: Add trace facilities for
michael@0 2554 gxvalid.
michael@0 2555
michael@0 2556 New files on existing directories:
michael@0 2557
michael@0 2558 * include/freetype/internal/services/svgxval.h: Registration of
michael@0 2559 validation service for TrueType GX/AAT and classic kern table.
michael@0 2560 * include/freetype/ftgxval.h: Public API definition to use gxvalid.
michael@0 2561 * src/base/ftgxval.c: Public API of gxvalid.
michael@0 2562
michael@0 2563 New files under src/gxvalid/:
michael@0 2564
michael@0 2565 * src/gxvalid/Jamfile src/gxvalid/README src/gxvalid/module.mk
michael@0 2566 src/gxvalid/rules.mk src/gxvalid/gxvalid.c src/gxvalid/gxvalid.h
michael@0 2567 src/gxvalid/gxvbsln.c src/gxvalid/gxvcommn.c src/gxvalid/gxvcommn.h
michael@0 2568 src/gxvalid/gxverror.h src/gxvalid/gxvfeat.c src/gxvalid/gxvfgen.c
michael@0 2569 src/gxvalid/gxvjust.c src/gxvalid/gxvkern.c src/gxvalid/gxvlcar.c
michael@0 2570 src/gxvalid/gxvmod.c src/gxvalid/gxvmod.h src/gxvalid/gxvmort.c
michael@0 2571 src/gxvalid/gxvmort.h src/gxvalid/gxvmort0.c src/gxvalid/gxvmort1.c
michael@0 2572 src/gxvalid/gxvmort2.c src/gxvalid/gxvmort4.c src/gxvalid/gxvmort5.c
michael@0 2573 src/gxvalid/gxvmorx.c src/gxvalid/gxvmorx.h src/gxvalid/gxvmorx0.c
michael@0 2574 src/gxvalid/gxvmorx1.c src/gxvalid/gxvmorx2.c src/gxvalid/gxvmorx4.c
michael@0 2575 src/gxvalid/gxvmorx5.c src/gxvalid/gxvopbd.c src/gxvalid/gxvprop.c
michael@0 2576 src/gxvalid/gxvtrak.c: New files, gxvalid body.
michael@0 2577
michael@0 2578 2005-08-21 Werner Lemberg <wl@gnu.org>
michael@0 2579
michael@0 2580 * src/truetype/ttgload.c (TT_Load_Glyph): Only translate outline
michael@0 2581 to (0,0) if bit 1 of the `head' table isn't set. This improves
michael@0 2582 rendering of buggy fonts.
michael@0 2583
michael@0 2584 2005-08-20 Chia I Wu <b90201047@ntu.edu.tw>
michael@0 2585
michael@0 2586 * src/truetype/ttdriver.c (Load_Glyph): Don't check the validity of
michael@0 2587 ttmetrics here. TrueType fonts with only sbits always have
michael@0 2588 ttmetrics.valid set to false.
michael@0 2589
michael@0 2590 * src/truetype/ttgload.c (TT_Load_Glyph): Check that ttmetrics is
michael@0 2591 valid before loading outline glyph.
michael@0 2592
michael@0 2593 * src/cache/ftcimage.c (FTC_INode_New): Fix a memory leak.
michael@0 2594
michael@0 2595 2005-08-20 Werner Lemberg <wl@gnu.org>
michael@0 2596
michael@0 2597 * src/sfnt/ttload.c (tt_face_load_metrics_header): Ignore missing
michael@0 2598 `hhea' table for SFNT Mac fonts. Change based on a patch by
michael@0 2599 mpsuzuki@hiroshima-u.ac.jp.
michael@0 2600
michael@0 2601 2005-08-20 Masatake YAMATO <jet@gyve.org>
michael@0 2602
michael@0 2603 * src/otvalid/otvmod.c (otv_validate): Use ft_validator_run instead
michael@0 2604 of ft_setjmp.
michael@0 2605
michael@0 2606 2005-08-19 Werner Lemberg <wl@gnu.org>
michael@0 2607
michael@0 2608 * src/truetype/ttgload.c (load_truetype_glyph): Fix compiler
michael@0 2609 warnings.
michael@0 2610
michael@0 2611 2005-08-16 Chia I Wu <b90201047@ntu.edu.tw>
michael@0 2612
michael@0 2613 * src/truetype/ttinterp.c, src/truetype/ttinterp.h: Update copyright
michael@0 2614 messages.
michael@0 2615
michael@0 2616 2005-08-16 Chia I Wu <b90201047@ntu.edu.tw>
michael@0 2617
michael@0 2618 * src/truetype/ttinterp.c, src/truetype/ttinterp.h: Remove original
michael@0 2619 TT_Done_Context and rename TT_Destroy_Context to TT_Done_Context
michael@0 2620 with slight changes.
michael@0 2621 Update all callers.
michael@0 2622 (TT_New_Context): Now takes TT_Driver argument directly.
michael@0 2623 Update all callers.
michael@0 2624
michael@0 2625 * src/truetype/ttobjs.h (tt_slot_init): New function.
michael@0 2626 * src/truetype/ttobjs.c (tt_driver_init): Initialize execution
michael@0 2627 context here.
michael@0 2628 (tt_slot_init): New function to create extra points for the internal
michael@0 2629 glyph loader. We then use it directly, instead of face's glyph
michael@0 2630 loader, when loading glyph.
michael@0 2631
michael@0 2632 * src/truetype/ttdriver.c (tt_driver_class): Use tt_slot_init for
michael@0 2633 glyph slot initialization.
michael@0 2634 (Load_Glyph): Load flag dependencies are handled here. Return error
michael@0 2635 if size is NULL.
michael@0 2636
michael@0 2637 * src/truetype/ttgload.c: Heavy cleanup and refactoring.
michael@0 2638 (org_to_cur): Removed.
michael@0 2639 (TT_Load_Simple_Glyph): Call FT_GlyphLoader_CheckPoints.
michael@0 2640 (TT_Hint_Glyph): New function to hint a zone, prepared by caller.
michael@0 2641 (TT_Process_Simple_Glyph): s/load/loader/.
michael@0 2642 Use loader->pp values instead of recalculation.
michael@0 2643 Use TT_Hint_Glyph.
michael@0 2644 No need to save/restore loader->stream before and after
michael@0 2645 TT_Vary_Get_Glyph_Deltas now.
michael@0 2646 (TT_LOADER_SET_PP): New macro to calculate and set the four phantom
michael@0 2647 points.
michael@0 2648 (load_truetype_glyph): Never set exec->glyphSize to 0. This closes
michael@0 2649 Savannah bug #13107.
michael@0 2650 Forget glyph frame before calling TT_Process_Simple_Glyph.
michael@0 2651 Use TT_LOADER_SET_PP.
michael@0 2652 Scale all four phantom points.
michael@0 2653 Split off some functionality to ...
michael@0 2654 (TT_Process_Composite_Component, TT_Process_Composite_Glyph): These
michael@0 2655 new functions.
michael@0 2656 (TT_Load_Glyph): Set various fields of `glyph' here, not in
michael@0 2657 load_truetype_glyph and compute_glyph_metrics.
michael@0 2658 Split off some functionality to ...
michael@0 2659 (load_sbit_image, tt_loader_init): These new functions.
michael@0 2660 (compute_glyph_metrics): Call FT_Outline_Get_CBox.
michael@0 2661
michael@0 2662 2005-08-08 Werner Lemberg <wl@gnu.org>
michael@0 2663
michael@0 2664 * docs/INSTALL.ANY: Updated.
michael@0 2665
michael@0 2666 2005-08-05 Werner Lemberg <wl@gnu.org>
michael@0 2667
michael@0 2668 * src/cff/cffgload.c (cff_builder_close_contour),
michael@0 2669 src/psaux/psobjs.c (t1_builder_close_contour): Protect against
michael@0 2670 zero `outline' pointer.
michael@0 2671
michael@0 2672 * src/base/ftgloadr.c (FT_GlyphLoader_Add): Protect against zero
michael@0 2673 `loader' address.
michael@0 2674
michael@0 2675 2005-08-03 Werner Lemberg <wl@gnu.org>
michael@0 2676
michael@0 2677 * src/sfnt/sfdriver.c (sfnt_interface) [FT_OPTIMIZE_MEMORY]:
michael@0 2678 Reactivate pointers to tt_find_sbit_image and tt_load_sbit_metrics
michael@0 2679 to make X work again.
michael@0 2680
michael@0 2681 2005-08-02 Werner Lemberg <wl@gnu.org>
michael@0 2682
michael@0 2683 * src/otvalid/otvcommn.h: Remove dead code.
michael@0 2684
michael@0 2685 2005-07-31 Chia I Wu <b90201047@ntu.edu.tw>
michael@0 2686
michael@0 2687 * src/truetype/ttobjs.h (tt_size_run_fpgm, tt_size_run_prep): New
michael@0 2688 functions.
michael@0 2689
michael@0 2690 * src/truetype/ttobjs.c (tt_size_run_fpgm, tt_size_run_prep): New
michael@0 2691 functions.
michael@0 2692 (tt_size_init): Add 4, instead of 2, (phantom) points to twilight
michael@0 2693 zone.
michael@0 2694 Move code that runs fpgm to tt_size_run_fpgm.
michael@0 2695 (Reset_Outline_Size): Move code that runs prep to tt_size_run_prep.
michael@0 2696 (tt_glyphzone_new): Allocate right size of arrays.
michael@0 2697 Set max_points and max_contours properly.
michael@0 2698
michael@0 2699 2005-07-26 Chia I Wu <b90201047@ntu.edu.tw>
michael@0 2700
michael@0 2701 * src/truetype/ttdriver.c (Set_Char_Sizes): Avoid unnecessary
michael@0 2702 computations and clean up.
michael@0 2703
michael@0 2704 * src/truetype/ttobjs.h (struct TT_SizeRec_): Comment on the
michael@0 2705 internal copy of metrics.
michael@0 2706
michael@0 2707 2005-07-12 Werner Lemberg <wl@gnu.org>
michael@0 2708
michael@0 2709 * include/freetype/ftoutln.h (FT_Outline_Embolden): Fix prototype.
michael@0 2710 Reported by Xerxes.
michael@0 2711
michael@0 2712 2005-07-04 Werner Lemberg <wl@gnu.org>
michael@0 2713
michael@0 2714 * include/freetype/internal/ftmemory.h (FT_REALLOC_ARRAY): Fix typo.
michael@0 2715 Reported by Brett Hutley.
michael@0 2716
michael@0 2717 2005-06-30 David Turner <david@freetype.org>
michael@0 2718
michael@0 2719 * src/sfnt/ftbitmap.c, src/truetype/ttgload.c, src/sfnt/ttcmap.c:
michael@0 2720 Removing compiler warnings (Visual C++ /W4).
michael@0 2721
michael@0 2722
michael@0 2723 Implement a work-around for broken C preprocessor in Visual C++ (it
michael@0 2724 has been confirmed by the MS developers that it is indeed a bug
michael@0 2725 which won't be fixed in the very near future).
michael@0 2726
michael@0 2727 * Jamfile (FT2_COMPONENTS): Include otvalid (again).
michael@0 2728
michael@0 2729 * src/otvalid/otvcommn.h (OTV_NAME, OTV_FUNC): New macros.
michael@0 2730 (OTV_NEST1, OTV_NEST2, OTV_NEST3): Use OTV_NAME and OTV_FUNC to
michael@0 2731 avoid argument expansion by argument prescan.
michael@0 2732 Append `Func' to all affected macros and change them to take just a
michael@0 2733 single argument. Example: `AttachList' is renamed to
michael@0 2734 `AttachListFunc'.
michael@0 2735
michael@0 2736 * src/otvalid/otvgdef.c, src/otvalid/otvgpos.c,
michael@0 2737 src/otvalid/otvgsub.c, src/otvjstf.c: Append `Func' to macros
michael@0 2738 affected by the changes to OTV_NESTx and modify them to take just a
michael@0 2739 single argument.
michael@0 2740
michael@0 2741 2005-06-20 Chia I Wu <b90201047@ntu.edu.tw>
michael@0 2742
michael@0 2743 * include/freetype/internal/ftobjs.h, src/base/ftobjs.c: New function
michael@0 2744 ft_glyphslot_grid_fit_metrics.
michael@0 2745
michael@0 2746 * src/truetype/ttgload.c (compute_glyph_metrics): Use
michael@0 2747 ft_glyphslot_grid_fit_metrics.
michael@0 2748
michael@0 2749 * src/cff/cffgload.c (cff_slot_load), src/cid/cidgload.c
michael@0 2750 (cid_slot_load_glyph), src/type1/t1gload.c (T1_Load_Glyph): Use
michael@0 2751 ft_glyphslot_grid_fit_metrics.
michael@0 2752 FT_Outline_Get_CBox is called twice.
michael@0 2753
michael@0 2754 * src/base/ftsynth.c (FT_GlyphSlot_Embolden): Modify metrics to more
michael@0 2755 reasonable values when emboldening outline glyphs. The theoretic
michael@0 2756 ones are unrealistic.
michael@0 2757
michael@0 2758 2005-06-16 Chia I Wu <b90201047@ntu.edu.tw>
michael@0 2759
michael@0 2760 * src/base/ftoutln.c (FT_Outline_Embolden): Strength should be
michael@0 2761 halved.
michael@0 2762
michael@0 2763 * src/base/ftsynth.c (FT_GlyphSlot_Embolden): Change the default
michael@0 2764 strength.
michael@0 2765 Don't increase slot->advance.y.
michael@0 2766
michael@0 2767 2005-06-16 Werner Lemberg <wl@gnu.org>
michael@0 2768
michael@0 2769 * include/freetype/freetype.h (FREETYPE_MINOR): Set to 2.
michael@0 2770 (FREETYPE_PATCH): Set to 0.
michael@0 2771
michael@0 2772 * builds/unix/configure.ac (version_info): Set to 9:9:3.
michael@0 2773 Currently, we are still binary compatible.
michael@0 2774
michael@0 2775 * builds/win32/visualc/index.html,
michael@0 2776 builds/win32/visualc/freetype.dsp,
michael@0 2777 builds/win32/visualc/freetype.vcproj: s/219/2110/, s/2.1.9/2.1.10/.
michael@0 2778
michael@0 2779 * builds/freetype.mk (refdoc), README, Jamfile (RefDoc):
michael@0 2780 s/2.1.9/2.1.10/.
michael@0 2781
michael@0 2782 * docs/CHANGES, docs/VERSION.DLL: Updated.
michael@0 2783
michael@0 2784 * ChangeLog: Split off older entries into...
michael@0 2785 * ChangeLog.20, ChangeLog.21: These new files.
michael@0 2786
michael@0 2787 2005-06-15 Kirill Smelkov <kirr@mns.spb.ru>
michael@0 2788
michael@0 2789 The next release will be 2.2.0, so don't worry about source code
michael@0 2790 backwards compatibility.
michael@0 2791
michael@0 2792 * include/freetype/ftimage.h (FT_Outline_MoveToFunc,
michael@0 2793 FT_Outline_LineToFunc, FT_Outline_ConicToFunc,
michael@0 2794 FT_Outline_CubicToFunc, FT_SpanFunc, FT_Raster_RenderFunc),
michael@0 2795 include/freetype/ftrender.h (FT_Glyph_TransformFunc,
michael@0 2796 FT_Renderer_RenderFunc, FT_Renderer_TransformFunc): Decorate
michael@0 2797 parameters with `const' where appropriate.
michael@0 2798
michael@0 2799 2005-06-15 Chia I Wu <b90201047@ntu.edu.tw>
michael@0 2800
michael@0 2801 * src/sfnt/ttsbit.c (tt_face_load_sbit_image): Compute vertBearingY
michael@0 2802 to make glyphs centered vertically.
michael@0 2803
michael@0 2804 * src/truetype/ttgload.c (compute_glyph_metrics): Compute
michael@0 2805 vertBearingY to make glyphs centered vertically.
michael@0 2806 Fix some bugs in vertical metrics:
michael@0 2807
michael@0 2808 . loader->pp3.y and loader->pp4.y are in 26.6 format, not in font
michael@0 2809 units.
michael@0 2810 . As we use the glyph's cbox to calculate the top bearing now
michael@0 2811 there is no need to adjust `top'.
michael@0 2812
michael@0 2813 2005-06-15 Werner Lemberg <wl@gnu.org>
michael@0 2814
michael@0 2815 * src/otvalid/otvcommn.h (OTV_OPTIONAL_TABLE): Use FT_UShort to be
michael@0 2816 in sync with OTV_OPTIONAL_OFFSET. Reported by YAMATO Masatake.
michael@0 2817
michael@0 2818 2005-06-13 Werner Lemberg <wl@gnu.org>
michael@0 2819
michael@0 2820 * docs/release: Update.
michael@0 2821
michael@0 2822 ----------------------------------------------------------------------------
michael@0 2823
michael@0 2824 Copyright 2005, 2006, 2007, 2008 by
michael@0 2825 David Turner, Robert Wilhelm, and Werner Lemberg.
michael@0 2826
michael@0 2827 This file is part of the FreeType project, and may only be used, modified,
michael@0 2828 and distributed under the terms of the FreeType project license,
michael@0 2829 LICENSE.TXT. By continuing to use, modify, or distribute this file you
michael@0 2830 indicate that you have read the license and understand and accept it
michael@0 2831 fully.
michael@0 2832
michael@0 2833
michael@0 2834 Local Variables:
michael@0 2835 version-control: never
michael@0 2836 coding: utf-8
michael@0 2837 End:

mercurial