1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/modules/freetype2/ChangeLog.22 Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,2837 @@ 1.4 +2006-05-12 Werner Lemberg <wl@gnu.org> 1.5 + 1.6 + 1.7 + * Version 2.2.1 released. 1.8 + ========================= 1.9 + 1.10 + 1.11 + Tag sources with `VER-2-2-1'. 1.12 + 1.13 +2006-05-12 Werner Lemberg <wl@gnu.org> 1.14 + 1.15 + * src/tools/docmaker/sources.py (re_source_keywords): Add word 1.16 + boundary markers. 1.17 + * src/tools/docmaker/content.py (re_field): Allow `.' in field names 1.18 + (but not at the beginning or end). 1.19 + * src/tools/docmaker/tohtml.py (html_header_1): Use `utf-8' charset. 1.20 + (block_footer): Split into... 1.21 + (block_footer_start, block_footer_middle, block_footer_end): This to 1.22 + add navigation buttons. 1.23 + (HtmlFormatter::block_exit): Updated. 1.24 + 1.25 + * include/freetype/*: Many minor documentation improvements (adding 1.26 + links, spelling errors, etc.). 1.27 + 1.28 +2006-05-11 Werner Lemberg <wl@gnu.org> 1.29 + 1.30 + * README: Minor updates. 1.31 + 1.32 + * include/freetype/*: s/scale/scaling value/ where appropriate. 1.33 + Many other minor documentation improvements. 1.34 + 1.35 + * src/tools/docmaker/sources.py (re_italic, re_bold): Handle 1.36 + trailing punctuation. 1.37 + * src/tools/docmaker/tohtml.py (HtmlFormatter::make_html_word): Add 1.38 + warning message for undefined cross references. 1.39 + Update handling of re_italic and re_bold. 1.40 + 1.41 +2006-05-11 Masatake YAMATO <jet@gyve.org> 1.42 + 1.43 + * builds/unix/ftsystem.c (FT_Stream_Open): Check errno only if 1.44 + read system call returns -1. 1.45 + Remove a redundant parenthesis. 1.46 + 1.47 +2006-05-10 Werner Lemberg <wl@gnu.org> 1.48 + 1.49 + * builds/unix/ftsystem.c (FT_Stream_Open): Avoid infinite loop if 1.50 + given an empty, un-mmap()able file. Reported and suggested fix in 1.51 + Savannah bug #16555. 1.52 + 1.53 + * builds/freetype.mk (refdoc): Write-protect the `docmaker' 1.54 + directory to suppress generation of .pyc files. According to the 1.55 + Python docs there isn't a more elegant solution (currently). 1.56 + 1.57 + * builds/toplevel.mk (dist): New target which builds .tar.gz, 1.58 + .tar.bz2, and .zip files. Note that the version number is still 1.59 + hard-coded. 1.60 + (do-dist): Sub-target of `dist'. 1.61 + (CONFIG_GUESS, CONFIG_SUB): New variables. 1.62 + (.PHONY): Updated. 1.63 + 1.64 +2006-05-09 Rajeev Pahuja <rpahuja@esri.com> 1.65 + 1.66 + * builds/win32/visualc/freetype.sln, 1.67 + builds/win32/visualc/freetype.vcproj: Upgraded to VS.NET 2005 from 1.68 + VS.NET 2003 1.69 + Added files ftbbox.c, fttype1.c, ftwinfnt.c, ftsynth.c. 1.70 + 1.71 + * builds/win32/visualc/index.html: Updated. 1.72 + 1.73 +2006-05-07 Werner Lemberg <wl@gnu.org> 1.74 + 1.75 + Put version information into the configure script. Reported by Paul 1.76 + Watson <pwatson@redlinepy.com>. 1.77 + 1.78 + * builds/unix/configure.ac: Renamed to... 1.79 + * builds/unix/configure.raw: This which now serves (with appropriate 1.80 + modifications) as a template for configure.ac. 1.81 + 1.82 + * version.sed: New script. 1.83 + 1.84 + * autogen.sh: Generate configure.ac from configure.raw, using 1.85 + FREETYPE_MAJOR, FREETYPE_MINOR, and FREETYPE_PATCH from freetype.h. 1.86 + 1.87 +2006-05-06 Werner Lemberg <wl@gnu.org> 1.88 + 1.89 + * include/freetype/freetype.h (FREETYPE_PATCH): Set to 1. 1.90 + 1.91 + * builds/unix/configure.ac (version_info): Set to 9:10:3. 1.92 + 1.93 + * builds/win32/visualc/index.html, 1.94 + builds/win32/visualc/freetype.dsp, 1.95 + builds/win32/visualc/freetype.vcproj, builds/freetype.mk (refdoc), 1.96 + Jamfile (RefDoc), README: s/220/221/, s/2.2.0/2.2.1/. 1.97 + Minor updates. 1.98 + 1.99 + * docs/CHANGES, docs/VERSION.DLL, docs/PROBLEMS, README.CVS: 1.100 + Updated. 1.101 + 1.102 + * builds/unix/install-sh: Updated from `texinfo' CVS module at 1.103 + savannah.gnu.org. 1.104 + 1.105 + * devel/ftoption.h: Synchronize with 1.106 + include/freetype/config/ftoption.h. 1.107 + 1.108 +2006-05-04 Werner Lemberg <wl@gnu.org> 1.109 + 1.110 + * src/lzw/ftlzw2.c: Renamed to... 1.111 + * src/lzw/ftlzw.c: This. 1.112 + 1.113 + * src/lzw/Jamfile, src/lzw/rules.mk: Updated. 1.114 + 1.115 + * builds/mac/FreeType.m68k_cfm.make.txt, 1.116 + builds/mac/FreeType.m68k_far.make.txt, 1.117 + builds/mac/FreeType.ppc_carbon.make.txt, 1.118 + builds/mac/FreeType.ppc_classic.make.txt: Updated. 1.119 + 1.120 +2006-05-03 David Turner <david@freetype.org> 1.121 + 1.122 + Allow compilation again with C++ compilers. 1.123 + 1.124 + * include/freetype/internal/ftmemory.h (FT_ASSIGNP, 1.125 + FT_ASSIGNP_INNER): New macros which do the actual assignment, and 1.126 + which exist in two variants (for C and C++). 1.127 + Update callers accordingly. 1.128 + 1.129 +2006-05-03 Werner Lemberg <wl@gnu.org> 1.130 + 1.131 + * include/freetype/config/ftoption.h (FT_STRICT_ALIASING): Removed. 1.132 + 1.133 +2006-05-02 Werner Lemberg <wl@gnu.org> 1.134 + 1.135 + * include/freetype/internal/ftmemory.h: s/new/newsz/ (for C++). 1.136 + (FT_ALLOC): Remove redundant redefinition. 1.137 + 1.138 + * builds/compiler/gcc-dev.mk (CFLAGS) [g++]: Don't use 1.139 + `-Wstrict-prototypes'. 1.140 + 1.141 + * src/base/ftstream.c (FT_Stream_EnterFrame): Add cast. 1.142 + 1.143 + * include/freetype/config/ftconfig.h (FT_BASE_DEF) [__cplusplus]: 1.144 + Remove `extern'. 1.145 + 1.146 +2006-05-02 David Turner <david@freetype.org> 1.147 + 1.148 + Update the memory management functions and macros to safely deal 1.149 + with array size buffer overflows. This corresponds to attempts to 1.150 + allocate arrays that are too large. For an example, consider the 1.151 + following code: 1.152 + 1.153 + count = read_uint32_from_file(); array = malloc( sizeof ( Item ) * 1.154 + count ); for ( nn = 0; nn < count; nn++ ) 1.155 + array[nn] = read_item_from_file(); 1.156 + 1.157 + If `count' is larger than `FT_UINT_MAX/sizeof(Item)', the 1.158 + multiplication overflows, and the array allocated os smaller than 1.159 + the data read from the file. In this case, the heap will be 1.160 + trashed, and this can be used as a denial-of-service attack, or make 1.161 + the engine crash later. 1.162 + 1.163 + The FT_ARRAY_NEW and FT_ARRAY_RENEW macros now ensure that the new 1.164 + count is no larger than `FT_INT_MAX/item_size', otherwise a new 1.165 + error code `FT_Err_Array_Too_Large' will be returned. 1.166 + 1.167 + Note that the memory debugger now works again when FT_DEBUG_MEMORY 1.168 + is defined. FT_STRICT_ALIASING has disappeared; the corresponding 1.169 + code is now the default. 1.170 + 1.171 + 1.172 + * include/freetype/config/ftconfig.h (FT_BASE_DEF) [!__cplusplus]: 1.173 + Don't use `extern'. 1.174 + 1.175 + * include/freetype/fterrdef.h (FT_Err_Array_Too_Large): New error 1.176 + code. 1.177 + 1.178 + * include/freetype/internal/ftmemory.h (FT_DEBUG_INNER) 1.179 + [FT_DEBUG_MEMORY]: New macro. 1.180 + (ft_mem_realloc, ft_mem_qrealloc): Pass new object size count also. 1.181 + (ft_mem_alloc_debug, ft_mem_qalloc_debug, ft_mem_realloc_debug, 1.182 + ft_mem_qrealloc_debug, ft_mem_free_debug): Removed. 1.183 + (FT_MEM_ALLOC, FT_MEM_REALLOC, FT_MEM_QALLOC, FT_MEM_QREALLOC, 1.184 + FT_MEM_FREE): Redefine. 1.185 + (FT_MEM_NEW_ARRAY, FT_MEM_RENEW_ARRAY, FT_MEM_QNEW_ARRAY, 1.186 + FT_MEM_QRENEW_ARRAY): Redefine. 1.187 + (FT_ALLOC_MULT, FT_REALLOC_MULT, FT_MEM_QALLOC_MULT, 1.188 + FT_MEM_QREALLOC_MULT): New macros. Update callers where 1.189 + appropriate. 1.190 + (FT_MEM_SET_ERROR): Slightly redefine. 1.191 + 1.192 + 1.193 + * src/base/ftdbgmem.c (_ft_debug_file, _ft_debug_lineno) 1.194 + [FT_DEBUG_MEMORY]: New global variables, replacing... 1.195 + (FT_MemTable_Rec) [FT_DEBUG_MEMORY]: Remove `filename' and 1.196 + `line_no'. Update all callers. 1.197 + (ft_mem_debug_alloc) [FT_DEBUG_MEMORY]: Avoid possible integer 1.198 + overflow. 1.199 + (ft_mem_alloc_debug, ft_mem_realloc_debug, ft_mem_qalloc_debug, 1.200 + ft_mem_qrealloc_debug, ft_mem_free_debug): Removed. 1.201 + 1.202 + * src/base/ftmac.c (read_lwfn): Catch integer overflow. 1.203 + * src/base/ftrfork.c (raccess_guess_darwin_hfsplus): Ditto. 1.204 + * src/base/ftutil.c: Remove special code for FT_STRICT_ALIASING. 1.205 + (ft_mem_alloc, ft_mem_realloc, ft_mem_qrealloc): Rewrite. 1.206 + 1.207 + 1.208 + * include/freetype/ftstream.h (FT_FRAME_ENTER, FT_FRAME_EXIT, 1.209 + FT_FRAME_EXTRACT, FT_FRAME_RELEASE): Use FT_DEBUG_INNER to report the 1.210 + place where the frames were entered, extracted, exited or released 1.211 + in the memory debugger. 1.212 + 1.213 + * src/base/ftstream.c (FT_Stream_ReleaseFrame) [FT_DEBUG_MEMORY]: 1.214 + Call ft_mem_free. 1.215 + (FT_Stream_EnterFrame) [FT_DEBUG_MEMORY]: Use ft_mem_qalloc. 1.216 + (FT_Stream_ExitFrame) [FT_DEBUG_MEMORY]: Use ft_mem_free. 1.217 + 1.218 +2006-04-30 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> 1.219 + 1.220 + * src/base/ftobjs.c (Mac_Read_POST_Resource): Correct pfb_pos 1.221 + initialization, remove extra cast to copy to pfb_lenpos. This fixes 1.222 + parsing of PFB fonts with MacOS resource fork (bug introduced 1.223 + 2003-09-11). Patch provided by Huib-Jan Imbens <ft@imbens.nl>. 1.224 + 1.225 +2006-04-29 Werner Lemberg <wl@gnu.org> 1.226 + 1.227 + Further C library abstraction. Based on a patch from 1.228 + msn2@bidyut.com. 1.229 + 1.230 + * include/freetype/config/ftstdlib.h (FT_CHAR_BIT, FT_FILE, 1.231 + ft_fopen, ft_fclose, ft_fseek, ft_ftell, ft_fread, ft_smalloc, 1.232 + ft_scalloc, ft_srealloc, ft_sfree, ft_labs): New wrapper macros for 1.233 + C library functions. Update all users accordingly (and catch some 1.234 + other places where the C library function was used instead of the 1.235 + wrapper functions). 1.236 + 1.237 + * src/base/ftsystem.c: Don't include stdio.h and stdlib.h. 1.238 + * src/gzip/zutil.h [MSDOS && !(__TURBOC__ || __BORLANDC__)]: Don't 1.239 + include malloc.h. 1.240 + 1.241 + 1.242 + * builds/unix/unix-def.in (datarootdir): Define, for autoconf 2.59c 1.243 + and forthcoming versions. 1.244 + 1.245 +2006-04-28 Werner Lemberg <wl@gnu.org> 1.246 + 1.247 + * src/lzw/ftlzw.c, src/lzw/zopen.c, src/lzw/zopen.h: Removed, 1.248 + obsolete. 1.249 + 1.250 +2006-04-27 yi luo <luoyi.ly@gmail.com> 1.251 + 1.252 + * builds/win32/visualc/freetype.vcproj: Updated. 1.253 + 1.254 +2006-04-26 David Turner <david@freetype.org> 1.255 + 1.256 + 1.257 + * Version 2.2 released. 1.258 + ======================= 1.259 + 1.260 + 1.261 + Tag sources with `VER-2-2-0'. 1.262 + 1.263 +2006-04-26 Werner Lemberg <wl@gnu.org> 1.264 + 1.265 + * src/psaux/psobjs.c (shift_elements): Don't use FT_Long but 1.266 + FT_PtrDiff for `delta'. Reported by Céline PILLET 1.267 + <Celine.Pillet@Tagginfo.com>. 1.268 + 1.269 +2006-04-21 David Turner <david@freetype.org> 1.270 + 1.271 + * include/freetype/ftincrem.h: Documentation updates. 1.272 + (FT_Incremental_Interface): New typedef. 1.273 + 1.274 + * include/freetype/ftmodapi.h, include/freetype/ftglyph.h: 1.275 + Documentation updates. 1.276 + 1.277 + * include/freetype/freetype.h: Documentation update. 1.278 + (FT_HAS_FAST_GLYPHS): Always set to 0. 1.279 + 1.280 + * include/freetype/ftstroke.h, src/base/ftstroke.c (FT_Stroker_New): 1.281 + Take an FT_Library argument instead of FT_Memory. 1.282 + 1.283 + * src/sfnt/ttcmap.c: Remove compiler warnings (gcc-4.0.2). 1.284 + 1.285 +2006-04-13 David Turner <david@freetype.org> 1.286 + 1.287 + * src/autofit/afloader.c (af_loader_init, af_loader_load_g): Remove 1.288 + superfluous code in the auto-fitter's loader. 1.289 + 1.290 +2006-04-05 Detlef Würkner <TetiSoft@apg.lahn.de> 1.291 + 1.292 + * builds/amiga/makefile, builds/amiga/makefile.os4, 1.293 + builds/amiga/smakefile: Added FT2_BUILD_LIBRARY define. 1.294 + 1.295 +2006-04-03 luoyi <luoyi.ly@gmail.com> 1.296 + 1.297 + * builds/compiler/intelc.mk (TE): New variable. 1.298 + (ANSIFLAGS): Updated. 1.299 + 1.300 +2006-04-03 Werner Lemberg <wl@gnu.org> 1.301 + 1.302 + * builds/exports.mk (clean_symbols_list, clean_apinames): Removed. 1.303 + (CLEAN): Add $(EXPORTS_LIST) and $(APINAMES_EXE). 1.304 + (.PHONY): Updated. 1.305 + 1.306 + * configure.ac: Minor fixes to improve --help output. 1.307 + 1.308 + 1.309 + * docs/PROBLEMS: New file. 1.310 + 1.311 +2006-04-01 David Turner <david@freetype.org> 1.312 + 1.313 + * docs/CHANGES: Updated. 1.314 + 1.315 + * include/freetype/ftcache.h, include/freetype/config/ftheader.h: 1.316 + Update documentation comments. 1.317 + 1.318 +2006-04-01 Werner Lemberg <wl@gnu.org> 1.319 + 1.320 + * builds/unix/install.mk (uninstall): Don't handle `cache' 1.321 + directory which no longer exists. 1.322 + 1.323 +2006-03-29 Detlef Würkner <TetiSoft@apg.lahn.de> 1.324 + 1.325 + * src/psaux/psconv.c: Changed some variables which are expected to 1.326 + hold negative values from `char' to `FT_Char' to allow building with 1.327 + a compiler where `char' is unsigned by default. 1.328 + 1.329 +2006-03-27 David Turner <david@freetype.org> 1.330 + 1.331 + * src/sfnt/ttkern.c (tt_face_get_kerning): Fix a serious bug that 1.332 + causes some programs to go into an infinite loop when dealing with 1.333 + fonts that don't have a properly sorted kerning sub-table. 1.334 + 1.335 +2006-03-26 Werner Lemberg <wl@gnu.org> 1.336 + 1.337 + * src/bdf/bdflib.c (ERRMSG4): New macro. 1.338 + (_bdf_parse_glyphs): Handle invalid BBX values. 1.339 + 1.340 + * include/freetype/fterrdef.h (FT_Err_Bbx_Too_Big): New error 1.341 + macro. 1.342 + 1.343 +2006-03-23 Werner Lemberg <wl@gnu.org> 1.344 + 1.345 + * docs/CHANGES: Updated. 1.346 + 1.347 + 1.348 + * src/tools/docmaker/tohtml.py (html_header_2): Add horizontal 1.349 + padding between table elements. 1.350 + (html_header_1): The `DOCTYPE' comment must be in uppercase. 1.351 + (make_html_para): Convert `...' quotations into real left and 1.352 + right single quotes. 1.353 + Use `para_header' and `para_footer'. 1.354 + 1.355 + * src/tools/docmaker/sources.py (re_bold, re_italic): Accept "'" 1.356 + also. 1.357 + 1.358 +2006-03-23 David Turner <david@freetype.org> 1.359 + 1.360 + Add FT_Get_SubGlyph_Info API to retrieve subglyph data. Note that 1.361 + we do not expose the FT_SubGlyphRec structure. 1.362 + 1.363 + * include/freetype/internal/ftgloadr.h (FT_SUBGLYPH_FLAGS_*): Moved 1.364 + to... 1.365 + * include/freetype/freetype.h (FT_SUBGLYPH_FLAGS_*): Here. 1.366 + (FT_Get_SybGlyph_Info): New declaration. 1.367 + 1.368 + * src/base/ftobjs.c (FT_Get_SubGlyph_Info): New function. 1.369 + 1.370 + 1.371 + * src/autofit/afloader.c (af_loader_load_g): Compute lsb_delta and 1.372 + rsb_delta correctly in edge cases. 1.373 + 1.374 +2006-03-22 Werner Lemberg <wl@gnu.org> 1.375 + 1.376 + * src/cache/ftccache.c, (ftc_node_mru_up, FTC_Cache_Lookup) 1.377 + [!FTC_INLINE]: Compile conditionally. 1.378 + * src/cache/ftccache.h: Updated. 1.379 + 1.380 + * src/cache/ftcglyph.c (FTC_GNode_Init, FTC_GNode_UnselectFamily, 1.381 + FTC_GNode_Done, FTC_GNode_Compare, FTC_Family_Init, FTC_GCache_New): 1.382 + s/FT_EXPORT/FT_LOCAL/. 1.383 + (FTC_GCache_Init, FTC_GCache_Done): Commented out. 1.384 + (FTC_GCache_Lookup) [!FTC_INLINE]: Compile conditionally. 1.385 + s/FT_EXPORT/FT_LOCAL/. 1.386 + * src/cache/ftcglyph.h: Updated. 1.387 + 1.388 + * src/cache/ftcimage.c (FTC_INode_Free, FTC_INode_New): 1.389 + s/FT_EXPORT/FT_LOCAL/. 1.390 + (FTC_INode_Weight): Commented out. 1.391 + * src/cache/ftcimage.h: Updated. 1.392 + 1.393 + * src/cache/ftmanag.c (FTC_Manager_Compress, 1.394 + FTC_Manager_RegisterCache, FTC_Manager_FlushN): 1.395 + s/FT_EXPORT/FT_LOCAL/. 1.396 + * src/cache/ftmanag.h: Updated. 1.397 + 1.398 + * src/cache/ftcsbits.c (FTC_SNode_Free, FTC_SNode_New, 1.399 + FTC_SNode_Compare): s/FT_EXPORT/FT_LOCAL/. 1.400 + (FTC_SNode_Weight): Commented out. 1.401 + * src/cache/ftcsbits.h: Updated. 1.402 + 1.403 +2006-03-22 Werner Lemberg <wl@gnu.org> 1.404 + 1.405 + * src/cache/ftccache.c, src/cache/ftccache.h (FTC_Node_Destroy): 1.406 + Remove, unused. 1.407 + 1.408 + * src/cache/ftccmap.h: Remove, unused. 1.409 + 1.410 + * src/cache/rules.mk (CACHE_DRV_H): Remove ftccmap.h. 1.411 + 1.412 +2006-03-21 Zhe Su <james.su@gmail.com> 1.413 + 1.414 + * src/base/ftoutln.c (FT_Outline_Get_Orientation): Improve 1.415 + algorithm. 1.416 + 1.417 +2006-03-21 Werner Lemberg <wl@gnu.org> 1.418 + 1.419 + * src/cff/cfftypes.h (CFF_CharsetRec): Add `max_cid' member. 1.420 + 1.421 + * src/cff/cffload.c (cff_charset_load): Set `charset->max_cid'. 1.422 + 1.423 + * src/cff/cffgload.c (cff_slot_load): Change type of third parameter 1.424 + to `FT_UInt'. 1.425 + Check range of `glyph_index'. 1.426 + * src/cff/cffgload.h: Updated. 1.427 + 1.428 + 1.429 + * src/sfnt/ttcmap.c (tt_face_build_cmaps): Handle invalid offset 1.430 + correctly. 1.431 + 1.432 + 1.433 + * builds/freetype.mk (refdoc), docs/CHANGES, Jamfile (RefDoc), 1.434 + README: s/2.1.10/2.2/. 1.435 + 1.436 +2006-03-21 David Turner <david@freetype.org> 1.437 + 1.438 + * src/autofit/aflatin.c (af_latin_metrics_scale): Fix small bug 1.439 + that crashes the auto-hinter (introduced by previous patch). 1.440 + 1.441 +2006-03-20 Werner Lemberg <wl@gnu.org> 1.442 + 1.443 + * builds/freetype.mk (CACHE_DIR, CACHE_H): Remove. 1.444 + (FREETYPE_H): Updated. 1.445 + 1.446 + * src/cache/rules.mk (CACHE_H_DIR): Remove. 1.447 + (CACHE_DRV_H): Updated. 1.448 + 1.449 +2006-03-20 David Turner <david@freetype.org> 1.450 + 1.451 + * include/freetype/cache/ftccache.h, 1.452 + include/freetype/cache/ftccmap.h, include/freetype/cache/ftcglyph.h 1.453 + include/freetype/cache/ftcimage.h include/freetype/cache/ftcmanag.h 1.454 + include/freetype/cache/ftcmru.h include/freetype/cache/ftcsbits.h: 1.455 + Move to... 1.456 + 1.457 + * src/cache/ftccache.h, src/cache/ftcglyph.h, src/cache/ftcimage.h, 1.458 + src/cache/ftcsbits.h, src/cache/ftcmanag.h, src/cache/ftccmap.h, 1.459 + src/cache/ftcmru.h: This new location. 1.460 + Update declarations according to the changes in the corresponding 1.461 + source files. 1.462 + 1.463 + Note that these files are not used by FreeType clients; all public 1.464 + APIs of the cache module have been already moved to 1.465 + `include/freetype/ftcache.h', and all FT_CACHE_INTERNAL_XXXX_H 1.466 + macros resolve to it. 1.467 + 1.468 + Reason for the move is to allow modifications of the internals 1.469 + without interferences with rogue clients. Note that there are no 1.470 + known clients that access the cache internals at the moment. 1.471 + 1.472 + * builds/unix/install.mk (install): Don't install headers from 1.473 + $(CACHE_H). 1.474 + Remove `freetype/cache' from the target directory. 1.475 + 1.476 + * include/freetype/config/ftheader.h (FT_CACHE_MANAGER_H, 1.477 + FT_CACHE_INTERNAL_MRU_H, FT_CACHE_INTERNAL_MANAGER_H, 1.478 + FT_CACHE_INTERNAL_CACHE_H, FT_CACHE_INTERNAL_GLYPH_H, 1.479 + FT_CACHE_INTERNAL_IMAGE_H, FT_CACHE_INTERNAL_SBITS_H): Point to 1.480 + FT_CACHE_H. 1.481 + 1.482 + * src/cache/ftcbasic.c, src/cache/ftccache.h, src/cache/ftccback.h, 1.483 + src/cache/ftccmap.c, src/cache/ftcglyph.c, src/cache/ftcglyph.h, 1.484 + src/cache/ftcimage.c, src/cache/ftcimage.h, src/cache/ftcmanag.c, 1.485 + src/cache/ftcmanag.h, src/cache/ftcmru.h, src/cache/ftcsbits.c, 1.486 + src/cache/ftcsbits.h: Don't use the FT_CACHE_INTERNAL_XXX_H macros 1.487 + but include the headers directly (which are now in `src/cache'). 1.488 + 1.489 + * src/cache/ftccache.c: Don't use the FT_CACHE_INTERNAL_XXX_H 1.490 + macros but include the headers directly. 1.491 + (FTC_Cache_Init, FTC_Cache_Done, FTC_Cache_NewNode, 1.492 + FTC_Cache_Lookup, FTC_Cache_RemoveFaceID): Declare as FT_LOCAL_DEF. 1.493 + 1.494 + * src/cache/ftccache.c: Don't use the FT_CACHE_INTERNAL_XXX_H 1.495 + macros but include the headers directly. 1.496 + (FTC_MruNode_Prepend, FTC_MruNode_Up, FTC_MruNode_Remove, 1.497 + FTC_MruList_Init, FTC_MruList_Reset, FTC_MruList_Done, 1.498 + FTC_MruList_New, FTC_MruList_Remove, FTC_MruList_RemoveSelection): 1.499 + Declare as FT_LOCAL_DEF. 1.500 + (FTC_MruListFind, FTC_MruList_Lookup) [!FTC_INLINE]: Compile 1.501 + conditionally. 1.502 + Declare as FT_LOCAL_DEF. 1.503 + 1.504 + 1.505 + * builds/win32/visualc/freetype.dsp: Update project file, add 1.506 + missing base source files (ftstroke.c, ftxf86.c, etc.). 1.507 + 1.508 + 1.509 + * src/autofit/afcjk.c, src/autofit/aflatin.c, src/base/ftobjs.c, 1.510 + src/cff/cffobjs.c, src/cid/cidobjs.c, src/pfr/pfrobjs.c, 1.511 + src/sfnt/sfobjs.c, src/sfnt/ttmtx.c, src/type1/t1afm.c, 1.512 + src/type1/t1objs.c: Remove compiler warnings when building with 1.513 + Visual C++ 6 and /W4. 1.514 + 1.515 + * src/autofit/aflatin.c (af_latin_hints_init): Disable horizontal 1.516 + hinting for italic/oblique fonts. 1.517 + 1.518 + 1.519 + 1.520 + * src/truetype/ttpload.c, src/truetype/ttpload.h 1.521 + (tt_face_get_device_metrics): Change second argument to `FT_UInt'. 1.522 + 1.523 +2006-03-06 David Turner <david@freetype.org> 1.524 + 1.525 + * src/cache/ftcmanag.c (FTC_Manager_Lookup_Size): Prevent crashes in 1.526 + Mozilla/FireFox print preview in Ubuntu Hoary. 1.527 + 1.528 +2006-02-28 Chia-I Wu <b90201047@ntu.edu.tw> 1.529 + 1.530 + * src/base/ftutil.c (ft_mem_qalloc) [FT_STRICT_ALIASING]: Do not 1.531 + return error when size == 0. 1.532 + 1.533 +2006-02-28 Chia-I Wu <b90201047@ntu.edu.tw> 1.534 + 1.535 + * src/base/ftobjs.c (FT_Done_Library): Remove modules in reverse 1.536 + order so that type42 module is removed before truetype module. This 1.537 + avoids double free in some occasions. 1.538 + 1.539 +2006-02-28 David Turner <david@freetype.org> 1.540 + 1.541 + * Release candidate VER-2-2-0-RC4. 1.542 + ---------------------------------- 1.543 + 1.544 + * docs/CHANGES: Documentation updates. 1.545 + 1.546 +2006-02-28 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> 1.547 + 1.548 + * modules.cfg (BASE_EXTENSIONS): Compile in ftgxval.c by default to 1.549 + build ftvalid in ft2demos. It works as dummy ABI if gxvalid is not 1.550 + built. 1.551 + 1.552 +2006-02-27 Werner Lemberg <wl@gnu.org> 1.553 + 1.554 + * include/freetype/cache/ftccache.h 1.555 + [FT_CONFIG_OPTION_OLD_INTERNALS]: Remove declaration of 1.556 + ftc_node_done. 1.557 + 1.558 + * src/cache/ftccache.c (ftc_node_destroy) 1.559 + [!FT_CONFIG_OPTION_OLD_INTERNALS]: Mark as FT_LOCAL_DEF. This 1.560 + should now fix all possible compilation options. 1.561 + 1.562 +2006-02-27 David Turner <david@freetype.org> 1.563 + 1.564 + * src/base/ftutil.c (ft_mem_alloc, ft_mem_qalloc, ft_mem_realloc, 1.565 + ft_mem_qrealloc): Return an error if a negative size is passed in 1.566 + parameters. 1.567 + 1.568 + * src/cache/ftccache.c (ftc_node_destroy): Mark as FT_BASE_DEF since 1.569 + it needs to be exported for rogue clients. 1.570 + 1.571 + * src/pshinter/pshglob.c (psh_blues_set_zones_0): Prevent problems 1.572 + with malformed fonts which have an odd number of blue values (these 1.573 + are broken according to the specs). 1.574 + 1.575 + * src/cff/cffload.c (cff_subfont_load), src/type1/t1load.c 1.576 + (T1_Open_Face): Modify the loaders to force even-ness of 1.577 + `num_blue_values'. 1.578 + 1.579 + (cff_index_access_element): Ignore invalid entries in index files. 1.580 + 1.581 +2006-02-27 Chia-I Wu <b90201047@ntu.edu.tw> 1.582 + 1.583 + * src/base/ftobjs.c (FT_Set_Char_Size): Check the case where width 1.584 + or height is 0. 1.585 + 1.586 +2006-02-27 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> 1.587 + 1.588 + * builds/mac/FreeType.m68k_cfm.make.txt, 1.589 + builds/mac/FreeType.m68k_far.make.txt, 1.590 + builds/mac/FreeType.ppc_carbon.make.txt, 1.591 + builds/mac/FreeType.ppc_classic.make.txt: Update to new header 1.592 + inclusion introduced on 2006-02-16. 1.593 + 1.594 +2006-02-27 Chia-I Wu <b90201047@ntu.edu.tw> 1.595 + 1.596 + * src/base/ftobjs.c (GRID_FIT_METRICS): New macro. 1.597 + (ft_glyphslot_grid_fit_metrics, FT_Load_Glyph) [GRID_FIT_METRICS]: 1.598 + Re-enable glyph metrics grid-fitting. It is now done in the base 1.599 + layer. 1.600 + (FT_Set_Char_Size, FT_Set_Pixel_Sizes): Make sure the width and 1.601 + height are not too small or too large, just like we were doing in 1.602 + 2.1.10. 1.603 + 1.604 + * src/autofit/afloader.c (af_loader_load_g): The vertical metrics 1.605 + are not scaled. 1.606 + 1.607 +2006-02-26 Werner Lemberg <wl@gnu.org> 1.608 + 1.609 + * docs/release: Minor additions and clarifications. 1.610 + 1.611 + * docs/CHANGES: Updated to reflect many fixes for backwards 1.612 + compatibility. Still incomplete. 1.613 + 1.614 +2006-02-26 David Turner <david@freetype.org> 1.615 + 1.616 + * src/base/ftobjs.c (ft_recompute_scaled_metrics): Re-enable 1.617 + conservative rounding of metrics to avoid breaking clients like 1.618 + Pango (see http://bugzilla.gnome.org/show_bug.cgi?id=327852). 1.619 + 1.620 +2006-02-25 Werner Lemberg <wl@gnu.org> 1.621 + 1.622 + * devel/ftoption.h: Synchronize with 1.623 + include/freetype/config/ftoption.h. 1.624 + 1.625 + * src/cache/ftccache.c (ftc_node_destroy): Use FT_LOCAL_DEF (again). 1.626 + 1.627 +2006-02-25 David Turner <david@freetype.org> 1.628 + 1.629 + Fix compiler warnings as well as C++ compilation problems. 1.630 + Add missing prototypes. 1.631 + 1.632 + * src/autofit/afcjk.c, src/base/ftobjs.c, src/base/ftutil.c, 1.633 + src/bdf/bdfdrivr.c, src/cff/cffcmap.c, src/cff/cffobjs.c, 1.634 + src/psaux/afmparse.c,, src/psaux/t1cmap.c, src/smooth/ftgrays.c 1.635 + src/tools/apinames.c, src/truetype/ttdriver.c: Add various casts, 1.636 + initialize variables, and decorate functions with FT_CALLBACK_DEF, 1.637 + etc., to fix compiler warnings (and C++ compiling errors). 1.638 + 1.639 + * src/cache/ftcbasic.c: Fix `-Wmissing-prototypes' warnings with 1.640 + gcc. 1.641 + 1.642 + * builds/unix/ftsystem.c: Don't include FT_INTERNAL_OBJECTS_H but 1.643 + FT_INTERNAL_STREAM_H. 1.644 + 1.645 + * src/base/ftsystem.c: Include FT_INTERNAL_STREAM_H. 1.646 + 1.647 + * include/freetype/config/ftheader.h (FT_PFR_H): New macro. 1.648 + 1.649 + * include/freetype/config/ftoption.h (FT_STRICT_ALIASING): Don't 1.650 + define for C++. 1.651 + 1.652 + * include/freetype/internal/services/svotval.h: Don't include 1.653 + FT_OPENTYPE_VALIDATE_H but FT_INTERNAL_VALIDATE_H. 1.654 + 1.655 + * include/freetype/internal/services/svpfr.h: Include FT_PFR_H. 1.656 + 1.657 + * src/gzip/ftgzip.c: Include FT_GZIP_H. 1.658 + 1.659 + * src/lzw/ftlzw.c, src/lzw/ftlzw2.c: Include FT_LZW_H. 1.660 + 1.661 + * src/sfnt/ttbdf.c (tt_face_load_bdf_props): Rearrange code. 1.662 + 1.663 +2006-02-24 Chia-I Wu <b90201047@ntu.edu.tw> 1.664 + 1.665 + * src/base/ftoutln.c (FT_OUTLINE_GET_CONTOUR, ft_contour_has, 1.666 + ft_contour_enclosed, ft_outline_get_orientation): Commented out. We 1.667 + have to wait until `FT_GlyphSlot_Own_Bitmap' is stabilized. 1.668 + (FT_Outline_Embolden): Use `FT_Outline_Get_Orientation'. 1.669 + 1.670 +2006-02-24 Chia-I Wu <b90201047@ntu.edu.tw> 1.671 + 1.672 + * include/freetype/ftbitmap.h (FT_Bitmap_Embolden): Update 1.673 + documentation. 1.674 + 1.675 + * include/freetype/ftsynth.h (FT_GlyphSlot_Own_Bitmap), 1.676 + src/base/ftsynth.c (FT_GlyphSlot_Own_Bitmap): New function to make 1.677 + sure a glyph slot owns its bitmap. It is also marked experimental 1.678 + and due to change. 1.679 + (FT_GlyphSlot_Embolden): Undo the last change. It turns out that 1.680 + rendering the outline confuses some applications. 1.681 + 1.682 +2006-02-24 David Turner <david@freetype.org> 1.683 + 1.684 + * Release candidate VER-2-2-0-RC3. 1.685 + ---------------------------------- 1.686 + 1.687 + * src/cache/ftcbasic.c: Correct compatibility hack bug. 1.688 + 1.689 +2006-02-24 Chia-I Wu <b90201047@ntu.edu.tw> 1.690 + 1.691 + * include/freetype/freetype.h (FT_Size_RequestRec): Change the type 1.692 + of `width' and `height' to `FT_Long'. 1.693 + (enum FT_Size_Request_Type), src/base/ftobjs.c (FT_Request_Metrics): 1.694 + New request type `FT_SIZE_REQUEST_TYPE_SCALES' to specify the scales 1.695 + directly. 1.696 + 1.697 +2006-02-23 David Turner <david@freetype.org> 1.698 + 1.699 + Two BDF patches from Debian libfreetype6 for 2.1.10. 1.700 + 1.701 + * src/bdf/bdflib.c (_bdf_parse_glyphs): Fix a bug with zero-width 1.702 + glyphs. 1.703 + Fix a problem with large encodings. 1.704 + 1.705 + 1.706 + Fix binary compatibility issues for gnustep-back (GNUstep backend 1.707 + module) which still crashes under Sarge. 1.708 + 1.709 + * src/cache/ftccmap.c (FTC_OldCMapType, FTC_OldCMapIdRec, 1.710 + FTC_OldCMapDesc) [FT_CONFIG_OPTION_OLD_INTERNALS]: New data 1.711 + structures and enumerations. 1.712 + (FTC_CMapCache_Lookup) [FT_CONFIG_OPTION_OLD_INTERNALS]: New 1.713 + compatibility code. 1.714 + 1.715 + * src/cache/ftcbasic.c: Fix a silly bug that prevented our `hack' to 1.716 + support rogue clients compiled against 2.1.7 to work correctly. 1.717 + This probably explains the GNUstep crashes with the second release 1.718 + candidate. 1.719 + 1.720 +2006-02-23 Chia-I Wu <b90201047@ntu.edu.tw> 1.721 + 1.722 + * include/freetype/ftoutln.h (enum FT_Orientation): New value 1.723 + `FT_ORIENTATION_NONE'. 1.724 + 1.725 + * src/base/ftoutln.c (FT_OUTLINE_GET_CONTOUR, ft_contour_has, 1.726 + ft_contour_enclosed, ft_outline_get_orientation): Another version of 1.727 + `FT_Outline_Get_Orientation'. This version differs from the public 1.728 + one in that each part (contour not enclosed in another contour) of the 1.729 + outline is checked for orientation. 1.730 + (FT_Outline_Embolden): Use `ft_outline_get_orientation'. 1.731 + 1.732 + * src/base/ftsynth.c (FT_GlyphSlot_Embolden): Render the outline and 1.733 + use bitmap's embolden routine when the outline one failed. 1.734 + 1.735 +2006-02-22 Chia-I Wu <b90201047@ntu.edu.tw> 1.736 + 1.737 + * modules.cfg: Compile in ftotval.c and ftxf86.c by default for ABI 1.738 + compatibility. 1.739 + 1.740 + * src/sfnt/sfobjs.c (sfnt_done_face): Fix a memory leak. 1.741 + 1.742 + * src/sfnt/ttsbit0.c (tt_sbit_decoder_load_bit_aligned, 1.743 + tt_sbit_decoder_load_byte_aligned) [FT_OPTIMIZE_MEMORY]: Fix sbit 1.744 + loading. (Only tested with bit aligned sbit with x_pos == 0.) 1.745 + 1.746 + * src/truetype/ttpload.c (tt_face_load_hdmx, 1.747 + tt_face_get_device_metrics) [FT_OPTIMIZE_MEMORY]: `hdmx' is not 1.748 + actually used. 1.749 + 1.750 +2006-02-21 David Turner <david@freetype.org> 1.751 + 1.752 + Add a new API named FT_Get_TrueType_Engine_Type to determine whether 1.753 + we have a patented, unpatented, or unimplemented TrueType bytecode 1.754 + interpreter. 1.755 + 1.756 + The FT_Get_Module_Flags API was removed consequently. 1.757 + 1.758 + * include/freetype/ftmodapi.h (FT_Module_Get_Flags): Removed. 1.759 + Replaced with... 1.760 + (FT_Get_TrueType_Engine_Type): This. 1.761 + (FT_TrueTypeEngineType): New enumeration. 1.762 + 1.763 + * include/freetype/internal/ftserv.h (FT_SERVICE_TRUETYPE_ENGINE_H): 1.764 + New macro. 1.765 + 1.766 + * src/base/ftobjs.c: Include FT_SERVICE_TRUETYPE_ENGINE_H. 1.767 + (FT_Module_Get_Flags): Removed. Replaced with... 1.768 + (FT_Get_TrueType_Engine_Type): This. 1.769 + 1.770 + * src/truetype/ttdriver.c: Include FT_SERVICE_TRUETYPE_ENGINE_H. 1.771 + (tt_service_truetype_engine): New service structure. 1.772 + (tt_services): Register it. 1.773 + 1.774 + * include/freetype/internal/services/svtteng.h: New file. 1.775 + 1.776 + 1.777 + * src/sfnt/sfobjs.c (sfnt_load_face): Fix silly bug that prevented 1.778 + embedded bitmaps from being correctly listed and used. 1.779 + 1.780 + 1.781 + * src/sfnt/ttmtx.c (tt_face_load_hmtx): Disable memory optimization 1.782 + if FT_CONFIG_OPTION_OLD_INTERNALS is used. The is necessary because 1.783 + libXfont is directly accessing the HMTX data, unfortunately. 1.784 + Fix some compiler warnings. 1.785 + (tt_face_get_metrics): Ditto. 1.786 + 1.787 + 1.788 + * src/pfr/pfrsbit.c (pfr_slot_load_bitmap): Fix handling of 1.789 + character advances. 1.790 + 1.791 +2006-02-20 David Turner <david@freetype.org> 1.792 + 1.793 + Support binary compatibility with the X.Org server's Xfont library. 1.794 + Note that this change unfortunately prevents memory optimizations 1.795 + for the embedded bitmap loader. 1.796 + 1.797 + * include/freetype/internal/sfnt.h (SFNT_Interface): Move 1.798 + `set_sbit_strike' and `load_sbit_metrics' fields to the location of 1.799 + version 2.1.8. 1.800 + 1.801 + * src/sfnt/sfdriver.c (tt_face_set_sbit_strike_stub): Call 1.802 + FT_Size_Request. 1.803 + (sfnt_interface): Updated. 1.804 + 1.805 + * src/sfnt/ttsbit.c [FT_CONFIG_OPTION_OLD_INTERNALS]: Don't load 1.806 + ttsbit0.c. 1.807 + (tt_load_sbit_metrics): Make `sbit_small_metrics_fields' static. 1.808 + 1.809 + * src/sfnt/ttsbit.h: Updated. 1.810 + 1.811 +2006-02-17 David Turner <david@freetype.org> 1.812 + 1.813 + * builds/unix/unix-cc.in (LINK_LIBRARY): Don't filter out exported 1.814 + functions anymore. This ensures that all FT_BASE internal functions 1.815 + are available for dynamic linking. 1.816 + 1.817 + * include/freetype/ftcache.h (FTC_IMAGE_TYPE_COMPARE, 1.818 + FTC_IMAGE_TYPE_HASH), src/cache/ftcbasic.c (FTC_OldFontRec, 1.819 + FTC_OldImageDescRec, FTC_ImageCache_Lookup, FTC_Image_Cache_New, 1.820 + FTC_OldImage_Desc, FTC_OLD_IMAGE_FORMAT, ftc_old_image_xxx, 1.821 + ftc_image_type_from_old_desc, FTC_Image_Cache_Lookup, 1.822 + FTC_SBitCache_Lookup, FTC_SBit_Cache_New, FTC_SBit_Cache_Lookup) 1.823 + [FT_CONFIG_OPTION_OLD_INTERNALS]: Try to revive old functions of the 1.824 + cache sub-system. We try to recognize old legacy signatures with a 1.825 + gross hack (hope it works). 1.826 + 1.827 +2006-02-17 Werner Lemberg <wl@gnu.org> 1.828 + 1.829 + * devel/ftoption.h: Synchronize with 1.830 + include/freetype/config/ftoption.h. 1.831 + 1.832 +2006-02-16 David Turner <david@freetype.org> 1.833 + 1.834 + Massive changes to the internals to respect the internal object 1.835 + layouts and exported functions of FreeType 2.1.7. Note that the 1.836 + cache sub-system cannot be fully retrofitted, unfortunately. 1.837 + 1.838 + * include/freetype/config/ftoption.h 1.839 + (FT_CONFIG_OPTION_OLD_INTERNALS): New macro. 1.840 + 1.841 + * include/freetype/ftcache.h, include/freetype/cache/ftccache.h, 1.842 + include/freetype/cache/ftccmap.h, 1.843 + include/freetype/internal/ftcalc.h, 1.844 + include/freetype/internal/ftdriver.h, 1.845 + include/freetype/internal/ftmemory.h, 1.846 + include/freetype/internal/ftobjs.h, 1.847 + include/freetype/internal/psaux.h, include/freetype/internal/sfnt.h, 1.848 + include/freetype/internal/t1types.h, 1.849 + include/freetype/internal/tttypes.h, src/base/ftcalc.c, 1.850 + src/base/ftdbgmem.c, src/base/ftobjs.c, src/base/ftutil.c, 1.851 + src/bdf/bdfdrivr.c, src/cache/ftccache.c, src/cache/ftccback.h, 1.852 + src/cache/ftcmanag.c, src/cff/cffdrivr.c, src/cid/cidriver.c, 1.853 + src/pcf/pcfdrivr.c, src/pfr/pfrdrivr.c, src/psaux/psauxmod.c, 1.854 + src/sfnt/sfdriver.c, src/truetype/ttdriver.c, src/type1/t1driver.c, 1.855 + src/type1/t1objs.c, src/type42/t42drivr.c, src/winfonts/winfnt.c: 1.856 + Use FT_CONFIG_OPTION_OLD_INTERNALS to revive old functions and data 1.857 + structures. 1.858 + 1.859 + Move newly added structure elements to the end of the affected 1.860 + structure and add stub fields (if FT_CONFIG_OPTION_OLD_INTERNALS is 1.861 + defined) to assure binary compatibility with older FreeType 1.862 + versions. 1.863 + Use FT_CONFIG_OPTION_OLD_INTERNALS to add function stubs for old 1.864 + functions: 1.865 + 1.866 + ft_stub_set_char_sizes 1.867 + ft_stub_set_pixel_sizes 1.868 + 1.869 + Rename the following internal functions to provide the old function 1.870 + names as stubs: 1.871 + 1.872 + FT_Alloc -> ft_mem_alloc 1.873 + FT_QAlloc -> ft_mem_qalloc 1.874 + FT_Realloc -> ft_mem_realloc 1.875 + FT_QRealloc -> ft_mem_qrealloc 1.876 + FT_Free -> ft_mem_free 1.877 + FT_Alloc_Debug -> ft_mem_alloc_debug 1.878 + FT_QAlloc_Debug -> ft_mem_qalloc_debug 1.879 + FT_Realloc_Debug -> ft_mem_realloc_debug 1.880 + FT_QRealloc_Debug -> ft_mem_qrealloc_debug 1.881 + FT_Free_Debug -> ft_mem_free_debug 1.882 + 1.883 +2006-02-15 Chia-I Wu <b90201047@ntu.edu.tw> 1.884 + 1.885 + * include/freetype/internal/ftobjs.h (FT_Face_InternalRec): Remove 1.886 + unused `max_points' and `max_contours'. 1.887 + 1.888 + * src/cid/cidobjs.c (cid_face_init), src/type1/t1objs.c 1.889 + (T1_Face_Init), src/type42/t42objs.c (T42_Face_Init): Update. 1.890 + 1.891 + * include/freetype/internal/tttypes.h (TT_FaceRec): Remove unused 1.892 + `max_components'. 1.893 + 1.894 + * src/truetype/ttinterp.h (TT_ExecContextRec): Remove unused 1.895 + `loadSize' and `loadStack'. 1.896 + 1.897 + * src/truetype/ttinterp.c (TT_Done_Context, TT_Load_Context), 1.898 + src/sfnt/ttload.c (tt_face_load_maxp): Update. 1.899 + 1.900 + * src/cff/cffobjs.h (cff_size_select), src/sfnt/sfdriver.c 1.901 + (sfnt_interface), src/truetype/ttdriver.c (tt_size_request): Fix 1.902 + compiler errors/warnings when TT_CONFIG_OPTION_EMBEDDED_BITMAPS is not 1.903 + defined. 1.904 + 1.905 + * src/sfnt/ttmtx.c (tt_face_load_hmtx, tt_face_get_metrics): Fix 1.906 + possible segment faults for the non-FT_OPTIMIZE_MEMORY'ed versions. 1.907 + (finally!) 1.908 + 1.909 + 1.910 + For most OpenType tables, `tt_face_load_xxxx' simply loads the table 1.911 + and `face->root' is set later in `sfnt_load_face'. Here, we try to 1.912 + make this work for _all_ tables. Also improve tracing messages. 1.913 + 1.914 + * src/sfnt/ttsbit.c, src/sfnt/ttsbit0.c, src/sfnt/ttload.c, 1.915 + src/sfnt/ttmtx.c: all `tt_face_load_xxxx' should load the table and 1.916 + then exit. Error handling or setting face->root is done later in 1.917 + `sfnt_load_face'. 1.918 + 1.919 + * src/sfnt/sfobjs.c (sfnt_load_face): Work harder. 1.920 + Mac bitmap-only fonts are not scalable. 1.921 + Check that `face->header.Units_Per_EM' is not zero. 1.922 + (LOAD_, LOADM_): Emit pretty trace messages. 1.923 + 1.924 + * src/sfnt/ttsbit0.c (tt_face_load_strike_metrics): Read metrics 1.925 + from `eblc'. 1.926 + 1.927 + * src/sfnt/ttcmap.c (tt_face_build_cmaps), src/sfnt/ttpost.c 1.928 + (load_format_20, load_format_25, tt_face_get_ps_name): Use 1.929 + face->max_profile.numGlyphs, instead of face->root.num_glyphs. 1.930 + 1.931 +2006-02-14 Werner Lemberg <wl@gnu.org> 1.932 + 1.933 + * include/freetype/ftoutln.h (FT_Outline_Embolden): Mention in 1.934 + documentation that negative strength values are possible. 1.935 + Give an example call. 1.936 + 1.937 + * include/freetype/freetype.h (FT_GlyphSlotRec): Improve 1.938 + documentation of `outline' field. 1.939 + 1.940 + * src/sfnt/sfobjc.s: Inckude FT_INTERNAL_DEBUG_H. 1.941 + * src/sfnt/sfdriver.c: Include ttmtx.h. 1.942 + 1.943 + * src/autofit/afcjk.c: Include aftypes.h and aflatin.h. 1.944 + 1.945 +2006-02-14 Chia-I Wu <b90201047@ntu.edu.tw> 1.946 + 1.947 + * src/sfnt/ttmtx.c (tt_face_get_metrics): Typo. 1.948 + 1.949 +2006-02-14 Chia-I Wu <b90201047@ntu.edu.tw> 1.950 + 1.951 + * src/sfnt/ttmtx.c (tt_face_load_hhea, tt_face_load_hmtx): Simply 1.952 + return error if table is missing. 1.953 + Check table length in non-FT_OPTIMIZE_MEMORY'ed `tt_face_load_hmtx'. 1.954 + 1.955 + * src/sfnt/sfobjs.c (sfnt_load_face): Take care of missing metrics 1.956 + tables. The last change makes Mac bitmap-only font not load and 1.957 + this fixes it. 1.958 + 1.959 + * src/truetype/ttgload.c (load_truetype_glyph): Fix compilation 1.960 + error when FT_CONFIG_OPTION_INCREMENTAL is defined. 1.961 + 1.962 +2006-02-13 Chia-I Wu <b90201047@ntu.edu.tw> 1.963 + 1.964 + Clean up the SFNT_Interface. In this final pass, `load_hmtx' is 1.965 + split from `load_hhea'. 1.966 + 1.967 + * include/freetype/internal/sfnt.h, src/sfnt/sfdriver.c, 1.968 + src/sfnt/ttmtx.c, src/sfnt/ttmtx.h: Split `hmtx' from `hhea'. 1.969 + 1.970 + * src/sfnt/sfobjs.c (sfnt_load_face): Update. 1.971 + 1.972 +2006-02-13 Chia-I Wu <b90201047@ntu.edu.tw> 1.973 + 1.974 + * src/sfnt/ttmtx.h, src/sfnt/ttmtx.c: Why are there two copies of 1.975 + code... 1.976 + 1.977 +2006-02-13 Chia-I Wu <b90201047@ntu.edu.tw> 1.978 + 1.979 + Clean up the SFNT_Interface. In this pass, we want to treat the 1.980 + font directory (offset table and table directory) as a normal table 1.981 + like the others. This also means that TTCs are no longer recognized 1.982 + there but in `init_face'. 1.983 + 1.984 + * include/freetype/internal/sfnt.h (SFNT_Interface), 1.985 + src/sfnt/sfdriver.c: `load_sfnt_header' and `load_directory' are 1.986 + combined and renamed to `load_font_dir'. 1.987 + 1.988 + * src/sfnt/ttload.h, src/sfnt/ttload.c: 1.989 + s/sfnt_dir_check/check_table_dir/. 1.990 + `sfnt_init' is moved to sfobjs.c and renamed to `sfnt_open_font'. 1.991 + `tt_face_load_sfnt_header' and `tt_face_load_directory' are combined 1.992 + and renamed to `tt_face_load_font_dir'. 1.993 + 1.994 + * src/sfnt/sfobjs.c (sfnt_init_face): Recognize TTC here. 1.995 + 1.996 +2006-02-13 Chia-I Wu <b90201047@ntu.edu.tw> 1.997 + 1.998 + Clean up the SFNT_Interface. Table loading functions are now named 1.999 + after the tables' tags; `hdmx' is TrueType-specific and thus the 1.1000 + code is moved to the truetype module; `get_metrics' is moved here 1.1001 + from the truetype module so that the code can be shared with the cff 1.1002 + module. 1.1003 + 1.1004 + This pass involves no real changes. That is, the code is moved 1.1005 + verbatim mostly. The only exception is the return value of 1.1006 + `tt_face_get_metrics'. 1.1007 + 1.1008 + * include/freetype/internal/sfnt.h, src/sfnt/rules.mk, 1.1009 + src/sfnt/sfdriver.c, src/sfnt/sfnt.c, src/sfnt/sfobjs.c, 1.1010 + src/sfnt/ttload.c, src/sfnt/ttload.h, src/sfnt/ttsbit.c, 1.1011 + src/sfnt/ttsbit.h, src/sfnt/ttsbit0.c: Clean up the SFNT_Interface. 1.1012 + 1.1013 + * src/sfnt/ttmtx.c, src/sfnt/ttmtx.h: New files. Metrics-related 1.1014 + tables' loading and parsing code is moved to here. 1.1015 + Move `tt_face_get_metrics' here from the truetype module. The 1.1016 + return value is changed from `void' to `FT_Error'. 1.1017 + 1.1018 + * include/freetype/internal/fttrace.h: New trace: ttmtx. 1.1019 + 1.1020 + * src/truetype/ttpload.c, src/truetype/ttpload.h: `hdmx' loading and 1.1021 + parsing code is moved here. 1.1022 + New function `tt_face_load_prep' split from `tt_face_load_fpgm'. 1.1023 + `tt_face_load_fpgm' returns `FT_Err_Ok' if `fpgm' doesn't exist. 1.1024 + 1.1025 + * src/cff/cffgload.c, src/cff/cffobjs.c: Update. 1.1026 + 1.1027 + * src/truetype/ttgload.c, src/truetype/ttobjs.c: Update. 1.1028 + 1.1029 +2006-02-11 Chia-I Wu <b90201047@ntu.edu.tw> 1.1030 + 1.1031 + * src/autofit/afcjk.c (af_cjk_metrics_init): Fix a stupid bug... 1.1032 + 1.1033 + * src/autofit/aflatin.c (af_latin_metrics_init_widths): Use 1.1034 + AF_LatinMetricsRec as the dummy metrics because we cast the metrics 1.1035 + to it later in `af_latin_hints_link_segments'. 1.1036 + 1.1037 +2006-02-11 Chia-I Wu <b90201047@ntu.edu.tw> 1.1038 + 1.1039 + * include/freetype/config/ftoption.h (AF_CONFIG_OPTION_CJK): #define 1.1040 + to enable autofit CJK script support. (#define'd by default.) 1.1041 + 1.1042 + * src/autofit/aflatin.h (AF_LATIN_CONSTANT): New macro. 1.1043 + 1.1044 + * src/autofit/aflatin.c (af_latin_metrics_init_widths): Make sure 1.1045 + that `edge_distance_threshold' is always set. 1.1046 + (af_latin_hints_link_segments): Potential divide-by-zero bug. 1.1047 + Use latin constant in the scoring formula. 1.1048 + 1.1049 + * src/autofit/afcjk.c: Minor updates due to the above three changes. 1.1050 + 1.1051 + * docs/TODO, docs/CHANGES: Updated. 1.1052 + 1.1053 +2006-02-09 Chia-I Wu <b90201047@ntu.edu.tw> 1.1054 + 1.1055 + Introduce experimental autofit CJK module based on akito's autohint 1.1056 + patch. You need to #define AF_MOD_CJK in afcjk.c to enable it. 1.1057 + 1.1058 + * src/autofit/afglobal.c, src/autofit/afcjk.h, src/autofit/afcjk.c, 1.1059 + src/autofit/rules.mk, src/autofit/autofit.c, src/autofit/aftypes.h: 1.1060 + Add CJK module based on akito's autohint patch. 1.1061 + 1.1062 + * src/autofit/afhints.h (AF_SegmentRec): New field `len' for the 1.1063 + overlap length of the segments. 1.1064 + (AF_SEGMENT_LEN, AF_SEGMENT_DIST): New macros. 1.1065 + 1.1066 + * src/autofit/aflatin.h (af_latin_metrics_init_widths), 1.1067 + src/autofit/aflatin.c (af_latin_metrics_init_widths): Made 1.1068 + `FT_LOCAL'. 1.1069 + Use the character given by the caller. 1.1070 + (af_latin_metrics_init_widths, af_latin_hints_link_segments): Scale 1.1071 + the thresholds. 1.1072 + 1.1073 + * src/autofit/afloader.c (af_loader_load_g): Respect 1.1074 + AF_SCALER_FLAG_NO_ADVANCE. 1.1075 + 1.1076 +2006-02-09 Werner Lemberg <wl@gnu.org> 1.1077 + 1.1078 + * src/cid/cidparse.c (cid_parse_new): Remove shadowing variable. 1.1079 + 1.1080 +2006-02-09 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> 1.1081 + 1.1082 + * src/cid/cidparse.c (cid_parse_new): Fix for abnormally short or 1.1083 + broken CIDFont. Reported by Taek Kwan(TK) Lee (see ft-devel 1.1084 + 2005-11-02). 1.1085 + 1.1086 +2006-02-08 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> 1.1087 + 1.1088 + * builds/unix/configure.ac: Fix bug for `--with-old-mac-fonts' 1.1089 + option on UNIX platform. It has been broken since 2006-01-11. 1.1090 + 1.1091 +2006-02-01 Werner Lemberg <wl@gnu.org> 1.1092 + 1.1093 + * src/otvalid/module.mk: s/otvalid_module_class/otv_module_class/. 1.1094 + * src/gxvalid/module.mk: s/gxvalid_module_class/gxv_module_class/. 1.1095 + 1.1096 + * builds/unix/unixddef.mk: Actually do define PLATFORM (fixing 1.1097 + change from 2006-01-31). 1.1098 + (TOP_DIR, OBJ_DIR): Update. 1.1099 + 1.1100 + * builds/unix/install.mk (install): Fix path for ftmodule.h. 1.1101 + 1.1102 + * Makefile, *.mk, builds/unix/unix-cc.in, builds/unix-def.in: Use 1.1103 + `?=' where appropriate. 1.1104 + 1.1105 + * builds/detect.mk (TOP_DIR), builds/os2/os2-dev.mk (TOP_DIR), 1.1106 + builds/win32/w32-dev.mk (TOP_DIR): Removed. Defined elsewhere. 1.1107 + 1.1108 +2006-01-31 Werner Lemberg <wl@gnu.org> 1.1109 + 1.1110 + Implement new, simplified module selection. With GNU make it is now 1.1111 + sufficient to modify a single file, `modules.cfg', to control the 1.1112 + inclusion of modules and base extension files. 1.1113 + 1.1114 + This change also fixes the creation of ftmodule.h; it now depends on 1.1115 + `modules.cfg' and thus is rebuilt only if necessary. 1.1116 + 1.1117 + Finally, a version of `ftoption.h' in OBJ_DIR is preferred over the 1.1118 + default location. 1.1119 + 1.1120 + * modules.cfg: New file. 1.1121 + 1.1122 + * builds/freetype.mk: Don't include `modules.mk'. 1.1123 + Include all `rules.mk' files as specified in `modules.cfg'. 1.1124 + (FTOPTION_FLAG, FTOPTION_H): New variables. 1.1125 + (FT_CFLAGS): Add macro definition for FT_CONFIG_MODULES_H. 1.1126 + Add FTOPTION_FLAG. 1.1127 + ($(FT_INIT_OBJ)): Don't use FT_MODULE_LIST. 1.1128 + (CONFIG_H): Add FTMODULE_H and FTOPTION_H. 1.1129 + (INCLUDES): Add DEVEL_DIR. 1.1130 + (INCLUDE_FLAGS, FTSYS_SRC, FTSYS_OBJ, FTDEBUG_SRC, FTDEBUG_OBJ, 1.1131 + OBJ_M, OBJ_S): Use `:=', not `='. 1.1132 + (remove_ftmodule_h): New phony target to delete `ftmodule.h'. 1.1133 + (distclean): Add remove_ftmodule_h. 1.1134 + 1.1135 + * builds/modules.mk: (MODULE_LIST): Removed. 1.1136 + (make_module_list, clean_module_list): Replace targets 1.1137 + with... 1.1138 + (FTMODULE_H_INIT, FTMODULE_H_CREATE, FTMODULE_H_DONE): New 1.1139 + variables. Reason for the change is that it is not possible to have 1.1140 + a phony prerequisite which is run only if the target file must be 1.1141 + rebuilt (phony prerequisites act like subroutines and are *always* 1.1142 + executed). We only want to rebuild `ftmodule.h' if `module.cfg' is 1.1143 + changed. 1.1144 + Update all callers. 1.1145 + ($FTMODULE_H)): Rule to create `ftmodule.h', depending on 1.1146 + `modules.cfg'. 1.1147 + 1.1148 + * builds/toplevel.mk: Rewrite and simplify module handling. 1.1149 + (MODULES_CFG, FTMODULE_H): New variables. 1.1150 + Include MODULES_CFG. 1.1151 + (MODULES): New variable to include all `module.mk' and `rules.mk' 1.1152 + files. We no longer use make's `wildcard' function for this. 1.1153 + 1.1154 + * Makefile (USE_MODULES): Remove. Update all users. 1.1155 + (OBJ_DIR): Define it here. 1.1156 + 1.1157 + * src/*/module.mk: Change 1.1158 + 1.1159 + make_module_list: foo 1.1160 + foo: ... 1.1161 + 1.1162 + to 1.1163 + 1.1164 + FTMODULE_H_COMMANDS += FOO 1.1165 + define FOO 1.1166 + ... 1.1167 + endef 1.1168 + 1.1169 + in all files. `FTMODULE_H_COMMANDS' is used in `FTMODULE_H_CREATE'. 1.1170 + 1.1171 + * src/base/rules.mk (BASE_EXT_SRC): Use BASE_EXTENSIONS. 1.1172 + 1.1173 + * builds/unix/detect.mk (setup): Always execute `configure' script. 1.1174 + (have_mk): Rename to... 1.1175 + (have_Makefile): This. 1.1176 + Don't use `strip' function. 1.1177 + 1.1178 + * builds/unix/unix.mk: Include `install.mk' only if BUILD_PROJECT is 1.1179 + defined. 1.1180 + (have_mk): Don't use `strip' function. 1.1181 + Test for unix-def.mk in OBJ_DIR, not BUILD_DIR (and invert the test 1.1182 + accordingly). 1.1183 + 1.1184 + * builds/unix/install.mk (install, uninstall): Handle `ftmodule.h'. 1.1185 + 1.1186 + * builds/os2/os2-dev.mk, builds/unix/unix-dev.mk, 1.1187 + builds/win32/w32-bccd.mk, builds/win32/w32-dev.mk: Don't define 1.1188 + BUILD_DIR but DEVEL_DIR for development header files. 1.1189 + 1.1190 + * builds/ansi/ansi-def.mk (TOP_DIR, OBJ_DIR), 1.1191 + builds/beos/beos-def.mk (TOP_DIR, OBJ_DIR), builds/unix/unix-def.in 1.1192 + (TOP_DIR, OBJ_DIR): Removed. Defined elsewhere. 1.1193 + 1.1194 + * builds/dos/dos-def.mk (OBJ_DIR), builds/os2/os2-def.mk (OBJ_DIR), 1.1195 + builds/win32/win32-def.mk (OBJ_DIR): Removed. Defined elsewhere. 1.1196 + 1.1197 + * builds/unix/unixddef.mk: Don't define BUILD_DIR but DEVEL_DIR for 1.1198 + development header files. 1.1199 + Don't define PLATFORM. 1.1200 + 1.1201 + * configure: Copy `modules.cfg' to builddir if builddir != srcdir. 1.1202 + Update snippet taken from autoconf's m4sh.m4 to current CVS version. 1.1203 + Be more verbose. 1.1204 + 1.1205 + * include/freetype/config/ftmodule.h: Add comments -- this file is 1.1206 + no longer used if FreeType is built with GNU make. 1.1207 + 1.1208 + * docs/CHANGES, docs/CUSTOMIZE, docs/INSTALL, docs/INSTALL.ANY, 1.1209 + docs/INSTALL.GNU, docs/INSTALL.UNX: Document new build mechanism. 1.1210 + Other minor updates. 1.1211 + 1.1212 + * modules.txt: Removed. Contents included in `modules.cfg'. 1.1213 + 1.1214 + 1.1215 + * include/freetype/internal/ftmemory.h (FT_QAlloc_Debug, 1.1216 + FT_Free_Debug) [FT_STRICT_ALIASING]: Fix typos. 1.1217 + 1.1218 + * src/base/ftdbgmem.c (FT_Alloc_Debug, FT_Realloc_Debug, 1.1219 + FT_QAlloc_Debug, FT_QRealloc_Debug, FT_Free_Debug) 1.1220 + [FT_STRICT_ALIASING]: Implement. 1.1221 + 1.1222 +2006-01-31 Chia-I Wu <b90201047@ntu.edu.tw> 1.1223 + 1.1224 + * src/cff/cffobjs.c (cff_face_init), src/cid/cidobjs.c 1.1225 + (cid_face_init), src/pfr/pfrobjs.c (pfr_face_init), 1.1226 + src/type1/t1objs.c (T1_Face_Init): Set face->height to MAX(1.2 * 1.1227 + units_per_EM, ascender - descender). 1.1228 + 1.1229 +2006-01-31 Chia-I Wu <b90201047@ntu.edu.tw> 1.1230 + 1.1231 + * include/freetype/internal/t1types.h (AFM_FontInfo), 1.1232 + src/psaux/afmparse.c, src/tools/test_afm.c: Read `FontBBox', 1.1233 + `Ascender', and `Descender' from an AFM. 1.1234 + 1.1235 + * src/type1/t1afm.c (T1_Read_Metrics): Use the metrics from the AFM. 1.1236 + 1.1237 + * include/freetype/freetype.h (FT_FaceRec): Mention that fields may 1.1238 + be changed after file attachment. 1.1239 + 1.1240 +2006-01-28 Werner Lemberg <wl@gnu.org> 1.1241 + 1.1242 + * src/*/module.mk (.PHONY): Add. 1.1243 + 1.1244 +2006-01-27 Werner Lemberg <wl@gnu.org> 1.1245 + 1.1246 + * README, docs/FTL.TXT: Fix email address for bug reports. 1.1247 + Other minor formatting. 1.1248 + 1.1249 + * devel/ftoption.h: Synchronize with 1.1250 + include/freetype/config/ftoption.h. 1.1251 + 1.1252 + * src/autofit/module.mk (add_autofit_module), src/bdf/module.mk 1.1253 + (add_bdf_module), src/type42/module.mk (add_type42_driver): Fix 1.1254 + whitespace. 1.1255 + 1.1256 + * src/smooth/module.mk (add_smooth_renderer): Add lcd and lcdv 1.1257 + renderer classes. 1.1258 + 1.1259 +2006-01-27 David Turner <david@freetype.org> 1.1260 + 1.1261 + * builds/unix/configure.ac: Fix build problem on Cygwin. 1.1262 + 1.1263 + * builds/unix/install.mk (install): Don't install the internal 1.1264 + headers, and remove existing ones if found in the target install 1.1265 + directory. 1.1266 + 1.1267 + * src/autofit/afwarp.c: Add simple #ifdef to prevent compilation 1.1268 + if the warp hinter isn't active (it shouldn't, still experimental). 1.1269 + 1.1270 + * Jamfile, include/freetype/config/ftmodule.h: Remove `gxvalid' 1.1271 + and `otvalid' from the list of modules that are linked statically 1.1272 + to a given FreeType library. Functionality has been moved to the 1.1273 + `ftvalid' CVS module. 1.1274 + 1.1275 + Note also that current Make-based build system still compiles the 1.1276 + modules though. 1.1277 + 1.1278 + * include/freetype/config/ftoption.h (FT_STRICT_ALIASING): New macro 1.1279 + which controls the definitions of the memory management functions to 1.1280 + avoid warnings with recent versions of GCC. This macro is only here 1.1281 + to be disabled, in case we detect problems with the new scheme. 1.1282 + 1.1283 + NOTE: Disable macro to use the memory debugger -- this will be fixed 1.1284 + later! 1.1285 + 1.1286 + * include/freetype/internal/ftmemory.h, src/base/ftutil.c (FT_Alloc, 1.1287 + FT_QAlloc, FT_Realloc, FT_QRealloc, FT_Free) [FT_STRICT_ALIASING]: 1.1288 + New versions. 1.1289 + 1.1290 + 1.1291 + * builds/win32/visualc/freetype.dsp: Updating project file to 1.1292 + define FT2_BUILD_LIBRARY, and remove gxvalid + otvalid modules from 1.1293 + compilation. 1.1294 + 1.1295 + 1.1296 + * builds/freetype.mk (FT_CFLAGS), Jamfile (DEFINES): Define the 1.1297 + macro FT2_BUILD_LIBRARY when compiling the library. 1.1298 + 1.1299 + * include/freetype/config/ftheader.h: Remove inclusions of internal 1.1300 + headers except if the macro FT2_BUILD_LIBRARY is defined. 1.1301 + 1.1302 + 1.1303 + * include/freetype/internal/psaux.h (AFM_KernPair, AFM_TrackKern, 1.1304 + AFM_FontInfo): Move structure declarations to... 1.1305 + * include/freetype/internal/t1types.h: This file. 1.1306 + 1.1307 + 1.1308 + * (many files): Fix compiler warnings. 1.1309 + Various minor reorganizations. 1.1310 + 1.1311 + 1.1312 + * src/cff/cffload.c (cff_font_done): Don't free static array 1.1313 + `subfonts'. 1.1314 + 1.1315 + * src/otvalid/otvcommn.c (otv_ClassDef_validate), 1.1316 + src/otvalid/otvgpos.c (otv_x_sxy): Fix debugging information. 1.1317 + 1.1318 + 1.1319 + Get rid of writable static variables (i.e., the string table) in 1.1320 + afmparse, and fix compilation in FT2_MULTI mode. 1.1321 + 1.1322 + * src/psaux/afmparse.c: Include ft2build.h and FT_FREETYPE_H. 1.1323 + (AFM_MAX_ARGUMENTS): Define... 1.1324 + * src/psaux/afmparse.h: Here. 1.1325 + * src/psaux/Jamfile (_sources): Add afmparse. 1.1326 + 1.1327 + * src/psaux/psconv.c: Include psconv.h. 1.1328 + 1.1329 + * src/type1/t1afm.c: Don't include FT_INTERNAL_TYPE1_TYPES_H but 1.1330 + FT_INTERNAL_POSTSCRIPT_AUX_H. 1.1331 + * src/type1/t1afm.h: Include FT_INTERNAL_TYPE1_TYPES_H. 1.1332 + 1.1333 +2006-01-23 Chia-I Wu <b90201047@ntu.edu.tw> 1.1334 + 1.1335 + * include/freetype/freetype.h (FT_Select_Size): Rename the second 1.1336 + argument from `idx' to `strike_index'. 1.1337 + (FT_Size_Request_Type): Add FT_SIZE_REQUEST_TYPE_MAX to the end of 1.1338 + this enum. 1.1339 + 1.1340 + * include/freetype/internal/ftobjs.h (FT_REQUEST_WIDTH, 1.1341 + FT_REQUEST_HEIGHT): New macros to get the width and height of a 1.1342 + request, in fractional pixels. 1.1343 + 1.1344 + * include/freetype/internal/ftobjs.h (FT_Select_Metrics, 1.1345 + FT_Request_Metrics), src/base/ftobjs.c (FT_Select_Metrics, 1.1346 + FT_Request_Metrics): New base functions to set the font metrics. They 1.1347 + were part of FT_Select_Size/FT_Request_Size and are made independent 1.1348 + functions so that metrics are not set again and again. 1.1349 + 1.1350 + * src/base/ftobjs.c (FT_Select_Size, FT_Request_Size): Metrics are set 1.1351 + only when driver's size_select/size_request is NULL. That is, drivers 1.1352 + should set the metrics themselves. 1.1353 + (FT_Match_Size): Round before matching. This was what we did and it 1.1354 + does cause some problems without rounding. 1.1355 + 1.1356 + * src/cff/cffobjs.c (cff_size_select), src/truetype/ttdriver.c 1.1357 + (tt_size_select): Set the font metrics. 1.1358 + s/index/strike_index/. 1.1359 + The scaled metrics are always preferred over strikes' metrics, even 1.1360 + when some strike is selected. This is done because the strikes' 1.1361 + metrics are not reliable, e.g., the sign of the descender is wrong for 1.1362 + some fonts. 1.1363 + 1.1364 + * src/cff/cffobjs.c (cff_size_request), src/truetype/ttdriver.c 1.1365 + (tt_size_request): Set the font metrics. 1.1366 + Call cff_size_select/tt_size_select when some strike is matched. 1.1367 + 1.1368 + * src/bdf/bdfdrivr.c, src/cff/cffobjs.c, src/cid/cidobjs.c, 1.1369 + src/pcf/pcfdrivr.c, src/truetype/ttdriver.c, src/type1/t1objs.c, 1.1370 + src/type1/t1objs.h, src/type42/t42objs.c, src/winfonts/winfnt.c: 1.1371 + Set the font metrics. 1.1372 + s/index/strike_index/. 1.1373 + 1.1374 + * src/tools/test_afm.c, src/psaux/psconv.c: Older versions of these 1.1375 + files were committed. Just a catch-up. 1.1376 + (PS_Conv_ToFixed): Remove the `goto'. 1.1377 + (PS_Conv_ASCIIHexDecode, PS_Conv_EexecDecode): Speed up a little. 1.1378 + 1.1379 + * src/sfnt/ttsbit.c (tt_face_load_sbit_strikes, 1.1380 + tt_face_load_strike_metrics), src/sfnt/ttsbit0.c 1.1381 + (tt_face_load_sbit_strikes, tt_face_load_strike_metrics): The 1.1382 + advertised metrics in `available_sizes' are different from those 1.1383 + actually used. 1.1384 + 1.1385 +2006-01-23 Chia-I Wu <b90201047@ntu.edu.tw> 1.1386 + 1.1387 + * src/psaux/psaux.c src/psaux/psauxmod.c src/type1/t1driver.c: Make 1.1388 + AFM parser optional, controlled by `T1_CONFIG_OPTION_NO_AFM'. 1.1389 + 1.1390 +2006-01-22 Werner Lemberg <wl@gnu.org> 1.1391 + 1.1392 + * builds/unix/install-sh, builds/unix/mkinstalldirs: Updated from 1.1393 + `texinfo' CVS module at savannah.gnu.org. 1.1394 + 1.1395 +2006-01-21 Werner Lemberg <wl@gnu.org> 1.1396 + 1.1397 + * src/autofit/rules.mk (AUTOF_DRV_SRC): Add afwarp.c. 1.1398 + 1.1399 + * src/autofit/afloader.c (af_loader_load_g): Move AF_USE_WARPER up 1.1400 + to avoid compiler warnings. 1.1401 + 1.1402 + * src/autofit/afwarp.c (af_warper_compute_line_best): Remove 1.1403 + shadowing variable declarations. 1.1404 + Fix warning parameters and replace printf with AF_LOG. 1.1405 + (af_warper_compute): Remove unused variable. 1.1406 + 1.1407 +2006-01-20 David Turner <david@freetype.org> 1.1408 + 1.1409 + Adding experimental implementation of `warp hinting' (new hinting 1.1410 + algorithm for gray-level and LCD rendering). It is disabled by 1.1411 + default, you need to #define AF_USE_WARPER in aftypes.h. 1.1412 + 1.1413 + * src/autofit/afhints.c (af_glyph_hints_scale_dim) [AF_USE_WARPER]: 1.1414 + New function. 1.1415 + * src/autofit/afhints.h: Updated. 1.1416 + 1.1417 + * src/autofit/aflatin.c [AF_USE_WARPER]: Include afwarp.h. 1.1418 + (af_latin_hints_init) [AF_USE_WARPER]: Reset mode to 1.1419 + FT_RENDER_MODE_NORMAL if an LCD mode is selected. 1.1420 + (af_latin_hints_apply) [AF_USE_WARPER]: Call af_warper_compute 1.1421 + appropriately. 1.1422 + 1.1423 + * src/autofit/afloader.c (af_loader_load_g) [!AF_USER_WARPER]: 1.1424 + Isolate code for adjusting metrics. 1.1425 + 1.1426 + * src/autofit/aftypes.h (AF_USE_WARPER): New macro (commented out by 1.1427 + default). 1.1428 + 1.1429 + * src/autofit/afwarp.c, src/autofit/afwarp.h: New files. 1.1430 + 1.1431 + * src/autofit/autofit.c [AF_USE_WARPER]: Include afwarp.c. 1.1432 + 1.1433 + * src/autofit/Jamfile (_sources): Add afwarp. 1.1434 + 1.1435 +2006-01-19 David Turner <david@freetype.org> 1.1436 + 1.1437 + * src/sfnt/ttsbit0.c (tt_face_load_strike_metrics): Fix small bug 1.1438 + that prevented compilation when FT_OPTIMIZE_MEMORY is defined. 1.1439 + 1.1440 +2006-01-19 Brian Weed <bw@imaginengine.com> 1.1441 + 1.1442 + * builds/win32/visualc/freetype.dsp: Updated. 1.1443 + 1.1444 +2006-01-17 Werner Lemberg <wl@gnu.org> 1.1445 + 1.1446 + Use pscmap service in CFF module. 1.1447 + 1.1448 + * src/cff/cffcmap.c (cff_cmap_uni_pair_compare): Removed. 1.1449 + (cff_sid_to_glyph_name): New function. 1.1450 + (cff_cmap_unicode_init, cff_cmap_unicode_done, 1.1451 + cff_cmap_unicode_char_index, cff_cmap_unicode_char next): Use pscmap 1.1452 + service. 1.1453 + (cff_cmap_unicode_class_rec): Updated. 1.1454 + * src/cff/cffcmap.h (CFF_CMapUnicode, CFF_CMap_UniPair): Removed. 1.1455 + 1.1456 + 1.1457 + * src/psnames/psmodule.c (ps_unicodes_char_next): Fix `unicode' 1.1458 + return value. 1.1459 + 1.1460 + 1.1461 + * src/psaux/afmparse.c (afm_parser_read_vals): Use double casting 1.1462 + to avoid compiler warnings regarding type-punning. 1.1463 + 1.1464 +2006-01-16 Chia-I Wu <b90201047@ntu.edu.tw> 1.1465 + 1.1466 + * src/psaux/afmparse.c, src/psaux/afmparse.h: New files which 1.1467 + implement an AFM parser. 1.1468 + 1.1469 + * src/psaux/psconv.c, src/psaux/psconv.h: New files to provide 1.1470 + conversion functions (e.g., PS real number => FT_Fixed) for the 1.1471 + PS_Parser and AFM_Parser. Some of the functions are taken, with 1.1472 + some modifications, from the file psobjs.c. 1.1473 + 1.1474 + * src/psaux/psobjs.c: Use functions from psconv.c. 1.1475 + 1.1476 + * include/freetype/internal/psaux.h, src/psaux/psauxmod.c: Add 1.1477 + `AFM_Parser' to the `psaux' service. 1.1478 + 1.1479 + * src/psaux/psaux.c, src/psaux/rules.mk (PSAUX_DRV_SRC): Include 1.1480 + those new files. 1.1481 + 1.1482 + * src/tools/test_afm.c: A test program for AFM parser. 1.1483 + 1.1484 + * include/freetype/internal/services/svkern.h: New file providing a 1.1485 + `Kerning' service. It is currently only used to get the track 1.1486 + kerning information. 1.1487 + 1.1488 + * include/freetype/internal/ftserv.h (FT_SERVICE_KERNING_H): New 1.1489 + macro. 1.1490 + 1.1491 + * src/type1/t1driver.c, src/type1/t1objs.c, src/type1/t1afm.c, 1.1492 + src/type1/t1afm.h: Update to use the AFM parser. 1.1493 + Provide the `Kerning' service. 1.1494 + 1.1495 + * include/freetype/freetype.h, src/base/ftobjs.c: New API 1.1496 + `FT_Get_Track_Kerning'. 1.1497 + 1.1498 +2006-01-15 Chia-I Wu <b90201047@ntu.edu.tw> 1.1499 + 1.1500 + * include/freetype/internal/ftobjs.h, src/base/ftobjs.c, 1.1501 + src/bdf/bdfdrivr.c, src/cff/cffgload.c, src/cid/cidgload.c, 1.1502 + src/pcf/pcfdrivr.c, src/type1/t1gload.c, src/winfonts/winfnt.c: 1.1503 + s/ft_fake_vertical_metrics/ft_synthesize_vertical_metrics/. 1.1504 + 1.1505 + * docs/CHANGES: Mention that vertical metrics are synthesized for 1.1506 + fonts not having this info. 1.1507 + 1.1508 +2006-01-15 Chia-I Wu <b90201047@ntu.edu.tw> 1.1509 + 1.1510 + * include/freetype/internal/ftobjs.h (ft_fake_vertical_metrics), 1.1511 + src/base/ftobjs.c (ft_fake_vertical_metrics): New function to fake 1.1512 + vertical metrics. 1.1513 + 1.1514 + * src/cff/cffgload.c, src/cid/cidgload.c, src/pcf/pcfdrivr.c, 1.1515 + src/type1/t1gload.c, src/winfonts/winfnt.c: Fake vertical metrics, 1.1516 + which are monotone. 1.1517 + 1.1518 + * src/truetype/ttgload.c (compute_glyph_metrics): Some fixes and 1.1519 + formattings in vertical metrics faking. There is still room for 1.1520 + improvements (and so does the CFF module). 1.1521 + 1.1522 +2006-01-15 Chia-I Wu <b90201047@ntu.edu.tw> 1.1523 + 1.1524 + * src/bdf/bdfdrivr.c (BDF_Glyph_Load), src/pcf/pcfdrivr.c 1.1525 + (PCF_Glyph_Load), src/winfonts/winfnt.c (FNT_Load_Glyph): Don't set 1.1526 + the linear advance fields as they are only used by the outline 1.1527 + glyphs. 1.1528 + 1.1529 + * include/freetype/freetype.h: Documentation updates and 1.1530 + clarifications. 1.1531 + The meaning of FT_LOAD_FORCE_AUTOHINT is changed so that no real 1.1532 + change need be made to the code. 1.1533 + 1.1534 + * src/base/ftobjs.c (FT_Load_Glyph): Resolve flag dependencies and 1.1535 + decide whether to use the auto-hinter according to documentation. 1.1536 + There should to be no real difference. 1.1537 + Some checks (e.g., is text height positive?) after the glyph is 1.1538 + loaded. 1.1539 + (FT_Select_Size, FT_Request_Size): Scales are set to wrong values. 1.1540 + Be careful that scales won't be negative. 1.1541 + 1.1542 +2006-01-14 Chia-I Wu <b90201047@ntu.edu.tw> 1.1543 + 1.1544 + * docs/CHANGES: Mention the size selection change. 1.1545 + 1.1546 + * src/bdf/bdfdrivr.c (BDF_Size_Request, BDF_Size_Select), 1.1547 + src/pcf/pcfdrivr.c (PCF_Size_Request, PCF_Size_Select), 1.1548 + src/winfonts/winfnt.c (FNT_Size_Request, FNT_Size_Select): Do size 1.1549 + matching for requests of type NOMINAL and REAL_DIM. 1.1550 + 1.1551 + * src/winfonts/winfnt.c (FNT_Face_Init): Print trace message when 1.1552 + `pixel_height' is used for nominal height. 1.1553 + 1.1554 + * src/base/ftobjs.c (FT_Request_Size): Call `FT_Match_Size' if the 1.1555 + face is bitmap only and driver doesn't provide `request_size'. This 1.1556 + is added merely for completion as no driver satisfies the conditions. 1.1557 + 1.1558 +2006-01-13 Chia-I Wu <b90201047@ntu.edu.tw> 1.1559 + 1.1560 + Introduce new size selection interface. 1.1561 + 1.1562 + * include/freetype/internal/ftdriver.h (struct FT_Driver_ClassRec): 1.1563 + Replace `set_char_sizes' and `set_pixel_sizes' by `request_size' and 1.1564 + `select_size'. 1.1565 + 1.1566 + * include/freetype/freetype.h (FT_Select_Size, FT_Size_Request_Type, 1.1567 + FT_Size_Request, FT_Request_Size, FT_Select_Size), src/base/ftobjs.c 1.1568 + (FT_Select_Size, FT_Request_Size): API additions to export the new 1.1569 + size selection interface. 1.1570 + 1.1571 + * src/base/ftobjs.c (FT_Set_Char_Size, FT_Set_Pixel_Sizes): Use 1.1572 + `FT_Request_Size'. 1.1573 + 1.1574 + * include/freetype/internal/ftobjs.h (FT_Match_Size), 1.1575 + src/base/ftobjs.c (FT_Match_Size): New function to match a size 1.1576 + request against `available_sizes'. Drivers supporting bitmap strikes 1.1577 + can use this function to implement `request_size'. 1.1578 + 1.1579 + * src/bdf/bdfdrivr.c, src/cid/cidobjs.c, src/cid/cidobjs.h, 1.1580 + src/cid/cidriver.c, src/pcf/pcfdrivr.c, src/type1/t1driver.c, 1.1581 + src/type1/t1objs.c, src/type1/t1objs.h, src/type42/t42drivr.c, 1.1582 + src/type42/t42objs.c, src/type42/t42objs.h, src/winfonts/winfnt.c: 1.1583 + Update to new size selection interface. 1.1584 + 1.1585 + * src/cff/cffdrivr.c, src/cff/cffgload.c, src/cff/cffobjs.c, 1.1586 + src/cff/cffobjs.h, src/truetype/ttdriver.c, src/truetype/ttgload.c, 1.1587 + src/truetype/ttobjs.c, src/truetype/ttobjs.h: Update to new size 1.1588 + selection interface. 1.1589 + Make `strike_index' FT_ULong and always defined. 1.1590 + Use `load_strike_metrics' provided by SFNT interface. 1.1591 + 1.1592 +2006-01-13 Chia-I Wu <b90201047@ntu.edu.tw> 1.1593 + 1.1594 + * include/freetype/internal/sfnt.h (SFNT_Interface): New method 1.1595 + `load_strike_metrics' used to load the strike's metrics. 1.1596 + 1.1597 + * src/sfnt/sfdriver.c, src/sfnt/ttsbit.c, src/sfnt/ttsbit.h, 1.1598 + src/sfnt/ttsbit0.c: New function `tt_face_load_strike_metrics'. 1.1599 + 1.1600 + * src/pfr/pfrobjs.c (pfr_face_init): Set FT_Bitmap_Size correctly. 1.1601 + 1.1602 + * src/winfonts/winfnt.c (FNT_Face_Init): Use `nominal_point_size' for 1.1603 + nominal size unless it is obviously incorrect. 1.1604 + 1.1605 + * include/freetype/freetype.h (FT_Bitmap_Size): Update the comments on 1.1606 + FNT driver. 1.1607 + 1.1608 +2006-01-12 Werner Lemberg <wl@gnu.org> 1.1609 + 1.1610 + Prepare use of pscmap service within CFF module. 1.1611 + 1.1612 + * include/freetype/internal/services/svpscmap.h: Include 1.1613 + FT_INTERNAL_OBJECTS_H. 1.1614 + (PS_Unicode_Index_Func): Removed. Unused. 1.1615 + (PS_Macintosh_Name_Func): Renamed to... 1.1616 + (PS_Macintosh_NameFunc): This. 1.1617 + Update all callers. 1.1618 + (PS_Adobe_Std_Strings_Func): Renamed to... 1.1619 + (PS_Adobe_Std_StringsFunc): This. 1.1620 + Update all callers. 1.1621 + (PS_UnicodesRec): This is the former `PS_Unicodes' structure. 1.1622 + Add `cmap' member. 1.1623 + Update all callers. 1.1624 + (PS_Unicodes): This is now a typedef'd pointer to PS_UnicodesRec. 1.1625 + Update all callers. 1.1626 + (PS_Glyph_NameFunc): New typedef. 1.1627 + (PS_Unicodes_InitFunc): Change arguments to expect a function 1.1628 + and generic data pointer which returns a glyph name from a given 1.1629 + index. 1.1630 + 1.1631 + * src/psnames/psmodule.c (ps_unicodes_init, ps_unicodes_char_index, 1.1632 + ps_unicodes_char_next, pscmaps_interface): Updated. 1.1633 + 1.1634 + * include/freetype/internal/t1types.h (T1_FaceRec): Updated. 1.1635 + 1.1636 + * src/psaux/t1cmap.h (T1_CmapStdRec): Updated. 1.1637 + (T1_CmapUnicode, T1_CmapUnicodeRec): Removed. 1.1638 + 1.1639 + * src/psaux/t1cmap.c (t1_get_glyph_name): New callback function. 1.1640 + (t1_cmap_unicode_init, t1_cmap_unicode_done, 1.1641 + t1_cmap_unicode_char_index, t1_cmap_unicode_char_next, 1.1642 + t1_cmap_unicode_class_rec): Updated. 1.1643 + 1.1644 + * src/type42/t42types.h (T42_FaceRec): Updated. 1.1645 + 1.1646 +2006-01-11 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> 1.1647 + 1.1648 + * include/freetype/ftmac.h: Add declaration of new functions 1.1649 + FT_New_Face_From_FSRef and FT_GetFile_From_Mac_ATS_Name that 1.1650 + were introduced by the jumbo patch on 2006-01-11. 1.1651 + 1.1652 +2006-01-11 Werner Lemberg <wl@gnu.org> 1.1653 + 1.1654 + Fix Savannah bug #15056 and use pscmap service in psaux module. 1.1655 + 1.1656 + * include/freetype/internal/services/svpscmap.h (PS_UniMap): Use 1.1657 + FT_UInt32 for `glyph_index'. 1.1658 + (PS_Unicodes_InitFunc): Use FT_String for `glyph_names'. 1.1659 + (PS_Unicodes_CharIndexFunc): Use FT_UInt32 for `unicode'. 1.1660 + (PS_Unicodes_CharNextFunc): Make second argument a pointer to 1.1661 + FT_UInt32. 1.1662 + 1.1663 + * src/psnames/psmodule.c (VARIANT_BIT, BASE_GLYPH): New macros. 1.1664 + (ps_unicode_value): Set VARIANT_BIT in return value if glyph is a 1.1665 + variant glyph (this is, it has non-leading `.' in its name). 1.1666 + (compare_uni_maps): Sort base glyphs before variant glyphs. 1.1667 + (ps_unicodes_init): Use FT_String for `glyph_names' argument. 1.1668 + Reallocate only if number of used entries is much smaller. 1.1669 + Updated to handle variant glyphs. 1.1670 + (ps_unicodes_char_index, ps_unicodes_char_next): Prefer base glyphs 1.1671 + over variant glyphs. 1.1672 + Simplify code. 1.1673 + 1.1674 + * src/psaux/t1cmap.c (t1_cmap_uni_pair_compare): Removed. 1.1675 + (t1_cmap_unicode_init, t1_cmap_unicode_char_index, 1.1676 + t1_cmap_unicode_char_next): Use pscmap service. 1.1677 + (t1_cmap_unicode_done): Updated. 1.1678 + 1.1679 + * src/psaux/t1cmap.h (T1_CMapUniPair): Removed. 1.1680 + (T1_CMapUnicode): Use PS_Unicodes structure. 1.1681 + 1.1682 +2006-01-11 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> 1.1683 + 1.1684 + Jumbo patch to fix `deprecated' warning of cross-build for Tiger on 1.1685 + Intel, as reported by Sean McBride <sean@rogue-research.com> on 1.1686 + 2005-08-24. 1.1687 + 1.1688 + * src/base/ftmac.c: Heavy change to build without deprecated Carbon 1.1689 + functions on Tiger. 1.1690 + 1.1691 + * builds/unix/configure.ac: Add options and autochecks for Carbon 1.1692 + functions availabilities, for MacOS X. 1.1693 + 1.1694 + * builds/mac/ascii2mpw.py: Add converter for character `\305'. 1.1695 + * builds/mac/FreeType.m68k_{far|cfm}.make.txt: Add conditional 1.1696 + macros to avoid unavailable functions. 1.1697 + ftmac.c must be compiled without `-strict ansi', because it disables 1.1698 + cpp macro to use ToolBox system call. 1.1699 + 1.1700 + * builds/mac/FreeType.ppc_{classic|carbon}.make.txt: Add conditional 1.1701 + macros to avoid unavailable functions. 1.1702 + 1.1703 + * builds/mac/README: Detailed notes on function availabilities. 1.1704 + 1.1705 + * docs/CHANGES: Notes about (possible) incompatibilities. 1.1706 + 1.1707 +2006-01-08 Werner Lemberg <wl@gnu.org> 1.1708 + 1.1709 + * docs/CHANGES: Updated. 1.1710 + 1.1711 +2006-01-08 Huw D M Davies <h.davies1@physics.ox.ac.uk> 1.1712 + 1.1713 + * include/freetype/ftmodapi.h (FT_Module_Get_Flags): New 1.1714 + declaration. 1.1715 + 1.1716 + * src/base/ftobjs.c (FT_Module_Get_Flags): New function. 1.1717 + 1.1718 +2006-01-07 Werner Lemberg <wl@gnu.org> 1.1719 + 1.1720 + * src/pcf/pcfread.c (pcf_get_bitmaps): Remove unused variable 1.1721 + `bitmaps'. Reported by Yu Lei <yulei0@gmail.com>. 1.1722 + 1.1723 + * src/base/ftutil.c (ft_highpow2): s/FT_BASE/FT_BASE_DEF/. 1.1724 + Reported by Niels Boldt <nielsboldt@gmail.com>. 1.1725 + 1.1726 +2005-12-28 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> 1.1727 + 1.1728 + * src/sfnt/sfnt/ttbdf.c: Add newline '\n' to the end of file, for 1.1729 + MPW compiler. 1.1730 + 1.1731 +2005-12-23 David Turner <david@freetype.org> 1.1732 + 1.1733 + * Jamfile (RefDoc), docs/reference/README: Fix it so that `jam 1.1734 + refdoc' works correctly to generate the API reference in 1.1735 + `docs/reference'. 1.1736 + 1.1737 + * src/tools/docmaker/tohtml.py (print_html_field, 1.1738 + print_html_field_list): Update to output nicer fields lists in the 1.1739 + API reference. 1.1740 + 1.1741 + * src/base/ftobjs.c (FT_Load_Glyph): FT_LOAD_TARGET_LIGHT now 1.1742 + forces auto-hinting. 1.1743 + 1.1744 + * freetype/freetype.h: Updating the documentation for 1.1745 + FT_LOAD_TARGET_XXX and FT_Render_Mode values. 1.1746 + 1.1747 +2005-12-23 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> 1.1748 + 1.1749 + * src/base/ftmac.c (FT_New_Face_From_Suitcase): Count scalable faces 1.1750 + in supported formats (sfnt, LWFN) only, and ignore bitmap faces in 1.1751 + unsupported formats (fbit, NFNT). The number of available faces are 1.1752 + passed via face->num_faces. If bitmap faces are embedded in sfnt 1.1753 + resource, face->num_fixed_size is correctly set. In public API, 1.1754 + FT_New_Face() and FT_New_Face_From_FSSpec() count the faces as 1.1755 + FT_GetFile_From_Mac_Name(), which ignores NFNT resources. 1.1756 + 1.1757 + * doc/CHANGES: Mention the changes. 1.1758 + 1.1759 +2005-12-17 Chia-I Wu <b90201047@ntu.edu.tw> 1.1760 + 1.1761 + * src/truetype/ttinterp.c (Update_Max): Set current size of buffer 1.1762 + correctly (so that memory debug system won't panic). 1.1763 + 1.1764 +2005-12-16 Chia-I Wu <b90201047@ntu.edu.tw> 1.1765 + 1.1766 + * include/freetype/internal/ftobjs.h (ft_glyphslot_grid_fit_metrics), 1.1767 + src/base/ftobjs.c (ft_glyphslot_grid_fit_metrics): Removed. 1.1768 + 1.1769 + * src/base/ftobjs.c (ft_recompute_scaled_metrics): Do not round. 1.1770 + 1.1771 + * src/cff/cffgload.c (cff_slot_load), src/cid/cidgload.c 1.1772 + (cid_slot_load_glyph), src/truetype/ttgload.c (compute_glyph_metrics), 1.1773 + src/type1/t1gload.c (T1_Load_Glyph): Do not round glyph metrics. 1.1774 + 1.1775 + * doc/CHANGES: Mention the changes. 1.1776 + 1.1777 +2005-12-13 David Turner <david@freetype.org> 1.1778 + 1.1779 + Change the implementation of the LIGHT hinting mode to completely 1.1780 + disable horizontal hinting. This is an experimental effort to 1.1781 + integrate David Chester's latest patch without affecting the other 1.1782 + hinting modes as well. 1.1783 + 1.1784 + Note that this doesn't force auto-hinting for all fonts, however. 1.1785 + 1.1786 + * src/autofit/afhints.c (af_glyph_hints_reload): Don't set 1.1787 + scaler_fiags here but... 1.1788 + (af_glyph_hints_rescale): Here. 1.1789 + 1.1790 + * src/autofit/aflatin.c (af_latin_hints_init): Disable horizontal 1.1791 + hinting for `light' hinting mode. 1.1792 + 1.1793 + 1.1794 + * Jamfile: Small fix to ensure that ftexport.sym is placed into the 1.1795 + same location as other generated objects (i.e., within the `objs' 1.1796 + directory of the current directory). 1.1797 + 1.1798 + 1.1799 + Add support for an embedded `BDF ' table within SFNT-based bitmap 1.1800 + font files. This is used to store atoms & properties from the 1.1801 + original BDF fonts that were used to generate the font file. 1.1802 + 1.1803 + The feature is controlled by TT_CONFIG_OPTION_BDF within 1.1804 + `ftoption.h' and is used to implement FT_Get_BDF_Property for these 1.1805 + font files. 1.1806 + 1.1807 + At the moment, this is still experimental, the BDF table format 1.1808 + isn't cast into stone yet. 1.1809 + 1.1810 + * include/freetype/config/ftoption.h (TT_CONFIG_OPTION_BDF): New 1.1811 + macro. 1.1812 + 1.1813 + * include/freetype/config/ftstdlib.h (ft_memchr): New macro. 1.1814 + 1.1815 + * include/freetype/internal/tttypes.h (TT_BDFRec, TT_BDF) 1.1816 + [TT_CONFIG_OPTION_BDF]: New structure. 1.1817 + (TT_FaceRec) [TT_CONFIG_OPTION_BDF]: New member `bdf'. 1.1818 + 1.1819 + * include/freetype/ttags.h (TTAG_BDF): New macro. 1.1820 + 1.1821 + * src/sfnt/Jamfile (_sources): Add ttbdf. 1.1822 + 1.1823 + * src/sfnt/rules.mk (SFNT_DRV_SRC): Add ttbdf.c. 1.1824 + 1.1825 + * src/sfnt/sfdriver.c [TT_CONFIG_OPTION_BDF]: Include ttbdf.h and 1.1826 + FT_SERVICE_BDF_H. 1.1827 + (sfnt_get_charset_it) [TT_CONFIG_OPTION_BDF]: New function. 1.1828 + (sfnt_service_bdf) [TT_CONFIG_OPTION_BDF]: New service. 1.1829 + (sfnt_services) [TT_CONFIG_OPTION_BDF]: Add sfnt_service_bdf. 1.1830 + 1.1831 + * src/sfnt/sfnt.c [TT_CONFIG_OPTION_BDF]: Include ttbdf.c. 1.1832 + 1.1833 + * src/sfnt/sfobjs.c [TT_CONFIG_OPTION_BDF]: Include ttbdf.h. 1.1834 + (sfnt_done_face) [TT_CONFIG_OPTION_BDF]: Call 1.1835 + tt_face_free_bdf_props. 1.1836 + 1.1837 + * src/sfnt/ttbdf.h, src/sfnt/ttbdf.c: New files. 1.1838 + 1.1839 +2005-12-07 Werner Lemberg <wl@gnu.org> 1.1840 + 1.1841 + * src/sfnt/sfobjc.c (sfnt_init_face): Move tag check to... 1.1842 + * src/sfnt/ttload.c (sfnt_init): Here, before handling TTCs. 1.1843 + 1.1844 +2005-12-06 Chia-I Wu <b90201047@ntu.edu.tw> 1.1845 + 1.1846 + * src/truetype/ttobjs.c (tt_size_init): size->ttmetrics.valid is 1.1847 + initialized twice. 1.1848 + size->strike_index is not initialized. 1.1849 + 1.1850 +2005-12-02 Taek Kwan(TK) Lee <taeklee@gmail.com> 1.1851 + 1.1852 + * src/type42/t42objs.c (T42_Face_Init): Replace call to 1.1853 + FT_New_Memory_Face with call to FT_Open_Face to pass `params'. 1.1854 + 1.1855 +2005-11-30 Werner Lemberg <wl@gnu.org> 1.1856 + 1.1857 + * docs/CHANGES: Document ftdump's `-v' option. 1.1858 + Document latest charmap code changes. 1.1859 + 1.1860 + * src/sfnt/ttcmap.c, src/sfnt/ttcmap.h: 1.1861 + s/TT_CMAP_FLAG_OVERLAPPED/TT_CMAP_FLAG_OVERLAPPING/. 1.1862 + 1.1863 +2005-11-30 Chia-I Wu <b90201047@ntu.edu.tw> 1.1864 + 1.1865 + * src/sfnt/ttcmap.c (tt_cmap4_char_map_binary, 1.1866 + tt_cmap12_char_map_binary): Fix compiler warnings. 1.1867 + 1.1868 +2005-11-29 Chia-I Wu <b90201047@ntu.edu.tw> 1.1869 + 1.1870 + Major update to distinguish between unsorted and overlapping 1.1871 + segments for cmap format 4. For overlapping but sorted segments, 1.1872 + which is previously considered unsorted, we still use binary search. 1.1873 + 1.1874 + * src/sfnt/ttcmap.h (TT_CMapRec_): Replace `unsorted' by `flags'. 1.1875 + (TT_CMAP_FLAG_UNSORTED, TT_CMAP_FLAG_OVERLAPPED): New macros. 1.1876 + 1.1877 + * src/sfnt/ttcmap.c (OPT_CMAP4): Removed as it is always defined. 1.1878 + (TT_CMap4Rec_): Remove `old_charcode' and `table_length'. 1.1879 + (tt_cmap4_reset): Removed. 1.1880 + (tt_cmap4_init): Updated accordingly. 1.1881 + (tt_cmap4_next): Updated accordingly. 1.1882 + Take care of overlapping segments. 1.1883 + (tt_cmap4_validate): Make sure the subtable is large enough. 1.1884 + Do not check glyph_ids because some fonts set the length wrongly. 1.1885 + Also, if all segments have offset 0, glyph_ids is always invalid. 1.1886 + It does not cause any problem so far only because the check misses 1.1887 + equality. 1.1888 + Distinguish between unsorted and overlapping segments. 1.1889 + (tt_cmap4_char_map_linear, tt_cmap4_char_map_binary): New functions 1.1890 + to do `charcode => glyph index' by linear/binary search. 1.1891 + (tt_cmap4_char_index, tt_cmap4_char_next): Use 1.1892 + tt_cmap4_char_map_linear and tt_cmap4_char_map_binary. 1.1893 + (tt_face_build_cmaps): Treat the return value of validator as flags 1.1894 + for cmap. 1.1895 + 1.1896 +2005-11-29 Chia-I Wu <b90201047@ntu.edu.tw> 1.1897 + 1.1898 + * src/sfnt/ttcmap.c (TT_CMap12Rec_, tt_cmap12_init, tt_cmap12_next): 1.1899 + New structures and functions for fast `next char'. 1.1900 + (tt_cmap12_char_map_binary): New function to do `charcode => glyph 1.1901 + index' by binary search. 1.1902 + (tt_cmap12_char_index, tt_cmap12_char_next): Use 1.1903 + tt_cmap12_char_map_binary. 1.1904 + (tt_face_build_cmaps): Check table and offset correctly (equality is 1.1905 + missing). 1.1906 + 1.1907 +2005-11-15 Detlef Würkner <TetiSoft@apg.lahn.de> 1.1908 + 1.1909 + * builds/amiga/smakefile: Adjusted the compiler options 1.1910 + to the current sources, now really builds the gxvalid, gzip 1.1911 + and psnames modules. 1.1912 + 1.1913 + * builds/amiga/src/base/ftsystem.c: The assumed Seek() position 1.1914 + in the file cache was off by one byte which could cause false 1.1915 + errors in font files. 1.1916 + 1.1917 +2005-11-24 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> 1.1918 + 1.1919 + * builds/mac/FreeType.m68k_far.make.txt, 1.1920 + builds/mac/FreeType.m68k_cfm.make.txt, 1.1921 + builds/mac/FreeType.ppc_classic.make.txt, 1.1922 + builds/mac/FreeType.ppc_carbon.make.txt: 1.1923 + Updated for MPW to build all available modules. 1.1924 + 1.1925 +2005-11-21 Håvard Wall <haavardw@ifi.uio.no> 1.1926 + 1.1927 + * src/bdf/bdfdrivr.c (bdf_interpret_style, BDF_Face_Done): Fix small 1.1928 + memory leak. 1.1929 + 1.1930 +2005-11-21 Werner Lemberg <wl@gnu.org> 1.1931 + 1.1932 + * src/sfnt/ttload.c (sfnt_init): Add tracing message. 1.1933 + 1.1934 +2005-11-21 Chia-I Wu <b90201047@ntu.edu.tw> 1.1935 + 1.1936 + * src/sfnt/ttsbit0.c (tt_sbit_decoder_load_image): Image_offset was 1.1937 + added twice to image_start if image_format was 2 or 5. 1.1938 + 1.1939 +2005-11-21 Chia-I Wu <b90201047@ntu.edu.tw> 1.1940 + 1.1941 + * src/sfnt/sfobjs.c (sfnt_init_face): Check that format_tag is known 1.1942 + before loading the table directory. 1.1943 + 1.1944 + * src/sfnt/ttload.c (tt_face_load_sfnt_header, 1.1945 + tt_face_load_directory): Delay sfnt_dir_check from 1.1946 + tt_face_load_sfnt_header to tt_face_load_directory. 1.1947 + 1.1948 +2005-11-20 Chia-I Wu <b90201047@ntu.edu.tw> 1.1949 + 1.1950 + * src/sfnt/ttload.c (sfnt_dir_check): Clean up and return correct 1.1951 + error code. 1.1952 + (sfnt_init): New function to fill in face->ttc_header. A non-TTC font 1.1953 + is synthesized into a TTC font with one offset table. 1.1954 + (tt_face_load_sfnt_header): Use sfnt_init. 1.1955 + Fix an invalid access if the font is TTC and face_index is -1. 1.1956 + 1.1957 +2005-11-18 Werner Lemberg <wl@gnu.org> 1.1958 + 1.1959 + * src/sfnt/ttload.c (tt_face_load_metrics): Ignore excess number 1.1960 + of metrics instead of aborting. Patch suggested by Derek Noonburg. 1.1961 + 1.1962 + * src/cff/cffgload.c (cff_slot_load), src/cid/cidgload.c 1.1963 + (cid_slot_load_glyph), src/type1/t1gload.c (T1_Load_Glyph): Scale 1.1964 + the glyph properly if no hinter is available. 1.1965 + 1.1966 + * docs/CHANGES: Mention scaling bug. 1.1967 + 1.1968 +2005-11-18 susuzki toshiya <mpsuzuki@hiroshima-u.ac.jp> 1.1969 + 1.1970 + * include/freetype/ftgxval.h, src/base/ftgxval.c 1.1971 + (FT_TrueTypeGX_Free, FT_ClassicKern_Free): New functions to free 1.1972 + buffers allocated by gxvalid module. 1.1973 + * include/freetype/ftotval.h, src/base/ftotval.c 1.1974 + (FT_OpenType_Free): New function to free buffer allocated by 1.1975 + otvalid module. 1.1976 + 1.1977 +2005-11-18 Chia-I Wu <b90201047@ntu.edu.tw> 1.1978 + 1.1979 + * builds/unix/ftsystem.c (FT_Stream_Open, FT_New_Memory, 1.1980 + FT_Done_Memory), builds/vms/ftsystem.c (FT_Stream_Open, FT_New_Memory, 1.1981 + FT_Done_Memory), builds/win32/ftdebug.c (FT_Message, FT_Panic): 1.1982 + s/FT_EXPORT/FT_BASE/. 1.1983 + 1.1984 +2005-11-17 Detlef Würkner <TetiSoft@apg.lahn.de> 1.1985 + 1.1986 + * builds/amiga/src/base/ftdebug.c (FT_Trace_Get_Count, 1.1987 + FT_Trace_Get_Name, FT_Message, FT_Panic), 1.1988 + builds/amiga/src/base/ftsystem.c (FT_New_Memory, FT_Done_Memory, 1.1989 + FT_Stream_Open): s/FT_EXPORT/FT_BASE/. 1.1990 + 1.1991 +2005-11-17 Detlef Würkner <TetiSoft@apg.lahn.de> 1.1992 + 1.1993 + * builds/amiga/makefile, builds/amiga/makefile.os4, 1.1994 + builds/amiga/smakefile, 1.1995 + builds/amiga/include/freetype/config/ftmodule.h: Updated the Amiga 1.1996 + build files (added support for the gxvalid module). 1.1997 + 1.1998 +2005-11-17 Werner Lemberg <wl@gnu.org> 1.1999 + 1.2000 + Add vertical metrics support to OpenType CFF outlines. Based on a 1.2001 + patch from Mike Moening <MikeM@RetekSolutions.com>. 1.2002 + 1.2003 + * src/cff/cffgload.c (cff_face_get_vertical_metrics): New function. 1.2004 + (cff_slot_load): Use cff_face_get_vertical_metrics. 1.2005 + 1.2006 + * docs/CHANGES: Updated. 1.2007 + 1.2008 +2005-11-17 Chia-I Wu <b90201047@ntu.edu.tw> 1.2009 + 1.2010 + * src/base/ftcalc.c (FT_MulTo64): Commented out. 1.2011 + 1.2012 + * include/freetype/internal/ftcalc.h (FT_SqrtFixed), 1.2013 + src/base/ftcalc.c (FT_SqrtFixed), 1.2014 + include/freetype/internal/ftdebug.h (FT_Trace_Get_Count, 1.2015 + FT_Trace_Get_Name, FT_Message, FT_Panic), src/base/ftdebug.c 1.2016 + (FT_Trace_Get_Count, FT_Trace_Get_Name, FT_Message, FT_Panic), 1.2017 + include/freetype/internal/ftobjs.h (FT_New_Memory, FT_Done_Memory), 1.2018 + include/freetype/internal/ftstream.h (FT_Stream_Open), 1.2019 + src/base/ftsystem.c (FT_New_Memory, FT_Done_Memory, FT_Stream_Open): 1.2020 + s/FT_EXPORT/FT_BASE/. 1.2021 + 1.2022 + * builds/exports.mk: Manually add TT_New_Context to EXPORTS_LIST 1.2023 + too. 1.2024 + 1.2025 +2005-11-15 David Turner <david@freetype.org> 1.2026 + 1.2027 + * src/base/fttrigon.c (ft_trig_prenorm): Fix a bug that created 1.2028 + invalid computations, resulting in very weird bugs in TrueType 1.2029 + bytecode hinted fonts. 1.2030 + 1.2031 + * src/truetype/ttinterp.c (FT_UNUSED_EXEC): Don't perform a 1.2032 + structure copy each time. 1.2033 + 1.2034 +2005-11-11 Werner Lemberg <wl@gnu.org> 1.2035 + 1.2036 + * src/cache/ftccache.c (FTC_Cache_Clear), src/cache/ftcmanag.c 1.2037 + (FTC_Manager_Check): Remove FT_EXPORT_DEF tag. 1.2038 + 1.2039 + * src/base/ftcalc.c (FT_Add64): Remove FT_EXPORT_DEF tag. 1.2040 + (FT_Div64by32, FT_Sqrt32): Commented out. Unused. 1.2041 + 1.2042 + * include/freetype/internal/ftcalc.h (SQRT_32): Removed. Unused. 1.2043 + (FT_Sqrt32): Commented out. Unused. 1.2044 + 1.2045 + * include/freetype/cache/ftccache.h: 1.2046 + s/ftc_node_destroy/FTC_Node_Destroy/. 1.2047 + 1.2048 + * src/cache/ftccback.h (ftc_node_destroy): New declaration. 1.2049 + 1.2050 + * src/cache/ftccache.c (ftc_node_destroy): Use FT_LOCAL_DEF tag. 1.2051 + (FTC_Node_Destroy): New exported wrapper function for 1.2052 + ftc_node_destroy. 1.2053 + 1.2054 + * src/cache/ftcmanag.c: Include ftccback.c. 1.2055 + 1.2056 +2005-11-10 Werner Lemberg <wl@gnu.org> 1.2057 + 1.2058 + * src/autofit/afangles.c, src/autofit/aftypes.h (af_angle_diff): 1.2059 + Comment out. Unused. 1.2060 + 1.2061 + * builds/exports.mk ($(EXPORTS_LIST)): Add TT_RunIns. 1.2062 + 1.2063 +2005-11-10 Christian Biesinger <cbiesinger@web.de> 1.2064 + 1.2065 + * builds/beos/beos.mk: Call beos-def.mk before anything else to 1.2066 + define the separator. 1.2067 + 1.2068 + * builds/unix/unix-cc.in (LINK_LIBRARY): Add `-no-undefined' flag. 1.2069 + 1.2070 +2005-11-07 Werner Lemberg <wl@gnu.org> 1.2071 + 1.2072 + * src/type1/t1afm.c (T1_Read_PFM): Zero offset means `no kerning 1.2073 + table available'. From Sergey Tolstov <stolstov@esri.com>. 1.2074 + 1.2075 +2005-11-03 Ville Syrjälä <syrjala@sci.fi> 1.2076 + 1.2077 + * src/base/ftobjs.c (FT_Open_Face): Avoid possible memory leak. 1.2078 + 1.2079 +2005-11-02 Werner Lemberg <wl@gnu.org> 1.2080 + 1.2081 + Make compiling instructions in docs/CUSTOMIZE work again. 1.2082 + 1.2083 + * builds/unix/unix-cc.in (CPPFLAGS): New variable. 1.2084 + (CFLAGS): Don't include @CPPFLAGS@. 1.2085 + * builds/freetype.mk (FT_CFLAGS): Add CPPFLAGS. 1.2086 + 1.2087 +2005-10-28 David Turner <david@freetype.org> 1.2088 + 1.2089 + Update build system to support the generation of a list of exported 1.2090 + symbols or Windows .DEF files by parsing the public headers with the 1.2091 + `apinames' tool located in src/tools/apinames.c. 1.2092 + 1.2093 + Only tested on Unix at the moment. On Windows, the .DEF file is 1.2094 + generated but isn't used yet to generate a DLL. 1.2095 + 1.2096 + * builds/exports.mk: New file. 1.2097 + 1.2098 + * builds/freetype.mk: Include exports.mk. 1.2099 + (dll): New target. 1.2100 + (clean_project_dos): Fix rule. 1.2101 + 1.2102 + * builds/compiler/visualc.mk (TE), builds/dos/dos-def.mk (E), 1.2103 + builds/os2/os2-def.mk (E), builds/win32/win32-def.mk (E): New 1.2104 + variables for controlling executable extensions. 1.2105 + 1.2106 + * builds/unix/unix-cc.in (EXPORTS_LIST, CCexe), 1.2107 + builds/win32/w32-bcc.mk, builds/win32/w32-gcc.mk, 1.2108 + builds/win32/w32-icc.mk, builds/win32/w32-icc.mk, 1.2109 + builds/win32/w32-mingw32.mk, builds/win32/w32-vcc, 1.2110 + builds/win32/w32-wat.mk (EXPORTS_LIST, EXPORT_OPTIONS, 1.2111 + APINAMES_OPTIONS): New targets for controlling the `apinames' tool. 1.2112 + 1.2113 + * Jamfile (GenExportSymbols): Updated. 1.2114 + 1.2115 + 1.2116 + * src/pfr/pfrtypes.h, src/pfr/pfrload.c, src/pfr/pfrobjs.c 1.2117 + [!FT_OPTIMIZE_MEMORY]: Fold memory optimization code into 1.2118 + FT_OPTIMIZE_MEMORY chunks for better maintainability and simplicity. 1.2119 + 1.2120 + 1.2121 + * src/base/fttrigon.c (ft_trig_prenorm), src/base/ftcalc.c 1.2122 + (FT_MulFix): Performance optimizations. 1.2123 + 1.2124 + 1.2125 + * include/freetype/internal/ftgloadr.h (FT_GLYPHLOADER_CHECK_P, 1.2126 + FT_GLYPHLOADER_CHECK_C, FT_GLYPHLOADER_CHECK_POINTS): New macros for 1.2127 + checking points and contours. Update callers to use 1.2128 + FT_GLYPHLOADER_CHECK_POINTS instead of FT_GlyphLoader_CheckPoints 1.2129 + at profile-detected hot-spots. 1.2130 + 1.2131 + * src/base/ftgloadr.c (FT_GlyphLoader_CheckPoints): Set `adjust' 1.2132 + to 0 to not call `AdjustPoints' every time. 1.2133 + 1.2134 + 1.2135 + * src/autofit/aftypes.h (AF_ANGLE_DIFF): New macro to inline 1.2136 + FT_Angle_Diff. 1.2137 + 1.2138 + * src/autofit/afhints.c (af_direction_compute): Re-implement. 1.2139 + (af_glyph_hints_compute_inflections, af_glyph_hints_reload): Use 1.2140 + AF_ANGLE_DIFF to speed up the detection of inflexions. 1.2141 + 1.2142 + 1.2143 + * src/tools/apinames.c: Include <string.h>. 1.2144 + (OutputFormat): New enumeration. 1.2145 + (names_dump): Add two parameters to control output format and DLL 1.2146 + name. 1.2147 + (names_dump_windef): Removed. Code folded into `names_dump'. 1.2148 + (read_header_file): Use isalnum, not isalpha. Otherwise function 1.2149 + names with digits aren't read correctly. 1.2150 + (usage): Updated. 1.2151 + (main): New option `-o' to control output file name. 1.2152 + New option `-d' to indicate DLL file name. 1.2153 + Extend `-w' flag to handle Borland and Watcom compilers and linkers. 1.2154 + 1.2155 +2005-10-28 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> 1.2156 + 1.2157 + * builds/mac/ftlib.prj, builds/mac/freetype.mak: Removed. 1.2158 + ftlib.prj is unmaintained and incompatible with current tree. 1.2159 + freetype.mak is unrecoverably broken. 1.2160 + 1.2161 + * builds/mac/ftlib.prj.xml: Added. 1.2162 + Generated by Metrowerks CodeWarrior 9.0. 1.2163 + 1.2164 + * builds/mac/FreeType.m68k_far.make.txt, 1.2165 + builds/mac/FreeType.m68k_cfm.make.txt, 1.2166 + builds/mac/FreeType.ppc_classic.make.txt, 1.2167 + builds/mac/FreeType.ppc_carbon.make.txt: Added. 1.2168 + Skeleton files of MPW makefiles. 1.2169 + 1.2170 + * builds/mac/ascii2mpw.py: Added. 1.2171 + Python script to make MPW makefile from skeleton. 1.2172 + 1.2173 + * builds/mac/README: Updated. 1.2174 + Almost rewritten to use new files. 1.2175 + 1.2176 +2005-10-28 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> 1.2177 + 1.2178 + * src/base/ftmac.c: Fix invalid casts from NULL to integer typed 1.2179 + variables. Advised by David Turner, Masatake YAMATO, Sean McBride, 1.2180 + and George Williams. 1.2181 + 1.2182 +2005-10-27 Werner Lemberg <wl@gnu.org> 1.2183 + 1.2184 + * include/freetype/ftsysmem.h, include/freetype/ftsysio.h: Removed. 1.2185 + Obsolete. 1.2186 + 1.2187 +2005-10-25 Werner Lemberg <wl@gnu.org> 1.2188 + 1.2189 + * src/sfnt/sfdriver.c (sfnt_interface): Move out 1.2190 + `tt_face_get_kerning' from a #ifdef clause. Reported by Tony J. 1.2191 + Ibbs <tibs@sj.co.uk>. 1.2192 + 1.2193 +2005-10-23 Werner Lemberg <wl@gnu.org> 1.2194 + 1.2195 + * src/base/ftdbgmem.c (ft_mem_debug_realloc): Make it compile with 1.2196 + C++. 1.2197 + 1.2198 +2005-10-21 David Turner <david@freetype.org> 1.2199 + 1.2200 + * src/base/ftdbgmem.c (ft_mem_table_set, ft_mem_debug_realloc): 1.2201 + Another realloc memory counting bug fix. 1.2202 + 1.2203 + * src/tools/Jamfile: Add missing file. 1.2204 + 1.2205 + * src/lzw/Jamfile: Fix incorrect source file reference. 1.2206 + 1.2207 +2005-10-20 David Turner <david@freetype.org> 1.2208 + 1.2209 + * src/base/ftdbgmem.c (ft_mem_table_set, ft_mem_table_remove, 1.2210 + ft_mem_debug_alloc, ft_mem_debug_free, ft_mem_debug_realloc): Fixes 1.2211 + to better account for memory reallocations. 1.2212 + 1.2213 + * src/lzw/ftlzw2.c, src/lzw/ftzopen.h, src/lzw/ftzopen.c, 1.2214 + src/lzw/rules.mk: First version of LZW loader re-implementation. 1.2215 + Apparently, this saves about 330 KB of heap memory when loading 1.2216 + timR24.pcf.Z. 1.2217 + 1.2218 +2005-10-20 Chia-I Wu <b90201047@ntu.edu.tw> 1.2219 + 1.2220 + * include/freetype/ftbitmap.h (FT_Bitmap_Copy, FT_Bitmap_Embolden), 1.2221 + src/base/ftbdf.c (FT_Get_BDF_Property), src/cache/ftcmru.c 1.2222 + (FTC_MruList_Reset, FTC_MruList_Done, FTC_MruList_Lookup): Fix 1.2223 + FT_EXPORT/FT_EXPORT_DEF tagging. 1.2224 + 1.2225 +2005-10-19 Chia-I Wu <b90201047@ntu.edu.tw> 1.2226 + 1.2227 + * src/truetype/ttgload.c (TT_Load_Glyph): Allow size->ttmetrics to 1.2228 + be invalid when FT_LOAD_NO_SCALE is set. 1.2229 + 1.2230 +2005-10-17 David Turner <david@freetype.org> 1.2231 + 1.2232 + * src/base/ftobjs.c (FT_Open_Face): Don't call FT_New_GlyphSlot and 1.2233 + FT_New_Size if we are opening a face with face_index < 0 (which is 1.2234 + only used for testing the format). 1.2235 + 1.2236 + * src/gxvalid/gxvmort0.c (gxv_mort_subtable_type0_entry_validate): 1.2237 + Remove compiler warning. 1.2238 + 1.2239 +2005-10-16 David Turner <david@freetype.org> 1.2240 + 1.2241 + * src/tools/apinames.c: Add new tool to extract public API function 1.2242 + names from header files. 1.2243 + 1.2244 +2005-10-05 Werner Lemberg <wl@gnu.org> 1.2245 + 1.2246 + Add FT_FACE_FLAG_HINTER to indicate that a specific font driver has 1.2247 + a hinting engine of its own. 1.2248 + 1.2249 + * include/freetype/freetype.h (FT_FACE_FLAG_HINTER): New macro. 1.2250 + 1.2251 + * src/cff/cffobjs.c (cff_face_init), src/cid/cidobjs.c 1.2252 + (cid_face_init), src/truetype/ttobjs.c (tt_face_init) 1.2253 + [TT_CONFIG_OPTION_BYTECODE_INTERPRETER], src/type1/t1objs.c 1.2254 + (T1_Face_Init), src/type42/t42objs.c (T42_Face_Init) 1.2255 + [TT_CONFIG_OPTION_BYTECODE_INTERPRETER]: Update face flags. 1.2256 + 1.2257 + * docs/CHANGES: Document it. 1.2258 + 1.2259 +2005-09-27 Werner Lemberg <wl@gnu.org> 1.2260 + 1.2261 + * builds/unix/freetype2.m4: Add license exception so that the file 1.2262 + can be used in any other autoconf script. 1.2263 + 1.2264 +2005-09-26 David Turner <david@freetype.org> 1.2265 + 1.2266 + * src/autofit/aflatin.c (af_latin_compute_stem_width): Fix bad 1.2267 + computation of the `vertical' flag, causing ugly things in LCD mode 1.2268 + and others. 1.2269 + 1.2270 +2005-09-23 David Turner <david@freetype.org> 1.2271 + 1.2272 + * src/autofit/aflatin.c (af_latin_hints_init): Fix a bug that 1.2273 + prevented internal hint mode bitflags from being computed correctly. 1.2274 + 1.2275 + * src/base/Jamfile: Adding src/base/ftgxval.c. 1.2276 + 1.2277 + * src/gxvalid/gxvbsln.c, src/gxvalid/gxvcommn.c, 1.2278 + src/gxvalid/gxvfeat.c, src/gxvalid/gxvjust.c, src/gxvalid/gxvkern.c, 1.2279 + src/gxvalid/gxvlcar.c, src/gxvalid/gxvmort.c, 1.2280 + src/gxvalid/gxvmort0.c, src/gxvalid/gxvmort1.c, 1.2281 + src/gxvalid/gxvmort2.c, src/gxvalid/gxvmort4.c, 1.2282 + src/gxvalid/gxvmort5.c, src/gxvalid/gxvmorx.c, 1.2283 + src/gxvalid/gxvmorx0.c, src/gxvalid/gxvmorx1.c, 1.2284 + src/gxvalid/gxvmorx2.c, src/gxvalid/gxvmorx5.c, 1.2285 + src/gxvalid/gxvopbd.c, src/gxvalid/gxvprop.c, 1.2286 + src/truetype/ttgload.c: Remove _many_ compiler warnings when 1.2287 + compiling with Visual C++ at maximum level (/W4). 1.2288 + 1.2289 + * src/autofit/afangles.c (af_angle_atan): Replaced CORDIC-based 1.2290 + implementation with one using lookup tables. This simple thing 1.2291 + speeds up glyph loading by 18%, according to ftbench! 1.2292 + 1.2293 + * src/sfnt/sfdriver.c (sfnt_get_interface): Don't check for 1.2294 + `get_sfnt' and `load_sfnt' module interfaces. 1.2295 + 1.2296 +2005-09-22 Werner Lemberg <wl@gnu.org> 1.2297 + 1.2298 + * docs/CHANGES: Mention SING Glyphlet support. 1.2299 + 1.2300 +2005-09-22 David Turner <david@freetype.org> 1.2301 + 1.2302 + * src/base/Jamfile: Disable compilation of ftgxval module 1.2303 + temporarily. 1.2304 + 1.2305 +2005-09-19 David Somers <dsomers@omz13.com> 1.2306 + 1.2307 + * src/sfnt/ttload.c (sfnt_dir_check): Modified to allow a 1.2308 + font to have no `head' table if tables `SING' and `META' are 1.2309 + present; this is to support `SING Glyphlet'. 1.2310 + 1.2311 + `SING Glyphlet' is an extension to OpenType developed by Adobe 1.2312 + primarily to facilitate adding supplemental glyphs to an OpenType 1.2313 + font (with emphasis on, but not necessarily limited to, gaiji to a 1.2314 + CJK font). A SING Glyphlet Font is an OpenType font that contains 1.2315 + the outline(s), either in a `glyf' or `CFF' table, for a glyph; 1.2316 + `cmap', `BASE', and `GSUB' tables are present with the same format 1.2317 + and functionaliy as a regular OpenType font; there are no `name', 1.2318 + `head', `OS/2', and `post' tables; there are two new tables, `SING' 1.2319 + which contains details about the glyphlet, and `META' which contains 1.2320 + metadata. 1.2321 + 1.2322 + Further information on the SING Glyphlet format can be found at: 1.2323 + 1.2324 + http://www.adobe.com/products/indesign/sing_gaiji.html 1.2325 + 1.2326 + * include/freetype/ttags.h (TTAG_SING, TTAG_META): New macros for 1.2327 + the OpenType tables `SING' and `META'. These two tables are used in 1.2328 + SING Glyphlet Format fonts. 1.2329 + 1.2330 +2005-09-09 Werner Lemberg <wl@gnu.org> 1.2331 + 1.2332 + * src/sfnt/sfobjs.c (sfnt_load_face): Reactivate code to set 1.2333 + FT_FACE_FLAG_KERNING which has been commented out erroneously. 1.2334 + 1.2335 + * docs/CHANGES: Document it. 1.2336 + 1.2337 +2005-09-05 Werner Lemberg <wl@gnu.org> 1.2338 + 1.2339 + Fixes for `make multi' and using C++ compiler. 1.2340 + 1.2341 + * src/gxvalid/gxvcommn.c (gxv_set_length_by_ushort_offset, 1.2342 + gxv_set_length_by_ulong_offset, gxv_array_getlimits_byte, 1.2343 + gxv_array_getlimits_ushort): Declare with FT_LOCAL_DEF. 1.2344 + (gxv_compare_ranges): Make it static. 1.2345 + (gxv_LookupTable_fmt0_validate, gxv_LookupTable_fmt2_validate, 1.2346 + gxv_LookupTable_fmt4_validate, gxv_LookupTable_fmt6_validate, 1.2347 + gxv_LookupTable_fmt8_validate, gxv_LookupTable_validate): Improve 1.2348 + trace messages. 1.2349 + (gxv_StateArray_validate, gxv_XStateArray_validate): s/class/clazz/. 1.2350 + (GXV_STATETABLE_HEADER_SIZE, GXV_STATEHEADER_SIZE, 1.2351 + GXV_XSTATETABLE_HEADER_SIZE, GXV_XSTATEHEADER_SIZE): Move to 1.2352 + gxvcommn.h. 1.2353 + 1.2354 + * src/gxvalid/gxvcommn.h: Add prototypes for 1.2355 + gxv_StateTable_subtable_setup, gxv_XStateTable_subtable_setup, 1.2356 + gxv_XStateTable_validate, gxv_array_getlimits_byte, 1.2357 + gxv_array_getlimits_ushort, gxv_set_length_by_ushort_offset, 1.2358 + gxv_set_length_by_ulong_offset, gxv_odtect_add_range, 1.2359 + gxv_odtect_validate. 1.2360 + (GXV_STATETABLE_HEADER_SIZE, GXV_STATEHEADER_SIZE, 1.2361 + GXV_XSTATETABLE_HEADER_SIZE, GXV_XSTATEHEADER_SIZE): Moved from 1.2362 + gxvcommn.c. 1.2363 + 1.2364 + * src/gxvalid/gxvbsln.c (gxv_bsln_LookupValue_validate, 1.2365 + gxv_bsln_parts_fmt1_validate): Improve trace messages. 1.2366 + 1.2367 + * src/gxvalid/gxvfeat.c: Split off predefined registry stuff to... 1.2368 + * src/gxvalid/gxvfeat.h: New file. 1.2369 + 1.2370 + * src/gxvalid/gxvjust.c (gxv_just_wdc_entry_validate): Improve trace 1.2371 + message. 1.2372 + 1.2373 + * src/gxvalid/gxvkern.c (GXV_kern_Dialect): Add KERN_DIALECT_UNKNOWN. 1.2374 + (gxv_kern_subtable_fmt1_valueTable_load, 1.2375 + gxv_kern_subtable_fmt1_subtable_setup, 1.2376 + gxv_kern_subtable_fmt1_entry_validate): Fix C++ compiler errors. 1.2377 + (gxv_kern_coverage_validate): Use KERN_DIALECT_UNKWOWN. 1.2378 + Improve trace message. 1.2379 + (gxv_kern_validate_generic): Fix C++ compiler error. 1.2380 + Improve trace message. 1.2381 + (gxv_kern_validate_classic): Fix C++ compiler error. 1.2382 + 1.2383 + * src/gxvalid/gxvmort0.c (gxv_mort_subtable_type0_validate): Declare 1.2384 + with FT_LOCAL_DEF. 1.2385 + 1.2386 + * src/gxvalid/gxvmort1.c 1.2387 + (gxv_mort_subtable_type1_substitutionTable_load, 1.2388 + gxv_mort_subtable_type1_subtable_setup): Fix C++ compiler errors. 1.2389 + (gxv_mort_subtable_type1_substTable_validate): Improve trace 1.2390 + message. 1.2391 + (gxv_mort_subtable_type1_validate): Declare with FT_LOCAL_DEF. 1.2392 + 1.2393 + * src/gxvalid/gxvmort2.c (gxv_mort_subtable_type2_opttable_load, 1.2394 + gxv_mort_subtable_type2_subtable_setup, 1.2395 + gxv_mort_subtable_type2_ligActionOffset_validate, 1.2396 + gxv_mort_subtable_type2_ligatureTable_validate): Fix C++ compiler 1.2397 + errors. 1.2398 + (gxv_mort_subtable_type2_validate): Declare with FT_LOCAL_DEF. 1.2399 + 1.2400 + * src/gxvalid/gxvmort4.c (gxv_mort_subtable_type4_validate): Declare 1.2401 + with FT_LOCAL_DEF. 1.2402 + 1.2403 + * src/gxvalid/gxvmort5.c (gxv_mort_subtable_type5_subtable_setup, 1.2404 + gxv_mort_subtable_type5_InsertList_validate): Fix C++ compiler 1.2405 + errors. 1.2406 + (gxv_mort_subtable_type5_validate): Declare with FT_LOCAL_DEF. 1.2407 + 1.2408 + * src/gxvalid/gxvmort.c: Include gxvfeat.h. 1.2409 + (gxv_mort_featurearray_validate, gxv_mort_coverage_validate): 1.2410 + Declare with FT_LOCAL_DEF. 1.2411 + (gxv_mort_subtables_validate, gxv_mort_validate): Improve trace 1.2412 + messages. 1.2413 + 1.2414 + * src/gxvalid/gxvmort.h (gxv_mort_feature_validate): Remove. 1.2415 + 1.2416 + * src/gxvalid/gxvmorx0.c (gxv_morx_subtable_type0_validate): Declare 1.2417 + with FT_LOCAL_DEF. 1.2418 + 1.2419 + * src/gxvalid/gxvmorx1.c 1.2420 + (gxv_morx_subtable_type1_substitutionTable_load, 1.2421 + gxv_morx_subtable_type1_subtable_setup, 1.2422 + gxv_morx_subtable_type1_entry_validate, 1.2423 + gxv_morx_subtable_type1_substitutionTable_validate): Fix C++ 1.2424 + compiler errors. 1.2425 + (gxv_morx_subtable_type1_validate): Declare with FT_LOCAL_DEF. 1.2426 + 1.2427 + * src/gxvalid/gxvmorx2.c (gxv_morx_subtable_type2_opttable_load, 1.2428 + gxv_morx_subtable_type2_subtable_setup, 1.2429 + gxv_morx_subtable_type2_ligActionIndex_validate, 1.2430 + gxv_morx_subtable_type2_ligatureTable_validate): Fix C++ compiler 1.2431 + errors. 1.2432 + (gxv_morx_subtable_type2_validate): Declare with FT_LOCAL_DEF. 1.2433 + Fix typo. 1.2434 + 1.2435 + * src/gxvalid/gxvmorx4.c (gxv_morx_subtable_type4_validate): Declare 1.2436 + with FT_LOCAL_DEF. 1.2437 + 1.2438 + * src/gxvalid/gxvmorx5.c (gxv_morx_subtable_type5_insertionGlyph_load, 1.2439 + gxv_morx_subtable_type5_subtable_setup): Fix C++ compiler error. 1.2440 + (gxv_morx_subtable_type5_validate): Declare with FT_LOCAL_DEF. 1.2441 + 1.2442 + * src/gxvalid/gxvmorx.c (gxv_morx_subtables_validate, 1.2443 + gxv_morx_validate): Improve trace message. 1.2444 + 1.2445 + * src/gxvalid/gxvopbd.c (gxv_opbd_LookupFmt4_transit): Fix compiler 1.2446 + warnings. 1.2447 + (gxv_opbd_validate): Improve trace message. 1.2448 + 1.2449 + * src/gxvalid/gxvprop.c: Decorate constants with `U' and `L' where 1.2450 + appropriate. 1.2451 + (gxv_prop_zero_advance_validate, gxv_prop_validate): Improve trace 1.2452 + message. 1.2453 + 1.2454 + * src/gxvalid/gxvtrak.c (gxv_trak_trackTable_validate): Remove unused 1.2455 + parameter. Update all callers. 1.2456 + (gxv_trak_validate): Improve trace message. 1.2457 + 1.2458 + * rules.mk (GXV_DRV_H): Add gxvfeat.h. 1.2459 + 1.2460 +2005-09-01 Werner Lemberg <wl@gnu.org> 1.2461 + 1.2462 + * src/gxvalid/gxvbsln.c (GXV_BSLN_VALUE_EMPTY): Add `U'. 1.2463 + 1.2464 + * src/gxvalid/gxmort1.c (GXV_MORT_SUBTABLE_TYPE1_HEADER_SIZE), 1.2465 + src/gxvalid/gxmort2.c (GXV_MORT_SUBTABLE_TYPE2_HEADER_SIZE): Fix 1.2466 + typo. 1.2467 + 1.2468 + * src/gxvalid/gxvmorx0.c, src/gxvalid/gxvmorx1.c, 1.2469 + src/gxvalid/gxvmorx2.c, src/gxvalid/gxvmorx4.c, 1.2470 + src/gxvalid/gxvmorx5.c, src/gxvalid/gxvmort.c: Improve trace 1.2471 + messages. 1.2472 + Decorate constants with `U' and `L' where appropriate. 1.2473 + Fix compiler warnings. 1.2474 + 1.2475 +2005-08-31 Werner Lemberg <wl@gnu.org> 1.2476 + 1.2477 + * src/truetype/ttgload.c (load_truetype_glyph): Fix typo. 1.2478 + 1.2479 + * src/gxvalid/gxvbsln.c (gxv_bsln_validate): Fix trace message. 1.2480 + 1.2481 + * src/gxvalid/gxvcommn.c (gxv_odtect_add_range): Use `const'. 1.2482 + 1.2483 + * src/gxvalid/gxvfeat.c, src/gxvalid/gxvjust.c, 1.2484 + src/gxvalid/gxvkern.c, src/gxvalid/gxvlcar.c, src/gxvalid/gxvmod.c, 1.2485 + src/gxvalid/gxvmort0.c, src/gxvalid/gxvmort1.c, 1.2486 + src/gxvalid/gxvmort2.c, src/gxvalid/gxvmort4.c, 1.2487 + src/gxvalid/gxvmort5.c, src/gxvalid/gxvmort.c: Improve trace 1.2488 + messages. 1.2489 + Decorate constants with `U' and `L' where appropriate. 1.2490 + Fix compiler warnings. 1.2491 + 1.2492 +2005-08-30 Werner Lemberg <wl@gnu.org> 1.2493 + 1.2494 + * src/gxvalid/README: Revised. 1.2495 + * src/gxvalid/gxvbsln.c: Fix compiler warnings. 1.2496 + * src/gxvalid/gxvcommn.c: Fix compiler warnings. 1.2497 + (gxv_XEntryTable_validate, gxv_compare_ranges): Remove unused 1.2498 + parameter. Update all callers. 1.2499 + Improve trace messages. 1.2500 + Some formatting. 1.2501 + 1.2502 +2005-08-29 Werner Lemberg <wl@gnu.org> 1.2503 + 1.2504 + * include/freetype/freetype.h, include/freetype/ftchapters.h: Add 1.2505 + a preliminary section with some explanations about user allocation. 1.2506 + 1.2507 + * src/tools/docmaker/tohtml.py (HtmlFormatter.section_enter): 1.2508 + Don't abort if there are no data types, functions, etc., in a 1.2509 + section. 1.2510 + Print synopsis only if we have a data type, function, etc. 1.2511 + 1.2512 + * docs/INSTALL.ANY, docs/INSTALL, docs/INSTALL.UNX, docs/CUSTOMIZE, 1.2513 + docs/INSTALL.GNU, docs/TRUETYPE, docs/DEBUG, docs/UPGRADE.UNX, 1.2514 + docs/VERSION.DLL, docs/formats.txt: Revised, formatted. 1.2515 + 1.2516 +2005-08-28 George Williams <gww@silcom.com> 1.2517 + 1.2518 + * src/truetype/ttgload.c [TT_MAX_COMPOSITE_RECURSE]: Removed. 1.2519 + (load_truetype_glyph): Limit recursion depth by `maxComponentDepth'. 1.2520 + 1.2521 +2005-08-25 J. Ali Harlow <ali@avrc.city.ac.uk> 1.2522 + 1.2523 + * builds/unix/freetype2.in (CFlags): Add missing directory. 1.2524 + 1.2525 +2005-08-24 Werner Lemberg <wl@gnu.org> 1.2526 + 1.2527 + * docs/CHANGES: Mention gxvalid module. 1.2528 + 1.2529 +2005-08-23 Werner Lemberg <wl@gnu.org> 1.2530 + 1.2531 + * src/autofit/aflatin.c (af_latin_metrics_scale): Initialize 1.2532 + render mode properly. Reported by chris@dokein.co.uk. 1.2533 + 1.2534 +2005-08-23 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> 1.2535 + 1.2536 + Add gxvalid module to validate TrueType GX/AAT tables. 1.2537 + 1.2538 + Modifications on existing files: 1.2539 + 1.2540 + * Jamfile: Register gxvalid module. 1.2541 + * src/base/Jamfile: Register ftgxval.c. 1.2542 + * src/base/rule.mk: Register ftgxval.c. 1.2543 + * docs/INSTALL.ANY: Register gxvalid/gxvalid.c. 1.2544 + 1.2545 + * include/freetype/config/ftheader.h (FT_GX_VALIDATE_H): New macro 1.2546 + to include gxvalid header file. 1.2547 + * include/freetype/config/ftmodule.h: Register gxv_module_class. 1.2548 + 1.2549 + * include/freetype/ftchapters.h: Add comment about gx_validation. 1.2550 + * include/freetype/ftotval.h: Change keyword FT_VALIDATE_XXX 1.2551 + to FT_VALIDATE_OTXXX to co-exist with gxvalid. 1.2552 + * include/freetype/tttags.h: Add tags for TrueType GX/AAT tables. 1.2553 + 1.2554 + * include/freetype/internal/ftserv.h (FT_SERVICE_GX_VALIDATE_H): New 1.2555 + macro for gxvalid service. 1.2556 + * include/freetype/internal/fttrace.h: Add trace facilities for 1.2557 + gxvalid. 1.2558 + 1.2559 + New files on existing directories: 1.2560 + 1.2561 + * include/freetype/internal/services/svgxval.h: Registration of 1.2562 + validation service for TrueType GX/AAT and classic kern table. 1.2563 + * include/freetype/ftgxval.h: Public API definition to use gxvalid. 1.2564 + * src/base/ftgxval.c: Public API of gxvalid. 1.2565 + 1.2566 + New files under src/gxvalid/: 1.2567 + 1.2568 + * src/gxvalid/Jamfile src/gxvalid/README src/gxvalid/module.mk 1.2569 + src/gxvalid/rules.mk src/gxvalid/gxvalid.c src/gxvalid/gxvalid.h 1.2570 + src/gxvalid/gxvbsln.c src/gxvalid/gxvcommn.c src/gxvalid/gxvcommn.h 1.2571 + src/gxvalid/gxverror.h src/gxvalid/gxvfeat.c src/gxvalid/gxvfgen.c 1.2572 + src/gxvalid/gxvjust.c src/gxvalid/gxvkern.c src/gxvalid/gxvlcar.c 1.2573 + src/gxvalid/gxvmod.c src/gxvalid/gxvmod.h src/gxvalid/gxvmort.c 1.2574 + src/gxvalid/gxvmort.h src/gxvalid/gxvmort0.c src/gxvalid/gxvmort1.c 1.2575 + src/gxvalid/gxvmort2.c src/gxvalid/gxvmort4.c src/gxvalid/gxvmort5.c 1.2576 + src/gxvalid/gxvmorx.c src/gxvalid/gxvmorx.h src/gxvalid/gxvmorx0.c 1.2577 + src/gxvalid/gxvmorx1.c src/gxvalid/gxvmorx2.c src/gxvalid/gxvmorx4.c 1.2578 + src/gxvalid/gxvmorx5.c src/gxvalid/gxvopbd.c src/gxvalid/gxvprop.c 1.2579 + src/gxvalid/gxvtrak.c: New files, gxvalid body. 1.2580 + 1.2581 +2005-08-21 Werner Lemberg <wl@gnu.org> 1.2582 + 1.2583 + * src/truetype/ttgload.c (TT_Load_Glyph): Only translate outline 1.2584 + to (0,0) if bit 1 of the `head' table isn't set. This improves 1.2585 + rendering of buggy fonts. 1.2586 + 1.2587 +2005-08-20 Chia I Wu <b90201047@ntu.edu.tw> 1.2588 + 1.2589 + * src/truetype/ttdriver.c (Load_Glyph): Don't check the validity of 1.2590 + ttmetrics here. TrueType fonts with only sbits always have 1.2591 + ttmetrics.valid set to false. 1.2592 + 1.2593 + * src/truetype/ttgload.c (TT_Load_Glyph): Check that ttmetrics is 1.2594 + valid before loading outline glyph. 1.2595 + 1.2596 + * src/cache/ftcimage.c (FTC_INode_New): Fix a memory leak. 1.2597 + 1.2598 +2005-08-20 Werner Lemberg <wl@gnu.org> 1.2599 + 1.2600 + * src/sfnt/ttload.c (tt_face_load_metrics_header): Ignore missing 1.2601 + `hhea' table for SFNT Mac fonts. Change based on a patch by 1.2602 + mpsuzuki@hiroshima-u.ac.jp. 1.2603 + 1.2604 +2005-08-20 Masatake YAMATO <jet@gyve.org> 1.2605 + 1.2606 + * src/otvalid/otvmod.c (otv_validate): Use ft_validator_run instead 1.2607 + of ft_setjmp. 1.2608 + 1.2609 +2005-08-19 Werner Lemberg <wl@gnu.org> 1.2610 + 1.2611 + * src/truetype/ttgload.c (load_truetype_glyph): Fix compiler 1.2612 + warnings. 1.2613 + 1.2614 +2005-08-16 Chia I Wu <b90201047@ntu.edu.tw> 1.2615 + 1.2616 + * src/truetype/ttinterp.c, src/truetype/ttinterp.h: Update copyright 1.2617 + messages. 1.2618 + 1.2619 +2005-08-16 Chia I Wu <b90201047@ntu.edu.tw> 1.2620 + 1.2621 + * src/truetype/ttinterp.c, src/truetype/ttinterp.h: Remove original 1.2622 + TT_Done_Context and rename TT_Destroy_Context to TT_Done_Context 1.2623 + with slight changes. 1.2624 + Update all callers. 1.2625 + (TT_New_Context): Now takes TT_Driver argument directly. 1.2626 + Update all callers. 1.2627 + 1.2628 + * src/truetype/ttobjs.h (tt_slot_init): New function. 1.2629 + * src/truetype/ttobjs.c (tt_driver_init): Initialize execution 1.2630 + context here. 1.2631 + (tt_slot_init): New function to create extra points for the internal 1.2632 + glyph loader. We then use it directly, instead of face's glyph 1.2633 + loader, when loading glyph. 1.2634 + 1.2635 + * src/truetype/ttdriver.c (tt_driver_class): Use tt_slot_init for 1.2636 + glyph slot initialization. 1.2637 + (Load_Glyph): Load flag dependencies are handled here. Return error 1.2638 + if size is NULL. 1.2639 + 1.2640 + * src/truetype/ttgload.c: Heavy cleanup and refactoring. 1.2641 + (org_to_cur): Removed. 1.2642 + (TT_Load_Simple_Glyph): Call FT_GlyphLoader_CheckPoints. 1.2643 + (TT_Hint_Glyph): New function to hint a zone, prepared by caller. 1.2644 + (TT_Process_Simple_Glyph): s/load/loader/. 1.2645 + Use loader->pp values instead of recalculation. 1.2646 + Use TT_Hint_Glyph. 1.2647 + No need to save/restore loader->stream before and after 1.2648 + TT_Vary_Get_Glyph_Deltas now. 1.2649 + (TT_LOADER_SET_PP): New macro to calculate and set the four phantom 1.2650 + points. 1.2651 + (load_truetype_glyph): Never set exec->glyphSize to 0. This closes 1.2652 + Savannah bug #13107. 1.2653 + Forget glyph frame before calling TT_Process_Simple_Glyph. 1.2654 + Use TT_LOADER_SET_PP. 1.2655 + Scale all four phantom points. 1.2656 + Split off some functionality to ... 1.2657 + (TT_Process_Composite_Component, TT_Process_Composite_Glyph): These 1.2658 + new functions. 1.2659 + (TT_Load_Glyph): Set various fields of `glyph' here, not in 1.2660 + load_truetype_glyph and compute_glyph_metrics. 1.2661 + Split off some functionality to ... 1.2662 + (load_sbit_image, tt_loader_init): These new functions. 1.2663 + (compute_glyph_metrics): Call FT_Outline_Get_CBox. 1.2664 + 1.2665 +2005-08-08 Werner Lemberg <wl@gnu.org> 1.2666 + 1.2667 + * docs/INSTALL.ANY: Updated. 1.2668 + 1.2669 +2005-08-05 Werner Lemberg <wl@gnu.org> 1.2670 + 1.2671 + * src/cff/cffgload.c (cff_builder_close_contour), 1.2672 + src/psaux/psobjs.c (t1_builder_close_contour): Protect against 1.2673 + zero `outline' pointer. 1.2674 + 1.2675 + * src/base/ftgloadr.c (FT_GlyphLoader_Add): Protect against zero 1.2676 + `loader' address. 1.2677 + 1.2678 +2005-08-03 Werner Lemberg <wl@gnu.org> 1.2679 + 1.2680 + * src/sfnt/sfdriver.c (sfnt_interface) [FT_OPTIMIZE_MEMORY]: 1.2681 + Reactivate pointers to tt_find_sbit_image and tt_load_sbit_metrics 1.2682 + to make X work again. 1.2683 + 1.2684 +2005-08-02 Werner Lemberg <wl@gnu.org> 1.2685 + 1.2686 + * src/otvalid/otvcommn.h: Remove dead code. 1.2687 + 1.2688 +2005-07-31 Chia I Wu <b90201047@ntu.edu.tw> 1.2689 + 1.2690 + * src/truetype/ttobjs.h (tt_size_run_fpgm, tt_size_run_prep): New 1.2691 + functions. 1.2692 + 1.2693 + * src/truetype/ttobjs.c (tt_size_run_fpgm, tt_size_run_prep): New 1.2694 + functions. 1.2695 + (tt_size_init): Add 4, instead of 2, (phantom) points to twilight 1.2696 + zone. 1.2697 + Move code that runs fpgm to tt_size_run_fpgm. 1.2698 + (Reset_Outline_Size): Move code that runs prep to tt_size_run_prep. 1.2699 + (tt_glyphzone_new): Allocate right size of arrays. 1.2700 + Set max_points and max_contours properly. 1.2701 + 1.2702 +2005-07-26 Chia I Wu <b90201047@ntu.edu.tw> 1.2703 + 1.2704 + * src/truetype/ttdriver.c (Set_Char_Sizes): Avoid unnecessary 1.2705 + computations and clean up. 1.2706 + 1.2707 + * src/truetype/ttobjs.h (struct TT_SizeRec_): Comment on the 1.2708 + internal copy of metrics. 1.2709 + 1.2710 +2005-07-12 Werner Lemberg <wl@gnu.org> 1.2711 + 1.2712 + * include/freetype/ftoutln.h (FT_Outline_Embolden): Fix prototype. 1.2713 + Reported by Xerxes. 1.2714 + 1.2715 +2005-07-04 Werner Lemberg <wl@gnu.org> 1.2716 + 1.2717 + * include/freetype/internal/ftmemory.h (FT_REALLOC_ARRAY): Fix typo. 1.2718 + Reported by Brett Hutley. 1.2719 + 1.2720 +2005-06-30 David Turner <david@freetype.org> 1.2721 + 1.2722 + * src/sfnt/ftbitmap.c, src/truetype/ttgload.c, src/sfnt/ttcmap.c: 1.2723 + Removing compiler warnings (Visual C++ /W4). 1.2724 + 1.2725 + 1.2726 + Implement a work-around for broken C preprocessor in Visual C++ (it 1.2727 + has been confirmed by the MS developers that it is indeed a bug 1.2728 + which won't be fixed in the very near future). 1.2729 + 1.2730 + * Jamfile (FT2_COMPONENTS): Include otvalid (again). 1.2731 + 1.2732 + * src/otvalid/otvcommn.h (OTV_NAME, OTV_FUNC): New macros. 1.2733 + (OTV_NEST1, OTV_NEST2, OTV_NEST3): Use OTV_NAME and OTV_FUNC to 1.2734 + avoid argument expansion by argument prescan. 1.2735 + Append `Func' to all affected macros and change them to take just a 1.2736 + single argument. Example: `AttachList' is renamed to 1.2737 + `AttachListFunc'. 1.2738 + 1.2739 + * src/otvalid/otvgdef.c, src/otvalid/otvgpos.c, 1.2740 + src/otvalid/otvgsub.c, src/otvjstf.c: Append `Func' to macros 1.2741 + affected by the changes to OTV_NESTx and modify them to take just a 1.2742 + single argument. 1.2743 + 1.2744 +2005-06-20 Chia I Wu <b90201047@ntu.edu.tw> 1.2745 + 1.2746 + * include/freetype/internal/ftobjs.h, src/base/ftobjs.c: New function 1.2747 + ft_glyphslot_grid_fit_metrics. 1.2748 + 1.2749 + * src/truetype/ttgload.c (compute_glyph_metrics): Use 1.2750 + ft_glyphslot_grid_fit_metrics. 1.2751 + 1.2752 + * src/cff/cffgload.c (cff_slot_load), src/cid/cidgload.c 1.2753 + (cid_slot_load_glyph), src/type1/t1gload.c (T1_Load_Glyph): Use 1.2754 + ft_glyphslot_grid_fit_metrics. 1.2755 + FT_Outline_Get_CBox is called twice. 1.2756 + 1.2757 + * src/base/ftsynth.c (FT_GlyphSlot_Embolden): Modify metrics to more 1.2758 + reasonable values when emboldening outline glyphs. The theoretic 1.2759 + ones are unrealistic. 1.2760 + 1.2761 +2005-06-16 Chia I Wu <b90201047@ntu.edu.tw> 1.2762 + 1.2763 + * src/base/ftoutln.c (FT_Outline_Embolden): Strength should be 1.2764 + halved. 1.2765 + 1.2766 + * src/base/ftsynth.c (FT_GlyphSlot_Embolden): Change the default 1.2767 + strength. 1.2768 + Don't increase slot->advance.y. 1.2769 + 1.2770 +2005-06-16 Werner Lemberg <wl@gnu.org> 1.2771 + 1.2772 + * include/freetype/freetype.h (FREETYPE_MINOR): Set to 2. 1.2773 + (FREETYPE_PATCH): Set to 0. 1.2774 + 1.2775 + * builds/unix/configure.ac (version_info): Set to 9:9:3. 1.2776 + Currently, we are still binary compatible. 1.2777 + 1.2778 + * builds/win32/visualc/index.html, 1.2779 + builds/win32/visualc/freetype.dsp, 1.2780 + builds/win32/visualc/freetype.vcproj: s/219/2110/, s/2.1.9/2.1.10/. 1.2781 + 1.2782 + * builds/freetype.mk (refdoc), README, Jamfile (RefDoc): 1.2783 + s/2.1.9/2.1.10/. 1.2784 + 1.2785 + * docs/CHANGES, docs/VERSION.DLL: Updated. 1.2786 + 1.2787 + * ChangeLog: Split off older entries into... 1.2788 + * ChangeLog.20, ChangeLog.21: These new files. 1.2789 + 1.2790 +2005-06-15 Kirill Smelkov <kirr@mns.spb.ru> 1.2791 + 1.2792 + The next release will be 2.2.0, so don't worry about source code 1.2793 + backwards compatibility. 1.2794 + 1.2795 + * include/freetype/ftimage.h (FT_Outline_MoveToFunc, 1.2796 + FT_Outline_LineToFunc, FT_Outline_ConicToFunc, 1.2797 + FT_Outline_CubicToFunc, FT_SpanFunc, FT_Raster_RenderFunc), 1.2798 + include/freetype/ftrender.h (FT_Glyph_TransformFunc, 1.2799 + FT_Renderer_RenderFunc, FT_Renderer_TransformFunc): Decorate 1.2800 + parameters with `const' where appropriate. 1.2801 + 1.2802 +2005-06-15 Chia I Wu <b90201047@ntu.edu.tw> 1.2803 + 1.2804 + * src/sfnt/ttsbit.c (tt_face_load_sbit_image): Compute vertBearingY 1.2805 + to make glyphs centered vertically. 1.2806 + 1.2807 + * src/truetype/ttgload.c (compute_glyph_metrics): Compute 1.2808 + vertBearingY to make glyphs centered vertically. 1.2809 + Fix some bugs in vertical metrics: 1.2810 + 1.2811 + . loader->pp3.y and loader->pp4.y are in 26.6 format, not in font 1.2812 + units. 1.2813 + . As we use the glyph's cbox to calculate the top bearing now 1.2814 + there is no need to adjust `top'. 1.2815 + 1.2816 +2005-06-15 Werner Lemberg <wl@gnu.org> 1.2817 + 1.2818 + * src/otvalid/otvcommn.h (OTV_OPTIONAL_TABLE): Use FT_UShort to be 1.2819 + in sync with OTV_OPTIONAL_OFFSET. Reported by YAMATO Masatake. 1.2820 + 1.2821 +2005-06-13 Werner Lemberg <wl@gnu.org> 1.2822 + 1.2823 + * docs/release: Update. 1.2824 + 1.2825 +---------------------------------------------------------------------------- 1.2826 + 1.2827 +Copyright 2005, 2006, 2007, 2008 by 1.2828 +David Turner, Robert Wilhelm, and Werner Lemberg. 1.2829 + 1.2830 +This file is part of the FreeType project, and may only be used, modified, 1.2831 +and distributed under the terms of the FreeType project license, 1.2832 +LICENSE.TXT. By continuing to use, modify, or distribute this file you 1.2833 +indicate that you have read the license and understand and accept it 1.2834 +fully. 1.2835 + 1.2836 + 1.2837 +Local Variables: 1.2838 +version-control: never 1.2839 +coding: utf-8 1.2840 +End: