Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | 2005-06-08 Werner Lemberg <wl@gnu.org> |
michael@0 | 2 | |
michael@0 | 3 | |
michael@0 | 4 | * Version 2.1.10 released. |
michael@0 | 5 | ========================== |
michael@0 | 6 | |
michael@0 | 7 | |
michael@0 | 8 | * src/pcf/readme: Renamed to... |
michael@0 | 9 | * src/pcf/README: This. |
michael@0 | 10 | |
michael@0 | 11 | 2005-06-07 Detlef Würkner <TetiSoft@apg.lahn.de> |
michael@0 | 12 | |
michael@0 | 13 | * builds/amiga/*: Added copyright notes, reworked some comments. |
michael@0 | 14 | |
michael@0 | 15 | 2005-06-05 Werner Lemberg <wl@gnu.org> |
michael@0 | 16 | |
michael@0 | 17 | * Add copyright notices to all files which don't have one. |
michael@0 | 18 | |
michael@0 | 19 | * docs/license.txt: Renamed to... |
michael@0 | 20 | * docs/LICENSE.TXT: This. |
michael@0 | 21 | * docs/FTL.txt: Renamed to... |
michael@0 | 22 | * docs/FTL.TXT: This. |
michael@0 | 23 | * docs/GPL.txt: Renamed to... |
michael@0 | 24 | * docs/GPL.TXT: This. |
michael@0 | 25 | |
michael@0 | 26 | * docs/PATENTS: Slightly reworded. Suggested by Sylvain Beucler |
michael@0 | 27 | <beuc@gnu.org>. |
michael@0 | 28 | |
michael@0 | 29 | 2005-06-04 Werner Lemberg <wl@gnu.org> |
michael@0 | 30 | |
michael@0 | 31 | * include/freetype/ftimage.h (FT_Outline_MoveToFunc, |
michael@0 | 32 | FT_Outline_LineToFunc, FT_Outline_ConicToFunc, |
michael@0 | 33 | FT_Outline_CubicToFunc, FT_Raster_RenderFunc), |
michael@0 | 34 | include/freetype/ftrender.h (FT_Glyph_TransformFunc, |
michael@0 | 35 | FT_Renderer_RenderFunc, FT_Renderer_TransformFunc): Don't use |
michael@0 | 36 | `const' to stay compatible with FreeType 2.1.9. |
michael@0 | 37 | |
michael@0 | 38 | 2005-06-01 Adam D. Moss <adam@gimp.org> |
michael@0 | 39 | |
michael@0 | 40 | * src/base/ftstroke.c (ft_stroker_inside): Revert `sigma' patch from |
michael@0 | 41 | 2004-07-11; this gives much better results under normal |
michael@0 | 42 | circumstances. |
michael@0 | 43 | |
michael@0 | 44 | 2005-05-30 Chia I Wu <b90201047@ntu.edu.tw> |
michael@0 | 45 | |
michael@0 | 46 | * include/freetype/ftbitmap.h (FT_Bitmap_Embolden): Minor |
michael@0 | 47 | documentation improvements. |
michael@0 | 48 | |
michael@0 | 49 | * include/freetype/ftoutln.h (FT_Outline_Embolden): Fix typos. |
michael@0 | 50 | |
michael@0 | 51 | * src/base/ftbitmap.c (FT_Bitmap_Embolden): Add support for bitmap |
michael@0 | 52 | of pixel_mode FT_PIXEL_MODE_GRAY2 or FT_PIXEL_MODE_GRAY4. |
michael@0 | 53 | If xstr is larger than 8 and bitmap is of pixel_mode |
michael@0 | 54 | FT_PIXEL_MODE_MONO, set xstr to 8 instead of returning error. |
michael@0 | 55 | |
michael@0 | 56 | 2005-05-29 Chia I Wu <b90201047@ntu.edu.tw> |
michael@0 | 57 | |
michael@0 | 58 | * src/base/ftbitmap.c (FT_Bitmap_Embolden): Fix emboldening bitmap |
michael@0 | 59 | of mode FT_PIXEL_MODE_GRAY. Also add support for mode |
michael@0 | 60 | FT_PIXEL_MODE_LCD and FT_PIXEL_MODE_LCD_V. |
michael@0 | 61 | (ft_bitmap_assure_buffer): FT_PIXEL_MODE_LCD and FT_PIXEL_MODE_LCD_V |
michael@0 | 62 | should have ppb (pixel per byte) 1. |
michael@0 | 63 | Zero the padding when there's no need to allocate memory. |
michael@0 | 64 | |
michael@0 | 65 | * src/base/ftsynth.c (FT_GlyphSlot_Embolden): Handle slot->advance |
michael@0 | 66 | too. |
michael@0 | 67 | More suited emboldening strength. |
michael@0 | 68 | |
michael@0 | 69 | 2005-05-28 Chia I Wu <b90201047@ntu.edu.tw> |
michael@0 | 70 | |
michael@0 | 71 | * src/base/ftbitmap.c (FT_Bitmap_Embolden): Handle negative pitch. |
michael@0 | 72 | Handle FT_PIXEL_MODE_GRAY with num_gray != 256. |
michael@0 | 73 | Improve speed for FT_PIXEL_MODE_GRAY. |
michael@0 | 74 | (ft_bitmap_assure_buffer): Accept FT_PIXEL_MODE_LCD and |
michael@0 | 75 | FT_PIXEL_MODE_LCD_V. |
michael@0 | 76 | |
michael@0 | 77 | 2005-05-27 Chia I Wu <b90201047@ntu.edu.tw> |
michael@0 | 78 | |
michael@0 | 79 | * src/base/ftsynth.c (FT_GlyphSlot_Embolden): Initialize `error'. |
michael@0 | 80 | |
michael@0 | 81 | * src/base/ftobjs.c (ft_cmap_done_internal): New function. |
michael@0 | 82 | (FT_CMap_Done): Remove cmap from cmap list. |
michael@0 | 83 | (destroy_charmaps, FT_CMap_New): Don't call FT_CMap_Done but |
michael@0 | 84 | ft_cmap_done_internal. |
michael@0 | 85 | |
michael@0 | 86 | 2005-05-26 Werner Lemberg <wl@gnu.org> |
michael@0 | 87 | |
michael@0 | 88 | * docs/GPL.txt: Update postal address of FSF. |
michael@0 | 89 | |
michael@0 | 90 | 2005-05-26 Chia I Wu <b90201047@ntu.edu.tw> |
michael@0 | 91 | |
michael@0 | 92 | * include/freetype/ftbitmap.h (FT_Bitmap_Embolden): Improve |
michael@0 | 93 | documentation. |
michael@0 | 94 | |
michael@0 | 95 | * src/base/ftsynth.c (FT_BOLD_THRESHOLD): Removed. |
michael@0 | 96 | (FT_GlyphSlot_Embolden): Check whether slot is bitmap owner. |
michael@0 | 97 | Always modify the metrics. |
michael@0 | 98 | |
michael@0 | 99 | 2005-05-24 Werner Lemberg <wl@gnu.org> |
michael@0 | 100 | |
michael@0 | 101 | * docs/CHANGES: Updated. |
michael@0 | 102 | |
michael@0 | 103 | 2005-05-24 Chia I Wu <b90201047@ntu.edu.tw> |
michael@0 | 104 | |
michael@0 | 105 | * include/freetype/ftbitmap.h (FT_Bitmap_Embolden): New declaration. |
michael@0 | 106 | |
michael@0 | 107 | * include/freetype/ftoutln.h (FT_Outline_Embolden): New declaration. |
michael@0 | 108 | |
michael@0 | 109 | * src/base/ftbitmap.c (ft_bitmap_assure_buffer): New auxiliary |
michael@0 | 110 | function. |
michael@0 | 111 | (FT_Bitmap_Embolden): New function. |
michael@0 | 112 | |
michael@0 | 113 | * src/base/ftoutln.c (FT_Outline_Embolden): New function. |
michael@0 | 114 | |
michael@0 | 115 | * src/base/ftsynth.c: Don't include FT_INTERNAL_CALC_H and |
michael@0 | 116 | FT_TRIGONOMETRY_H but FT_BITMAP_H. |
michael@0 | 117 | (FT_GlyphSlot_Embolden): Use FT_Outline_Embolden or |
michael@0 | 118 | FT_Bitmap_Embolden. |
michael@0 | 119 | |
michael@0 | 120 | 2005-05-24 Werner Lemberg <wl@gnu.org> |
michael@0 | 121 | |
michael@0 | 122 | * configure: Always remove config.mk, builds/unix/unix-def.mk, and |
michael@0 | 123 | builds/unix/unix-cc.mk. This fixes repeated calls of the script. |
michael@0 | 124 | Reported by Nelson Beebe and Behdad Esfahbod. |
michael@0 | 125 | |
michael@0 | 126 | * README.CVS: Mention file permissions. |
michael@0 | 127 | |
michael@0 | 128 | 2005-05-23 Werner Lemberg <wl@gnu.org> |
michael@0 | 129 | |
michael@0 | 130 | * builds/amiga/makefile.os4 (WARNINGS), builds/compiler/gcc-dev.mk |
michael@0 | 131 | (CFLAGS), builds/compiler/gcc.mk (CFLAGS): Remove |
michael@0 | 132 | -fno-strict-aliasing. |
michael@0 | 133 | |
michael@0 | 134 | * src/sfnt/rules.mk (SFNT_DRV_SRC): Don't include ttsbit0.c -- |
michael@0 | 135 | it is currently loaded from ttsbit.c. |
michael@0 | 136 | |
michael@0 | 137 | 2005-05-23 Behdad Esfahbod <behdad@cs.toronto.edu> |
michael@0 | 138 | |
michael@0 | 139 | Say you have `(Foo*)x' and want to assign, pass, or return it as |
michael@0 | 140 | `(Bar*)'. If you simply say `x' or `(Bar*)x', then the C compiler |
michael@0 | 141 | would warn you that type casting incompatible pointer types breaks |
michael@0 | 142 | strict-aliasing. The solution is to cast to `(void*)' instead which |
michael@0 | 143 | is the generic pointer type, so the compiler knows that it should |
michael@0 | 144 | make no strict-aliasing assumption on `x'. But the problem with |
michael@0 | 145 | `(void*)x' is that seems like in C++, unlike C, `void*' is not a |
michael@0 | 146 | generic pointer type and assigning `void*' to `Bar*' without a cast |
michael@0 | 147 | causes an error. The solution is to cast to `Bar*' too, with |
michael@0 | 148 | `(Bar*)(void*)x' as the result -- this is what the patch does. |
michael@0 | 149 | |
michael@0 | 150 | * include/freetype/cache/ftccache.h (FTC_CACHE_LOOKUP_CMP), |
michael@0 | 151 | include/freetype/cache/ftcmru.h (FTC_MRULIST_LOOKUP_CMP): Remove |
michael@0 | 152 | cast on lvalue, use a temporary pointer instead. |
michael@0 | 153 | Cast temporarily to (void*) to not break strict aliasing. |
michael@0 | 154 | |
michael@0 | 155 | * include/freetype/internal/ftmemory.h (FT_MEM_ALLOC, |
michael@0 | 156 | FT_MEM_REALLOC, FT_MEM_QALLOC, FT_MEM_QREALLOC, FT_MEM_FREE), |
michael@0 | 157 | src/base/ftglyph.c (FT_Glyph_To_Bitmap): Cast temporarily to (void*) |
michael@0 | 158 | to not break strict aliasing. |
michael@0 | 159 | |
michael@0 | 160 | * src/base/ftinit.c (FT_USE_MODULE): Fix wrong type information. |
michael@0 | 161 | |
michael@0 | 162 | * builds/unix/configure.ac (XX_CFLAGS): Remove -fno-strict-aliasing. |
michael@0 | 163 | |
michael@0 | 164 | 2005-05-23 David Turner <dturner@freetype.org> |
michael@0 | 165 | |
michael@0 | 166 | Fix Savannah bug #12213 (incorrect behaviour of the cache sub-system |
michael@0 | 167 | in low-memory conditions). |
michael@0 | 168 | |
michael@0 | 169 | * include/freetype/cache/ftccache.h (FTC_CACHE_TRYLOOP, |
michael@0 | 170 | FTC_CACHE_TRYLOOP_END): New macros. |
michael@0 | 171 | |
michael@0 | 172 | * src/cache/ftccache.c (FTC_Cache_NewNode), src/cache/ftcsbits.c |
michael@0 | 173 | (ftc_snode_compare): Use FT_CACHE_TRYLOOP and FTC_CACE_TRYLOOP_END. |
michael@0 | 174 | |
michael@0 | 175 | 2005-05-23 Werner Lemberg <wl@gnu.org> |
michael@0 | 176 | |
michael@0 | 177 | * src/base/rules.mk (BASE_SRC): Don't add ftsynth.c here but... |
michael@0 | 178 | (BASE_EXT_SRC): Here. |
michael@0 | 179 | |
michael@0 | 180 | 2005-05-22 Werner Lemberg <wl@gnu.org> |
michael@0 | 181 | |
michael@0 | 182 | * src/base/ftrfork.c (raccess_guess_apple_generic): Mark |
michael@0 | 183 | `version_number' and `entry_length' as unused. |
michael@0 | 184 | (raccess_guess_linux_double_from_file_name): Remove `memory'. |
michael@0 | 185 | (raccess_make_file_name): Mark `error' as unused. |
michael@0 | 186 | |
michael@0 | 187 | * src/bdf/bdflib.c (_bdf_parse_properties): Remove `memory'. |
michael@0 | 188 | |
michael@0 | 189 | * src/cid/cidobjs.c (cid_face_init): Remove `psnames'. |
michael@0 | 190 | |
michael@0 | 191 | * src/sfnt/sfobjs.c (sfnt_load_face): Remove `memory'. |
michael@0 | 192 | |
michael@0 | 193 | * src/truetype/ttgxvar.c (ft_var_readpackedpoints, |
michael@0 | 194 | ft_var_readpackeddeltas, ft_var_load_avar): Mark `error' as unused. |
michael@0 | 195 | |
michael@0 | 196 | * src/base/rules.mk (BASE_SRC): Add ftsynth.c. |
michael@0 | 197 | |
michael@0 | 198 | 2005-05-21 David Turner <david@freetype.org> |
michael@0 | 199 | |
michael@0 | 200 | * src/base/ftsynth.c (FT_GlyphSlot_Embolden): Fix a bug that |
michael@0 | 201 | produced unpleasant artefacts when trying to embolden very sharp |
michael@0 | 202 | corners. |
michael@0 | 203 | |
michael@0 | 204 | 2005-05-20 Werner Lemberg <wl@gnu.org> |
michael@0 | 205 | |
michael@0 | 206 | * docs/CHANGES: Updated. |
michael@0 | 207 | |
michael@0 | 208 | 2005-05-20 Chia I Wu <b90201047@ntu.edu.tw> |
michael@0 | 209 | |
michael@0 | 210 | * src/base/ftbitmap.c: Don't include FT_FREETYPE_H and FT_IMAGE_H |
michael@0 | 211 | but FT_BITMAP_H. |
michael@0 | 212 | (FT_Bitmap_Copy): New function (from ftglyph.c). |
michael@0 | 213 | |
michael@0 | 214 | * include/freetype/ftbitmap.h (FT_Bitmap_Copy): New public |
michael@0 | 215 | definition. |
michael@0 | 216 | |
michael@0 | 217 | * src/base/ftglyph.c: Include FT_BITMAP_H. |
michael@0 | 218 | (ft_bitmap_copy): Move to ftbitmap.c. |
michael@0 | 219 | (ft_bitmap_glyph_init): Remove `memory' variable. |
michael@0 | 220 | Create new bitmap object if FT_GLYPH_OWN_BITMAP isn't set. |
michael@0 | 221 | (ft_bitmap_glyph_copy): Use FT_Bitmap_Copy. |
michael@0 | 222 | (ft_bitmap_glyph_done): Use FT_Bitmap_Done. |
michael@0 | 223 | (ft_outline_glyph_init): Use FT_Outline_Copy. |
michael@0 | 224 | |
michael@0 | 225 | * src/base/ftoutln.c (FT_Outline_Copy): Handle source == target. |
michael@0 | 226 | (FT_Outline_Done_Internal): Check for valid `memory' pointer. |
michael@0 | 227 | (FT_Outline_Translate, FT_Outline_Reverse, FT_Outline_Render, |
michael@0 | 228 | FT_Outline_Transform): Check for valid `outline' pointer. |
michael@0 | 229 | |
michael@0 | 230 | * src/base/ftobjs.c (FT_New_GlyphSlot): Prepend glyph slot to |
michael@0 | 231 | face->glyph, otherwise a new second glyph slot cannot be created. |
michael@0 | 232 | (FT_Done_GlyphSlot): Fix memory leak. |
michael@0 | 233 | (FT_Open_Face): Updated -- face->glyph is already managed by |
michael@0 | 234 | FT_New_GlyphSlot. |
michael@0 | 235 | |
michael@0 | 236 | * src/type42/t42objs.c (T42_GlyphSlot_Done): Updated. |
michael@0 | 237 | |
michael@0 | 238 | 2005-05-20 Kirill Smelkov <kirr@mns.spb.ru> |
michael@0 | 239 | |
michael@0 | 240 | * include/freetype/ftimage.h (FT_Raster_Params), |
michael@0 | 241 | include/freetype/ftoutln.h (FT_Outline_Translate, |
michael@0 | 242 | FT_Outline_Transform), src/base/ftoutln.c (FT_Outline_Translate, |
michael@0 | 243 | FT_Outline_Transform): Decorate parameters with `const' where |
michael@0 | 244 | appropriate. |
michael@0 | 245 | Update all callers. |
michael@0 | 246 | |
michael@0 | 247 | * src/raster/ftraster.c (ft_black_reset), src/smooth/ftgrays.c |
michael@0 | 248 | (gray_raster_reset): Remove `const' from `pool_base' argument. |
michael@0 | 249 | |
michael@0 | 250 | 2005-05-18 Kirill Smelkov <kirr@mns.spb.ru> |
michael@0 | 251 | |
michael@0 | 252 | * src/raster/ftmisc.h: New file. Only needed if ftraster.c is |
michael@0 | 253 | compiled as stand-alone. |
michael@0 | 254 | |
michael@0 | 255 | * src/raster/ftraster.c: Add comment how to compile as stand-alone. |
michael@0 | 256 | s/FT_CONFIG_OPTION_STATIC_RASTER/FT_STATIC_RASTER/. |
michael@0 | 257 | s/TT_STATIC_RASTER/FT_STATIC_RASTER/. |
michael@0 | 258 | [_STANDALONE_]: Include ftimage.h and ftmisc.h. |
michael@0 | 259 | (FT_TRACE1, FT_TRACE6, ft_memset, FT_MEM_ZERO): Define |
michael@0 | 260 | conditionally. |
michael@0 | 261 | (Render_Glyph, Render_Gray_Glyph): Return Raster_Err_None (or |
michael@0 | 262 | Raster_Err_Unsupported). |
michael@0 | 263 | (ft_black_new) [_STANDALONE_]: Fix type of `the_raster'. |
michael@0 | 264 | (ft_black_init, ft_black_reset, ft_black_set_mode, ft_black_render): |
michael@0 | 265 | Use `ras', not `raster'. |
michael@0 | 266 | (ft_black_done): Use FT_UNUSED_RASTER. |
michael@0 | 267 | (Horizontal_Sweep_Init, Horizontal_Sweep_Step, |
michael@0 | 268 | Horizontal_Gray_Sweep_Span): Use FT_UNUSED_RASTER. |
michael@0 | 269 | |
michael@0 | 270 | 2005-05-18 Werner Lemberg <wl@gnu.org> |
michael@0 | 271 | |
michael@0 | 272 | * docs/announce: Start updating. |
michael@0 | 273 | |
michael@0 | 274 | * docs/CHANGES: Updated. |
michael@0 | 275 | |
michael@0 | 276 | 2005-05-16 Vitaliy Pasternak <v_a_pasternak@mail.ru> |
michael@0 | 277 | |
michael@0 | 278 | * builds/win32/visualc/freetype.vcproj: Updated. |
michael@0 | 279 | Exclude debug info for `Release' versions to reduce library size. |
michael@0 | 280 | |
michael@0 | 281 | 2005-05-16 Werner Lemberg <wl@gnu.org> |
michael@0 | 282 | |
michael@0 | 283 | * src/base/ftobjs.c (FT_Open_Face): Make it work as documented, this |
michael@0 | 284 | is, ignore `aface' completely if face_index < 0. Reported by David |
michael@0 | 285 | Osborn <spam@habitualhiatus.com>. |
michael@0 | 286 | |
michael@0 | 287 | 2005-05-16 Kirill Smelkov <kirr@mns.spb.ru> |
michael@0 | 288 | |
michael@0 | 289 | * include/freetype/ftimage.h (FT_Outline_MoveToFunc, |
michael@0 | 290 | FT_Outline_LineTo_Func, FT_Outline_ConicToFunc, |
michael@0 | 291 | FT_Outline_CubicToFunc), src/smooth/ftgrays.c (gray_render_conic, |
michael@0 | 292 | gray_render_cubic, gray_move_to, gray_line_to, gray_conic_to, |
michael@0 | 293 | gray_cubic_to, gray_render_span, gray_sweep): Decorate parameters |
michael@0 | 294 | with `const' where appropriate. |
michael@0 | 295 | |
michael@0 | 296 | 2005-05-11 Kirill Smelkov <kirr@mns.spb.ru> |
michael@0 | 297 | |
michael@0 | 298 | * include/freetype/ftimage.h (FT_Raster_RenderFunc), |
michael@0 | 299 | include/freetype/ftrender.h (FT_Glyph_TransformFunc, |
michael@0 | 300 | FT_Renderer_Render_Func, FT_Renderer_TransformFunc), |
michael@0 | 301 | src/base/ftglyph.c (ft_outline_glyph_transform), |
michael@0 | 302 | src/raster/ftrend1.c (ft_raster1_transform, ft_raster1_render), |
michael@0 | 303 | src/smooth/ftgrays.c (FT_Outline_Decompose, gray_raster_render), |
michael@0 | 304 | src/smooth/ftsmooth.c (ft_smooth_transform, |
michael@0 | 305 | ft_smooth_render_generic, ft_smooth_render, ft_smooth_render_lcd, |
michael@0 | 306 | ft_smooth_render_lcd_v): Decorate parameters with `const' where |
michael@0 | 307 | appropriate. |
michael@0 | 308 | |
michael@0 | 309 | * src/raster/ftraster.c (RASTER_RENDER_POOL): Removed. Obsolete. |
michael@0 | 310 | (ft_black_render): Decorate parameters with `const' where |
michael@0 | 311 | appropriate. |
michael@0 | 312 | |
michael@0 | 313 | 2005-05-11 Werner Lemberg <wl@gnu.org> |
michael@0 | 314 | |
michael@0 | 315 | * src/sfnt/ttcmap.c (tt_cmap4_set_range): Fix typo (FT_PEEK_SHORT -> |
michael@0 | 316 | FT_PEEK_USHORT) which caused crashes. Reported by Ismail Donmez |
michael@0 | 317 | <ismail@kde.org.tr>. |
michael@0 | 318 | |
michael@0 | 319 | 2005-05-08 Werner Lemberg <wl@gnu.org> |
michael@0 | 320 | |
michael@0 | 321 | * include/freetype/internal/ftserv.h (FT_FACE_FIND_GLOBAL_SERVICE) |
michael@0 | 322 | [__cplusplus]: Fix typo. |
michael@0 | 323 | |
michael@0 | 324 | 2005-05-07 Werner Lemberg <wl@gnu.org> |
michael@0 | 325 | |
michael@0 | 326 | Handle unsorted SFNT type 4 cmaps correctly (reported by Dirck |
michael@0 | 327 | Blaskey <listtarget@danbala.com>). |
michael@0 | 328 | |
michael@0 | 329 | * src/sfnt/ttcmap.h (TT_CMap): Add member `unsorted'. |
michael@0 | 330 | * src/sfnt/ttcmac.c: Use SFNT_Err_Ok where appropriate. |
michael@0 | 331 | |
michael@0 | 332 | (tt_cmap0_validate, tt_cmap2_validate, tt_cmap6_validate, |
michael@0 | 333 | tt_cmap8_validate, tt_cmap10_validate, tt_cmap12_validate): Use |
michael@0 | 334 | `FT_Error' as return type. |
michael@0 | 335 | (tt_cmap4_validate): Use `FT_Error' as return type. |
michael@0 | 336 | Return error code for unsorted cmap. |
michael@0 | 337 | (tt_cmap4_char_index, tt_cmap4_char_next): Use old code for unsorted |
michael@0 | 338 | cmaps. |
michael@0 | 339 | (tt_face_build_cmaps): Set `unsorted' variable in cmap. |
michael@0 | 340 | |
michael@0 | 341 | 2005-05-07 Werner Lemberg <wl@gnu.org> |
michael@0 | 342 | |
michael@0 | 343 | * src/truetype/ttpload.c (tt_face_get_location): Fix typo. |
michael@0 | 344 | |
michael@0 | 345 | 2005-05-06 Werner Lemberg <wl@gnu.org> |
michael@0 | 346 | |
michael@0 | 347 | * src/cff/cffobjs.c (cff_face_init): Set ppem value in top |
michael@0 | 348 | dictionary for SFNT-based CFF. |
michael@0 | 349 | |
michael@0 | 350 | 2005-05-05 Werner Lemberg <wl@gnu.org> |
michael@0 | 351 | |
michael@0 | 352 | Handle malformed `loca' table entries. |
michael@0 | 353 | |
michael@0 | 354 | * docs/TODO: Add some bugs which should be fixed. |
michael@0 | 355 | |
michael@0 | 356 | * include/freetype/internal/tttypes.h (TT_FaceRec): Add `glyf_len' |
michael@0 | 357 | element. |
michael@0 | 358 | |
michael@0 | 359 | * src/truetype/ttpload.c (tt_face_load_loca): Get length of `glyf' |
michael@0 | 360 | table. |
michael@0 | 361 | (tt_face_get_location): Fix computation of `asize' for malformed |
michael@0 | 362 | `loca' entries. |
michael@0 | 363 | |
michael@0 | 364 | 2005-05-01 David Turner <david@freetype.org> |
michael@0 | 365 | |
michael@0 | 366 | * Jamfile: Remove `otvalid' from the list of compiled modules. |
michael@0 | 367 | |
michael@0 | 368 | * include/freetype/internal/ftserv.h: Add compiler pragmas to get |
michael@0 | 369 | rid of annoying warnings with Visual C++ compiler in maximum warning |
michael@0 | 370 | mode. |
michael@0 | 371 | |
michael@0 | 372 | * src/autofit/afhints.c, src/autofit/aflatin.c, src/base/ftstroke.c, |
michael@0 | 373 | src/bdf/bdfdrivr.c, src/cache/ftcbasic.c, src/cache/ftccmap.c, |
michael@0 | 374 | src/cache/ftcmanag.c, src/cff/cffload.c, src/cid/cidload.c, |
michael@0 | 375 | src/lzw/zopen.c, src/otvalid/otvgdef.c, src/pcf/pcfread.c, |
michael@0 | 376 | src/sfnt/sfobjs.c, src/truetype/ttgxvar.c: Remove compiler warnings. |
michael@0 | 377 | |
michael@0 | 378 | 2005-04-28 Werner Lemberg <wl@gnu.org> |
michael@0 | 379 | |
michael@0 | 380 | * docs/TODO: Updated. |
michael@0 | 381 | |
michael@0 | 382 | 2005-04-24 Werner Lemberg <wl@gnu.org> |
michael@0 | 383 | |
michael@0 | 384 | * src/otvalid/otvcommn.c |
michael@0 | 385 | (otv_GSUBGPOS_have_MarkAttachmentType_flag): Handle table == 0. |
michael@0 | 386 | |
michael@0 | 387 | 2005-04-16 Werner Lemberg <wl@gnu.org> |
michael@0 | 388 | |
michael@0 | 389 | * src/cff/cffobjs.c (cff_face_init): Set default upem value in top |
michael@0 | 390 | font dict also. |
michael@0 | 391 | Handle font matrix settings in subfonts. |
michael@0 | 392 | |
michael@0 | 393 | * src/cff/cffgload.c (cff_slot_load): Use the correct font matrix |
michael@0 | 394 | for CID-keyed fonts with subfonts. |
michael@0 | 395 | |
michael@0 | 396 | * docs/formats.txt: Updated. |
michael@0 | 397 | |
michael@0 | 398 | 2005-04-14 Kirill Smelkov <kirr@mns.spb.ru> |
michael@0 | 399 | |
michael@0 | 400 | * include/freetype/freetype.h (FT_Vector_Transform), |
michael@0 | 401 | include/freetype/ftimage.h (FT_Raster_Params), |
michael@0 | 402 | include/freetype/ftoutln.h, src/base/ftoutln.c (FT_Outline_Get_CBox, |
michael@0 | 403 | FT_Outline_Copy, FT_Outline_Transform, FT_Vector_Transform, |
michael@0 | 404 | FT_Outline_Get_Bitmap), src/raster/ftraster.c (ft_black_render), |
michael@0 | 405 | src/smooth/ftgrays.c (gray_raster_render): Decorate parameters with |
michael@0 | 406 | `const' where appropriate. |
michael@0 | 407 | |
michael@0 | 408 | 2005-04-14 Werner Lemberg <wl@gnu.org> |
michael@0 | 409 | |
michael@0 | 410 | * src/type1/t1load.c (parse_charstrings): Catch this non-standard |
michael@0 | 411 | beginning of the /CharStrings dictionary: |
michael@0 | 412 | |
michael@0 | 413 | /CharStrings 118 dict def |
michael@0 | 414 | Private begin |
michael@0 | 415 | CharStrings begin |
michael@0 | 416 | |
michael@0 | 417 | * src/sfnt/ttsbit0.c (tt_sbit_decoder_load_image): Fix arguments |
michael@0 | 418 | to call of tt_sbit_decoder_load_bitmap. |
michael@0 | 419 | |
michael@0 | 420 | 2005-04-13 Werner Lemberg <wl@gnu.org> |
michael@0 | 421 | |
michael@0 | 422 | * docs/TODO: Updated. |
michael@0 | 423 | |
michael@0 | 424 | * autogen.sh: Use `--force' for all commands. |
michael@0 | 425 | |
michael@0 | 426 | 2005-04-09 Werner Lemberg <wl@gnu.org> |
michael@0 | 427 | |
michael@0 | 428 | * src/pshinter/pshalgo.c (ps_hints_apply): Change scaling values |
michael@0 | 429 | only if `fitted' is not zero. |
michael@0 | 430 | |
michael@0 | 431 | 2005-04-06 Werner Lemberg <wl@gnu.org> |
michael@0 | 432 | |
michael@0 | 433 | * src/truetype/ttgload.c (tt_face_get_metrics) [FT_OPTIMIZE_MEMORY]: |
michael@0 | 434 | Fix typo which sometimes causes wrong metrics for the last glyph. |
michael@0 | 435 | |
michael@0 | 436 | 2005-04-04 David Turner <david@freetype.org> |
michael@0 | 437 | |
michael@0 | 438 | * devel/ftoption.h, include/freetype/config/ftoption.h |
michael@0 | 439 | (FT_OPTIMIZE_MEMORY): Comment out this macro for the upcoming 2.1.10 |
michael@0 | 440 | release. |
michael@0 | 441 | (*_CHESTER_*): Removed. No longer used. |
michael@0 | 442 | |
michael@0 | 443 | * src/autofit/afhints.c (af_axis_hints_new_segment, |
michael@0 | 444 | af_axis_hints_new_edge): Small tweak to use less heap memory. |
michael@0 | 445 | |
michael@0 | 446 | 2005-04-03 Werner Lemberg <wl@gnu.org> |
michael@0 | 447 | |
michael@0 | 448 | * src/type1/t1parse.c (T1_New_Parser): Relax the check for a valid |
michael@0 | 449 | first line in the font. |
michael@0 | 450 | |
michael@0 | 451 | 2005-04-03 Werner Lemberg <wl@gnu.org> |
michael@0 | 452 | |
michael@0 | 453 | * docs/CHANGES, include/freetype/freetype.h: Improve documentation |
michael@0 | 454 | of FT_Set_Pixel_Sizes and FT_Set_Char_Size. |
michael@0 | 455 | |
michael@0 | 456 | 2005-03-26 Detlef Würkner <TetiSoft@apg.lahn.de> |
michael@0 | 457 | |
michael@0 | 458 | * builds/amiga/src/base/ftsystem.c (ft_amiga_stream_io): Fix buffer |
michael@0 | 459 | offsets after a large read. |
michael@0 | 460 | |
michael@0 | 461 | 2005-03-26 Werner Lemberg <wl@gnu.org> |
michael@0 | 462 | |
michael@0 | 463 | * src/autofit/afglobal.c (af_face_globals_get_metrics): |
michael@0 | 464 | s/index/gidx/. |
michael@0 | 465 | |
michael@0 | 466 | * src/sfnt/ttsbit0.c (tt_sbit_decoder_load_image): Fix compiler |
michael@0 | 467 | warnings. |
michael@0 | 468 | |
michael@0 | 469 | * src/sfnt/rules.mk (SFNT_DRV_SRC): Add ttsbit0.c. |
michael@0 | 470 | |
michael@0 | 471 | * src/sfnt/ttsbit0.h: Dummy file for build with `make'. |
michael@0 | 472 | |
michael@0 | 473 | 2005-03-26 Detlef Würkner <TetiSoft@apg.lahn.de> |
michael@0 | 474 | |
michael@0 | 475 | Update of the Amiga port. |
michael@0 | 476 | |
michael@0 | 477 | * builds/amiga/makefile, builds/amiga/makefile.os4, |
michael@0 | 478 | builds/amiga/smakefile: Included the base extension files |
michael@0 | 479 | (ftbitmap.c, ftotval.c, ftpfr.c, ftstroke.c, ftxf86.c). |
michael@0 | 480 | |
michael@0 | 481 | 2005-03-25 Detlef Würkner <TetiSoft@apg.lahn.de> |
michael@0 | 482 | |
michael@0 | 483 | Update of the Amiga port. |
michael@0 | 484 | |
michael@0 | 485 | * builds/amiga/makefile, builds/amiga/smakefile: Handle new modules. |
michael@0 | 486 | |
michael@0 | 487 | * builds/amiga/makefile.os4: Makefile for AmigaOS4 SDK. |
michael@0 | 488 | |
michael@0 | 489 | * builds/amiga/README: Updated. |
michael@0 | 490 | |
michael@0 | 491 | * builds/amiga/include/freetype/config/ftconfig.h: Handle gcc for |
michael@0 | 492 | AmigaOS4. |
michael@0 | 493 | |
michael@0 | 494 | * builds/amiga/include/freetype/config/ftmodule.h: Handle new |
michael@0 | 495 | modules. |
michael@0 | 496 | |
michael@0 | 497 | * builds/amiga/src/base/ftdebug.c: Updated to current version of |
michael@0 | 498 | default ftdebug.c. |
michael@0 | 499 | Add various include files and macros to have proper support for |
michael@0 | 500 | both AmigaOS4 and older AmigaOS versions. |
michael@0 | 501 | Don't declare KVPrintF explicitly. |
michael@0 | 502 | Replace getenv with GetVar. |
michael@0 | 503 | Actually enable debugging code. |
michael@0 | 504 | |
michael@0 | 505 | * builds/amiga/src/base/ftsystem.c: Major rewrite. |
michael@0 | 506 | |
michael@0 | 507 | 2005-03-23 Werner Lemberg <wl@gnu.org> |
michael@0 | 508 | |
michael@0 | 509 | * tests/*: Removed. |
michael@0 | 510 | |
michael@0 | 511 | 2005-03-23 Werner Lemberg <wl@gnu.org> |
michael@0 | 512 | |
michael@0 | 513 | * docs/CHANGES, docs/INSTALL.ANY: Updated. |
michael@0 | 514 | |
michael@0 | 515 | * include/freetype/ftmoderr.h: Replace `Autohint' with `Autofit'. |
michael@0 | 516 | Add `OTvalid'. |
michael@0 | 517 | |
michael@0 | 518 | * src/autofit/aferrors.h: New file. |
michael@0 | 519 | |
michael@0 | 520 | * src/autofit/afglobal.c, src/autofit/afhints.c, |
michael@0 | 521 | src/autofit/aflatin.c, src/autofit/afloader.c: s/FT_Err_/AF_Err_/. |
michael@0 | 522 | Include aferrors.h. |
michael@0 | 523 | |
michael@0 | 524 | * src/autofit/rules.mk (AUTOF_DRV_H): Include aferrors.h. |
michael@0 | 525 | |
michael@0 | 526 | * src/otvalid/otverror.h: s/FT_Mod_Err_OTV/FT_Mod_Err_OTvalid/. |
michael@0 | 527 | |
michael@0 | 528 | 2005-03-22 David Turner <david@freetype.org> |
michael@0 | 529 | |
michael@0 | 530 | * src/autohint/*: Removed. |
michael@0 | 531 | * Jamfile: Updated. |
michael@0 | 532 | |
michael@0 | 533 | 2005-03-15 David Turner <david@freetype.org> |
michael@0 | 534 | |
michael@0 | 535 | * src/bdf/bdflib.c: Remove compiler warnings. |
michael@0 | 536 | (hash_rehash, hash_init): Don't call FT_MEM_ZERO. |
michael@0 | 537 | (_bdf_list_t): Add `memory' field. |
michael@0 | 538 | (_bdf_list_init, _bdf_list_done, _bdf_list_ensure): New functions. |
michael@0 | 539 | (_bdf_shift, _bdf_join): Rename to... |
michael@0 | 540 | (_bdf_list_shift, _bdf_list_join): This. |
michael@0 | 541 | (_bdf_split): Renamed to... |
michael@0 | 542 | (_bdf_list_split): This. Use new functions. |
michael@0 | 543 | (bdf_internal_readstream): Removed. |
michael@0 | 544 | (NO_SKIP): New macro. |
michael@0 | 545 | (_bdf_readstream): Rewritten. |
michael@0 | 546 | (bdf_create_property, _bdf_add_comment): Improve allocation. |
michael@0 | 547 | (_bdf_set_default_spacing, _bdf_parse_glyphs): Updated. Improve |
michael@0 | 548 | allocation. |
michael@0 | 549 | (_bdf_parse_properties, _bdf_parse_start): Updated. |
michael@0 | 550 | (bdf_load_font): Updated to use new functions. |
michael@0 | 551 | |
michael@0 | 552 | * src/type1/t1parse.c (check_type1_format): New function. |
michael@0 | 553 | (T1_New_Parser): Use it to check font header before allocating |
michael@0 | 554 | anything on the heap. |
michael@0 | 555 | |
michael@0 | 556 | * src/type42/t42parse.c (t42_parser_init): Modify functions to check |
michael@0 | 557 | the font header before allocating anything on the heap. |
michael@0 | 558 | |
michael@0 | 559 | * include/freetype/internal/ftmemory.h (FT_ARRAY_MAX, |
michael@0 | 560 | FT_ARRAY_CHECK): New macros. |
michael@0 | 561 | |
michael@0 | 562 | * src/base/ftstream.c (FT_Stream_TryRead): New function. |
michael@0 | 563 | * include/freetype/internal/ftstream.h: Updated. |
michael@0 | 564 | |
michael@0 | 565 | * src/pcf/pcfread.c (pcf_read_TOC), src/pcf/pcfutil.c |
michael@0 | 566 | (BitOrderInvert, TwoByteSwap, FourByteSwap): Minor fixes and |
michael@0 | 567 | simplifications. Try to protect the PCF driver from doing stupid |
michael@0 | 568 | things with broken fonts. |
michael@0 | 569 | |
michael@0 | 570 | * src/lzw/ftlzw.c (FT_Stream_OpenLZW): Check the LZW header before |
michael@0 | 571 | doing anything else. This avoids unnecessary heap allocations |
michael@0 | 572 | (400KByte of heap memory for the LZW decoder). |
michael@0 | 573 | |
michael@0 | 574 | * src/gzip/ftgzip.c (FT_Stream_OpenGZip): Ditto for the gzip |
michael@0 | 575 | decoder, although the code savings are smaller. |
michael@0 | 576 | |
michael@0 | 577 | * docs/CHANGES: Updated. |
michael@0 | 578 | |
michael@0 | 579 | 2005-03-10 David Turner <david@freetype.org> |
michael@0 | 580 | |
michael@0 | 581 | * src/tools/glnames.py: Add comment to explain the compression |
michael@0 | 582 | being used for the Adobe Glyph List. |
michael@0 | 583 | |
michael@0 | 584 | 2005-03-10 Werner Lemberg <wl@gnu.org> |
michael@0 | 585 | |
michael@0 | 586 | * src/truetype/ttpload.c (tt_face_load_cvt, tt_face_load_fpgm): |
michael@0 | 587 | Fix serious typo which prevented correct TT rendering. |
michael@0 | 588 | |
michael@0 | 589 | * include/freetype/internal/ftmemory.h: Undo change from 2005-03-03. |
michael@0 | 590 | To suppress warnings it is sufficient to use `-fno-strict-aliasing'. |
michael@0 | 591 | |
michael@0 | 592 | 2005-03-10 Werner Lemberg <wl@gnu.org> |
michael@0 | 593 | |
michael@0 | 594 | * src/tools/glnames.py: Formatted. |
michael@0 | 595 | Format output to be in sync with other FreeType code. |
michael@0 | 596 | Import `re' and `os.path'. |
michael@0 | 597 | (StringTable) <__init__>: Add parameter to initialize master table |
michael@0 | 598 | name. |
michael@0 | 599 | (StringTable) <dump>: Don't pass master table name. |
michael@0 | 600 | (StringTable) <dump_sublist>: Emit explanatory comment. |
michael@0 | 601 | Simplify and make output more human readable. |
michael@0 | 602 | (t1_bias, glyph_list, adobe_glyph_names): Removed. Unused. |
michael@0 | 603 | (main): Use `basename' for file name in header. |
michael@0 | 604 | |
michael@0 | 605 | * src/psnames/pstables.h: Regenerated. |
michael@0 | 606 | |
michael@0 | 607 | 2005-03-09 David Turner <david@freetype.org> |
michael@0 | 608 | |
michael@0 | 609 | * src/tools/glnames.py: Rewrite the generator for the `pstables.h' |
michael@0 | 610 | header file which contains various constant tables related to glyph |
michael@0 | 611 | names. It now uses a different, more compact storage scheme that |
michael@0 | 612 | saves about 20KB. This also closes Savannah bug #12262. |
michael@0 | 613 | |
michael@0 | 614 | * src/psnames/pstables.h: Regenerated. |
michael@0 | 615 | |
michael@0 | 616 | * src/psnames/psmodule.c (ps_unicode_value): Use |
michael@0 | 617 | `ft_get_adobe_glyph_index', a new function defined in `pstables.h'. |
michael@0 | 618 | (ps_get_macintosh_name, ps_get_standard_strings): Updated. |
michael@0 | 619 | |
michael@0 | 620 | * src/base/ftobjs.c (FT_Set_Char_Sizes): Handle fractional sizes |
michael@0 | 621 | more carefully. This fixes Savannah bug #12263. |
michael@0 | 622 | |
michael@0 | 623 | 2005-03-06 David Turner <david@freetype.org> |
michael@0 | 624 | |
michael@0 | 625 | * src/otvalid/otvgsub.c, src/otvalid/otvgpos.c: Make static tables |
michael@0 | 626 | constant. |
michael@0 | 627 | |
michael@0 | 628 | * src/autofit/aflatin.c (af_latin_metrics_init): Fix Savannah bug |
michael@0 | 629 | #12212 (auto-hinter refuses to work if no Unicode charmap in font). |
michael@0 | 630 | |
michael@0 | 631 | 2005-03-05 Werner Lemberg <wl@gnu.org> |
michael@0 | 632 | |
michael@0 | 633 | * autogen.sh: New script for bootstrapping. |
michael@0 | 634 | |
michael@0 | 635 | * README.CVS: New file which documents bootstrapping. |
michael@0 | 636 | |
michael@0 | 637 | * builds/unix/aclocal.m4, builds/unix/config.guess, |
michael@0 | 638 | builds/unix/config.sub, builds/unix/configure, |
michael@0 | 639 | builds/unix/ltmain.sh: Removed. |
michael@0 | 640 | |
michael@0 | 641 | 2005-03-04 Werner Lemberg <wl@gnu.org> |
michael@0 | 642 | |
michael@0 | 643 | * src/base/ftutil.c: Include FT_INTERNAL_OBJECTS_H. |
michael@0 | 644 | |
michael@0 | 645 | 2005-03-03 Werner Lemberg <wl@gnu.org> |
michael@0 | 646 | |
michael@0 | 647 | Various fixes for C and C++ compiling. |
michael@0 | 648 | |
michael@0 | 649 | * src/autofit/*: Add copyright messages. |
michael@0 | 650 | |
michael@0 | 651 | * src/autofit/afhints.c (af_glyph_hints_done): Don't use |
michael@0 | 652 | `AF_Dimension' but `int' for loop counter. |
michael@0 | 653 | |
michael@0 | 654 | * src/autofit/aflatin.c (af_latin_metrics_init_widths): Don't use |
michael@0 | 655 | `AF_Dimension' but `int' for loop counter. |
michael@0 | 656 | Use proper enumeration value for `render_mode'. |
michael@0 | 657 | (af_latin_metrics_scale_dim): Don't shadow variables. |
michael@0 | 658 | (af_latin_hints_compute_segments): Use proper cast for `major_dir' |
michael@0 | 659 | and `segment_dir'. |
michael@0 | 660 | (af_latin_align_linked_edge, af_latin_hint_edges): Fix arguments of call to |
michael@0 | 661 | `af_latin_compute_stem_width'. |
michael@0 | 662 | (af_latin_hints_apply): Don't use `AF_Dimension' but `int' for loop |
michael@0 | 663 | counter. |
michael@0 | 664 | |
michael@0 | 665 | * src/base/ftdbgmem.c (ft_mem_table_get_source, FT_DumpMemory): Use |
michael@0 | 666 | proper cast for memory allocation. |
michael@0 | 667 | |
michael@0 | 668 | * src/cff/cffdrivr.c (cff_get_kerning): Use proper cast for |
michael@0 | 669 | initialization of `sfnt'. |
michael@0 | 670 | |
michael@0 | 671 | * src/sfnt/sfdriver.c: Include `ttkern.h'. |
michael@0 | 672 | |
michael@0 | 673 | * src/sfnt/ttkern.c (tt_face_get_kerning): Don't shadow variables. |
michael@0 | 674 | |
michael@0 | 675 | * src/truetype/ttgload.c: Include `ttpload.h'. |
michael@0 | 676 | |
michael@0 | 677 | 2005-03-03 David Turner <david@freetype.org> |
michael@0 | 678 | |
michael@0 | 679 | * include/freetype/internal/ftmemory.h (FT_ALLOC, FT_REALLOC, |
michael@0 | 680 | FT_QALLOC, FT_QREALLOC) [gcc >= 3.3]: Provide macro versions which |
michael@0 | 681 | avoid compiler warnings. |
michael@0 | 682 | (FT_NEW, FT_NEW_ARRAY, FT_RENEW_ARRAY, FT_QNEW, FT_QNEW_ARRAY, |
michael@0 | 683 | FT_QRENEW_ARRAY, FT_ALLOC_ARRAY, FT_REALLOC_ARRAY): Updated. |
michael@0 | 684 | |
michael@0 | 685 | * include/freetype/internal/ftserv.h (FT_FACE_FIND_SERVICE, |
michael@0 | 686 | FT_FACE_FIND_GLOBAL_SERVICE, FT_FACE_LOOKUP_SERVICE) [__cplusplus]: |
michael@0 | 687 | Provide macro versions which avoid compiler warnings. |
michael@0 | 688 | |
michael@0 | 689 | * src/base/ftutil.c (ft_highpow2): New utility function. |
michael@0 | 690 | |
michael@0 | 691 | * include/freetype/internal/ftobjs.h: Updated. |
michael@0 | 692 | |
michael@0 | 693 | * src/pfr/pfrload.c (pfr_get_gindex, pfr_compare_kern_pairs, |
michael@0 | 694 | pfr_sort_kerning_pairs): Don't define if FT_OPTIMIZE_MEMORY is set. |
michael@0 | 695 | (pfr_phy_font_done): Don't handle `kern_pairs' if FT_OPTIMIZE_MEMORY |
michael@0 | 696 | is set. |
michael@0 | 697 | (pfr_phy_font_load): Don't call `pfr_sort_kerning_pairs' if |
michael@0 | 698 | FT_OPTIMIZE_MEMORY is set. |
michael@0 | 699 | |
michael@0 | 700 | * src/pfr/pfrobjs.c (pfr_slot_load): Comment out some code which |
michael@0 | 701 | doesn't work with broken fonts. |
michael@0 | 702 | (pfr_face_get_kerning) [FT_OPTIMIZE_MEMORY]: Implement. |
michael@0 | 703 | |
michael@0 | 704 | * src/pfr/pfrtypes.h (PFR_KernItemRec): Optimize member types. |
michael@0 | 705 | (PFR_NEXT_KPAIR): New macro. |
michael@0 | 706 | (PFR_PhyFontRec): Don't define `kern_pairs' if FT_OPTIMIZE_MEMORY is |
michael@0 | 707 | set. |
michael@0 | 708 | |
michael@0 | 709 | * src/sfnt/ttsbit0.c (tt_sbit_decoder_load_image): Introduce |
michael@0 | 710 | temporary variable to avoid gcc warning. |
michael@0 | 711 | (tt_face_load_sbit_image): Mark unused variables with FT_UNUSED. |
michael@0 | 712 | |
michael@0 | 713 | * src/truetype/ttpload.c (tt_face_load_loca) [FT_OPTIMIZE_MEMORY]: |
michael@0 | 714 | Remove redundant variable. |
michael@0 | 715 | |
michael@0 | 716 | * include/freetype/config/ftmodule.h: Moving the order of drivers to |
michael@0 | 717 | speed up font loading. The PCF and BDF loaders are still slow and |
michael@0 | 718 | consume far too much memory. |
michael@0 | 719 | |
michael@0 | 720 | 2005-03-03 Werner Lemberg <wl@gnu.org> |
michael@0 | 721 | |
michael@0 | 722 | * devel/ftoption.h: Updated to recent changes. |
michael@0 | 723 | |
michael@0 | 724 | 2005-03-02 Werner Lemberg <wl@gnu.org> |
michael@0 | 725 | |
michael@0 | 726 | * src/autofit/afdummy.c, src/autofit/afdummy.h |
michael@0 | 727 | (af_dummy_script_class): Fix type. |
michael@0 | 728 | |
michael@0 | 729 | * src/autofit/aflatin.c, src/autofit/aflatin.h |
michael@0 | 730 | (af_latin_script_class): Fix type. |
michael@0 | 731 | |
michael@0 | 732 | * src/autofit/rules.mk (AUTOF_DRV_SRC): Fix typo. |
michael@0 | 733 | |
michael@0 | 734 | 2005-03-01 David Turner <david@freetype.org> |
michael@0 | 735 | |
michael@0 | 736 | * src/sfnt/ttkern.c (tt_face_load_kern, tt_face_get_kerning), |
michael@0 | 737 | src/sfnt/ttsbit0.c (tt_face_load_sbit_strikes, |
michael@0 | 738 | tt_sbit_decoder_load_byte_aligned, tt_sbit_decoder_load_compound, |
michael@0 | 739 | tt_sbit_decoder_load_image), src/sfnt/ttload.c |
michael@0 | 740 | (tt_face_load_metrics): Remove compiler warnings |
michael@0 | 741 | -- redundant variables, missing initializations, etc. |
michael@0 | 742 | |
michael@0 | 743 | * src/sfnt/ttsbit.h: Handle FT_OPTIMIZE_MEMORY. |
michael@0 | 744 | |
michael@0 | 745 | * src/autofit/rules.mk, src/autofit/module.mk, |
michael@0 | 746 | src/autofit/afangles.h: New files. |
michael@0 | 747 | |
michael@0 | 748 | * src/autofit/afhints.c (af_axis_hints_new_segment, |
michael@0 | 749 | af_axis_hints_new_edge): New functions. |
michael@0 | 750 | (af_glyph_hints_done): Do proper deallocation. |
michael@0 | 751 | (af_glyph_hints_reload): Only reallocate points array. This |
michael@0 | 752 | drastically reduces heap usage. |
michael@0 | 753 | |
michael@0 | 754 | * src/autofit/afhints.h (AF_PointRec, AF_SegmentRec): Optimize |
michael@0 | 755 | member types and positions. |
michael@0 | 756 | (AF_AxisHintsRec): Add `max_segments' and `max_edges'. |
michael@0 | 757 | (af_axis_hints_new_segment, af_axis_hints_new_edge): New prototypes. |
michael@0 | 758 | |
michael@0 | 759 | * src/autofit/aflatin.c (af_latin_metricsc_scale): Don't call |
michael@0 | 760 | AF_SCALER_EQUAL_SCALES. |
michael@0 | 761 | (af_latin_hints_compute_segments): Change return type to FT_Error. |
michael@0 | 762 | Update all callers. |
michael@0 | 763 | Improve segment allocation. |
michael@0 | 764 | (af_latin_hints_compute_edges): Change return type to FT_Error. |
michael@0 | 765 | Update all callers. |
michael@0 | 766 | Improve edge allocation and link handling. |
michael@0 | 767 | (af_latin_hints_detect_features): Change return type to FT_Error. |
michael@0 | 768 | Update all callers. |
michael@0 | 769 | |
michael@0 | 770 | * src/autofit/aflatin.h: Updated. |
michael@0 | 771 | |
michael@0 | 772 | * src/autofit/afloader.c (af_loader_load_g) |
michael@0 | 773 | <FT_GLYPH_FORMAT_OUTLINE>: Assure axis->num_edges > 1. This fixes |
michael@0 | 774 | a bug with certain fonts. |
michael@0 | 775 | |
michael@0 | 776 | * include/freetype/config/ftmodule.h: The auto-fitter is now the |
michael@0 | 777 | only supported auto-hinting module. |
michael@0 | 778 | |
michael@0 | 779 | * include/freetype/config/ftstdlib.h (FT_INT_MAX): New macro. |
michael@0 | 780 | |
michael@0 | 781 | 2005-02-28 Werner Lemberg <wl@gnu.org> |
michael@0 | 782 | |
michael@0 | 783 | * src/truetype/ttpload.c (tt_face_load_loca): Fix typo. |
michael@0 | 784 | |
michael@0 | 785 | * src/sfnt/ttkern.c: Include `ttkern.h'. |
michael@0 | 786 | (FT_COMPONENT): Updated. |
michael@0 | 787 | |
michael@0 | 788 | * include/freetype/internal/fttrace.h: Add entry for `ttkern'. |
michael@0 | 789 | |
michael@0 | 790 | * src/sfnt/ttsbit0.c: s/FT_Err_/SFNT_Err_/. |
michael@0 | 791 | Decorate constants with `U' and `L' where necessary. |
michael@0 | 792 | |
michael@0 | 793 | * src/sfnt/ttcmap.c (tt_cmap4_next): Remove unused variable. |
michael@0 | 794 | |
michael@0 | 795 | 2005-02-28 David Turner <david@freetype.org> |
michael@0 | 796 | |
michael@0 | 797 | * src/base/ftdbgmem.c (FT_DumpMemory): Added sorting of memory |
michael@0 | 798 | sources according to decreasing maximum cumulative allocations. |
michael@0 | 799 | (ft_mem_source_compare): New auxiliary function. |
michael@0 | 800 | |
michael@0 | 801 | * src/sfnt/ttsbit0.c: New file, implementing a heap-optimized |
michael@0 | 802 | embedded bitmap loader. |
michael@0 | 803 | |
michael@0 | 804 | * src/sfnt/ttsbit.c: Include `ft2build.h', FT_INTERNAL_DEBUG_H, |
michael@0 | 805 | FT_INTERNAL_STREAM_H, FT_TRUETYPE_TAGS_H. |
michael@0 | 806 | Load `ttsbit0.c' if FT_OPTIMIZE_MEMORY is set, otherwise use |
michael@0 | 807 | file contents. |
michael@0 | 808 | (tt_face_load_sbit_strikes): Set up root fields to indicate the |
michael@0 | 809 | strikes. This fixes Savannah bug #12107. |
michael@0 | 810 | Use `static' keyword for `sbit_line_metrics_field', |
michael@0 | 811 | `strike_start_fields', `strike_end_fields'. |
michael@0 | 812 | |
michael@0 | 813 | * include/freetype/internal/tttypes.h (TT_FaceRec): Define |
michael@0 | 814 | `sbit_table', `sbit_table_size', `sbit_num_strikes' if |
michael@0 | 815 | FT_OPTIMIZE_MEMORY is set. |
michael@0 | 816 | Don't define `num_sbit_strikes' and `sbit_strikes' if |
michael@0 | 817 | FT_OPTIMIZE_MEMORY is set. |
michael@0 | 818 | |
michael@0 | 819 | * src/cff/cffobjs.c (sbit_size_reset): Handle FT_OPTIMIZE_MEMORY. |
michael@0 | 820 | |
michael@0 | 821 | * src/sfnt/sfobjs.c (sfnt_load_face): Fixed bug that prevented |
michael@0 | 822 | loading SFNT fonts without a `kern' table. |
michael@0 | 823 | Properly pass root->face_flags. |
michael@0 | 824 | Remove code for TT_CONFIG_OPTION_EMBEDDED_BITMAPS. |
michael@0 | 825 | |
michael@0 | 826 | * src/sfnt/sfdriver.c (sfnt_interface) |
michael@0 | 827 | [TT_CONFIG_OPTION_EMBEDDED_BITMAPS]: Don't use `tt_find_sbit_image' |
michael@0 | 828 | and `tt_load_sbit_metrics'. |
michael@0 | 829 | |
michael@0 | 830 | * src/sfnt/ttcmap.c: Optimize linear charmap scanning for Format 4. |
michael@0 | 831 | (OPT_CMAP4): New macro. |
michael@0 | 832 | (TT_CMap4Rec) [OPT_CMAP4]: New structure. |
michael@0 | 833 | (tt_cmap4_init, tt_cmap4_set_range, tt_cmap4_next, tt_cmap4_reset) |
michael@0 | 834 | [OPT_CMAP4]: New functions. |
michael@0 | 835 | (tt_cmap4_char_next) [OPT_CMAP4]: Use `tt_cmap4_next' and |
michael@0 | 836 | `tt_cmap4_reset'. |
michael@0 | 837 | (tt_cmap4_class_rec) [OPT_CMAP4]: Use `TT_CMap4Rec' and |
michael@0 | 838 | `tt_cmap4_init'. |
michael@0 | 839 | |
michael@0 | 840 | * src/truetype/ttobjs.c (Reset_SBit_Size): Handle |
michael@0 | 841 | FT_OPTIMIZE_MEMORY. |
michael@0 | 842 | |
michael@0 | 843 | * src/autofit/afhints.h (AF_PointRec, AF_SegmentRec, AF_EdgeRec): |
michael@0 | 844 | Optimize member types. |
michael@0 | 845 | |
michael@0 | 846 | * src/autofit/afloader.c (af_loader_done): Call |
michael@0 | 847 | `af_glyph_hints_done'. |
michael@0 | 848 | |
michael@0 | 849 | 2005-02-27 David Turner <david@freetype.org> |
michael@0 | 850 | |
michael@0 | 851 | * src/sfnt/ttkern.c (tt_face_load_kern): Fix a small bug which |
michael@0 | 852 | caused invalid (random) return values for the horizontal kerning. |
michael@0 | 853 | |
michael@0 | 854 | 2005-02-25 David Turner <david@freetype.org> |
michael@0 | 855 | |
michael@0 | 856 | Implement several memory optimizations to drastically reduce the |
michael@0 | 857 | heap usage of FreeType, especially in the case of memory-mapped |
michael@0 | 858 | files. The idea is to avoid loading and decoding tables in the |
michael@0 | 859 | heap, and instead access the raw data whenever possible (i.e., when |
michael@0 | 860 | it doesn't compromise performance). |
michael@0 | 861 | |
michael@0 | 862 | This has several benefits: For example, opening vera.ttf now uses |
michael@0 | 863 | just a small amount of memory (even when the FT_Library footprint is |
michael@0 | 864 | accounted for), until you start loading glyphs. Even then, you save |
michael@0 | 865 | at least 20KB compared to the non-optimized case. Performance of |
michael@0 | 866 | various operations, including open and close, has also been |
michael@0 | 867 | dramatically improved. |
michael@0 | 868 | |
michael@0 | 869 | More optimizations to come, especially for the auto-hinter. |
michael@0 | 870 | |
michael@0 | 871 | * include/freetype/internal/sfnt.h (TT_Face_GetKerningFunc): New |
michael@0 | 872 | function type. |
michael@0 | 873 | (SFNT_Interface): Add it. |
michael@0 | 874 | |
michael@0 | 875 | * include/freetype/internal/tttypes.h (TT_HdmxEntryRec, TT_HdmxRec, |
michael@0 | 876 | TT_Kern0_PairRec): Don't define if FT_OPTIMIZE_MEMORY is set. |
michael@0 | 877 | (TT_FaceRec): Define `horz_metrics', `horz_metrics_size', |
michael@0 | 878 | `vert_metrics', `vert_metrics_size', `hdmx_table', |
michael@0 | 879 | `hdmx_table_size', `hdmx_record_count', `hdmx_record_size', |
michael@0 | 880 | `hdmx_record_sizes', `kern_table', `kern_table_size, |
michael@0 | 881 | `num_kern_tables', `kern_avail_bits', `kern_order_bits' if |
michael@0 | 882 | FT_OPTIMIZE_MEMORY is set. |
michael@0 | 883 | Don't define `hdmx', `num_kern_pairs', `kern_table_index', |
michael@0 | 884 | `kern_pairs' if FT_OPTIMIZE_MEMORY is set. |
michael@0 | 885 | |
michael@0 | 886 | * src/base/ftdbgmem.c (ft_mem_table_set): Don't shadow variable. |
michael@0 | 887 | Fix compiler warning. |
michael@0 | 888 | |
michael@0 | 889 | * src/cff/cffdrivr.c (Get_Kerning): Renamed to... |
michael@0 | 890 | (cff_get_kerning): This. Simplify. |
michael@0 | 891 | (cff_driver_class): Updated. |
michael@0 | 892 | |
michael@0 | 893 | * src/sfnt/Jamfile (_sources): Add `ttkern'. |
michael@0 | 894 | * src/sfnt/rules.mk (SFNT_DRV_SRC): Add `ttkern.c'. |
michael@0 | 895 | |
michael@0 | 896 | * src/sfnt/sfdriver.c (sfnt_interface): Add `tt_face_get_kerning'. |
michael@0 | 897 | |
michael@0 | 898 | * src/sfnt/sfnt.c: Include `ttkern.c'. |
michael@0 | 899 | |
michael@0 | 900 | * src/sfnt/sfobjs.c: Include `ttkern.h'. |
michael@0 | 901 | (sfnt_load_face): Consider the `kern' and `gasp' table as optional. |
michael@0 | 902 | (sfnt_done_face): Call `tt_face_done_kern'. |
michael@0 | 903 | Handle horizontal metrics for FT_OPTIMIZE_MEMORY. |
michael@0 | 904 | |
michael@0 | 905 | * src/sfnt/ttkern.c, src/sfnt/ttkern.h: New files. Code has been |
michael@0 | 906 | taken from `ttload.c' and `ttload.h'. |
michael@0 | 907 | Provide special versions of `tt_face_load_kern', |
michael@0 | 908 | `tt_face_get_kerning', and `tt_face_done_kern' for |
michael@0 | 909 | FT_OPTIMIZE_MEMORY. |
michael@0 | 910 | |
michael@0 | 911 | * src/sfnt/ttload.c (tt_face_load_metrics, tt_face_load_hdmx, |
michael@0 | 912 | tt_face_free_hdmx): Provide version for FT_OPTIMIZE_MEMORY. |
michael@0 | 913 | (tt_face_load_kern, tt_kern_pair_compare, TT_KERN_INDEX): Moved to |
michael@0 | 914 | `ttkern.c'. |
michael@0 | 915 | |
michael@0 | 916 | * src/sfnt/ttload.h: Updated. |
michael@0 | 917 | |
michael@0 | 918 | * src/sfnt/ttsbit.c (sbit_metrics_field): Add `static' keyword. |
michael@0 | 919 | |
michael@0 | 920 | * src/truetype/ttdriver.c (Get_Kerning): Renamed to... |
michael@0 | 921 | (tt_get_kerning): This. Simplify. |
michael@0 | 922 | (tt_driver_class): Updated. |
michael@0 | 923 | |
michael@0 | 924 | * src/truetype/ttgload.c (TT_Get_Metrics): Renamed to... |
michael@0 | 925 | (tt_face_get_metrics): This. Provide version for FT_OPTIMIZE_MEMORY. |
michael@0 | 926 | Update all callers. |
michael@0 | 927 | (Get_Advance_Widths): Replaced with... |
michael@0 | 928 | (Get_Advance_WidthPtr): This. Provide version for |
michael@0 | 929 | FT_OPTIMIZE_MEMORY. |
michael@0 | 930 | Update all callers. |
michael@0 | 931 | |
michael@0 | 932 | * src/truetype/ttgload.h: Updated. |
michael@0 | 933 | |
michael@0 | 934 | 2005-02-22 David Turner <david@freetype.org> |
michael@0 | 935 | |
michael@0 | 936 | * src/base/ftdbgmem.c: Partly rewritten. Added the ability to list |
michael@0 | 937 | all allocation sites in the memory debugger. Also a new function |
michael@0 | 938 | FT_DumpMemory() was added. It is only available in builds with |
michael@0 | 939 | FT_DEBUG_MEMORY defined, and you must declare it in your own code to |
michael@0 | 940 | use it, i.e., with something like: |
michael@0 | 941 | |
michael@0 | 942 | extern void FT_DumpMemory( FT_Memory ); |
michael@0 | 943 | |
michael@0 | 944 | ... |
michael@0 | 945 | |
michael@0 | 946 | FT_DumpMemory( memory ); |
michael@0 | 947 | |
michael@0 | 948 | * include/freetype/config/ftoption.h |
michael@0 | 949 | (TT_CONFIG_OPTION_BYTECODE_INTERPRETER): Comment out definition -- |
michael@0 | 950 | again. |
michael@0 | 951 | (FT_OPTIMIZE_MEMORY): New configuration macro to control various |
michael@0 | 952 | optimizations for reducing the heap footprint of memory-mapped |
michael@0 | 953 | TrueType files. |
michael@0 | 954 | |
michael@0 | 955 | * include/freetype/internal/ftmemory.h (FT_ARRAY_ZERO): New |
michael@0 | 956 | convenience macro. |
michael@0 | 957 | |
michael@0 | 958 | * include/freetype/internal/tttypes.h (TT_FaceRec) |
michael@0 | 959 | [FT_OPTIMIZE_MEMORY]: Use optimized types for `num_locations' and |
michael@0 | 960 | `glyph_locations'. |
michael@0 | 961 | |
michael@0 | 962 | * src/truetype/ttgload.c (load_truetype_glyph): Call |
michael@0 | 963 | `tt_face_get_location'. |
michael@0 | 964 | |
michael@0 | 965 | * src/truetype/ttobjs.c (tt_face_init) |
michael@0 | 966 | [FT_CONFIG_OPTION_INCREMENTAL]: Improve error handling. |
michael@0 | 967 | (tt_face_done): Call `tt_face_done_loca'. |
michael@0 | 968 | |
michael@0 | 969 | * src/truetype/ttpload.c (tt_face_get_location, tt_face_done_loca): |
michael@0 | 970 | New functions. If FT_OPTIMIZE_MEMORY is set, the locations table is |
michael@0 | 971 | read directly from memory-mapped streams, instead of being decoded |
michael@0 | 972 | into the heap. |
michael@0 | 973 | (tt_face_load_loca) [FT_OPTIMIZE_MEMORY]: New implementation. |
michael@0 | 974 | (tt_face_load_cvt, tt_face_load_fpgm): Only load table if the |
michael@0 | 975 | bytecode interpreter is compiled in. |
michael@0 | 976 | |
michael@0 | 977 | * src/truetype/ttpload.h: Updated. |
michael@0 | 978 | |
michael@0 | 979 | * src/autohint/ahglyph.c (ah_outline_load): Improve allocation |
michael@0 | 980 | logic. |
michael@0 | 981 | |
michael@0 | 982 | 2005-02-20 Werner Lemberg <wl@gnu.org> |
michael@0 | 983 | |
michael@0 | 984 | * builds/unix/ltmain.sh: Regenerated with `libtoolize --force |
michael@0 | 985 | --copy' from libtool 1.5.14. |
michael@0 | 986 | * builds/unix/aclocal.m4: Regenerated with `aclocal -I .' from |
michael@0 | 987 | automake 1.9.4. |
michael@0 | 988 | |
michael@0 | 989 | * builds/unix/config.guess, builds/unix/config.sub: Updated from |
michael@0 | 990 | `config' CVS module at subversions.gnu.org. |
michael@0 | 991 | |
michael@0 | 992 | * builds/unix/install-sh, builds/unix/mkinstalldirs: Updated from |
michael@0 | 993 | `texinfo' CVS module at subversions.gnu.org. |
michael@0 | 994 | |
michael@0 | 995 | 2005-02-14 Werner Lemberg <wl@gnu.org> |
michael@0 | 996 | |
michael@0 | 997 | * src/cff/cffcmap.c (cff_cmap_unicode_init): Don't try to build |
michael@0 | 998 | a cmap for a CID-keyed font which doesn't have SIDs. |
michael@0 | 999 | |
michael@0 | 1000 | 2005-02-13 Werner Lemberg <wl@gnu.org> |
michael@0 | 1001 | |
michael@0 | 1002 | * src/type1/t1load.c (read_binary_data): Return more meaningful |
michael@0 | 1003 | value. |
michael@0 | 1004 | (parse_encoding, parse_subrs, parse_charstrings, parse_dict): Check |
michael@0 | 1005 | parser error value after call to T1_Skip_PS_Token (where necessary). |
michael@0 | 1006 | |
michael@0 | 1007 | * src/type1/t1parse.c (T1_Get_Private_Dict): Check parser error |
michael@0 | 1008 | value after call to T1_Skip_PS_Token. |
michael@0 | 1009 | |
michael@0 | 1010 | * src/cid/cidparse.c (cid_parser_new): Check parser error value |
michael@0 | 1011 | after call to cid_parser_skip_PS_token. |
michael@0 | 1012 | |
michael@0 | 1013 | * src/type42/t42parse.c (t42_parse_encoding, t42_parse_sfnts, |
michael@0 | 1014 | t42_parse_charstrings, t42_parse_dict): Check parser error value |
michael@0 | 1015 | after call to T1_Skip_PS_Token (where necessary). |
michael@0 | 1016 | |
michael@0 | 1017 | * src/psaux/psobjc.c (skip_string, ps_parser_skip_PS_token, |
michael@0 | 1018 | ps_tobytes): Add error messages. |
michael@0 | 1019 | |
michael@0 | 1020 | 2005-02-12 Werner Lemberg <wl@gnu.org> |
michael@0 | 1021 | |
michael@0 | 1022 | * configure: Output more variables to the created Makefile so that |
michael@0 | 1023 | it can be used for ft2demos also (if the FT2DEMOS variable is |
michael@0 | 1024 | defined). |
michael@0 | 1025 | |
michael@0 | 1026 | 2005-02-10 David Turner <david@freetype.org> |
michael@0 | 1027 | |
michael@0 | 1028 | * src/pfr/pfrgload.c (pfr_glyph_load): Fix an unbounded growing |
michael@0 | 1029 | dynamic array when loading a glyph from a PFR font (Savannah bug |
michael@0 | 1030 | #11921). |
michael@0 | 1031 | |
michael@0 | 1032 | * src/base/ftbitmap.c (FT_Bitmap_Convert): Small improvements to the |
michael@0 | 1033 | conversion function (mainly stupid optimization). |
michael@0 | 1034 | |
michael@0 | 1035 | * src/base/Jamfile: Adding ftbitmap.c to the list of compiled files. |
michael@0 | 1036 | |
michael@0 | 1037 | 2005-02-10 Werner Lemberg <wl@gnu.org> |
michael@0 | 1038 | |
michael@0 | 1039 | * builds/unix/freetype-config.in: Add new flag `--ftversion' to |
michael@0 | 1040 | return the FreeType version. Suggested by George Williams |
michael@0 | 1041 | <gww@silcom.com>. |
michael@0 | 1042 | |
michael@0 | 1043 | * docs/CHANGES: Updated. |
michael@0 | 1044 | |
michael@0 | 1045 | 2005-02-09 Werner Lemberg <wl@gnu.org> |
michael@0 | 1046 | |
michael@0 | 1047 | * src/otvalid/otvmod.c (otv_validate): Deallocate arrays in case |
michael@0 | 1048 | of error. Reported by YAMANO-UCHI Hidetoshi <mer@din.or.jp>. |
michael@0 | 1049 | |
michael@0 | 1050 | 2005-02-08 Werner Lemberg <wl@gnu.org> |
michael@0 | 1051 | |
michael@0 | 1052 | * src/psaux/t1decode.c (t1_decoder_parse_charstrings) |
michael@0 | 1053 | <op_closepath>: Accept `T1_Parse_Have_Moveto' state also which can |
michael@0 | 1054 | happen in empty glyphs. Reported by Ian Brown |
michael@0 | 1055 | <ian.brown@printsoft.de> (Savannah bug #11856). |
michael@0 | 1056 | |
michael@0 | 1057 | 2005-02-04 Werner Lemberg <wl@gnu.org> |
michael@0 | 1058 | |
michael@0 | 1059 | * src/otlayout/*: Removed. Obsolete. |
michael@0 | 1060 | |
michael@0 | 1061 | 2004-12-28 Werner Lemberg <wl@gnu.org> |
michael@0 | 1062 | |
michael@0 | 1063 | * builds/unix/ltmain.sh: Regenerated with `libtoolize --force |
michael@0 | 1064 | --copy' from libtool 1.5.10. |
michael@0 | 1065 | * builds/unix/aclocal.m4: Regenerated with `aclocal -I .' from |
michael@0 | 1066 | automake 1.9.4. |
michael@0 | 1067 | * builds/unix/configure: Regenerated with autoconf 2.59b. |
michael@0 | 1068 | |
michael@0 | 1069 | * builds/unix/config.guess, builds/unix/config.sub: Updated from |
michael@0 | 1070 | `config' CVS module at subversions.gnu.org. |
michael@0 | 1071 | |
michael@0 | 1072 | * builds/unix/install-sh: Updated from |
michael@0 | 1073 | `texinfo' CVS module at subversions.gnu.org. |
michael@0 | 1074 | |
michael@0 | 1075 | * builds/unix/ftsystem.c (FT_Stream_Open): Add proper cast for |
michael@0 | 1076 | ft_alloc. |
michael@0 | 1077 | Fix compiler warning. |
michael@0 | 1078 | |
michael@0 | 1079 | 2004-12-27 Dirck Blaskey <listtarget@danbala.com> |
michael@0 | 1080 | |
michael@0 | 1081 | * src/cff/cffobjs.c (cff_face_init): Improve computation of |
michael@0 | 1082 | FT_STYLE_BOLD_FLAG. |
michael@0 | 1083 | |
michael@0 | 1084 | 2004-12-27 Werner Lemberg <wl@gnu.org> |
michael@0 | 1085 | |
michael@0 | 1086 | * src/cff/cffobjs.c (cff_face_init): A CFF within an SFNT can have |
michael@0 | 1087 | only a single font. This is undocumented but has been verified on |
michael@0 | 1088 | the opentype list. |
michael@0 | 1089 | |
michael@0 | 1090 | 2004-12-26 Werner Lemberg <wl@gnu.org> |
michael@0 | 1091 | |
michael@0 | 1092 | * Jamfile (FT2_COMPONENTS): Add `otvalid'. |
michael@0 | 1093 | |
michael@0 | 1094 | 2004-12-25 Werner Lemberg <wl@gnu.org> |
michael@0 | 1095 | |
michael@0 | 1096 | * src/base/ftbitmap.c (FT_Bitmap_Convert): Fix compiler warning. |
michael@0 | 1097 | |
michael@0 | 1098 | 2004-12-15 Werner Lemberg <wl@gnu.org> |
michael@0 | 1099 | |
michael@0 | 1100 | * vms_make.com: Add ftbitmap.obj. |
michael@0 | 1101 | |
michael@0 | 1102 | 2004-12-14 Werner Lemberg <wl@gnu.org> |
michael@0 | 1103 | |
michael@0 | 1104 | * src/base/ftbitmap.c, include/freetype/ftbitmap.h: New files for |
michael@0 | 1105 | handling various bitmap formats. |
michael@0 | 1106 | |
michael@0 | 1107 | * include/freetype/config/ftheader.h (FT_BITMAP_H): New macro. |
michael@0 | 1108 | |
michael@0 | 1109 | * src/base/rules.mk (BASE_EXT_SRC): Add ftbitmap.c. |
michael@0 | 1110 | |
michael@0 | 1111 | * src/bdf/bdfdrivr.c (BDF_Glyph_Load): Don't convert bitmaps to 8bpp |
michael@0 | 1112 | but return them as-is. |
michael@0 | 1113 | |
michael@0 | 1114 | * docs/CHANGES: Mention new bitmap API. |
michael@0 | 1115 | * include/freetype/ftchapter.s: Updated. |
michael@0 | 1116 | |
michael@0 | 1117 | 2004-12-11 Robert Clark <freetype@ratty.org.uk> |
michael@0 | 1118 | |
michael@0 | 1119 | * src/base/ftobjs.c (FT_Get_Kerning): Make kerning amount |
michael@0 | 1120 | dependent on ppem by scaling down for ppem < 25, then do normal |
michael@0 | 1121 | rounding. This gives slightly better results than rounding towards |
michael@0 | 1122 | zero. |
michael@0 | 1123 | |
michael@0 | 1124 | 2004-12-09 Werner Lemberg <wl@gnu.org> |
michael@0 | 1125 | |
michael@0 | 1126 | * src/base/ftobjs.c (FT_Get_Kerning): Always round towards zero |
michael@0 | 1127 | for FT_KERNING_DEFAULT. This greatly enhances the kerning for |
michael@0 | 1128 | small ppem values. |
michael@0 | 1129 | |
michael@0 | 1130 | 2004-12-08 Werner Lemberg <wl@gnu.org> |
michael@0 | 1131 | |
michael@0 | 1132 | * src/base/ftobjs.c (ft_glyphslot_clear): Reset `lsb_delta' and |
michael@0 | 1133 | `rsb_delta'. |
michael@0 | 1134 | |
michael@0 | 1135 | 2004-12-05 Werner Lemberg <wl@gnu.org> |
michael@0 | 1136 | |
michael@0 | 1137 | * builds/unix/install.mk (install): Use $(OBJ_BUILD) for ftconfig.h. |
michael@0 | 1138 | |
michael@0 | 1139 | 2004-12-03 Antoine Leca <Antoine-Freetype@Leca-Marti.org> |
michael@0 | 1140 | |
michael@0 | 1141 | * include/freetype/ttnameid.h: Updated to latest |
michael@0 | 1142 | specifications from Microsoft. |
michael@0 | 1143 | |
michael@0 | 1144 | 2004-11-26 Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
michael@0 | 1145 | |
michael@0 | 1146 | * vms_make.com: Include ftbbox.c. |
michael@0 | 1147 | Fix `ccopt'. |
michael@0 | 1148 | Handle `otvalid' module. |
michael@0 | 1149 | Update `vmslib.dat' default values. |
michael@0 | 1150 | Fixes to `libs.opt'. |
michael@0 | 1151 | |
michael@0 | 1152 | 2004-11-23 Anders Kaseorg <anders@kaseorg.com> |
michael@0 | 1153 | |
michael@0 | 1154 | * src/base/ftoutln.c (FT_OrientationExtremumRec, |
michael@0 | 1155 | ft_orientation_extremum_compute): Removed. |
michael@0 | 1156 | (FT_Outline_Get_Orientation): Rewritten, simplified. |
michael@0 | 1157 | |
michael@0 | 1158 | * src/autohint/ahglyph.c: Include FT_OUTLINE_H. |
michael@0 | 1159 | (ah_test_extremum, ah_get_orientation): Removed. |
michael@0 | 1160 | (ah_outline_load): Use FT_Outline_Get_Orientation. |
michael@0 | 1161 | |
michael@0 | 1162 | * src/base/ftsynth.c (ft_test_extrama, ft_get_orientation): Removed. |
michael@0 | 1163 | (FT_GlyphSlot_Embolden): Use FT_Outline_Get_Orientation. |
michael@0 | 1164 | |
michael@0 | 1165 | 2004-11-23 Fernando Papa <fpapa@netgate.com.uy> |
michael@0 | 1166 | |
michael@0 | 1167 | * src/truetype/ttinterp.h: Fix typo. |
michael@0 | 1168 | |
michael@0 | 1169 | 2004-11-22 Antoine Leca <Antoine-Freetype@Leca-Marti.org> |
michael@0 | 1170 | |
michael@0 | 1171 | * builds/win32/detect.mk: Corrected logic that detects Windows NT to |
michael@0 | 1172 | use the previous change even if win32 is forced. Corrected |
michael@0 | 1173 | detection of win32 on Win9X. |
michael@0 | 1174 | |
michael@0 | 1175 | * builds/dos/detect.mk: Added same correction as for win32 about |
michael@0 | 1176 | COPY on Windows NT. Detection of plain DOS 7.x. |
michael@0 | 1177 | |
michael@0 | 1178 | 2004-11-22 Werner Lemberg <wl@gnu.org> |
michael@0 | 1179 | |
michael@0 | 1180 | * builds/detect.mk: Undo change from 2004-11-20. |
michael@0 | 1181 | * builds/win32/detect.mk: If the `OS' environment variable contains |
michael@0 | 1182 | `Windows_NT', use `cmd.exe /c copy' for copying files. |
michael@0 | 1183 | |
michael@0 | 1184 | 2004-11-20 Werner Lemberg <wl@gnu.org> |
michael@0 | 1185 | |
michael@0 | 1186 | * builds/detect.mk (dos_setup): Use `cmd.exe' for copying |
michael@0 | 1187 | $(CONFIG_MK) to force lowercase file name under Windows. |
michael@0 | 1188 | |
michael@0 | 1189 | 2004-11-19 Werner Lemberg <wl@gnu.org> |
michael@0 | 1190 | |
michael@0 | 1191 | Fix a serious bug in the TT hinter. |
michael@0 | 1192 | |
michael@0 | 1193 | * src/truetype/ttgload.c (TT_Process_Simple_Glyph): Don't shift |
michael@0 | 1194 | points vertically before hinting. |
michael@0 | 1195 | |
michael@0 | 1196 | * docs/CHANGES: Updated. |
michael@0 | 1197 | |
michael@0 | 1198 | * src/cache/ftcglyph.c (FTC_GNode_UnselectFamily, |
michael@0 | 1199 | FTC_GCache_Lookup): A new try to fix comparison with zero. |
michael@0 | 1200 | |
michael@0 | 1201 | 2004-11-16 Werner Lemberg <wl@gnu.org> |
michael@0 | 1202 | |
michael@0 | 1203 | * builds/unix/configure.ac: Add `-fno-strict-aliasing' if gcc is |
michael@0 | 1204 | used. |
michael@0 | 1205 | * builds/unix/configure: Regenerated. |
michael@0 | 1206 | * builds/unix/config.guess, builds/unix/config.sub: Updated from |
michael@0 | 1207 | `config' CVS module at subversions.gnu.org. |
michael@0 | 1208 | |
michael@0 | 1209 | 2004-11-16 Dr. Martin P.J. Zinser <zinser@decus.de> |
michael@0 | 1210 | |
michael@0 | 1211 | * src/cache/ftcglyph.c (FTC_GNode_UnselectFamily, |
michael@0 | 1212 | FTC_GCache_Lookup): Fix comparison with zero. |
michael@0 | 1213 | |
michael@0 | 1214 | * docs/INSTALL.VMS: Updated. |
michael@0 | 1215 | |
michael@0 | 1216 | * vms_make.com: Updated. All `descrip.mms' files are now created |
michael@0 | 1217 | automatically. |
michael@0 | 1218 | |
michael@0 | 1219 | * src/*/descrip.mms: Removed. |
michael@0 | 1220 | |
michael@0 | 1221 | 2004-11-16 Owen Taylor <otaylor@redhat.com> |
michael@0 | 1222 | |
michael@0 | 1223 | * builds/unix/freetype-config.in: Suppress -L$libdir for |
michael@0 | 1224 | /usr/lib64 as well as /usr/lib. (Reported by Dan Winship - |
michael@0 | 1225 | https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=139199) |
michael@0 | 1226 | |
michael@0 | 1227 | 2004-11-11 Werner Lemberg <wl@gnu.org> |
michael@0 | 1228 | |
michael@0 | 1229 | * src/cff/cffdrivr.c (cff_service_ps_info): Updated. |
michael@0 | 1230 | * src/cid/cidriver.c (cid_service_ps_info): Updated. |
michael@0 | 1231 | * src/type42/t42drivr.c (t42_ps_get_font_private): New function. |
michael@0 | 1232 | (t42_service_ps_info): Updated. |
michael@0 | 1233 | |
michael@0 | 1234 | * src/type42/t42parse.c (t42_parse_dict): Remove compiler warning. |
michael@0 | 1235 | |
michael@0 | 1236 | 2004-11-11 David Bevan <dbevan@emtex.com> |
michael@0 | 1237 | |
michael@0 | 1238 | Add new function FT_Get_PS_Font_Private(). |
michael@0 | 1239 | |
michael@0 | 1240 | * include/freetype/internal/services/svpsinfo.h |
michael@0 | 1241 | (PS_GetFontPrivateFunc): New service function. |
michael@0 | 1242 | |
michael@0 | 1243 | * include/freetype/t1tables.h, src/base/fttype1.c |
michael@0 | 1244 | (FT_Get_PS_Font_Private): New function. |
michael@0 | 1245 | |
michael@0 | 1246 | * src/type1/t1driver.c (t1_ps_get_font_private): New function. |
michael@0 | 1247 | (t1_service_ps_info): Updated. |
michael@0 | 1248 | |
michael@0 | 1249 | 2004-10-13 Werner Lemberg <wl@gnu.org> |
michael@0 | 1250 | |
michael@0 | 1251 | * include/freetype/config/ftstdlib.h: Include `stddef.h'. |
michael@0 | 1252 | (ft_ptrdiff_t): Define. |
michael@0 | 1253 | |
michael@0 | 1254 | * include/freetype/fttypes.h (FT_PtrDist): Use `ft_ptrdiff_t'. |
michael@0 | 1255 | |
michael@0 | 1256 | * src/cid/cidload.c (cid_parse_dict), src/type1/t1load.c |
michael@0 | 1257 | (parse_dict): Fix compiler warning. |
michael@0 | 1258 | |
michael@0 | 1259 | 2004-10-11 Joshua Neal <jneal@csdaily.com> |
michael@0 | 1260 | |
michael@0 | 1261 | * src/sfnt/ttcmap.c (tt_face_build_cmaps): Check for pointer |
michael@0 | 1262 | overflow. |
michael@0 | 1263 | |
michael@0 | 1264 | * src/sfnt/ttload.c (tt_face_load_hdmx): Protect against bad input. |
michael@0 | 1265 | Don't use FT_QNEW_ARRAY but FT_NEW_ARRAY to make deallocation work |
michael@0 | 1266 | in case of failure. |
michael@0 | 1267 | |
michael@0 | 1268 | * src/sfnt/ttsbit.c (Load_SBit_Range): Check range intervals. |
michael@0 | 1269 | (tt_face_load_sbit_strikes): Allocate `strike_sbit_ranges' after |
michael@0 | 1270 | frame test. |
michael@0 | 1271 | |
michael@0 | 1272 | * src/truetype/ttgload.c (TTLoad_Simple_Glyph): Add assertion for |
michael@0 | 1273 | `flag'. |
michael@0 | 1274 | |
michael@0 | 1275 | 2004-10-09 Werner Lemberg <wl@gnu.org> |
michael@0 | 1276 | |
michael@0 | 1277 | * docs/CHANGES: Updated. |
michael@0 | 1278 | |
michael@0 | 1279 | 2004-10-09 Boris Letocha <b.letocha@cz.gmc.net> |
michael@0 | 1280 | |
michael@0 | 1281 | Fix handling of NPUSHW if skipped in data stream. |
michael@0 | 1282 | |
michael@0 | 1283 | * src/truetype/ttinterp.c (opcode_length): Set value for NPUSHW |
michael@0 | 1284 | to -2. |
michael@0 | 1285 | (SkipCode, TT_RunIns): Use opcode_length value for computation of |
michael@0 | 1286 | bytes to be skipped. |
michael@0 | 1287 | |
michael@0 | 1288 | 2004-09-10 Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
michael@0 | 1289 | |
michael@0 | 1290 | * vms_make.com: Updated. |
michael@0 | 1291 | |
michael@0 | 1292 | 2004-09-09 Werner Lemberg <wl@gnu.org> |
michael@0 | 1293 | |
michael@0 | 1294 | Adding OpenType validation module. The code is based on the |
michael@0 | 1295 | (unfinished) `otlayout' module but has been heavily modified to make |
michael@0 | 1296 | it much more compact. |
michael@0 | 1297 | |
michael@0 | 1298 | * src/otvalid/*: New module. |
michael@0 | 1299 | |
michael@0 | 1300 | * include/freetype/ftotval.h, src/base/ftotval.c, |
michael@0 | 1301 | include/freetype/internal/services/svotval.h: New files. |
michael@0 | 1302 | |
michael@0 | 1303 | * include/freetype/config/ftmodule.h: Add otv_module_class. |
michael@0 | 1304 | * include/freetype/config/ftheader.h (FT_OPENTYPE_VALIDATE_H): New |
michael@0 | 1305 | macro. |
michael@0 | 1306 | * include/freetype/internal/ftserv.h |
michael@0 | 1307 | (FT_SERVICE_OPENTYPE_VALIDATE_H): New macro. |
michael@0 | 1308 | * include/freetype/internal/fttrace.h (otvmodule, otvcommon, |
michael@0 | 1309 | otvbase, otvgdef, otvgpos, otvgsub, otvjstf): New trace components. |
michael@0 | 1310 | |
michael@0 | 1311 | * include/freetype/ftchapters.h: Updated. |
michael@0 | 1312 | |
michael@0 | 1313 | * src/base/Jamfile (Library), src/base/descrip.mms (OBJS), |
michael@0 | 1314 | src/base/rules.mk (BASE_EXT_SRC): Updated. |
michael@0 | 1315 | |
michael@0 | 1316 | * docs/CHANGES: Updated. |
michael@0 | 1317 | |
michael@0 | 1318 | 2004-09-08 Werner Lemberg <wl@gnu.org> |
michael@0 | 1319 | |
michael@0 | 1320 | * src/tools/docmaker/sources.py (re_source_block_format2) <column>: |
michael@0 | 1321 | Use lookahead assertion to not match `*/'. This removes spurious |
michael@0 | 1322 | insertions of `/' in the HTML output. |
michael@0 | 1323 | |
michael@0 | 1324 | 2004-09-07 Werner Lemberg <wl@gnu.org> |
michael@0 | 1325 | |
michael@0 | 1326 | * src/truetype/ttgxvar.c (TT_Vary_Get_Glyph_Deltas): Fix call to |
michael@0 | 1327 | FT_NEW_ARRAY. |
michael@0 | 1328 | |
michael@0 | 1329 | 2004-09-04 Werner Lemberg <wl@gnu.org> |
michael@0 | 1330 | |
michael@0 | 1331 | * include/freetype/internal/ftobjs.h: Don't include |
michael@0 | 1332 | FT_CONFIG_STANDARD_LIBRARY_H. |
michael@0 | 1333 | (FT_Validator, FT_ValidationLevel, FT_ValidatorRec, FT_VALIDATOR, |
michael@0 | 1334 | ft_validator_init, ft_validator_run, ft_validator_error, FT_INVALID, |
michael@0 | 1335 | FT_INVALID_TOO_SHORT, FT_INVALID_OFFSET, FT_INVALID_FORMAT, |
michael@0 | 1336 | FT_INVALID_GLYPH_ID, FT_INVALID_DATA): Move to... |
michael@0 | 1337 | |
michael@0 | 1338 | * include/freetype/internal/ftvalid.h: New file. |
michael@0 | 1339 | Make FT_INVALID return module-specific error codes. |
michael@0 | 1340 | |
michael@0 | 1341 | * include/freetype/internal/internal.h (FT_INTERNAL_VALIDATE_H): New |
michael@0 | 1342 | macro. |
michael@0 | 1343 | |
michael@0 | 1344 | * include/freetype/fterrors.h: Undefine FT_ERR_PREFIX only if |
michael@0 | 1345 | FT_KEEP_ERR_PREFIX isn't defined. |
michael@0 | 1346 | |
michael@0 | 1347 | * src/base/ftobjs.c: Include FT_INTERNAL_VALIDATE_H. |
michael@0 | 1348 | |
michael@0 | 1349 | * src/sfnt/ttcmap.h: Don't include FT_INTERNAL_OBJECTS_H but |
michael@0 | 1350 | FT_INTERNAL_VALIDATE_H. |
michael@0 | 1351 | |
michael@0 | 1352 | * src/sfnt/ttcmap.c: Don't include FT_INTERNAL_OBJECTS_H but |
michael@0 | 1353 | FT_INTERNAL_VALIDATE_H. |
michael@0 | 1354 | Include sferrors.h before FT_INTERNAL_VALIDATE_H. |
michael@0 | 1355 | s/FT_Err_Ok/SFNT_Err_Ok/. |
michael@0 | 1356 | |
michael@0 | 1357 | * src/sfnt/sferrors.h: Define FT_KEEP_ERR_PREFIX. |
michael@0 | 1358 | |
michael@0 | 1359 | * src/type1/t1afm.c: Include t1errors.h. |
michael@0 | 1360 | |
michael@0 | 1361 | 2004-09-03 Werner Lemberg <wl@gnu.org> |
michael@0 | 1362 | |
michael@0 | 1363 | * src/base/ftdebug.c (ft_debug_init): Highest debug level is 7, |
michael@0 | 1364 | not 6. |
michael@0 | 1365 | * docs/DEBUG: Updated. |
michael@0 | 1366 | |
michael@0 | 1367 | 2004-08-30 Werner Lemberg <wl@gnu.org> |
michael@0 | 1368 | |
michael@0 | 1369 | * include/freetype/tttags.h (TTAG_BASE, TTAG_GDEF, TTAG_GPOS, |
michael@0 | 1370 | TTAG_JSTF): New tags. |
michael@0 | 1371 | |
michael@0 | 1372 | * include/freetype/fttypes.h (FT_Bytes, FT_Tag): New typedefs. |
michael@0 | 1373 | (FT_Int): Add `signed'. |
michael@0 | 1374 | |
michael@0 | 1375 | 2004-08-29 Werner Lemberg <wl@gnu.org> |
michael@0 | 1376 | |
michael@0 | 1377 | * src/otlayout/otlgpos.c (otl_gpos_subtable_validate): Add argument |
michael@0 | 1378 | to pass number of lookups. |
michael@0 | 1379 | Update all callers. |
michael@0 | 1380 | Don't call otl_lookup_list_validate but otl_lookup_validate. |
michael@0 | 1381 | (otl_gpos_validate): Call otl_lookup_list_validate instead of |
michael@0 | 1382 | otl_gpos_subtable_validate. |
michael@0 | 1383 | |
michael@0 | 1384 | * src/otlayout/otlgpos.h: Updated. |
michael@0 | 1385 | |
michael@0 | 1386 | * src/otlayout/otljstf.c (otl_jstf_max_validate): Add argument to |
michael@0 | 1387 | pass number of lookups. |
michael@0 | 1388 | Update all callers. |
michael@0 | 1389 | |
michael@0 | 1390 | |
michael@0 | 1391 | * src/cff/cffparse.c (cff_parse_real): s/exp/exponent/ to avoid |
michael@0 | 1392 | compiler warning. |
michael@0 | 1393 | |
michael@0 | 1394 | |
michael@0 | 1395 | * src/sfnt/ttcmap0.c, src/sfnt/ttcmap0.h: Renamed to... |
michael@0 | 1396 | * src/sfnt/ttcmap.c, src/sfnt/ttcmap.h: This. |
michael@0 | 1397 | * src/sfnt/Jamfile, src/sfnt/rules.mk, src/sfnt/sfdriver.c, |
michael@0 | 1398 | src/sfnt/sfnt.c, src/sfnt/sfobjs.c: Updated. |
michael@0 | 1399 | |
michael@0 | 1400 | |
michael@0 | 1401 | * builds/compiler/gcc-dev.mk (CFLAGS): Don't add `-Wnested-externs' |
michael@0 | 1402 | if compiler is g++ (v3.3.3 emits a warning otherwise). |
michael@0 | 1403 | |
michael@0 | 1404 | 2004-08-28 Werner Lemberg <wl@gnu.org> |
michael@0 | 1405 | |
michael@0 | 1406 | * src/otlayout/otlgpos.c (otl_value_length): Return number of bytes, |
michael@0 | 1407 | not number of 16bit entities. |
michael@0 | 1408 | (otl_gpos_lookup2_validate): Check class definition tables for |
michael@0 | 1409 | format 2. |
michael@0 | 1410 | Fix loop for format 2. |
michael@0 | 1411 | (otl_liga_mark2_validate): Fix offset for otl_anchor_validate. |
michael@0 | 1412 | |
michael@0 | 1413 | 2004-08-27 Werner Lemberg <wl@gnu.org> |
michael@0 | 1414 | |
michael@0 | 1415 | * src/base/ftmac.c: Don't include truetype/ttobjs.h. |
michael@0 | 1416 | Don't include type1/t1objs.h. |
michael@0 | 1417 | (FT_New_Face_From_FSSpec) [!__MWERKS__]: Remove compiler warnings. |
michael@0 | 1418 | |
michael@0 | 1419 | 2004-08-27 Mathieu Malaterre <mathieu@malaterre.com> |
michael@0 | 1420 | |
michael@0 | 1421 | * src/base/ftmac.c: Handle OS_INLINE for xlc compiler also. |
michael@0 | 1422 | |
michael@0 | 1423 | 2004-08-27 Werner Lemberg <wl@gnu.org> |
michael@0 | 1424 | |
michael@0 | 1425 | * src/otlayout/otlayout.h: Add copyright. |
michael@0 | 1426 | (OTL_INVALID_OFFSET): Removed. |
michael@0 | 1427 | |
michael@0 | 1428 | * src/otlayout/otlgdef.h: Include otlayout.h. |
michael@0 | 1429 | Comment out inclusion of otltable.h. |
michael@0 | 1430 | |
michael@0 | 1431 | * src/otlayout/otlgpos.c (otl_gpos_lookup4_validate): Fix call |
michael@0 | 1432 | to otl_base_array_validate. |
michael@0 | 1433 | (otl_liga_mark2_validate): Fix `for' loop. |
michael@0 | 1434 | |
michael@0 | 1435 | * src/otlayout/otlgsub.c (otl_ligature_validate): Check `glyph_id', |
michael@0 | 1436 | not components array. |
michael@0 | 1437 | |
michael@0 | 1438 | * src/otlcommn.c (otl_lookup_get_count, otl_feature_get_count): |
michael@0 | 1439 | Comment out. |
michael@0 | 1440 | (otl_lookup_list_get_count, otl_feature_list_get_count): Activate. |
michael@0 | 1441 | (otl_feature_list_validate, otl_gsubgpos_get_lookup_count): |
michael@0 | 1442 | s/otl_lookup_get_count/otl_lookup_list_get_count/. |
michael@0 | 1443 | (otl_script_list_validate): |
michael@0 | 1444 | s/otl_feature_get_count/otl_feature_list_get_count/. |
michael@0 | 1445 | (otl_script_validate): Call otl_lang_validate for default language. |
michael@0 | 1446 | |
michael@0 | 1447 | * src/otlayout/otlcommn.h: Updated. |
michael@0 | 1448 | |
michael@0 | 1449 | 2004-08-16 Werner Lemberg <wl@gnu.org> |
michael@0 | 1450 | |
michael@0 | 1451 | * src/otlayout/otlgpos.c (otl_gpos_lookup1_validate, |
michael@0 | 1452 | otl_gpos_lookup2_validate, otl_gpos_lookup3_validate, |
michael@0 | 1453 | otl_gpos_lookup4_validate, otl_gpos_lookup5_validate, |
michael@0 | 1454 | otl_gpos_lookup6_validate, otl_gpos_lookup9_validate, |
michael@0 | 1455 | otl_gpos_validate): Update |
michael@0 | 1456 | function arguments. |
michael@0 | 1457 | (otl_gpos_lookup7_validate, otl_gpos_lookup8_validate): Update |
michael@0 | 1458 | function arguments. |
michael@0 | 1459 | Handle NULL offsets correctly. |
michael@0 | 1460 | Check sequence and lookup indices for format 3. |
michael@0 | 1461 | (otl_pos_rule_validate, otl_chain_pos_rule_validate): Add argument |
michael@0 | 1462 | to pass lookup count. |
michael@0 | 1463 | Check sequence and glyph indices. |
michael@0 | 1464 | (otl_gpos_subtable_validate): Update function arguments. |
michael@0 | 1465 | Update callers. |
michael@0 | 1466 | |
michael@0 | 1467 | * src/otlayout/otlgpos.h: Updated. |
michael@0 | 1468 | |
michael@0 | 1469 | * src/otlayout/otlgsub.c (otl_gsub_lookup1_validate, |
michael@0 | 1470 | otl_gsub_lookup3_validate, otl_gsub_lookup8_validate): Update |
michael@0 | 1471 | function arguments. |
michael@0 | 1472 | Add glyph index checks. |
michael@0 | 1473 | (otl_sequence_validate, otl_alternate_set_validate, |
michael@0 | 1474 | otl_ligature_validate): Add argument to pass glyph count. |
michael@0 | 1475 | Update callers. |
michael@0 | 1476 | Add glyph index check. |
michael@0 | 1477 | (otl_gsub_lookup2_validate, otl_gsub_lookup4_validate): Update |
michael@0 | 1478 | function arguments. |
michael@0 | 1479 | (otl_ligature_set_validate): Add argument to pass glyph count. |
michael@0 | 1480 | Update caller. |
michael@0 | 1481 | (otl_sub_class_rule_validate, |
michael@0 | 1482 | otl_sub_class_rule_set_validate): Removed. |
michael@0 | 1483 | (otl_sub_rule_validate, otl_chain_sub_rule_validate): Add argument |
michael@0 | 1484 | to pass lookup count. |
michael@0 | 1485 | Update callers. |
michael@0 | 1486 | Add lookup index check. |
michael@0 | 1487 | (otl_sub_rule_set_validate, otl_chain_sub_rule_set_validate): Add |
michael@0 | 1488 | argument to pass lookup count. |
michael@0 | 1489 | Update callers. |
michael@0 | 1490 | (otl_gsub_lookup5_validate): Update function arguments. |
michael@0 | 1491 | Handle NULL offsets correctly. |
michael@0 | 1492 | Don't call otl_sub_class_rule_set_validate but |
michael@0 | 1493 | otl_sub_rule_set_validate. |
michael@0 | 1494 | Check sequence and lookup indices for format 3. |
michael@0 | 1495 | (otl_gsub_lookup6_validate): Update function arguments. |
michael@0 | 1496 | Handle NULL offsets correctly. |
michael@0 | 1497 | Check sequence and lookup indices for format 3. |
michael@0 | 1498 | (otl_gsub_lookup7_validate, otl_gsub_validate): Update function |
michael@0 | 1499 | arguments. |
michael@0 | 1500 | |
michael@0 | 1501 | * src/otlayout/otlgsub.h: Updated. |
michael@0 | 1502 | |
michael@0 | 1503 | * src/otlayout/otlbase.c (otl_base_validate): Handle NULL offsets |
michael@0 | 1504 | correctly. |
michael@0 | 1505 | |
michael@0 | 1506 | * src/otlayout/otlcommn.c (otl_class_definition_validate): Fix |
michael@0 | 1507 | compiler warning. |
michael@0 | 1508 | (otl_coverage_get_first, otl_coverage_get_last): New functions. |
michael@0 | 1509 | (otl_lookup_validate): Add arguments to pass lookup and glyph |
michael@0 | 1510 | counts. |
michael@0 | 1511 | Update callers. |
michael@0 | 1512 | (otl_lookup_list_validate): Add argument to pass glyph count. |
michael@0 | 1513 | Update callers. |
michael@0 | 1514 | |
michael@0 | 1515 | * src/otlayout/otlcommn.h: Updated. |
michael@0 | 1516 | |
michael@0 | 1517 | * src/otlayout/otljstf.c (otl_jstf_extender_validate, |
michael@0 | 1518 | otl_jstf_max_validate, otl_jstf_script_validate, |
michael@0 | 1519 | otl_jstf_priority_validate, otl_jstf_lang_validate): Add parameter |
michael@0 | 1520 | to validate glyph indices. |
michael@0 | 1521 | Update callers. |
michael@0 | 1522 | (otl_jstf_validate): Add parameter which specifies number of glyphs |
michael@0 | 1523 | in font. |
michael@0 | 1524 | |
michael@0 | 1525 | * src/otlayout/otljstf.h: Updated. |
michael@0 | 1526 | |
michael@0 | 1527 | 2004-08-15 Werner Lemberg <wl@gnu.org> |
michael@0 | 1528 | |
michael@0 | 1529 | * src/otlayout/otlgpos.c (otl_liga_mark2_validate): Add parameter |
michael@0 | 1530 | to handle possible NULL values properly. |
michael@0 | 1531 | Update all callers. |
michael@0 | 1532 | |
michael@0 | 1533 | 2004-08-15 Werner Lemberg <wl@gnu.org> |
michael@0 | 1534 | |
michael@0 | 1535 | * src/otlayout/gpos.c: Rename counting variables to be more |
michael@0 | 1536 | meaningful. |
michael@0 | 1537 | Add copyright. |
michael@0 | 1538 | (otl_liga_attach_validate): Renamed to... |
michael@0 | 1539 | (otl_liga_mark2_validate): This. |
michael@0 | 1540 | Update all callers. |
michael@0 | 1541 | (otl_mark2_array_validate): Removed. |
michael@0 | 1542 | (otl_gpos_lookup6_validate): Call otl_liga_mark2_validate, not |
michael@0 | 1543 | otl_mark2_array_validate. |
michael@0 | 1544 | (otl_pos_class_set_validate, otl_pos_class_rule_validate): Removed. |
michael@0 | 1545 | (otl_gpos_lookup7_validate): Complete code for format 2. |
michael@0 | 1546 | (otl_chain_pos_class_rule_validate, |
michael@0 | 1547 | otl_chain_pos_class_set_validate): Removed. |
michael@0 | 1548 | (otl_gpos_lookup8_validate): Don't call |
michael@0 | 1549 | otl_chain_pos_class_set_validate but |
michael@0 | 1550 | otl_chain_pos_rule_set_validate. |
michael@0 | 1551 | Simplify some code. |
michael@0 | 1552 | |
michael@0 | 1553 | * src/otlayout/otlgpos.h: Add copyright. |
michael@0 | 1554 | |
michael@0 | 1555 | 2004-08-14 Werner Lemberg <wl@gnu.org> |
michael@0 | 1556 | |
michael@0 | 1557 | * src/otlayout/otljstf.c (otl_jstf_gsub_mods_validate): Removed. |
michael@0 | 1558 | (otl_jstf_gpos_mods_validate): Renamed to... |
michael@0 | 1559 | (otl_jstf_gsubgpos_mods_validate): This. |
michael@0 | 1560 | Test whether lookup_count is zero. |
michael@0 | 1561 | (otl_jstf_priority_validate): Use otl_jstf_gsubgpos_mods_validate. |
michael@0 | 1562 | (otl_jstf_validate): Initialize gsub_lookup_count and |
michael@0 | 1563 | gpos_lookup_count if gsub or gpos is zero. |
michael@0 | 1564 | |
michael@0 | 1565 | * src/otlayout/otlgsub.c: Rename counting variables to be more |
michael@0 | 1566 | meaningful. |
michael@0 | 1567 | Add copyright. |
michael@0 | 1568 | (otl_gsub_lookup1_validate): Simplify code. |
michael@0 | 1569 | (otl_gsub_lookup2_validate, otl_gsub_lookup3_validate, |
michael@0 | 1570 | otl_gsub_lookup4_validate, otl_gsub_lookup7_validate): Remove unused |
michael@0 | 1571 | variables. |
michael@0 | 1572 | (otl_gsub_lookup5_validate): Remove unused variable. |
michael@0 | 1573 | Fix call to otl_sub_rule_set_validate and |
michael@0 | 1574 | otl_sub_class_rule_set_validate. |
michael@0 | 1575 | (otl_chain_sub_class_rule_validate, |
michael@0 | 1576 | otl_chain_sub_class_set_validate): Removed. |
michael@0 | 1577 | (otl_gsub_lookup6_validate): Remove unused variable. |
michael@0 | 1578 | Fix call to otl_chain_sub_rule_set_validate. |
michael@0 | 1579 | (otl_gsub_lookup7_validate): Handle lookup type 8 also. |
michael@0 | 1580 | (otl_gsub_lookup8_validate: New function. |
michael@0 | 1581 | (otl_gsub_lookup1_apply, otl_gsub_lookup2_apply, |
michael@0 | 1582 | otl_gsub_lookup3_apply): Commented out. |
michael@0 | 1583 | (otl_gsub_validate_funcs): Add otl_gsub_lookup7_validate and |
michael@0 | 1584 | otl_gsub_lookup8_validate. |
michael@0 | 1585 | (otl_gsub_validate): Updated. |
michael@0 | 1586 | |
michael@0 | 1587 | * src/otlayout/otlgsub.h: Add copyright. |
michael@0 | 1588 | |
michael@0 | 1589 | * src/otlayout/otlcommn.c, src/otlayout/otlcommn.h |
michael@0 | 1590 | (otl_coverage_get_index): Comment out. |
michael@0 | 1591 | |
michael@0 | 1592 | 2004-08-13 Werner Lemberg <wl@gnu.org> |
michael@0 | 1593 | |
michael@0 | 1594 | * src/otlayout/otlcommn.c (otl_gsubgpos_get_lookup_count): New |
michael@0 | 1595 | function. |
michael@0 | 1596 | * src/otlayout/otlcommn.h: Updated. |
michael@0 | 1597 | |
michael@0 | 1598 | * src/otlayout/otlbase.c: Rename counting variables to be more |
michael@0 | 1599 | meaningful. |
michael@0 | 1600 | Add copyright message. |
michael@0 | 1601 | * src/otlayout/otlbase.h: Add copyright message. |
michael@0 | 1602 | |
michael@0 | 1603 | * src/otlayout/otlgdef.c: Rename counting variables to be more |
michael@0 | 1604 | meaningful. |
michael@0 | 1605 | Add copyright message. |
michael@0 | 1606 | Use OTL_CHECK everywhere. |
michael@0 | 1607 | (otl_caret_value_validate): Remove unused variable. |
michael@0 | 1608 | (otl_gdef_validate): All tables are optional. |
michael@0 | 1609 | * src/otlayout/otlgdef.h: Add copyright message. |
michael@0 | 1610 | |
michael@0 | 1611 | * src/otlayout/otljstf.c: Rename counting variables to be more |
michael@0 | 1612 | meaningful. |
michael@0 | 1613 | Add copyright message. |
michael@0 | 1614 | (otl_jstf_gsub_mods_validate, otl_jstf_gpos_mods_validate): Add |
michael@0 | 1615 | parameter to pass lookup count. |
michael@0 | 1616 | Update all callers. |
michael@0 | 1617 | Check lookup array. |
michael@0 | 1618 | (otl_jstf_max_validate): |
michael@0 | 1619 | s/otl_gpos_subtable_check/otl_gpos_subtable_validate/. |
michael@0 | 1620 | (otl_jstf_priority_validate, otl_jstf_lang_validate, |
michael@0 | 1621 | otl_jstf_script_validate): Add two parameters to pass lookup counts. |
michael@0 | 1622 | Update all callers. |
michael@0 | 1623 | (otl_jstf_validate): Add two parameters to pass GPOS and GSUB |
michael@0 | 1624 | table offsets; use otl_gsubgpos_get_lookup_count to convert extract |
michael@0 | 1625 | lookup counts. |
michael@0 | 1626 | Fix typo. |
michael@0 | 1627 | * src/otlayout/otljstf.h: Updated. |
michael@0 | 1628 | Add copyright message. |
michael@0 | 1629 | |
michael@0 | 1630 | * src/otlayout/otlgpos.c (otl_gpos_subtable_validate): New function. |
michael@0 | 1631 | (otl_gpos_validate): Use it. |
michael@0 | 1632 | * src/otlayout/otlgpos.h: Updated. |
michael@0 | 1633 | |
michael@0 | 1634 | 2004-08-13 Werner Lemberg <wl@gnu.org> |
michael@0 | 1635 | |
michael@0 | 1636 | * src/otlayout/otcommn.c: Use OTL_CHECK everywhere. |
michael@0 | 1637 | (otl_coverage_validate): Initialize `p', |
michael@0 | 1638 | s/count/num_glyphs/. |
michael@0 | 1639 | s/start_cover/start_coverage/. |
michael@0 | 1640 | (otl_coverage_get_index): Return OTL_Long, not OTL_Int. |
michael@0 | 1641 | Remove unused variables. |
michael@0 | 1642 | (otl_class_definition_validate): s/count/num_glyphs/. |
michael@0 | 1643 | Remove unused variables. |
michael@0 | 1644 | (otl_class_definition_get_value, otl_device_table_get_start, |
michael@0 | 1645 | otl_device_table_get_end, otl_device_table_get_delta, |
michael@0 | 1646 | otl_lookup_get_table, otl_lookup_list_get_count, |
michael@0 | 1647 | otl_lookup_list_get_lookup, otl_lookup_list_get_table, |
michael@0 | 1648 | otl_feature_get_lookups, otl_feature_list_get_count, |
michael@0 | 1649 | otl_feature_list_get_feature, otl_lang_get_count, |
michael@0 | 1650 | otl_lang_get_req_feature, otl_lang_get_features): Commented out |
michael@0 | 1651 | temporarily until we really need it. |
michael@0 | 1652 | (otl_lookup_validate): Removed. |
michael@0 | 1653 | (otl_lookup_table_validate): Renamed to ... |
michael@0 | 1654 | (otl_lookup_validate): This. Update callers. |
michael@0 | 1655 | (otl_lookup_list_validate): Remove already commented out definition |
michael@0 | 1656 | and move the other definition up. |
michael@0 | 1657 | (otl_feature_validate): Add parameter to pass number of lookups. |
michael@0 | 1658 | Update callers. |
michael@0 | 1659 | Check lookup indices. |
michael@0 | 1660 | (otl_feature_list_validate): Add parameter to pass lookup table. |
michael@0 | 1661 | Update callers. |
michael@0 | 1662 | (otl_lang_validate): Add parameter to pass number of features. |
michael@0 | 1663 | Update callers. |
michael@0 | 1664 | Handle req_feature and check feature indices. |
michael@0 | 1665 | (otl_script_validate): Add parameter to pass number of features. |
michael@0 | 1666 | Update callers. |
michael@0 | 1667 | (otl_script_list_validate): Add parameter to pass feature table. |
michael@0 | 1668 | Update callers. |
michael@0 | 1669 | |
michael@0 | 1670 | * src/otlayout/otcommn.h: s/LOCALDEF/LOCAL/. |
michael@0 | 1671 | Comment out the same functions as in otcommn.c. |
michael@0 | 1672 | (otl_script_list_get_script): Removed. |
michael@0 | 1673 | |
michael@0 | 1674 | * src/otlayout/otlgsub.c (otl_gsub_lookup1_apply): Change `index' to |
michael@0 | 1675 | type OTL_Long. |
michael@0 | 1676 | (otl_gsub_lookup2_apply, otl_gsub_lookup3_apply): Change `index' to |
michael@0 | 1677 | type OTL_Long. |
michael@0 | 1678 | Fix test. |
michael@0 | 1679 | (otl_gsub_validate): Fix order of validation. |
michael@0 | 1680 | |
michael@0 | 1681 | * src/otlayout/otlgpos.c (otl_gpos_validate): Fix order of |
michael@0 | 1682 | validation. |
michael@0 | 1683 | |
michael@0 | 1684 | 2004-08-12 Werner Lemberg <wl@gnu.org> |
michael@0 | 1685 | |
michael@0 | 1686 | Make otlayout module compile (without actually working). |
michael@0 | 1687 | |
michael@0 | 1688 | * src/otlayout/*: s/OTL_Valid/OTL_Validator/. |
michael@0 | 1689 | s/NULL/0/. |
michael@0 | 1690 | |
michael@0 | 1691 | * src/otlayout/otlayout.h: Fix various typos. |
michael@0 | 1692 | (OTL_Bool): New typedef. |
michael@0 | 1693 | (OTL_Int, OTL_Long, OTL_Int16, OTL_Int32): Use `signed' keyword. |
michael@0 | 1694 | (OTL_Err_InvalidArgument): Removed. |
michael@0 | 1695 | (OTL_Err_InvalidData, OTL_Err_InvalidSize): New enum values. |
michael@0 | 1696 | (OTL_MAKE_TAG): Add missing parenthesis. |
michael@0 | 1697 | (OTL_INVALID_DATA): Use OTL_Err_InvalidData. |
michael@0 | 1698 | (OTL_INVALID_TOO_SHORT): Use OTL_Err_InvalidSize. |
michael@0 | 1699 | (OTL_INVALID_FORMAT, OTL_INVALID_OFFSET): New macros. |
michael@0 | 1700 | |
michael@0 | 1701 | * src/otlayout/otlgpos.c: s/FT_/OTL_/. |
michael@0 | 1702 | s/OTL_Short/OTL_Int16/. |
michael@0 | 1703 | (otl_gpos_pairset_validate): Add return type. |
michael@0 | 1704 | (otl_base_array_validate): Fix call to otl_anchor_validate. |
michael@0 | 1705 | (otl_liga_array_validate): Fix call to otl_liga_attach_validate. |
michael@0 | 1706 | (otl_gpos_lookup5_validate): Fix typos. |
michael@0 | 1707 | (otl_gpos_lookup6_validate): Fix call to otl_mark2_array_validate. |
michael@0 | 1708 | (otl_gpos_lookup7_validate): Comment out unfinished code. |
michael@0 | 1709 | Fix typos. |
michael@0 | 1710 | |
michael@0 | 1711 | * src/otlayout/otlgsub.c: Add forward declaration for |
michael@0 | 1712 | otl_gsub_validate_funcs. |
michael@0 | 1713 | (otl_gsub_lookup1_apply, otl_gsub_lookup2_apply, |
michael@0 | 1714 | otl_gsub_lookup3_apply): Fix call to otl_parser_check_property. |
michael@0 | 1715 | s/otl_coverage_lookup/otl_coverage_get_index/. |
michael@0 | 1716 | (otl_ligature_validate): Add missing variable declaration. |
michael@0 | 1717 | (otl_sub_rule_validate): Fix typo. |
michael@0 | 1718 | (otl_sub_class_rule_validate): Add missing variable declaration. |
michael@0 | 1719 | Fix typo. |
michael@0 | 1720 | (otl_gsub_lookup5_validate): Fix typo. |
michael@0 | 1721 | (otl_gsub_lookup6_validate): Fix call to |
michael@0 | 1722 | otl_chain_sub_class_set_validate. |
michael@0 | 1723 | (otl_gsub_validate_funcs): Don't use `const'. |
michael@0 | 1724 | |
michael@0 | 1725 | * src/otlayout/otlcommn.c (otl_class_definition_get_value, |
michael@0 | 1726 | otl_device_table_validate, otl_device_table_get_delta, |
michael@0 | 1727 | otl_lookup_validate, otl_script_validate): Add missing |
michael@0 | 1728 | variable declarations. |
michael@0 | 1729 | (otl_lookup_list_validate): Comment out first definition. |
michael@0 | 1730 | (otl_lookup_list_foreach, otl_feature_list_foreach): Comment out. |
michael@0 | 1731 | (otl_feature_list_validate): |
michael@0 | 1732 | s/otl_feature_table_validate/otl_feature_validate/. |
michael@0 | 1733 | (otl_script_list_validate): |
michael@0 | 1734 | s/otl_script_table_validate/otl_script_validate/. |
michael@0 | 1735 | |
michael@0 | 1736 | * src/otlayout/otlcommn.h: Comment out first declaration. |
michael@0 | 1737 | (otl_lookup_list_foreach, otl_feature_list_foreach): Comment out. |
michael@0 | 1738 | |
michael@0 | 1739 | * src/otlayout/otlbase.c (otl_base_coord_validate): Fix call to |
michael@0 | 1740 | otl_device_table_validate. |
michael@0 | 1741 | (otl_base_script_validate): Add missing variable declarations. |
michael@0 | 1742 | (otl_base_script_list_validate): Fix call to |
michael@0 | 1743 | otl_base_script_validate. |
michael@0 | 1744 | (otl_axis_table_validate): Fix calls to otl_base_tag_list_validate |
michael@0 | 1745 | and otl_base_script_list_validate. |
michael@0 | 1746 | (otl_base_validate): Fix calls to otl_axis_table_validate. |
michael@0 | 1747 | |
michael@0 | 1748 | * src/otlayout/otlgdef.c (otl_attach_list_validate): Fix call to |
michael@0 | 1749 | otl_attach_point_validate. |
michael@0 | 1750 | (otl_caret_value_validate): Add missing variable declaration. |
michael@0 | 1751 | Fix call to otl_device_table_validate. |
michael@0 | 1752 | (otl_ligature_glyph_validate): Fix call to otl_caret_value_validate. |
michael@0 | 1753 | (otl_ligature_caret_list_validate): Fix call to |
michael@0 | 1754 | otl_ligature_glyph_validate. |
michael@0 | 1755 | (otl_gdef_validate): Fix calls to otl_class_definition_validate, |
michael@0 | 1756 | otl_attach_list_validate, otl_ligature_caret_list_validate, and |
michael@0 | 1757 | otl_class_definition_validate. |
michael@0 | 1758 | |
michael@0 | 1759 | * src/otlayout/otltable.h (otl_table_validate, otl_table_init, |
michael@0 | 1760 | otl_table_set_script): Comment out. |
michael@0 | 1761 | |
michael@0 | 1762 | * src/otlayout/otlparse.h (OTL_ParserRec): |
michael@0 | 1763 | s/OTL_Alternate/OTL_GSUB_Alternate/. |
michael@0 | 1764 | (OTL_ParseError): Add OTL_Err_Parser_Memory and |
michael@0 | 1765 | OTL_Err_Parser_Internal. |
michael@0 | 1766 | (otl_parser_error): Fix typo. |
michael@0 | 1767 | (otl_parser_check_property): Remove third argument. |
michael@0 | 1768 | |
michael@0 | 1769 | * src/otlayout/otlparse.c (otl_string_ensure): |
michael@0 | 1770 | s/OTL_Parse_Err_Memory/OTL_Err_Parser_Memory/. |
michael@0 | 1771 | (OTL_STRING_ENSURE, otl_parser_error, otl_parser_get_index, |
michael@0 | 1772 | otl_parser_replace_1, otl_parser_replace_n): Fix typos. |
michael@0 | 1773 | (OTL_PARSER_UNCOVERED): Removed. |
michael@0 | 1774 | (otl_parser_check_property): Remove third argument. |
michael@0 | 1775 | |
michael@0 | 1776 | * src/otlayout/otljstf.c (otl_jstf_priority_validate): Add missing |
michael@0 | 1777 | variable declaration. |
michael@0 | 1778 | |
michael@0 | 1779 | * src/otlayout/otlutils.h (OTL_MEM_REALLOC): Fix typo. |
michael@0 | 1780 | |
michael@0 | 1781 | 2004-08-11 Danny <dannyboynow@yahoo.com> |
michael@0 | 1782 | |
michael@0 | 1783 | * src/base/ftstream.c (FT_Stream_Close): Don't reset stream->close |
michael@0 | 1784 | to NULL. This allows custom close functions to delete the FT_STREAM |
michael@0 | 1785 | object. |
michael@0 | 1786 | |
michael@0 | 1787 | 2004-08-11 Werner Lemberg <wl@gnu.org> |
michael@0 | 1788 | |
michael@0 | 1789 | Add API to get information about SFNT tables. |
michael@0 | 1790 | |
michael@0 | 1791 | * include/freetype/internal/services/svsfnt.h |
michael@0 | 1792 | (FT_SFNT_Table_Info_Func): New typedef. |
michael@0 | 1793 | (SFNT_Table): Add it. |
michael@0 | 1794 | |
michael@0 | 1795 | * src/base/ftobjs (FT_Sfnt_Table_Info): New function. |
michael@0 | 1796 | |
michael@0 | 1797 | * include/freetype/tttables.h: Updated. |
michael@0 | 1798 | |
michael@0 | 1799 | * src/sfnt/sfdriver.c (sfnt_table_info): New function. |
michael@0 | 1800 | (sfnt_service_sfnt_table): Add it. |
michael@0 | 1801 | |
michael@0 | 1802 | * docs/CHANGES: Updated. |
michael@0 | 1803 | |
michael@0 | 1804 | |
michael@0 | 1805 | * include/freetype/freetype.h (FREETYPE_PATCH): Set to 10. |
michael@0 | 1806 | |
michael@0 | 1807 | * builds/unix/configure.ac (version_info): Set to 9:8:3. |
michael@0 | 1808 | * builds/unix/configure: Updated. |
michael@0 | 1809 | |
michael@0 | 1810 | * builds/win32/visualc/index.html, |
michael@0 | 1811 | builds/win32/visualc/freetype.dsp, |
michael@0 | 1812 | builds/win32/visualc/freetype.vcproj: s/219/2110/, s/2.1.9/2.1.10/. |
michael@0 | 1813 | |
michael@0 | 1814 | * builds/freetype.mk (refdoc), README, Jamfile (RefDoc): |
michael@0 | 1815 | s/2.1.9/2.1.10/. |
michael@0 | 1816 | |
michael@0 | 1817 | * docs/CHANGES, docs/VERSION.DLL: Updated. |
michael@0 | 1818 | |
michael@0 | 1819 | 2004-08-11 Detlef Würkner <TetiSoft@apg.lahn.de> |
michael@0 | 1820 | |
michael@0 | 1821 | * src/base/ftrfork.c (FT_Raccess_Guess) |
michael@0 | 1822 | [!FT_CONFIG_OPTION_GUESSING_EMBEDDED_FORK]: Remove compiler |
michael@0 | 1823 | warnings. |
michael@0 | 1824 | |
michael@0 | 1825 | 2004-08-06 Adam Piotrowski <st_intel@poczta.onet.pl> |
michael@0 | 1826 | |
michael@0 | 1827 | * src/pfr/pfrload.c (pfr_sort_kerning_pairs): Single-byte |
michael@0 | 1828 | adjustments are unsigned, not signed. |
michael@0 | 1829 | |
michael@0 | 1830 | 2004-08-05 David Turner <david@freetype.org> |
michael@0 | 1831 | |
michael@0 | 1832 | `Activate' gray-scale specifing hinting within the TrueType |
michael@0 | 1833 | bytecode interpreter. This is an experimental feature which |
michael@0 | 1834 | should probably be made optional. |
michael@0 | 1835 | |
michael@0 | 1836 | * src/truetype/ttgload.c (TT_Process_Simple_Glyph, |
michael@0 | 1837 | load_truetype_glyph): Move the code to set the pedantic_hinting flag |
michael@0 | 1838 | to... |
michael@0 | 1839 | (TT_Load_Glyph): Here. |
michael@0 | 1840 | Set `grayscale' flag except for `FT_LOAD_TARGET_MONO'. |
michael@0 | 1841 | |
michael@0 | 1842 | * src/truetyep/ttinterp.c (Ins_GETINFO): Return MS rasterizer |
michael@0 | 1843 | version 1.7. |
michael@0 | 1844 | Return rotation and stretching info only if glyph is rotated or |
michael@0 | 1845 | stretched, respectively. |
michael@0 | 1846 | Handle grayscale info. |
michael@0 | 1847 | |
michael@0 | 1848 | * src/truetype/ttinterp.h (TT_ExecContextRec): Add `grayscale' |
michael@0 | 1849 | member. |
michael@0 | 1850 | |
michael@0 | 1851 | 2004-08-02 George Williams <gww@silcom.com> |
michael@0 | 1852 | |
michael@0 | 1853 | * src/base/ftobjs.c (FT_Attach_File): Initialize `open.stream'. |
michael@0 | 1854 | |
michael@0 | 1855 | 2004-08-01 Werner Lemberg <wl@gnu.org> |
michael@0 | 1856 | |
michael@0 | 1857 | * docs/CHANGES: Updated. |
michael@0 | 1858 | |
michael@0 | 1859 | 2004-08-01 George Williams <gww@silcom.com> |
michael@0 | 1860 | |
michael@0 | 1861 | FreeType now can read kerning values from PFM files. |
michael@0 | 1862 | |
michael@0 | 1863 | * src/type1/t1afm.c (T1_Done_AFM): Renamed to... |
michael@0 | 1864 | (T1_Done_Metrics): This. |
michael@0 | 1865 | Update all callers. |
michael@0 | 1866 | (T1_Read_AFM): Make it static. |
michael@0 | 1867 | Don't enter and leave a frame. |
michael@0 | 1868 | (LITTLE_ENDIAN_USHORT, LITTLE_ENDIAN_UINT): New macros. |
michael@0 | 1869 | (T1_Read_PFM): New function. |
michael@0 | 1870 | (T1_Read_Metrics): New higher-level function to be used instead of |
michael@0 | 1871 | T1Read_AFM. |
michael@0 | 1872 | Update all callers. |
michael@0 | 1873 | |
michael@0 | 1874 | 2004-07-31 Werner Lemberg <wl@gnu.org> |
michael@0 | 1875 | |
michael@0 | 1876 | * src/pcf/pcfread (pcf_load_font), src/bdf/bdfdrivr.c |
michael@0 | 1877 | (BDF_Face_Init), src/truetype/ttgxvar (TT_Get_MM_Var, |
michael@0 | 1878 | tt_face_vary_cvt): Fix compiler warnings. |
michael@0 | 1879 | |
michael@0 | 1880 | 2004-07-26 Søren Sandmann <sandmann@daimi.au.dk> |
michael@0 | 1881 | |
michael@0 | 1882 | * src/pcf/pcfread.c (pcf_interpret_style): Always allocate memory for |
michael@0 | 1883 | face->style_name. |
michael@0 | 1884 | * src/pcf/pcfdrivr.c (PCF_Face_Done): Free `style_name'. |
michael@0 | 1885 | |
michael@0 | 1886 | 2004-07-26 Darren J Longhorn <darren.longhorn@redcom.co.uk> |
michael@0 | 1887 | |
michael@0 | 1888 | * include/freetype/config/ftconfig.h (FT_SIZEOF_LONG): Recognize |
michael@0 | 1889 | five-byte `long' (which is avoided then). |
michael@0 | 1890 | |
michael@0 | 1891 | 2004-07-25 Detlef Würkner <TetiSoft@apg.lahn.de> |
michael@0 | 1892 | |
michael@0 | 1893 | * src/pcf/pcfdrivr.c (PCF_Set_Pixel_Size): Compare heights, not |
michael@0 | 1894 | ppem values. |
michael@0 | 1895 | (PCF_Set_Point_Size): Don't call PCF_Set_Pixel_Size but provide own |
michael@0 | 1896 | code to compare ppem values. |
michael@0 | 1897 | * src/bdf/bdfdrivr.c (BDF_Set_Pixel_Size): Compare heights, not |
michael@0 | 1898 | ppem values. |
michael@0 | 1899 | (BDF_Set_Point_Size): Don't call BDF_Set_Pixel_Size but provide own |
michael@0 | 1900 | code to compare ppem values. |
michael@0 | 1901 | |
michael@0 | 1902 | 2004-07-25 Kornfeld Eliyahu Peter <peter@e-kadmon.net> |
michael@0 | 1903 | |
michael@0 | 1904 | * src/sfnt/sfobjs.c (sfnt_load_face): Handle |
michael@0 | 1905 | TT_NAME_ID_PREFERRED_FAMILY and TT_NAME_ID_PREFERRED_SUBFAMILY. |
michael@0 | 1906 | |
michael@0 | 1907 | 2004-07-24 Derek B. Noonburg <derekn@foolabs.com> |
michael@0 | 1908 | |
michael@0 | 1909 | * src/cff/cffload.c (cff_font_load): Always create inverse mapping. |
michael@0 | 1910 | Even if the charstring count is the same as the CID count, it is |
michael@0 | 1911 | still possible that the font uses a different CID -> GID mapping. |
michael@0 | 1912 | |
michael@0 | 1913 | 2004-07-23 Werner Lemberg <wl@gnu.org> |
michael@0 | 1914 | |
michael@0 | 1915 | * src/truetype/ttobjs.c (tt_face_init): Accept 0x00020000 format tag |
michael@0 | 1916 | found in some Arphic fonts made for Chinese version of Windows 3.1. |
michael@0 | 1917 | |
michael@0 | 1918 | 2004-07-17 David Turner <david@freetype.org> |
michael@0 | 1919 | |
michael@0 | 1920 | Fixed a dangling pointer bug in the cache code that happened in very |
michael@0 | 1921 | rare cases, i.e., when a new family object was destroyed by an |
michael@0 | 1922 | out-of-memory condition during a glyph node initialization. The |
michael@0 | 1923 | function FTC_Cache_Lookup would flush the cache and restart the |
michael@0 | 1924 | lookup with a bad pointer. |
michael@0 | 1925 | |
michael@0 | 1926 | * include/freetype/cache/ftcglyph.h (FTC_FAMILY_TREE): New macro. |
michael@0 | 1927 | (FTC_GCACHE_LOOKUP_CMP): Use it. |
michael@0 | 1928 | Handle reference count in `num_nodes' correctly. |
michael@0 | 1929 | |
michael@0 | 1930 | * src/cache/ftcglyph.c (FTC_GNode_UnselectFamily): Use |
michael@0 | 1931 | FTC_FAMILY_FREE. |
michael@0 | 1932 | (FTC_GCache_Lookup): Handle reference count in `num_nodes' correctly. |
michael@0 | 1933 | |
michael@0 | 1934 | * src/cache/ftcmanag.c (FTC_Manager_FlushN): Fixed a cache flushing |
michael@0 | 1935 | bug. |
michael@0 | 1936 | |
michael@0 | 1937 | * src/truetype/ttinterp.c (Normalize): Fixed a bug that caused |
michael@0 | 1938 | long and unnecessary delays while normalizing huge vectors. |
michael@0 | 1939 | |
michael@0 | 1940 | 2004-07-15 Werner Lemberg <wl@gnu.org> |
michael@0 | 1941 | |
michael@0 | 1942 | * docs/CHANGES: Updated. |
michael@0 | 1943 | |
michael@0 | 1944 | * src/base/ftstroke.c (FT_Stroker_ParseOutline): Fix compiler |
michael@0 | 1945 | warning. |
michael@0 | 1946 | |
michael@0 | 1947 | 2004-07-15 David Turner <david@freetype.org> |
michael@0 | 1948 | |
michael@0 | 1949 | * src/base/ftstroke.c (FT_Stroker_ParseOutline): Single points |
michael@0 | 1950 | are not stroked, preventing a bug with pala.ttf and other |
michael@0 | 1951 | fonts. |
michael@0 | 1952 | |
michael@0 | 1953 | * include/freetype/ftstroke.h: Updating documentation comments. |
michael@0 | 1954 | |
michael@0 | 1955 | 2004-07-13 Werner Lemberg <wl@gnu.org> |
michael@0 | 1956 | |
michael@0 | 1957 | * src/base/ftstroke.c (ft_stroke_border_reverse): Removed. Unused. |
michael@0 | 1958 | |
michael@0 | 1959 | 2004-07-12 David Turner <david@freetype.org> |
michael@0 | 1960 | |
michael@0 | 1961 | * src/base/ftstroke.c (ft_stroke_border_close): Add second parameter |
michael@0 | 1962 | to indicate reversion of points. |
michael@0 | 1963 | Update all callers. |
michael@0 | 1964 | (ft_stroke_border_reverse): Fix initialization of `point1' and |
michael@0 | 1965 | `tag1'. |
michael@0 | 1966 | |
michael@0 | 1967 | * src/cache/ftcsbits.c (ftc_snode_load): Fixing advance computation |
michael@0 | 1968 | for transformed glyphs. |
michael@0 | 1969 | |
michael@0 | 1970 | 2004-07-11 David Turner <david@freetype.org> |
michael@0 | 1971 | |
michael@0 | 1972 | Fix bugs that prevented the stroker to correctly generate stroked |
michael@0 | 1973 | paths from closed paths, i.e., nearly all glyphs in vectorial fonts. |
michael@0 | 1974 | |
michael@0 | 1975 | The code is still _very_ buggy though; treat with special care. |
michael@0 | 1976 | |
michael@0 | 1977 | * src/base/ftstroke.c (FT_STROKE_TAG_BEGIN_END): New macro. |
michael@0 | 1978 | (ft_stroke_border_reverse): New function. |
michael@0 | 1979 | (ft_stroker_inside): Remove local variable `sigma'; use different |
michael@0 | 1980 | threshold. |
michael@0 | 1981 | (ft_stroker_add_reverse_left): Switch begin/end tags if necessary. |
michael@0 | 1982 | (FT_Stroker_EndSubPath): Call ft_stroker_inside and |
michael@0 | 1983 | ft_stroke_border_reverse. |
michael@0 | 1984 | |
michael@0 | 1985 | 2004-06-26 Peter Kovar <peter.kovar@r3.roburnet.sk> |
michael@0 | 1986 | |
michael@0 | 1987 | * src/truetype/ttgload.c (load_truetype_glyph): Fix typo. |
michael@0 | 1988 | |
michael@0 | 1989 | 2004-06-25 Werner Lemberg <wl@gnu.org> |
michael@0 | 1990 | |
michael@0 | 1991 | * src/type1/t1afm.c (afm_atoindex): Fix boundary test. Reported |
michael@0 | 1992 | by Dirck Blaskey. |
michael@0 | 1993 | |
michael@0 | 1994 | 2004-06-24 David Turner <david@freetype.org> |
michael@0 | 1995 | |
michael@0 | 1996 | |
michael@0 | 1997 | * Version 2.1.9 released. |
michael@0 | 1998 | ========================= |
michael@0 | 1999 | |
michael@0 | 2000 | |
michael@0 | 2001 | * src/truetype/ttgload.c, src/truetype/ttxgvar.c: Removing |
michael@0 | 2002 | compiler warnings. |
michael@0 | 2003 | |
michael@0 | 2004 | 2004-06-23 Werner Lemberg <wl@gnu.org> |
michael@0 | 2005 | |
michael@0 | 2006 | * include/freetype/internal/ftmemory.h [FT_DEBUG_MEMORY]: Declare |
michael@0 | 2007 | FT_QAlloc_Debug and FT_QRealloc_Debug. |
michael@0 | 2008 | |
michael@0 | 2009 | * src/base/ftutil.c (FT_QAlloc): Fix error and debug messages. |
michael@0 | 2010 | (FT_QRealloc): Call FT_QAlloc if original pointer is NULL. |
michael@0 | 2011 | Fix error message. |
michael@0 | 2012 | |
michael@0 | 2013 | 2004-06-23 David Turner <david@freetype.org> |
michael@0 | 2014 | |
michael@0 | 2015 | * include/freetype/internal/ftmemory.h, src/base/ftutil.c |
michael@0 | 2016 | (FT_QAlloc, FT_QRealloc), src/base/ftdbgmem.c (FT_QAlloc_Debug, |
michael@0 | 2017 | FT_QRealloc_Debug): New functions that perform allocation without |
michael@0 | 2018 | zero-ing out the corresponding blocks. |
michael@0 | 2019 | |
michael@0 | 2020 | * include/freetype/internal/ftmemory.h (FT_MEM_QALLOC, |
michael@0 | 2021 | FT_MEM_QREALLOC, FT_MEM_QNEW, FT_MEM_QNEW_ARRAY, |
michael@0 | 2022 | FT_MEM_QRENEW_ARRAY, FT_QALLOC, FT_QREALLOC, FT_QNEW, FT_QNEW_ARRAY, |
michael@0 | 2023 | FT_QRENEW_ARRAY): New macros. |
michael@0 | 2024 | |
michael@0 | 2025 | * src/base/ftstream.c (FT_Stream_EnterFrame): Use FT_QALLOC. |
michael@0 | 2026 | * src/gzip/ftgzip.c (FT_Stream_OpenGzip): Use FT_QNEW_ARRAY. |
michael@0 | 2027 | * src/sfnt/sfobjs.c (tt_face_get_name): Use FT_QNEW_ARRAY. |
michael@0 | 2028 | |
michael@0 | 2029 | * src/sfnt/ttload.c (tt_face_load_directory, tt_face_load_metrics, |
michael@0 | 2030 | tt_face_load_gasp): Use FT_QNEW_ARRAY. |
michael@0 | 2031 | (tt_face_load_kern): Use FT_QNEW_ARRAY. |
michael@0 | 2032 | Small optimization in the kerning table verifier; this speeds up |
michael@0 | 2033 | TrueType face opening by about 7%. |
michael@0 | 2034 | (tt_face_load_hdmx): Use FT_QNEW_ARRAY and FT_QALLOC. |
michael@0 | 2035 | |
michael@0 | 2036 | * include/freetype/config/ftmodule.h: Changed the order of modules, |
michael@0 | 2037 | putting TrueType and Type 1 first. This dramatically improves the |
michael@0 | 2038 | performance of face open/close operations. For example, putting the |
michael@0 | 2039 | TrueType driver first in the list results in a 5x speedup when |
michael@0 | 2040 | opening `Vera.ttf'. |
michael@0 | 2041 | |
michael@0 | 2042 | The very problem is that both the PCF and BDF drivers do a lot more |
michael@0 | 2043 | than necessary to detect that they cannot handle a font file. |
michael@0 | 2044 | |
michael@0 | 2045 | 2004-06-22 Werner Lemberg <wl@gnu.org> |
michael@0 | 2046 | |
michael@0 | 2047 | * src/pcf/pcfread.c (pcf_read_TOC, pcf_get_properties, |
michael@0 | 2048 | pcf_get_metrics, pcf_get_bitmaps, pcf_get_encodings): Improve |
michael@0 | 2049 | debugging messages. |
michael@0 | 2050 | |
michael@0 | 2051 | * src/pcf/pcfdrivr.c (FT_COMPOMENT): Move up. |
michael@0 | 2052 | (PCF_Face_Init): Simplify code. |
michael@0 | 2053 | |
michael@0 | 2054 | * src/bdf/bdfdrivr.h (BDF_FaceRec): New element `default_glyph'. |
michael@0 | 2055 | |
michael@0 | 2056 | * src/bdf/bdflib.c (_bdf_add_property, _bdf_parse_start), |
michael@0 | 2057 | src/bdf/bdf.h (bdf_font_t): s/default_glyph/default_char/. |
michael@0 | 2058 | |
michael@0 | 2059 | * src/bdf/bdfdrivr.c (BDF_Face_Init): Fix number of glyphs. |
michael@0 | 2060 | Set `default_glyph'. |
michael@0 | 2061 | (BDF_Glyph_Load): Use `default_glyph' for undefined glyph. |
michael@0 | 2062 | |
michael@0 | 2063 | * docs/CHANGES: Updated. |
michael@0 | 2064 | |
michael@0 | 2065 | 2004-06-21 Werner Lemberg <wl@gnu.org> |
michael@0 | 2066 | |
michael@0 | 2067 | * docs/CHANGES: Updated. |
michael@0 | 2068 | |
michael@0 | 2069 | 2004-06-21 David Turner <david@freetype.org> |
michael@0 | 2070 | |
michael@0 | 2071 | * src/truetype/ttgload.c (TT_Process_Simple_Glyph, |
michael@0 | 2072 | load_truetype_glyph): Don't access (unrounded) |
michael@0 | 2073 | `TT_Size.root.metrics' but (rounded) `TT_Size.metrics'. This fixes |
michael@0 | 2074 | a scaling bug that caused incorrect rendering when the bytecode |
michael@0 | 2075 | interpreter was enabled. |
michael@0 | 2076 | |
michael@0 | 2077 | 2004-06-14 Huw D M Davies <h.davies1@physics.ox.ac.uk> |
michael@0 | 2078 | |
michael@0 | 2079 | * src/winfonts/winfnt.c (FNT_Face_Init): Set x_ppem and y_ppem |
michael@0 | 2080 | based on pixel_width and pixel_height. |
michael@0 | 2081 | (FNT_Size_Set_Pixels): Updated. |
michael@0 | 2082 | |
michael@0 | 2083 | 2004-06-14 Werner Lemberg <wl@gnu.org> |
michael@0 | 2084 | |
michael@0 | 2085 | * src/lzw/zopen.c: Comment out inclusion of signal.h and unistd.h. |
michael@0 | 2086 | Reported by Hyvärinen Jyrki Juhani. |
michael@0 | 2087 | |
michael@0 | 2088 | 2004-06-11 Werner Lemberg <wl@gnu.org> |
michael@0 | 2089 | |
michael@0 | 2090 | * docs/CHANGES: Updated. |
michael@0 | 2091 | |
michael@0 | 2092 | 2004-06-10 David Turner <david@freetype.org> |
michael@0 | 2093 | |
michael@0 | 2094 | * src/base/ftobject.c, src/base/fthash.c, src/base/ftexcept.c, |
michael@0 | 2095 | src/base/ftsysio.c, src/base/ftsysmem.c, src/base/ftlist.c: Removed. |
michael@0 | 2096 | Obsolete. |
michael@0 | 2097 | |
michael@0 | 2098 | * src/raster/ftraster.c (Alignment, PAlignment): New union to fix |
michael@0 | 2099 | problems with 64bit systems. |
michael@0 | 2100 | (AlignProfileSize): Use it. |
michael@0 | 2101 | |
michael@0 | 2102 | 2004-06-08 David Turner <david@freetype.org> |
michael@0 | 2103 | |
michael@0 | 2104 | * include/freetype/freetype.h (FT_GlyphMetrics): Move `lsb_delta' |
michael@0 | 2105 | and `rsb_delta' elements to... |
michael@0 | 2106 | (FT_GlyphSlotRec): Here to retain binary compatibility with older |
michael@0 | 2107 | FreeType versions. |
michael@0 | 2108 | Update all users. |
michael@0 | 2109 | |
michael@0 | 2110 | * src/sfnt/sfobjs.c (tt_face_get_name): Remove compiler warning. |
michael@0 | 2111 | |
michael@0 | 2112 | * src/winfonts/winfnt.c (FNT_Load_Glyph): Add missing initialization |
michael@0 | 2113 | of slot->metrics.width and slot->metrics.height when loading a |
michael@0 | 2114 | Windows FNT glyph. Thanks to Huw Davies. |
michael@0 | 2115 | |
michael@0 | 2116 | * include/freetype/cache/ftcmru.h (FTC_MruNode_CompareFunc): Change |
michael@0 | 2117 | return type to FT_Bool. |
michael@0 | 2118 | |
michael@0 | 2119 | * src/cache/ftbasic.c (ftc_basic_family_compare): Change return |
michael@0 | 2120 | type to FT_Bool. |
michael@0 | 2121 | |
michael@0 | 2122 | * src/cache/ftccache.c (FTC_Cache_Init, ftc_cache_init): Make |
michael@0 | 2123 | the former call the latter, not vice versa. |
michael@0 | 2124 | (FTC_Cache_Done, ftc_cache_done): Ditto. |
michael@0 | 2125 | |
michael@0 | 2126 | * src/cache/ftcglyph.c (FTC_GNode_Compare, ftc_gnode_compare): Make |
michael@0 | 2127 | the former call the latter, not vice versa. |
michael@0 | 2128 | (FTC_GCache_Init, ftc_gcache_init): Ditto. |
michael@0 | 2129 | (FTC_GCache_Done, ftc_gcache_done): Ditto. |
michael@0 | 2130 | |
michael@0 | 2131 | * src/cache/ftcimage.c (FTC_INode_Free, ftc_inode_free): Make the |
michael@0 | 2132 | former call the latter, not vice versa. |
michael@0 | 2133 | (FTC_INode_Weight, ftc_inode_weight): Ditto. |
michael@0 | 2134 | |
michael@0 | 2135 | * src/cache/ftcmanag.c (ftc_size_node_compare, |
michael@0 | 2136 | ftc_size_node_compare_faceid, ftc_face_node_compare): Change return |
michael@0 | 2137 | type to FT_Bool. |
michael@0 | 2138 | |
michael@0 | 2139 | * src/cache/ftcsbits.c (FTC_SNode_Free, ftc_snode_free): Make the |
michael@0 | 2140 | former call the latter, not vice versa. |
michael@0 | 2141 | (FTC_SNode_Weight, ftc_snode_weight): Ditto. |
michael@0 | 2142 | (FTC_SNode_Compare, ftc_snode_compare): Ditto. |
michael@0 | 2143 | |
michael@0 | 2144 | * src/cache/ftcsbits.c: Fix some bugs and inefficiencies in the cache |
michael@0 | 2145 | sub-system. |
michael@0 | 2146 | |
michael@0 | 2147 | 2004-06-05 Werner Lemberg <wl@gnu.org> |
michael@0 | 2148 | |
michael@0 | 2149 | * src/autofit/afloader.c (af_loader_load_g): Set `lsb_delta' and |
michael@0 | 2150 | `rsb_delta' in slot->metrics and tune side bearings slightly. |
michael@0 | 2151 | |
michael@0 | 2152 | 2004-06-04 Werner Lemberg <wl@gnu.org> |
michael@0 | 2153 | |
michael@0 | 2154 | * docs/CHANGES: Updated. |
michael@0 | 2155 | |
michael@0 | 2156 | 2004-06-04 David Chester <davidchester@gmx.net> |
michael@0 | 2157 | |
michael@0 | 2158 | Improve inter-letter spacing for autohinted glyphs. |
michael@0 | 2159 | |
michael@0 | 2160 | * include/freetype/freetype.h (FT_Glyph_Metrics): Add elements |
michael@0 | 2161 | `lsb_delta' and `rsb_delta'. |
michael@0 | 2162 | |
michael@0 | 2163 | * src/autohint/ahhint.c (ah_hinter_load): Set `lsb_delta' and |
michael@0 | 2164 | `rsb_delta' in slot->metrics and tune side bearings slightly. |
michael@0 | 2165 | |
michael@0 | 2166 | 2004-06-04 David Turner <david@freetype.org> |
michael@0 | 2167 | |
michael@0 | 2168 | * src/autofit/*: Important fixes to the auto-fitter. The output |
michael@0 | 2169 | now seems to be 100% equivalent to the auto-hinter, while being |
michael@0 | 2170 | about 2% faster (which proves that script-specific algorithm |
michael@0 | 2171 | selection isn't a performance problem). |
michael@0 | 2172 | |
michael@0 | 2173 | To test it, change `autohint' to `autofit' in |
michael@0 | 2174 | <freetype/config/ftmodule.h> and recompile. |
michael@0 | 2175 | |
michael@0 | 2176 | A few more testing is needed before making this the official |
michael@0 | 2177 | auto-hinting module. |
michael@0 | 2178 | |
michael@0 | 2179 | 2004-06-02 Werner Lemberg <wl@gnu.org> |
michael@0 | 2180 | |
michael@0 | 2181 | * src/truetype/ttgload.c (compute_glyph_metrics): Fix compiler |
michael@0 | 2182 | warnings. |
michael@0 | 2183 | |
michael@0 | 2184 | 2004-06-01 Werner Lemberg <wl@gnu.org> |
michael@0 | 2185 | |
michael@0 | 2186 | * src/sfnt/sfobjs.c (tt_face_get_name): Make sure that an English |
michael@0 | 2187 | name record for the Apple platform is preferred to a non-English |
michael@0 | 2188 | entry for the Microsoft platform. Problem reported by HANDA |
michael@0 | 2189 | Ken'ichi. |
michael@0 | 2190 | |
michael@0 | 2191 | 2004-05-19 George Williams <gww@silcom.com> |
michael@0 | 2192 | |
michael@0 | 2193 | * src/type1/t1load.c (mm_axis_unmap, mm_weights_unmap): New |
michael@0 | 2194 | auxiliary functions. |
michael@0 | 2195 | (T1_Get_MM_Var): Provide axis tags. |
michael@0 | 2196 | Use mm_axis_unmap and mm_weights_unmap to provide default values |
michael@0 | 2197 | for design and normalized axis coordinates. |
michael@0 | 2198 | |
michael@0 | 2199 | * include/freetype/t1tables.h (PS_DesignMapRec): Change type of |
michael@0 | 2200 | `design_points' to FT_Long. |
michael@0 | 2201 | Update all users. |
michael@0 | 2202 | |
michael@0 | 2203 | 2004-05-17 Werner Lemberg <wl@gnu.org> |
michael@0 | 2204 | |
michael@0 | 2205 | * src/base/ftbbox.c (BBox_Conic_Check): Fix boundary cases. |
michael@0 | 2206 | Reported by Mikey Anbary <manbary@vizrt.com>. |
michael@0 | 2207 | |
michael@0 | 2208 | 2004-05-15 Werner Lemberg <wl@gnu.org> |
michael@0 | 2209 | |
michael@0 | 2210 | * src/sfnt/sfobjs.c (sfnt_done_face): Free face->postscript_name. |
michael@0 | 2211 | |
michael@0 | 2212 | 2004-05-15 George Williams <gww@silcom.com> |
michael@0 | 2213 | |
michael@0 | 2214 | * src/sfnt/ttload.c (tt_face_load_max_profile): Always set |
michael@0 | 2215 | face->root.num_glyphs. |
michael@0 | 2216 | |
michael@0 | 2217 | 2004-05-14 Masatake YAMATO <jet@gyve.org> |
michael@0 | 2218 | George Williams <gww@silcom.com> |
michael@0 | 2219 | |
michael@0 | 2220 | * src/sfnt/ttload.c (sfnt_dir_check): Handle `bhed' properly. |
michael@0 | 2221 | |
michael@0 | 2222 | 2004-05-14 Werner Lemberg <wl@gnu.org> |
michael@0 | 2223 | |
michael@0 | 2224 | * src/cache/ftcbasic.c (ftc_basic_family_compare, |
michael@0 | 2225 | ftc_basic_family_init, ftc_basic_family_get_count, |
michael@0 | 2226 | ftc_basic_family_load_bitmap, ftc_basic_family_load_glyph, |
michael@0 | 2227 | ftc_basic_gnode_compare_faceid): Adjust parameters and return types |
michael@0 | 2228 | to prototypes given in header files from include/freetype/cache. |
michael@0 | 2229 | Use casts to proper types locally. |
michael@0 | 2230 | (ftc_basic_image_family_class, ftc_basic_image_cache_class, |
michael@0 | 2231 | ftc_basic_sbit_family_class, ftc_basic_sbit_cache_class): Remove |
michael@0 | 2232 | casts. |
michael@0 | 2233 | |
michael@0 | 2234 | * src/cache/ftccback.h: Adjust parameters and return types to |
michael@0 | 2235 | prototypes given in header files from include/freetype/cache. |
michael@0 | 2236 | |
michael@0 | 2237 | * src/cache/ftcimage.c (ftc_inode_free, ftc_inode_new, |
michael@0 | 2238 | ftc_inode_weight): Adjust parameters and return types to prototypes |
michael@0 | 2239 | given in header files from include/freetype/cache. Use casts to |
michael@0 | 2240 | proper types locally. |
michael@0 | 2241 | |
michael@0 | 2242 | * src/cache/ftcsbits.c (ftc_snode_free, ftc_snode_new, |
michael@0 | 2243 | ftc_snode_weight, ftc_snode_compare): Adjust parameters and return |
michael@0 | 2244 | types to prototypes given in header files from |
michael@0 | 2245 | include/freetype/cache. Use casts to proper types locally. |
michael@0 | 2246 | |
michael@0 | 2247 | * src/cache/ftccmap.c (ftc_cmap_node_free, ftc_cmap_node_new, |
michael@0 | 2248 | ftc_cmap_node_weight, ftc_cmap_node_compare, |
michael@0 | 2249 | ftc_cmap_node_remove_faceid): Adjust parameters and return types to |
michael@0 | 2250 | prototypes given in header files from include/freetype/cache. Use |
michael@0 | 2251 | casts to proper types locally. |
michael@0 | 2252 | (ftc_cmap_cache_class): Remove casts. |
michael@0 | 2253 | |
michael@0 | 2254 | * src/cache/ftcglyph.c (ftc_gnode_compare, ftc_gcache_init, |
michael@0 | 2255 | ftc_gcache_done): Adjust parameters and return types to prototypes |
michael@0 | 2256 | given in header files from include/freetype/cache. Use casts to |
michael@0 | 2257 | proper types locally. |
michael@0 | 2258 | |
michael@0 | 2259 | * src/cache/ftcmanag.c (ftc_size_node_done, ftc_size_node_compare, |
michael@0 | 2260 | ftc_size_node_init, ftc_size_node_reset, |
michael@0 | 2261 | ftc_size_node_compare_faceid, ftc_face_node_init, |
michael@0 | 2262 | ftc_face_node_done, ftc_face_node_compare: Adjust parameters and |
michael@0 | 2263 | return types to prototypes given in header files from |
michael@0 | 2264 | include/freetype/cache. Use casts to proper types locally. |
michael@0 | 2265 | |
michael@0 | 2266 | (ftc_size_list_class, ftc_face_list_class): Remove casts. |
michael@0 | 2267 | |
michael@0 | 2268 | 2004-05-13 Werner Lemberg <wl@gnu.org> |
michael@0 | 2269 | |
michael@0 | 2270 | * src/autohint/ahmodule.c (ft_autohinter_init, ft_autohinter_done): |
michael@0 | 2271 | Use FT_Module as parameter and do a cast to FT_AutoHinter locally. |
michael@0 | 2272 | (autohint_module_class): Remove casts. |
michael@0 | 2273 | |
michael@0 | 2274 | * src/base/ftglyph.c (ft_bitmap_glyph_init, ft_bitmap_glyph_copy, |
michael@0 | 2275 | ft_bitmap_glyph_done, ft_bitmap_glyph_bbox, ft_outline_glyph_init, |
michael@0 | 2276 | ft_outline_glyph_done, ft_outline_glyph_copy, |
michael@0 | 2277 | ft_outline_glyph_transform, ft_outline_glyph_bbox, |
michael@0 | 2278 | ft_outline_glyph_prepare): Use FT_Glyph as parameter and do a cast |
michael@0 | 2279 | to FT_XXXGlyph locally. |
michael@0 | 2280 | Use FT_CALLBACK_DEF throughout. |
michael@0 | 2281 | (ft_bitmap_glyph_class, ft_outline_glyph_class): Remove casts. |
michael@0 | 2282 | |
michael@0 | 2283 | * src/bdf/bdfdrivr.c (bdf_cmap_init, bdf_cmap_done, |
michael@0 | 2284 | bdf_cmap_char_index, bdf_cmap_char_next): Use FT_CMap as parameter |
michael@0 | 2285 | and do a cast to BDF_CMap locally. |
michael@0 | 2286 | (bdf_cmap_class): Remove casts. |
michael@0 | 2287 | |
michael@0 | 2288 | 2004-05-12 Werner Lemberg <wl@gnu.org> |
michael@0 | 2289 | |
michael@0 | 2290 | * src/cff/cffgload.h (CFF_Builder): Remove `error'. |
michael@0 | 2291 | * src/cff/cffgload.c (cff_decoder_parse_charstrings): Replace |
michael@0 | 2292 | `Memory_Error' with `Fail' und update all users. |
michael@0 | 2293 | |
michael@0 | 2294 | 2004-05-11 Werner Lemberg <wl@gnu.org> |
michael@0 | 2295 | |
michael@0 | 2296 | * include/freetype/internal/psaux.h (T1_ParseState): New |
michael@0 | 2297 | enumeration. |
michael@0 | 2298 | (T1_BuilderRec): Replace `path_begun' with `parse_state'. |
michael@0 | 2299 | Remove `error'. |
michael@0 | 2300 | * src/psaux/t1decode.c (t1_decoder_parse_charstrings): Replace |
michael@0 | 2301 | `Memory_Error' with `Fail' and update all users. |
michael@0 | 2302 | Don't use `builder->error'. |
michael@0 | 2303 | Replace `path_begun' with `parse_state' and check parsing states. |
michael@0 | 2304 | |
michael@0 | 2305 | * src/psaux/psobjs.c (t1_builder_init, t1_builder_start_point): |
michael@0 | 2306 | Replace `path_begun' with `parse_state' and check parsing states. |
michael@0 | 2307 | |
michael@0 | 2308 | 2004-05-10 George Williams <gww@silcom.com> |
michael@0 | 2309 | |
michael@0 | 2310 | * src/truetype/ttxgvar.c (ft_var_load_avar): Do free arrays in case |
michael@0 | 2311 | of error -- `avar' is optional so we can't rely on tt_done_blend |
michael@0 | 2312 | being called automatically. |
michael@0 | 2313 | |
michael@0 | 2314 | 2004-05-09 George Williams <gww@silcom.com> |
michael@0 | 2315 | |
michael@0 | 2316 | * src/truetype/ttxgvar.c (ft_var_load_avar, ft_var_load_gvar): Fix |
michael@0 | 2317 | error handling. |
michael@0 | 2318 | |
michael@0 | 2319 | 2004-05-07 Werner Lemberg <wl@gnu.org> |
michael@0 | 2320 | |
michael@0 | 2321 | * src/pfr/pfrobjs.c, src/pfr/pfrobjs.h (pfr_face_init, |
michael@0 | 2322 | pfr_face_done, pfr_face_get_kerning, pfr_slot_init, pfr_slot_done, |
michael@0 | 2323 | pfr_slot_load): Don't use PFR_XXX but FT_XXX arguments which are |
michael@0 | 2324 | typecast to the proper PFR_XXX types within the function. |
michael@0 | 2325 | Update code accordingly. |
michael@0 | 2326 | |
michael@0 | 2327 | * src/pfr/pfrdrivr.c (pfr_get_kerning, pfr_get_advance, |
michael@0 | 2328 | pfr_get_metrics, pfr_get_service): Don't use PFR_XXX but FT_XXX |
michael@0 | 2329 | arguments which are typecast to the proper PFR_XXX types within the |
michael@0 | 2330 | function. |
michael@0 | 2331 | Update code accordingly. |
michael@0 | 2332 | Use FT_CALLBACK_DEF throughout. |
michael@0 | 2333 | (pfr_metrics_service_rec, pfr_driver_class): Remove casts. |
michael@0 | 2334 | |
michael@0 | 2335 | 2004-05-06 Masatake YAMATO <jet@gyve.org> |
michael@0 | 2336 | |
michael@0 | 2337 | * src/truetype/ttgxvar.c (ft_var_load_gvar): Use FT_FACE_STREAM. |
michael@0 | 2338 | (*): Rename local variable OffsetToData to offsetToData. |
michael@0 | 2339 | |
michael@0 | 2340 | 2004-05-06 Werner Lemberg <wl@gnu.org> |
michael@0 | 2341 | |
michael@0 | 2342 | * src/cff/cffobjs.c (cff_size_done, cff_size_init, cff_size_reset, |
michael@0 | 2343 | cff_slot_done, cff_slot_init, cff_face_init, cff_face_done): Access |
michael@0 | 2344 | root fields directly. |
michael@0 | 2345 | * src/cff/cffdrivr.c (Load_Glyph): Access root fields directly. |
michael@0 | 2346 | |
michael@0 | 2347 | * src/truetype/ttgload.c (TT_Process_Simple_Glyph): Save current |
michael@0 | 2348 | frame before calling TT_Vary_Get_Glyph_Deltas. |
michael@0 | 2349 | |
michael@0 | 2350 | * src/pcf/pcfdrivr.c (PCF_CMapRec): Rename `cmap' to `root' for |
michael@0 | 2351 | consistency. |
michael@0 | 2352 | (pcf_cmap_init, pcf_cmap_done, pcf_cmap_char_index, |
michael@0 | 2353 | pcf_cmap_char_next): Don't use PCF_XXX but FT_XXX arguments which |
michael@0 | 2354 | are typecast to the proper PCF_XXX types within the function. |
michael@0 | 2355 | Update code accordingly. |
michael@0 | 2356 | (pcf_cmap_class): Remove casts. |
michael@0 | 2357 | (PCF_Face_Done, PCF_Face_Init, PCF_Set_Pixel_Size): Don't use |
michael@0 | 2358 | PCF_XXX but FT_XXX arguments which are typecast to the proper |
michael@0 | 2359 | PCF_XXX types within the function. |
michael@0 | 2360 | Update code accordingly. |
michael@0 | 2361 | Use FT_CALLBACK_DEF throughout. |
michael@0 | 2362 | (PCF_Set_Point_Size): New wrapper function. |
michael@0 | 2363 | (PCF_Glyph_Load, pcf_driver_requester): Use FT_CALLBACK_DEF. |
michael@0 | 2364 | (pcf_driver_class): Remove casts. |
michael@0 | 2365 | |
michael@0 | 2366 | 2004-05-04 Steve Hartwell <shspamsink@comcast.net> |
michael@0 | 2367 | |
michael@0 | 2368 | * src/truetype/ttobjs.c (tt_driver_done): Fix typo. |
michael@0 | 2369 | |
michael@0 | 2370 | 2004-05-04 Werner Lemberg <wl@gnu.org> |
michael@0 | 2371 | |
michael@0 | 2372 | * src/bdf/bdfdrivr.c (BDF_Face_Done, BDF_Face_Init, |
michael@0 | 2373 | BDF_Set_Pixel_Size): Don't use BDF_XXX but FT_XXX arguments which |
michael@0 | 2374 | are typecast to the proper BDF_XXX types within the function. |
michael@0 | 2375 | Update code accordingly. |
michael@0 | 2376 | Use FT_CALLBACK_DEF throughout. |
michael@0 | 2377 | (BDF_Set_Point_Size): New wrapper function. |
michael@0 | 2378 | (bdf_driver_class): Remove casts. |
michael@0 | 2379 | |
michael@0 | 2380 | * src/cff/cffdrivr.c (Get_Kerning, Load_Glyph, cff_get_interface): |
michael@0 | 2381 | Don't use CFF_XXX but FT_XXX arguments which are typecast to the |
michael@0 | 2382 | proper CFF_XXX types within the function. |
michael@0 | 2383 | Update code accordingly. |
michael@0 | 2384 | Use FT_CALLBACK_DEF throughout. |
michael@0 | 2385 | (cff_driver_class): Remove casts. |
michael@0 | 2386 | |
michael@0 | 2387 | * src/cff/cffobjs.h, src/cff/cffobjs.c (cff_size_done, |
michael@0 | 2388 | cff_size_init, cff_size_reset, cff_slot_done, cff_slot_init, |
michael@0 | 2389 | cff_face_init, cff_face_done, cff_driver_init, cff_driver_done): |
michael@0 | 2390 | Don't use CFF_XXX but FT_XXX arguments which are typecast to the |
michael@0 | 2391 | proper CFF_XXX types within the function. |
michael@0 | 2392 | Update code accordingly. |
michael@0 | 2393 | (cff_point_size_reset): New wrapper function. |
michael@0 | 2394 | |
michael@0 | 2395 | * src/cid/cidobjs.h, src/cid/cidobjs.c (cid_slot_done, |
michael@0 | 2396 | cid_slot_init, cid_size_done, cid_size_init, cid_size_reset, |
michael@0 | 2397 | cid_face_done, cid_face_init, cid_driver_init, cid_driver_done): |
michael@0 | 2398 | Don't use CID_XXX but FT_XXX arguments which are typecast to the |
michael@0 | 2399 | proper CID_XXX types within the function. |
michael@0 | 2400 | Update code accordingly. |
michael@0 | 2401 | (cid_point_size_reset): New wrapper function. |
michael@0 | 2402 | |
michael@0 | 2403 | * src/cid/cidgload.c, src/cid/cidgload.h (cid_slot_load_glyph): |
michael@0 | 2404 | Don't use CID_XXX but FT_XXX arguments which are typecast to the |
michael@0 | 2405 | proper CID_XXX types within the function. |
michael@0 | 2406 | Update code accordingly. |
michael@0 | 2407 | |
michael@0 | 2408 | * src/cid/cidriver.c (cid_get_interface): |
michael@0 | 2409 | Don't use CID_XXX but FT_XXX arguments which are typecast to the |
michael@0 | 2410 | proper CID_XXX types within the function. |
michael@0 | 2411 | Update code accordingly. |
michael@0 | 2412 | Use FT_CALLBACK_DEF. |
michael@0 | 2413 | (t1cid_driver_class): Remove casts. |
michael@0 | 2414 | |
michael@0 | 2415 | * src/truetype/ttdriver.c (tt_get_interface): Use FT_CALLBACK_DEF. |
michael@0 | 2416 | * src/truetype/ttgxvar.c (ft_var_load_avar): Don't free non-local |
michael@0 | 2417 | variables (this is done later). |
michael@0 | 2418 | (ft_var_load_avar): Fix call to FT_FRAME_ENTER. |
michael@0 | 2419 | (TT_Get_MM_Var): Fix size for `fvar_fields'. |
michael@0 | 2420 | (TT_Vary_Get_Glyph_Deltas): Handle deallocation of local variables |
michael@0 | 2421 | correctly. |
michael@0 | 2422 | |
michael@0 | 2423 | * src/base/ftdbgmem.c (ft_mem_debug_realloc): Don't abort if |
michael@0 | 2424 | current size is zero. |
michael@0 | 2425 | |
michael@0 | 2426 | 2004-05-03 Steve Hartwell <shspamsink@comcast.net> |
michael@0 | 2427 | |
michael@0 | 2428 | * src/truetype/ttobjs.h, src/truetype/ttobjs.c (tt_face_init, |
michael@0 | 2429 | tt_face_done, tt_size_init, tt_size_done, tt_driver_init, |
michael@0 | 2430 | tt_driver_done): Don't use TT_XXX but FT_XXX arguments which are |
michael@0 | 2431 | typecast to the proper TT_XXX types within the function. |
michael@0 | 2432 | Update code accordingly. |
michael@0 | 2433 | |
michael@0 | 2434 | * src/truetype/ttdriver.c (Get_Kerning, Set_Char_Sizes, |
michael@0 | 2435 | Set_Pixel_Sizes, Load_Glyph, tt_get_interface): Don't use TT_XXX but |
michael@0 | 2436 | FT_XXX arguments which are typecast to the proper TT_XXX types |
michael@0 | 2437 | within the function. |
michael@0 | 2438 | Update code accordingly. |
michael@0 | 2439 | (tt_driver_class): Remove casts. |
michael@0 | 2440 | |
michael@0 | 2441 | 2004-05-02 Werner Lemberg <wl@gnu.org> |
michael@0 | 2442 | |
michael@0 | 2443 | * src/sfnt/ttload.c (tt_face_free_names): Check that `table->names' |
michael@0 | 2444 | is not NULL. Reported by Gordon Childs <gchilds@quickcut.com.au>. |
michael@0 | 2445 | |
michael@0 | 2446 | 2004-04-29 Werner Lemberg <wl@gnu.org> |
michael@0 | 2447 | |
michael@0 | 2448 | * docs/formats.txt: Add more information on PFR format. |
michael@0 | 2449 | |
michael@0 | 2450 | 2004-04-28 Werner Lemberg <wl@gnu.org> |
michael@0 | 2451 | |
michael@0 | 2452 | * docs/formats.txt: New file. |
michael@0 | 2453 | * docs/CHANGES: Updated. |
michael@0 | 2454 | |
michael@0 | 2455 | 2004-04-28 Masatake YAMATO <jet@gyve.org> |
michael@0 | 2456 | |
michael@0 | 2457 | * include/freetype/internal/tttypes.h (GX_BlendRec_) |
michael@0 | 2458 | [TT_CONFIG_OPTION_GX_VAR_SUPPORT]: Fix a typo. |
michael@0 | 2459 | |
michael@0 | 2460 | * src/truetype/ttgxvar.h (GX_BlendRec_): Fix a typo. |
michael@0 | 2461 | |
michael@0 | 2462 | 2004-04-27 Masatake YAMATO <jet@gyve.org> |
michael@0 | 2463 | |
michael@0 | 2464 | * src/truetype/ttgxvar.h: Use FT_LOCAL instead of FT_LOCAL_DEF |
michael@0 | 2465 | for function declarations. |
michael@0 | 2466 | |
michael@0 | 2467 | 2004-04-25 George Williams <gww@silcom.com> |
michael@0 | 2468 | |
michael@0 | 2469 | * src/truetype/ttgxvar.c (ft_var_apply_tuple): Fix typo. |
michael@0 | 2470 | |
michael@0 | 2471 | 2004-04-25 Werner Lemberg <wl@gnu.org> |
michael@0 | 2472 | |
michael@0 | 2473 | * src/truetype/Jamfile, docs/CHANGES: Updated. |
michael@0 | 2474 | |
michael@0 | 2475 | 2004-04-24 Werner Lemberg <wl@gnu.org> |
michael@0 | 2476 | |
michael@0 | 2477 | * src/pcf/pcfdrivr.c: Revert change from 2004-04-17. |
michael@0 | 2478 | * src/pcf/pcfutil.c: Use FT_LOCAL_DEF. |
michael@0 | 2479 | * src/pcf/pcfutil.h: Include FT_CONFIG_CONFIG_H. |
michael@0 | 2480 | Use FT_BEGIN_HEADER and FT_END_HEADER. |
michael@0 | 2481 | Use FT_LOCAL. |
michael@0 | 2482 | |
michael@0 | 2483 | 2004-04-24 George Williams <gww@silcom.com> |
michael@0 | 2484 | |
michael@0 | 2485 | Add support for Apple's distortable font technology (in GX fonts). |
michael@0 | 2486 | |
michael@0 | 2487 | * devel/ftoption.h, include/freetype/config/ftoption.h |
michael@0 | 2488 | (TT_CONFIG_OPTION_GX_VAR_SUPPORT): New macro. |
michael@0 | 2489 | |
michael@0 | 2490 | * include/freetype/ftmm.h (FT_Var_Axis, FT_Var_Named_Style, |
michael@0 | 2491 | FT_MM_Var): New structures. |
michael@0 | 2492 | (FT_Get_MM_Var, FT_Set_Var_Design_Coordinates, |
michael@0 | 2493 | FT_Set_Var_Blend_Coordinates): New function declarations. |
michael@0 | 2494 | |
michael@0 | 2495 | * include/freetype/internal/services/svmm.h (FT_Get_MM_Var_Func, |
michael@0 | 2496 | FT_Set_Var_Design_Func): New typedefs. |
michael@0 | 2497 | Update MultiMasters service. |
michael@0 | 2498 | |
michael@0 | 2499 | * include/freetype/internal/tttypes.h |
michael@0 | 2500 | [TT_CONFIG_OPTION_GX_VAR_SUPPORT]: Include FT_MULTIPLE_MASTERS_H. |
michael@0 | 2501 | (GX_Blend) [TT_CONFIG_OPTION_GX_VAR_SUPPORT]: New typedef. |
michael@0 | 2502 | (TT_Face) [TT_CONFIG_OPTION_GX_VAR_SUPPORT]: New members `doblend' |
michael@0 | 2503 | and `blend'. |
michael@0 | 2504 | |
michael@0 | 2505 | * include/freetype/tttags.h (TTAG_avar, TTAG_cvar, TTAG_gvar): New |
michael@0 | 2506 | macros. |
michael@0 | 2507 | |
michael@0 | 2508 | * include/freetype/internal/fttrace.h: Add `ttgxvar'. |
michael@0 | 2509 | |
michael@0 | 2510 | * src/base/ftmm.c (FT_Get_MM_Var, FT_Set_Var_Design_Coordinates, |
michael@0 | 2511 | FT_Set_Var_Blend_Coordinates): New functions. |
michael@0 | 2512 | |
michael@0 | 2513 | * src/sfnt/sfobjs.c (sfnt_load_face) |
michael@0 | 2514 | [TT_CONFIG_OPTION_GX_VAR_SUPPORT]: Set FT_FACE_FLAG_MULTIPLE_MASTERS |
michael@0 | 2515 | flag for GX var fonts. |
michael@0 | 2516 | |
michael@0 | 2517 | * src/truetype/ttgxvar.c, src/truetype/ttgxvar.h: New files. |
michael@0 | 2518 | |
michael@0 | 2519 | * src/truetype/truetype.c [TT_CONFIG_OPTION_GX_VAR_SUPPORT]: Include |
michael@0 | 2520 | ttgxvar.c. |
michael@0 | 2521 | |
michael@0 | 2522 | * src/truetype/ttdriver.c [TT_CONFIG_OPTION_GX_VAR_SUPPORT]: Include |
michael@0 | 2523 | FT_MULTIPLE_MASTERS_H, FT_SERVICE_MULTIPLE_MASTERS_H, and ttgxvar.h. |
michael@0 | 2524 | (tt_service_gx_multi_masters) [TT_CONFIG_OPTION_GX_VAR_SUPPORT]: |
michael@0 | 2525 | New service. |
michael@0 | 2526 | (tt_services) [TT_CONFIG_OPTION_GX_VAR_SUPPORT]: Updated. |
michael@0 | 2527 | |
michael@0 | 2528 | * src/truetype/ttgload.c [TT_CONFIG_OPTION_GX_VAR_SUPPORT]: Include |
michael@0 | 2529 | ttgxvar.h. |
michael@0 | 2530 | (TT_Process_Simple_Glyph, load_truetype_glyph) |
michael@0 | 2531 | [TT_CONFIG_OPTION_GX_VAR_SUPPORT] :Support GX var fonts. |
michael@0 | 2532 | |
michael@0 | 2533 | * src/truetype/ttobjs.c [TT_CONFIG_OPTION_GX_VAR_SUPPORT]: Include |
michael@0 | 2534 | ttgxvar.h. |
michael@0 | 2535 | (tt_done_face) [TT_CONFIG_OPTION_GX_VAR_SUPPORT]: Call |
michael@0 | 2536 | tt_done_blend. |
michael@0 | 2537 | |
michael@0 | 2538 | * src/truetype/ttpload.c [TT_CONFIG_OPTION_GX_VAR_SUPPORT]: Include |
michael@0 | 2539 | ttgxvar.h. |
michael@0 | 2540 | (tt_face_load_cvt) [TT_CONFIG_OPTION_GX_VAR_SUPPORT]: Call |
michael@0 | 2541 | tt_face_vary_cvt. |
michael@0 | 2542 | |
michael@0 | 2543 | * src/truetype/rules.mk (TT_DRV_SRC): Add ttgxvar.c. |
michael@0 | 2544 | |
michael@0 | 2545 | * src/type1/t1driver.c (t1_service_multi_masters): Add T1_Get_MM_Var |
michael@0 | 2546 | and T1_Set_Var_Design. |
michael@0 | 2547 | |
michael@0 | 2548 | * src/type1/t1load.c (FT_INT_TO_FIXED, FT_FIXED_TO_INT): New macros. |
michael@0 | 2549 | (T1_Get_MM_Var, T1_Set_Var_Design): New functions. |
michael@0 | 2550 | |
michael@0 | 2551 | * src/type1/t1load.h (T1_Get_MM_Var, T1_Set_Var_Design): New |
michael@0 | 2552 | function declarations. |
michael@0 | 2553 | |
michael@0 | 2554 | 2004-04-23 Werner Lemberg <wl@gnu.org> |
michael@0 | 2555 | |
michael@0 | 2556 | * include/freetype/ftcache.h (FT_Get_CharMap_Index): Rename |
michael@0 | 2557 | declaration and move to... |
michael@0 | 2558 | * include/freetype/freetype.h (FT_Get_Charmap_Index): Here. |
michael@0 | 2559 | (FREETYPE_PATCH): Set to 9. |
michael@0 | 2560 | |
michael@0 | 2561 | * src/base/ftobjs.c (FT_Get_Charmap_Index): New function. |
michael@0 | 2562 | |
michael@0 | 2563 | * builds/unix/configure.ac (version_info): Set to 9:7:3. |
michael@0 | 2564 | * builds/unix/configure: Updated. |
michael@0 | 2565 | |
michael@0 | 2566 | * builds/win32/visualc/index.html, |
michael@0 | 2567 | builds/win32/visualc/freetype.dsp, |
michael@0 | 2568 | builds/win32/visualc/freetype.vcproj: s/218/219/. |
michael@0 | 2569 | |
michael@0 | 2570 | * builds/freetype.mk (refdoc), README, Jamfile (RefDoc): |
michael@0 | 2571 | s/2.1.8/2.1.9/. |
michael@0 | 2572 | |
michael@0 | 2573 | * docs/CHANGES, docs/VERSION.DLL: Updated. |
michael@0 | 2574 | |
michael@0 | 2575 | 2004-04-21 Werner Lemberg <wl@gnu.org> |
michael@0 | 2576 | |
michael@0 | 2577 | * src/cff/cffparse.c (cff_parser_run), src/psaux/psobjs.c |
michael@0 | 2578 | (ps_parser_load_field): Use FT_CHAR_BIT. |
michael@0 | 2579 | |
michael@0 | 2580 | 2004-04-21 David Turner <david@freetype.org> |
michael@0 | 2581 | |
michael@0 | 2582 | |
michael@0 | 2583 | * Version 2.1.8 released. |
michael@0 | 2584 | ========================= |
michael@0 | 2585 | |
michael@0 | 2586 | |
michael@0 | 2587 | * src/cff/cffobjs.c (cff_face_init): Fix a small memory leak. |
michael@0 | 2588 | |
michael@0 | 2589 | * src/autofit/afloader.c (af_loader_load_g), src/autofit/afmodule.c |
michael@0 | 2590 | (af_autofitter_load_glyph), src/base/ftdebug.c (FT_Trace_Get_Name): |
michael@0 | 2591 | Remove compiler warnings. |
michael@0 | 2592 | |
michael@0 | 2593 | * src/autofit/aftypes.h: Undefine AF_DEBUG. |
michael@0 | 2594 | |
michael@0 | 2595 | * src/lzw/zopen.c (rmask), src/pcf/pcfdrivr.c (pcf_service_bdf, |
michael@0 | 2596 | pcf_services), src/pcf/pcfread.c (tableNames), src/psaux/psobjs.c |
michael@0 | 2597 | (ft_char_table), src/type42/t42drivr.c (t42_service_glyph_dict, |
michael@0 | 2598 | t42_service_ps_font_name): Decorate data arrays with `const' to |
michael@0 | 2599 | avoid populating the `.data' segment. |
michael@0 | 2600 | |
michael@0 | 2601 | * src/lzw/Jamfile: New file. |
michael@0 | 2602 | |
michael@0 | 2603 | 2004-04-20 Werner Lemberg <wl@gnu.org> |
michael@0 | 2604 | |
michael@0 | 2605 | * src/psaux/psobjs.c (T1Radix): Renamed to... |
michael@0 | 2606 | (ps_radix): This. |
michael@0 | 2607 | Update current cursor position. |
michael@0 | 2608 | |
michael@0 | 2609 | * docs/CHANGES: Updated. |
michael@0 | 2610 | |
michael@0 | 2611 | 2004-04-18 Werner Lemberg <wl@gnu.org> |
michael@0 | 2612 | |
michael@0 | 2613 | * src/truetype/ttgload.c, src/truetype/ttgload.h (TT_Load_Glyph), |
michael@0 | 2614 | src/ttdriver.c (Load_Glyph): Change type of `glyph_index' to |
michael@0 | 2615 | FT_UInt. From Lex Warners. |
michael@0 | 2616 | |
michael@0 | 2617 | 2004-04-17 Chisato Yamauchi <cyamauch@a.phys.nagoya-u.ac.jp> |
michael@0 | 2618 | |
michael@0 | 2619 | * src/sfnt/ttload.c (tt_face_load_sfnt_header): Really fix change |
michael@0 | 2620 | from 2004-03-19. |
michael@0 | 2621 | |
michael@0 | 2622 | * src/bdf/bdfdrivr.c (BDF_Face_Init): Use `ft_strlen'. |
michael@0 | 2623 | |
michael@0 | 2624 | * src/pcf/pcfutil.c, src/pcf/pcfutil.h: Decorate functions with |
michael@0 | 2625 | `static'. |
michael@0 | 2626 | Remove unused function `RepadBitmap'. |
michael@0 | 2627 | * src/pcf/pcfdrivr.c: Don't include pcfutil.h. |
michael@0 | 2628 | |
michael@0 | 2629 | 2004-04-16 Werner Lemberg <wl@gnu.org> |
michael@0 | 2630 | |
michael@0 | 2631 | * builds/unix/freetype-config.in (usage): Fix and improve usage |
michael@0 | 2632 | information. |
michael@0 | 2633 | |
michael@0 | 2634 | 2004-04-15 Werner Lemberg <wl@gnu.org> |
michael@0 | 2635 | |
michael@0 | 2636 | * builds/unix/ftconfig.in, builds/vms/ftconfig.h: Define |
michael@0 | 2637 | FT_CHAR_BIT. |
michael@0 | 2638 | |
michael@0 | 2639 | * src/base/ftobjs.c (FT_Load_Glyph): Don't apply autohinting if |
michael@0 | 2640 | glyph is vertically distorted or mirrored. |
michael@0 | 2641 | |
michael@0 | 2642 | * src/cff/cffgload.c (cff_slot_load): Handle zero `size' properly |
michael@0 | 2643 | for embedded bitmaps. |
michael@0 | 2644 | |
michael@0 | 2645 | * docs/CHANGES: Updated. |
michael@0 | 2646 | |
michael@0 | 2647 | 2004-04-15 bytesoftware <bytesoftware@btinternet.com> |
michael@0 | 2648 | |
michael@0 | 2649 | * include/freetype/config/ftconfig.h, src/base/ftstream.c |
michael@0 | 2650 | (FT_Stream_ReadFields): More fixes using FT_CHAR_BIT. |
michael@0 | 2651 | |
michael@0 | 2652 | 2004-04-14 Werner Lemberg <wl@gnu.org> |
michael@0 | 2653 | |
michael@0 | 2654 | * include/freetype/config/ftconfig.h (FT_CHAR_BIT): New macro. |
michael@0 | 2655 | |
michael@0 | 2656 | 2004-04-14 Alex Strelnikov <ptktyrf@mail.ru> |
michael@0 | 2657 | |
michael@0 | 2658 | * src/cache/ftcsbits.c (ftc_snode_load): Initialize `*asize' in case |
michael@0 | 2659 | of error. |
michael@0 | 2660 | |
michael@0 | 2661 | 2004-04-14 Werner Lemberg <wl@gnu.org> |
michael@0 | 2662 | |
michael@0 | 2663 | * src/base/ftmac.c [__GNUC__]: Define OS_INLINE. |
michael@0 | 2664 | * builds/unix/configure.ac: Don't try to remove `-ansi' compilation |
michael@0 | 2665 | switch on the Mac. |
michael@0 | 2666 | |
michael@0 | 2667 | * builds/unix/ltmain.sh: Regenerated with `libtoolize --force |
michael@0 | 2668 | --copy' from libtool 1.5.6. |
michael@0 | 2669 | * builds/unix/aclocal.m4: Regenerated with `aclocal -I .' from |
michael@0 | 2670 | automake 1.8a. |
michael@0 | 2671 | * builds/unix/configure: Regenerated with autoconf 2.59a. |
michael@0 | 2672 | |
michael@0 | 2673 | 2004-04-13 Werner Lemberg <wl@gnu.org> |
michael@0 | 2674 | |
michael@0 | 2675 | * include/freetype/config/ftconfig.h: Use CHAR_BIT to define |
michael@0 | 2676 | size of FT_SIZEOF_xxx. |
michael@0 | 2677 | |
michael@0 | 2678 | 2004-04-12 Chisato Yamauchi <cyamauch@a.phys.nagoya-u.ac.jp> |
michael@0 | 2679 | |
michael@0 | 2680 | * include/freetype/internal/sfnt.h (TT_Find_SBit_Image_Func, |
michael@0 | 2681 | TT_Load_SBit_Metrics_Func): New typedefs. |
michael@0 | 2682 | (SFNT_Interface): Add find_sbit_image and load_sbit_metrics. |
michael@0 | 2683 | |
michael@0 | 2684 | * src/sfnt/sfdriver.c (sfnt_interface): Updated. |
michael@0 | 2685 | * src/sfnt/ttsbit.h (tt_find_sbit_image, tt_load_sbit_metrics): New |
michael@0 | 2686 | declarations. |
michael@0 | 2687 | * src/sfnt/ttsbit.c (find_sbit_image): Renamed to... |
michael@0 | 2688 | (tt_find_sbit_image): This. |
michael@0 | 2689 | Updated all callers. |
michael@0 | 2690 | (load_sbit_metrics): Renamed to... |
michael@0 | 2691 | (tt_load_sbit_metrics): This. |
michael@0 | 2692 | Updated all callers. |
michael@0 | 2693 | |
michael@0 | 2694 | 2004-04-12 Werner Lemberg <wl@gnu.org> |
michael@0 | 2695 | |
michael@0 | 2696 | * configure: Accept makepp also. |
michael@0 | 2697 | |
michael@0 | 2698 | * builds/unix/detect.mk: Use proper path to unix-def.mk. |
michael@0 | 2699 | * builds/unix/unix-def.in (BUILD_DIR, PLATFORM): Remove. |
michael@0 | 2700 | * builds/unix/unix.mk (BUILD_DIR, PLATFORM): Define. |
michael@0 | 2701 | Use BUILD_DIR. |
michael@0 | 2702 | |
michael@0 | 2703 | * docs/INSTALL, docs/INSTALL.GNU, docs/INSTALL.UNX: Update |
michael@0 | 2704 | documentation on makepp. |
michael@0 | 2705 | |
michael@0 | 2706 | 2004-04-11 Werner Lemberg <wl@gnu.org> |
michael@0 | 2707 | |
michael@0 | 2708 | * src/lzw/zopen.c: Don't include sys/param.h and sys/stat.h. |
michael@0 | 2709 | |
michael@0 | 2710 | 2004-04-10 Werner Lemberg <wl@gnu.org> |
michael@0 | 2711 | |
michael@0 | 2712 | * src/lzw/ftlzw.c: Include zopen.h dependent on |
michael@0 | 2713 | FT_CONFIG_OPTION_USE_LZW. |
michael@0 | 2714 | |
michael@0 | 2715 | * src/base/ftdebug.c: s/index/idx/ to avoid compiler warnings. |
michael@0 | 2716 | |
michael@0 | 2717 | 2004-04-02 Werner Lemberg <wl@gnu.org> |
michael@0 | 2718 | |
michael@0 | 2719 | * builds/unix/ltmain.sh: Regenerated with `libtoolize --force |
michael@0 | 2720 | --copy' from libtool 1.5.2. |
michael@0 | 2721 | * builds/unix/aclocal.m4: Regenerated with `aclocal -I .' from |
michael@0 | 2722 | automake 1.8a. |
michael@0 | 2723 | * builds/unix/configure: Regenerated with autoconf 2.59a. |
michael@0 | 2724 | |
michael@0 | 2725 | 2004-04-01 Werner Lemberg <wl@gnu.org> |
michael@0 | 2726 | |
michael@0 | 2727 | * builds/unix/ft-munmap.m4 (FT_MUNMAP_PARAM): Fix arguments of |
michael@0 | 2728 | AC_COMPILE_IFELSE. |
michael@0 | 2729 | * builds/unix/aclocal.m4: Regenerated with `aclocal -I .' from |
michael@0 | 2730 | automake 1.8a. |
michael@0 | 2731 | * builds/unix/configure: Regenerated with autoconf 2.59a. |
michael@0 | 2732 | * builds/unix/config.guess, builds/unix/config.sub: Updated from |
michael@0 | 2733 | `config' CVS module at subversions.gnu.org. |
michael@0 | 2734 | * builds/unix/install-sh, builds/unix/mkinstalldirs: Updated from |
michael@0 | 2735 | `texinfo' CVS module at subversions.gnu.org. |
michael@0 | 2736 | * builds/freetype.mk (refdoc): Updated. |
michael@0 | 2737 | |
michael@0 | 2738 | 2004-03-31 Werner Lemberg <wl@gnu.org> |
michael@0 | 2739 | |
michael@0 | 2740 | Handle broken FNT files which don't have a trailing NULL byte |
michael@0 | 2741 | in the face name string. |
michael@0 | 2742 | |
michael@0 | 2743 | * src/winfonts/winfnt.h (FNT_FontRec): New member `family_name'. |
michael@0 | 2744 | * src/winfonts/winfnt.c (fnt_font_done): Free font->family_name. |
michael@0 | 2745 | (FNT_Face_Init): Append a final zero byte to the font face name. |
michael@0 | 2746 | |
michael@0 | 2747 | 2004-03-30 Werner Lemberg <wl@gnu.org> |
michael@0 | 2748 | |
michael@0 | 2749 | * src/sfnt/ttload.c (tt_face_load_sfnt_header): Fix change from |
michael@0 | 2750 | 2004-03-19. |
michael@0 | 2751 | |
michael@0 | 2752 | 2004-03-27 Werner Lemberg <wl@gnu.org> |
michael@0 | 2753 | |
michael@0 | 2754 | * src/base/descrip.mms (OBJS): Add ftbbox.obj. |
michael@0 | 2755 | |
michael@0 | 2756 | 2004-03-26 George Williams <gww@silcom.com> |
michael@0 | 2757 | |
michael@0 | 2758 | Add vertical phantom points. |
michael@0 | 2759 | |
michael@0 | 2760 | * include/freetype/internal/tttypes.h (TT_LoaderRec): Add |
michael@0 | 2761 | `top_bearing', `vadvance', `pp3', and `pp4'. |
michael@0 | 2762 | |
michael@0 | 2763 | * src/autofit/afloader.c (af_loader_load_g): Handle two more points. |
michael@0 | 2764 | |
michael@0 | 2765 | * src/autohint/ahhint.c (ah_hinter_load): Handle two more points. |
michael@0 | 2766 | * src/truetype/ttgload.c (Get_VMetrics): New function. |
michael@0 | 2767 | (TT_Load_Simple_Glyph, TT_Process_Simple_Glyph): Handle two more |
michael@0 | 2768 | points. |
michael@0 | 2769 | (load_truetype_glyph): Use Get_VMetrics. |
michael@0 | 2770 | Handle two more points. |
michael@0 | 2771 | (compute_glyph_metrics): Thanks to vertical phantom points we now |
michael@0 | 2772 | can always compute `advance_height' and `top_bearing'. |
michael@0 | 2773 | * src/truetype/ttobjs.h (TT_SubglyphRec): Add vertical phantom |
michael@0 | 2774 | points. |
michael@0 | 2775 | |
michael@0 | 2776 | |
michael@0 | 2777 | * src/autohint/ahglyph.c (ah_outline_load): Fix allocation of |
michael@0 | 2778 | `news'. |
michael@0 | 2779 | |
michael@0 | 2780 | 2004-03-21 Werner Lemberg <wl@gnu.org> |
michael@0 | 2781 | |
michael@0 | 2782 | * src/bdf/bdfdrivr.c (BDF_Glyph_Load): Fix left side bearing. |
michael@0 | 2783 | |
michael@0 | 2784 | 2004-03-20 Steve Hartwell <shspamsink@comcast.net> |
michael@0 | 2785 | |
michael@0 | 2786 | * src/cache/ftcmru.c (FTC_MruList_RemoveSelection): Handle a NULL |
michael@0 | 2787 | value for `selection' as `select all'. |
michael@0 | 2788 | |
michael@0 | 2789 | 2004-03-19 Steve Hartwell <shspamsink@comcast.net> |
michael@0 | 2790 | |
michael@0 | 2791 | * src/sfnt/ttload.c (tt_face_load_sfnt_header): Reject face_index |
michael@0 | 2792 | values > 0 if loading non-TTC fonts. |
michael@0 | 2793 | |
michael@0 | 2794 | * src/base/ftmac.c (open_face_from_buffer): Set positive face_index |
michael@0 | 2795 | to zero before calling FT_Open_Face. |
michael@0 | 2796 | |
michael@0 | 2797 | * docs/CHANGES: Updated. |
michael@0 | 2798 | |
michael@0 | 2799 | 2004-03-04 Werner Lemberg <wl@gnu.org> |
michael@0 | 2800 | |
michael@0 | 2801 | * Jamfile, vms_make.com, builds/win32/visualc/freetype.dsp, |
michael@0 | 2802 | builds/win32/visualc/freetype/vcproj, include/freetype/ftmoderr.h: |
michael@0 | 2803 | Add LZW module. |
michael@0 | 2804 | |
michael@0 | 2805 | * Jamfile.in: Removed. |
michael@0 | 2806 | |
michael@0 | 2807 | * docs/CHANGES: Updated. |
michael@0 | 2808 | |
michael@0 | 2809 | * include/freetype/internal/ftobjs.h: s/MIN/FT_MIN/, s/MAX/FT_MAX/, |
michael@0 | 2810 | s/ABS/FT_ABS/. Updated all callers. |
michael@0 | 2811 | |
michael@0 | 2812 | * src/type1/t1load.c (parse_dict), src/pcf/pcfdrivr.c |
michael@0 | 2813 | (PCF_Face_Init): Use FT_ERROR_BASE. |
michael@0 | 2814 | |
michael@0 | 2815 | 2004-03-04 Albert Chin <china@thewrittenword.com> |
michael@0 | 2816 | |
michael@0 | 2817 | Add support for PCF fonts compressed with LZW (extension .pcf.Z, |
michael@0 | 2818 | created with `compress'). |
michael@0 | 2819 | |
michael@0 | 2820 | * include/freetype/config/ftoption.h, devel/ftoption.h |
michael@0 | 2821 | (FT_CONFIG_OPTION_USE_LZW): New macro. |
michael@0 | 2822 | |
michael@0 | 2823 | * include/freetype/ftlzw.h: New file. |
michael@0 | 2824 | * include/freetype/config/ftheader.h (FT_LZW_H): New macro for |
michael@0 | 2825 | ftlzw.h. |
michael@0 | 2826 | |
michael@0 | 2827 | * src/lzw/*: New files. |
michael@0 | 2828 | |
michael@0 | 2829 | * src/pcf/pcfdrivr.c: Include FT_LZW_H. |
michael@0 | 2830 | (PCF_Face_Init): Try LZW also. |
michael@0 | 2831 | |
michael@0 | 2832 | * src/gzip/ftgzip.c: s/0/Gzip_Err_Ok/ where appropriate. |
michael@0 | 2833 | Beautify. |
michael@0 | 2834 | |
michael@0 | 2835 | 2004-03-03 Werner Lemberg <wl@gnu.org> |
michael@0 | 2836 | |
michael@0 | 2837 | * src/pshinter/pshalgo.c (psh_hint_table_init): Simplify code. |
michael@0 | 2838 | |
michael@0 | 2839 | 2004-03-02 Werner Lemberg <wl@gnu.org> |
michael@0 | 2840 | |
michael@0 | 2841 | Add embedded bitmap support to CFF driver. |
michael@0 | 2842 | |
michael@0 | 2843 | * src/cff/cffobjs.h (CFF_SizeRec): New structure. |
michael@0 | 2844 | |
michael@0 | 2845 | * src/cff/cffgload.c (cff_builder_init): Updated. |
michael@0 | 2846 | (cff_slot_load): Updated. |
michael@0 | 2847 | [TT_CONFIG_OPTION_EMBEDDED_BITMAPS]: Load sbit. |
michael@0 | 2848 | |
michael@0 | 2849 | * src/cff/cffobjs.c (sbit_size_reset) |
michael@0 | 2850 | [TT_CONFIG_OPTION_EMBEDDED_BITMAPS]: New function. |
michael@0 | 2851 | (cff_size_get_globals_funcs, cff_size_done, cff_size_init): Updated. |
michael@0 | 2852 | (cff_size_reset): Updated. |
michael@0 | 2853 | [TT_CONFIG_OPTION_EMBEDDED_BITMAPS]: Call sbit_size_reset. |
michael@0 | 2854 | |
michael@0 | 2855 | * src/cff/cffdrivr.c (Load_Glyph): Updated. |
michael@0 | 2856 | (cff_driver_class): Use CFF_SizeRec. |
michael@0 | 2857 | |
michael@0 | 2858 | * docs/CHANGES: Updated. |
michael@0 | 2859 | |
michael@0 | 2860 | 2004-03-01 Werner Lemberg <wl@gnu.org> |
michael@0 | 2861 | |
michael@0 | 2862 | * src/pshinter/pshglob.c (psh_globals_scale_widths): Don't use |
michael@0 | 2863 | FT_RoundFix but FT_PIX_ROUND. |
michael@0 | 2864 | (psh_blues_snap_stem): Don't use blue_shift but blue_threshold. |
michael@0 | 2865 | |
michael@0 | 2866 | * src/pshinter/pshalgo.c (PSH_STRONG_THRESHOLD_MAXIMUM): New macro. |
michael@0 | 2867 | (psh_glyph_find_string_points): Use PSH_STRONG_THRESHOLD_MAXIMUM. |
michael@0 | 2868 | (psh_glyph_find_blue_points): New function. Needed for fonts like |
michael@0 | 2869 | p052003l.pfb (URW Palladio L Roman) which have flex curves at the |
michael@0 | 2870 | base line within blue zones, but the flex curves aren't covered by |
michael@0 | 2871 | hints. |
michael@0 | 2872 | (ps_hints_apply): Use psh_glyph_find_blue_points. |
michael@0 | 2873 | |
michael@0 | 2874 | 2004-02-27 Garrick Meeker <garrick@digitalanarchy.com> |
michael@0 | 2875 | |
michael@0 | 2876 | * builds/unix/configure.ac: Fix compiler flags for |
michael@0 | 2877 | `--with-old-mac-fonts'. |
michael@0 | 2878 | * builds/unix/configure: Regenerated. |
michael@0 | 2879 | |
michael@0 | 2880 | * src/base/ftmac.c: s/TARGET_API_MAC_CARBON/!TARGET_API_MAC_OS8/. |
michael@0 | 2881 | (FT_New_Face_From_Resource): New function. |
michael@0 | 2882 | (FT_New_Face): Use FT_New_Face_From_Resource. |
michael@0 | 2883 | (FT_New_Face_From_FSSpec): Use FT_New_Face_From_Resource. |
michael@0 | 2884 | [__MWERKS__]: Don't include FSp_fopen.h. |
michael@0 | 2885 | |
michael@0 | 2886 | 2004-02-26 Werner Lemberg <wl@gnu.org> |
michael@0 | 2887 | |
michael@0 | 2888 | * src/pshinter/pshglob.c (psh_globals_new): Fix value of |
michael@0 | 2889 | `dim->stdw.count'. |
michael@0 | 2890 | Don't assign default values to blue scale and blue shift. |
michael@0 | 2891 | |
michael@0 | 2892 | 2004-02-25 Werner Lemberg <wl@gnu.org> |
michael@0 | 2893 | |
michael@0 | 2894 | * docs/CHANGES: Updated. |
michael@0 | 2895 | |
michael@0 | 2896 | 2004-02-25 Garrick Meeker <garrick@digitalanarchy.com> |
michael@0 | 2897 | Steve Hartwell <shspamsink@comcast.net> |
michael@0 | 2898 | |
michael@0 | 2899 | Improve MacOS fond support. Provide a new API |
michael@0 | 2900 | `FT_New_Face_From_FSSpec' similar to `FT_New_Face'. |
michael@0 | 2901 | |
michael@0 | 2902 | * src/base/ftmac.c [__MWERKS__]: Include FSp_fpopen.h. |
michael@0 | 2903 | STREAM_FILE [__MWERKS__]: New macro. |
michael@0 | 2904 | (ft_FSp_stream_close, ft_FSp_stream_io) [__MWERKS__]: New functions. |
michael@0 | 2905 | (file_spec_from_path) [__MWERKS__]: Updated #if statement. |
michael@0 | 2906 | (get_file_type, make_lwfn_spec): Use `const' for argument. |
michael@0 | 2907 | (is_dfont) [TARGET_API_MAC_CARBON]: Removed. |
michael@0 | 2908 | (count_face_sfnt, count_faces): New functions. |
michael@0 | 2909 | (parse_fond): Do some range checking. |
michael@0 | 2910 | (read_lwfn): Change type of second argument. |
michael@0 | 2911 | No longer call FSpOpenResFile. |
michael@0 | 2912 | (OpenFileAsResource): New function. |
michael@0 | 2913 | (FT_New_Face_From_LWFN): Use `const' for second argument. |
michael@0 | 2914 | Use OpenFileAsResource. |
michael@0 | 2915 | (FT_New_Face_From_Suitcase): Change type of second argument. |
michael@0 | 2916 | No longer call FSpOpenResFile. |
michael@0 | 2917 | Loop over all resource indices. |
michael@0 | 2918 | (FT_New_Face_From_dfont) [TARGET_API_MAC_CARBON]: Removed. |
michael@0 | 2919 | (FT_GetFile_From_Mac_Name): Use `const' for first argument. |
michael@0 | 2920 | (ResourceForkSize): Removed. |
michael@0 | 2921 | (FT_New_Face): Updated to use new functions. |
michael@0 | 2922 | (FT_New_Face_From_FSSpec): New function. |
michael@0 | 2923 | |
michael@0 | 2924 | * include/freetype/ftmac.h: Updated. |
michael@0 | 2925 | |
michael@0 | 2926 | 2004-02-24 Malcolm Taylor <mtaylor@clear.net.nz> |
michael@0 | 2927 | |
michael@0 | 2928 | * src/autohint/ahhint.c (ah_hinter_load) <FT_GLYPH_FORMAT_OUTLINE>: |
michael@0 | 2929 | Handle case where outline->num_vedges is zero while computing hinted |
michael@0 | 2930 | metrics. |
michael@0 | 2931 | |
michael@0 | 2932 | 2004-02-24 Gordon Childs <gchilds@quickcut.com.au> |
michael@0 | 2933 | |
michael@0 | 2934 | * src/cff/cffcmap.c (cff_cmap_unicode_init): Provide correct value |
michael@0 | 2935 | for `count'. |
michael@0 | 2936 | |
michael@0 | 2937 | 2004-02-24 Werner Lemberg <wl@gnu.org> |
michael@0 | 2938 | |
michael@0 | 2939 | * include/freetype/t1tables.h (PS_PrivateRec): Add |
michael@0 | 2940 | `expansion_factor'. |
michael@0 | 2941 | |
michael@0 | 2942 | * src/pshinter/pshglob (psh_blues_scale_zones): Fix computation |
michael@0 | 2943 | of blues->no_overshoots -- `blues_scale' is stored with a |
michael@0 | 2944 | magnification of 1000, and `scale' returns fractional pixels. |
michael@0 | 2945 | |
michael@0 | 2946 | * src/type1/t1load.c (T1_Open_Face): Initialize `blue_shift', |
michael@0 | 2947 | `blue_fuzz', `expansion_factor', and `blue_scale' according to the |
michael@0 | 2948 | Type 1 specification. |
michael@0 | 2949 | |
michael@0 | 2950 | * src/type1/t1tokens.h: Handle `ExpansionFactor'. |
michael@0 | 2951 | |
michael@0 | 2952 | * docs/CHANGES: Updated. |
michael@0 | 2953 | |
michael@0 | 2954 | 2004-02-24 Masatake YAMATO <jet@gyve.org> |
michael@0 | 2955 | |
michael@0 | 2956 | Provide generic access to MacOS resource forks. |
michael@0 | 2957 | |
michael@0 | 2958 | * src/base/ftrfork.c, include/freetype/internal/ftrfork.h: New |
michael@0 | 2959 | files. |
michael@0 | 2960 | |
michael@0 | 2961 | * src/base/ftobjs.c: Include FT_INTERNAL_RFORK_H. |
michael@0 | 2962 | (Mac_Read_POST_Resource, Mac_Read_sfnt_Resource): Remove arguments |
michael@0 | 2963 | `resource_listoffset' and `resource_data' and adapt code |
michael@0 | 2964 | accordingly. These values are calculated outside of the function |
michael@0 | 2965 | now. |
michael@0 | 2966 | Add new argument `offsets'. |
michael@0 | 2967 | (IsMacResource): Use `FT_Raccess_Get_HeaderInfo' and |
michael@0 | 2968 | `FT_Raccess_Get_DataOffsets'. |
michael@0 | 2969 | (load_face_in_embedded_rfork): New function. |
michael@0 | 2970 | (load_mac_face): Use load_face_in_embedded_rfork. |
michael@0 | 2971 | (ft_input_stream_new): Renamed to... |
michael@0 | 2972 | (FT_Stream_New): This. Use FT_BASE_DEF. Updated all callers. |
michael@0 | 2973 | (ft_input_stream_free): Renamed to... |
michael@0 | 2974 | (FT_Stream_Free): This. Use FT_BASE_DEF. Updated all callers. |
michael@0 | 2975 | |
michael@0 | 2976 | * src/base/ftbase.c: Include ftrfork.c. |
michael@0 | 2977 | |
michael@0 | 2978 | * src/base/rules.mk (BASE_SRC), src/base/Jamfile: Updated. |
michael@0 | 2979 | |
michael@0 | 2980 | * include/freetype/internal/internal.h (FT_INTERNAL_RFORK_H): |
michael@0 | 2981 | New macro. |
michael@0 | 2982 | |
michael@0 | 2983 | * include/freetype/internal/fttrace.h: Added `rfork' as a new |
michael@0 | 2984 | trace definition. |
michael@0 | 2985 | |
michael@0 | 2986 | * include/freetype/internal/ftstream.h: Declare FT_Stream_New and |
michael@0 | 2987 | FT_Stream_Free. |
michael@0 | 2988 | |
michael@0 | 2989 | * include/freetype/config/ftoption.h, devel/ftoption.h |
michael@0 | 2990 | (FT_CONFIG_OPTION_GUESSING_EMBEDDED_RFORK): New option. |
michael@0 | 2991 | |
michael@0 | 2992 | * include/freetype/config/ftstdlib.h (ft_strrchr): New macro. |
michael@0 | 2993 | |
michael@0 | 2994 | 2004-02-23 Werner Lemberg <wl@gnu.org> |
michael@0 | 2995 | |
michael@0 | 2996 | * docs/CHANGES: Updated. |
michael@0 | 2997 | |
michael@0 | 2998 | * include/freetype/internal/ftdebug.h: Include FT_FREETYPE_H. |
michael@0 | 2999 | |
michael@0 | 3000 | 2004-02-23 Masatake YAMATO <jet@gyve.org> |
michael@0 | 3001 | |
michael@0 | 3002 | Provide a simple API to control FreeType's tracing levels. |
michael@0 | 3003 | |
michael@0 | 3004 | * include/freetype/internal/ftdebug.h (FT_Trace_Get_Count, |
michael@0 | 3005 | FT_Trace_Get_Name): New declarations. |
michael@0 | 3006 | |
michael@0 | 3007 | * src/base/ftdebug.c (FT_Trace_Get_Count, FT_Trace_Get_Name): New |
michael@0 | 3008 | functions. |
michael@0 | 3009 | |
michael@0 | 3010 | 2004-02-23 David Turner <david@freetype.org> |
michael@0 | 3011 | |
michael@0 | 3012 | * src/autofit/afhints.c, src/autofit/afhints.h, |
michael@0 | 3013 | src/autofit/aflatin.c, src/autofit/afloader.c, src/types.h: Grave |
michael@0 | 3014 | bugs have been fixed. The auto-fitter works, doesn't crash, but |
michael@0 | 3015 | still produces unexpected results... |
michael@0 | 3016 | |
michael@0 | 3017 | 2004-02-21 Werner Lemberg <wl@gnu.org> |
michael@0 | 3018 | |
michael@0 | 3019 | * src/pshinter/pshalgo.c (PSH_STRONG_THRESHOLD): Changed to hold |
michael@0 | 3020 | the accepted shift for strong points in fractional pixels (which |
michael@0 | 3021 | is a heuristic value). |
michael@0 | 3022 | (psh_glyph_find_strong_points): Compute threshold for |
michael@0 | 3023 | psh_hint_table_find_strong_points. |
michael@0 | 3024 | (psh_hint_table_find_strong_point): Add parameter to pass threshold. |
michael@0 | 3025 | |
michael@0 | 3026 | 2004-02-20 Werner Lemberg <wl@gnu.org> |
michael@0 | 3027 | |
michael@0 | 3028 | * src/pshinter/pshrec.c (ps_mask_table_set_bits): Don't call |
michael@0 | 3029 | ps_mask_table_alloc but ps_mask_table_last. |
michael@0 | 3030 | (ps_hints_t2mask): Use correct position and number for vertical |
michael@0 | 3031 | and horizontal hinter mask bits. |
michael@0 | 3032 | |
michael@0 | 3033 | * docs/CHANGES: Updated. |
michael@0 | 3034 | |
michael@0 | 3035 | 2004-02-19 Werner Lemberg <wl@gnu.org> |
michael@0 | 3036 | |
michael@0 | 3037 | * src/base/ftstroke.c (FT_Glyph_StrokeBorder): Fix enum handling. |
michael@0 | 3038 | * src/cff/cffdrivr.c (cff_get_cmap_info): Remove compiler warning. |
michael@0 | 3039 | |
michael@0 | 3040 | 2004-02-18 Werner Lemberg <wl@gnu.org> |
michael@0 | 3041 | |
michael@0 | 3042 | * include/freetype/freetype.h: Document FT_LOAD_TARGET_XXX properly. |
michael@0 | 3043 | |
michael@0 | 3044 | * src/base/ftglyph.c (ft_bitmap_glyph_class, |
michael@0 | 3045 | ft_outline_glyph_class): Tag with FT_CALLBACK_TABLE_DEF. |
michael@0 | 3046 | |
michael@0 | 3047 | * src/smooth/ftsmooth.c (ft_smooth_render): Handle |
michael@0 | 3048 | FT_RENDER_MODE_LIGHT. |
michael@0 | 3049 | |
michael@0 | 3050 | 2004-02-17 Werner Lemberg <wl@gnu.org> |
michael@0 | 3051 | |
michael@0 | 3052 | Fix callback functions in cache module. |
michael@0 | 3053 | |
michael@0 | 3054 | * src/cache/ftccback.h: New file for callback declarations. |
michael@0 | 3055 | |
michael@0 | 3056 | * src/cache/ftcbasic.c (ftc_basic_family_compare, |
michael@0 | 3057 | ftc_basic_family_init, ftc_basic_family_get_count, |
michael@0 | 3058 | ftc_basic_family_load_bitmap, ftc_basic_family_load_glyph, |
michael@0 | 3059 | ftc_basic_gnode_compare_faceid): Use FT_CALLBACK_DEF. |
michael@0 | 3060 | (ftc_basic_image_family_class, ftc_basic_image_cache_class, |
michael@0 | 3061 | ftc_basic_sbit_family_class, ftc_basic_sbit_cache_class): |
michael@0 | 3062 | Use FT_CALLBACK_TABLE_DEF and local wrapper functions. |
michael@0 | 3063 | |
michael@0 | 3064 | * src/cache/ftccache.c: Include ftccback.h. |
michael@0 | 3065 | (ftc_cache_init, ftc_cache_done): New wrapper functions which use |
michael@0 | 3066 | FT_LOCAL_DEF. |
michael@0 | 3067 | |
michael@0 | 3068 | * src/cache/ftccmap.c: Include ftccback.h. |
michael@0 | 3069 | (ftc_cmap_cache_class): Use local wrapper functions. |
michael@0 | 3070 | |
michael@0 | 3071 | * src/cache/ftcglyph.c: Include ftccback.h. |
michael@0 | 3072 | (ftc_gnode_compare, ftc_gcache_init, ftc_gcache_done): New wrapper |
michael@0 | 3073 | functions which use FT_LOCAL_DEF. |
michael@0 | 3074 | |
michael@0 | 3075 | * src/cache/ftcimage.c: Include ftccback.h. |
michael@0 | 3076 | (ftc_inode_free, ftc_inode_new, ftc_inode_weight): New wrapper |
michael@0 | 3077 | functions which use FT_LOCAL_DEF. |
michael@0 | 3078 | |
michael@0 | 3079 | * src/cache/ftcmanag.c (ftc_size_list_class, ftc_face_list_class): |
michael@0 | 3080 | Use FT_CALLBACK_TABLE_DEF. |
michael@0 | 3081 | |
michael@0 | 3082 | * src/cache;/ftcsbits.c: Include ftccback.h. |
michael@0 | 3083 | (ftc_snode_free, ftc_snode_new, ftc_snode_weight, |
michael@0 | 3084 | ftc_snode_compare): New wrapper functions which use FT_LOCAL_DEF. |
michael@0 | 3085 | |
michael@0 | 3086 | * src/cache/rules.mk (CACHE_DRV_H): Add ftccback.h. |
michael@0 | 3087 | |
michael@0 | 3088 | 2004-02-17 Masatake YAMATO <jet@gyve.org> |
michael@0 | 3089 | |
michael@0 | 3090 | * include/freetype/ftmac.h (FT_GetFile_From_Mac_Name): Fix a typo |
michael@0 | 3091 | (FT_EXPORT_DEF -> FT_EXPORT). |
michael@0 | 3092 | |
michael@0 | 3093 | * include/freetype/ftxf86.h (FT_Get_X11_Font_Format): Ditto. |
michael@0 | 3094 | |
michael@0 | 3095 | 2004-02-15 Werner Lemberg <wl@gnu.org> |
michael@0 | 3096 | |
michael@0 | 3097 | * src/base/ftobjs.c (FT_Set_Char_Size): Fix typo. |
michael@0 | 3098 | |
michael@0 | 3099 | 2004-02-14 Masatake YAMATO <jet@gyve.org> |
michael@0 | 3100 | |
michael@0 | 3101 | * builds/unix/ftsystem.c: Include errno.h. |
michael@0 | 3102 | (ft_close_stream): Renamed to... |
michael@0 | 3103 | (ft_close_stream_by_munmap): This. |
michael@0 | 3104 | (ft_close_stream_by_free): New function. |
michael@0 | 3105 | (FT_Stream_Open): Use fallback method if mmap fails. |
michael@0 | 3106 | Use proper function for closing the stream. |
michael@0 | 3107 | |
michael@0 | 3108 | 2004-02-14 Werner Lemberg <wl@gnu.org> |
michael@0 | 3109 | |
michael@0 | 3110 | * src/type1/t1load.c (parse_dict): Initialize `start_binary'. |
michael@0 | 3111 | |
michael@0 | 3112 | 2004-02-13 Robert Etheridge <roberte@stcc.cc.tx.us> |
michael@0 | 3113 | |
michael@0 | 3114 | * src/type42/t42objs.c (T42_Face_Init), src/type1/t1objs.c |
michael@0 | 3115 | (T1_Face_Init), src/cid/cidobjs.c (cid_face_init): Fix computation |
michael@0 | 3116 | of underline_position and underline_thickness. |
michael@0 | 3117 | |
michael@0 | 3118 | 2004-02-12 Werner Lemberg <wl@gnu.org> |
michael@0 | 3119 | |
michael@0 | 3120 | * src/base/ftobjs.c (FT_Set_Char_Size): Return immediately if |
michael@0 | 3121 | ppem values don't change. Suggested by Graham Asher. |
michael@0 | 3122 | |
michael@0 | 3123 | 2004-02-11 Werner Lemberg <wl@gnu.org> |
michael@0 | 3124 | |
michael@0 | 3125 | * src/cid/cidload.c (cid_face_open): Always allocate |
michael@0 | 3126 | face->cid_stream so that we can deallocate it safely. |
michael@0 | 3127 | |
michael@0 | 3128 | 2004-02-10 Werner Lemberg <wl@gnu.org> |
michael@0 | 3129 | |
michael@0 | 3130 | Make the PS parser more tolerant w.r.t. non-standard font data. In |
michael@0 | 3131 | general, an error is only reported in case of a syntax error; a |
michael@0 | 3132 | wrong type is now simply ignored (if possible). To be independent |
michael@0 | 3133 | of the order of various MM-specific keywords, the parse_shared_dict |
michael@0 | 3134 | routine has been removed -- the PS parser is now capable to skip |
michael@0 | 3135 | this data. It no longer fails on parsing e.g. |
michael@0 | 3136 | |
michael@0 | 3137 | dup /WeightVector exch def |
michael@0 | 3138 | |
michael@0 | 3139 | Since the token following /WeightVector isn't `[' (starting an |
michael@0 | 3140 | array) it is simply ignored. |
michael@0 | 3141 | |
michael@0 | 3142 | * include/freetype/fterrdef.h: Define `FT_Err_Ignore' (0xA2) as a |
michael@0 | 3143 | new internal error value. |
michael@0 | 3144 | |
michael@0 | 3145 | * src/type1/t1load.c (parse_blend_axis_types, |
michael@0 | 3146 | parse_blend_design_positions, parse_blend_design_map): Return |
michael@0 | 3147 | T1_Err_Ignore if no proper array is following the keyword. |
michael@0 | 3148 | (parse_weight_vector): Use T1_ToTokenArray, initializing `blend' |
michael@0 | 3149 | structure, if necessary. |
michael@0 | 3150 | Return T1_Err_Ignore if no proper array is following the keyword. |
michael@0 | 3151 | (parse_shared_dict): Removed. |
michael@0 | 3152 | (parse_encoding): Set parser->root.error to return T1_Err_Ignore |
michael@0 | 3153 | if no result can be obtained. |
michael@0 | 3154 | Check for errors before accessing `elements' array. |
michael@0 | 3155 | (t1_keywords): Remove /shareddict. |
michael@0 | 3156 | (parse_dict): Reset error if t1_load_keyword returns T1_Err_Ignore. |
michael@0 | 3157 | Set keyword_flag only in case of success. |
michael@0 | 3158 | Check error code if skipping an unrecognized token. |
michael@0 | 3159 | (T1_Open_Face) [!T1_CONFIG_OPTION_NO_MM_SUPPORT]: Call T1_Done_Blend |
michael@0 | 3160 | if blend commands haven't set up a proper MM font. |
michael@0 | 3161 | |
michael@0 | 3162 | * src/psaux/psobjs.c (ps_parser_load_field_table): Remove special |
michael@0 | 3163 | code for synthetic fonts. |
michael@0 | 3164 | Return PSaux_Err_Ignore if no proper value has been found. |
michael@0 | 3165 | |
michael@0 | 3166 | 2004-02-09 Werner Lemberg <wl@gnu.org> |
michael@0 | 3167 | |
michael@0 | 3168 | * src/cff/cffgload.c (cff_decoder_parse_charstrings) |
michael@0 | 3169 | <cff_op_endchar>: Preserve glyph width before calling |
michael@0 | 3170 | cff_operator_seac. |
michael@0 | 3171 | |
michael@0 | 3172 | 2004-02-09 Martin Muskens <mmuskens@aurelon.com> |
michael@0 | 3173 | |
michael@0 | 3174 | * src/cff/cffgload.c (cff_decoder_parse_charstrings): Handle special |
michael@0 | 3175 | first argument for `hintmask' and `cntrmask' operators also. |
michael@0 | 3176 | |
michael@0 | 3177 | 2004-02-08 Werner Lemberg <wl@gnu.org> |
michael@0 | 3178 | |
michael@0 | 3179 | * builds/unix/configure.in: Call AC_SUBST for `enable_shared', |
michael@0 | 3180 | `hardcode_libdir_flag_spec', and `wl'. |
michael@0 | 3181 | * builds/unix/configure: Regenerated. |
michael@0 | 3182 | |
michael@0 | 3183 | * builds/unix/freetype-config.in: Make --prefix and --exec-prefix |
michael@0 | 3184 | actually work. |
michael@0 | 3185 | Report a proper --rpath (or -R) value for --libs argument if a |
michael@0 | 3186 | shared library has been built. |
michael@0 | 3187 | |
michael@0 | 3188 | * docs/CHANGES: Updated. |
michael@0 | 3189 | |
michael@0 | 3190 | 2004-02-07 Keith Packard <keithp@keithp.com> |
michael@0 | 3191 | |
michael@0 | 3192 | * src/bdf/bdfdrivr.c (BDF_Face_Init, BDF_Set_Pixel_Size): Fix |
michael@0 | 3193 | computation of various vertical and horizontal metric values. |
michael@0 | 3194 | |
michael@0 | 3195 | * src/pcfdrivr.c (PCF_Set_Pixel_Size), src/pcfread (pcf_load_font): |
michael@0 | 3196 | Ditto. |
michael@0 | 3197 | |
michael@0 | 3198 | 2004-02-07 Werner Lemberg <wl@gnu.org> |
michael@0 | 3199 | |
michael@0 | 3200 | * builds/win32/visualc/index.html, |
michael@0 | 3201 | builds/win32/visualc/freetype.dsp, |
michael@0 | 3202 | builds/win32/visualc/freetype.dsw, docs/CHANGES: Updated. |
michael@0 | 3203 | |
michael@0 | 3204 | 2004-02-07 Vitaliy Pasternak <v_a_pasternak@mail.ru> |
michael@0 | 3205 | |
michael@0 | 3206 | * builds/win32/visualc/freetype.sln, |
michael@0 | 3207 | builds/win32/visualc/freetype.vcproj: New files for VS.NET 2003. |
michael@0 | 3208 | |
michael@0 | 3209 | 2004-02-03 Werner Lemberg <wl@gnu.org> |
michael@0 | 3210 | |
michael@0 | 3211 | * include/freetype/cache/ftccache.h (FTC_CACHE_LOOKUP_CMP): |
michael@0 | 3212 | Initialize `node'. |
michael@0 | 3213 | * src/type1/t1load.c (parse_dict): Initialize `have_integer'. |
michael@0 | 3214 | |
michael@0 | 3215 | 2004-02-02 Werner Lemberg <wl@gnu.org> |
michael@0 | 3216 | |
michael@0 | 3217 | * src/type1/t1load.c (parse_dict): Handle `RD' and `-|' commands |
michael@0 | 3218 | outside of /Subrs or /CharStrings. This can happen if there is |
michael@0 | 3219 | additional code manipulating those two arrays so that FreeType |
michael@0 | 3220 | doesn't recognize them properly. |
michael@0 | 3221 | (T1_Open_Face): Improve an error message. |
michael@0 | 3222 | |
michael@0 | 3223 | 2004-02-01 Werner Lemberg <wl@gnu.org> |
michael@0 | 3224 | |
michael@0 | 3225 | * src/type1/t1load.c (parse_charstrings): Exit immediately if |
michael@0 | 3226 | there are no elements in /CharStrings. This is needed for fonts |
michael@0 | 3227 | like Optima-Oblique which not only define /CharStrings but access it |
michael@0 | 3228 | also. |
michael@0 | 3229 | |
michael@0 | 3230 | 2004-02-01 David Turner <david@freetype.org> |
michael@0 | 3231 | |
michael@0 | 3232 | * src/sfnt/Jamfile: Removing `ttcmap' from the list of sources. |
michael@0 | 3233 | |
michael@0 | 3234 | * include/freetype/cache/ftccache.h (FTC_CACHE_LOOKUP_CMP) |
michael@0 | 3235 | <FTC_INLINE>: Provide macro version which doesn't use inline code. |
michael@0 | 3236 | * include/freetype/cache/ftcglyph.h (FTC_GCACHE_LOOKUP_CMP) |
michael@0 | 3237 | <FTC_INLINE>: Ditto. |
michael@0 | 3238 | Use FTC_MRULIST_LOOKUP_CMP. |
michael@0 | 3239 | * include/freetype/cache/ftcmru.h (FTC_MRULIST_LOOKUP_CMP): New |
michael@0 | 3240 | macro. |
michael@0 | 3241 | (FTC_MRULIST_LOOKUP): Use it. |
michael@0 | 3242 | |
michael@0 | 3243 | * src/cache/Jamfile (_sources), src/cache/descrip.mms: Updated. |
michael@0 | 3244 | * src/cache/ftcbasic.c: Fix compiler warnings. |
michael@0 | 3245 | * src/cache/ftcmanag.c (FTC_Manager_LookupSize, |
michael@0 | 3246 | FTC_Manager_LookupFace) <FTC_INLINE>: Use FTC_MRULIST_LOOKUP_CMP. |
michael@0 | 3247 | * src/cache/ftcmru.c (FTC_MruList_Find): Fix a bug (found after |
michael@0 | 3248 | heavy testing). |
michael@0 | 3249 | |
michael@0 | 3250 | * Jamfile: Updating `refdoc' target, and adding `autohint' to the |
michael@0 | 3251 | list of modules to build. Both the autohinter and autofitter will |
michael@0 | 3252 | be built by default. But which one will be used is determined by |
michael@0 | 3253 | the content of `ftmodule.h'. |
michael@0 | 3254 | |
michael@0 | 3255 | * src/autofit/*: Many updates, but the code is still buggy... |
michael@0 | 3256 | |
michael@0 | 3257 | 2004-01-31 Werner Lemberg <wl@gnu.org> |
michael@0 | 3258 | |
michael@0 | 3259 | * src/cff/cffgload.c (cff_operator_seac): Fix magnitude of |
michael@0 | 3260 | accent offset. |
michael@0 | 3261 | Update code similarly to the seac support for Type 1 fonts. |
michael@0 | 3262 | (cff_decoder_parse_charstrings) <cff_op_endchar>: Fix magnitude |
michael@0 | 3263 | of accent offset. |
michael@0 | 3264 | Don't hint glyphs twice if seac is emulated. |
michael@0 | 3265 | <cff_op_flex>: Assign correct point tags. |
michael@0 | 3266 | * docs/CHANGES: Updated. |
michael@0 | 3267 | |
michael@0 | 3268 | 2004-01-30 Werner Lemberg <wl@gnu.org> |
michael@0 | 3269 | |
michael@0 | 3270 | * src/type1/t1parse.c (T1_Get_Private_Dict): Use FT_MEM_MOVE, not |
michael@0 | 3271 | FT_MEM_COPY, for copying the private dict. |
michael@0 | 3272 | |
michael@0 | 3273 | * src/type1/t1load.c (parse_subrs): Assign number of subrs only |
michael@0 | 3274 | in first run. |
michael@0 | 3275 | (parse_charstrings): Parse /CharStrings in second run without |
michael@0 | 3276 | assigning values. |
michael@0 | 3277 | (parse_dict): Skip all /CharStrings arrays but the first. We need |
michael@0 | 3278 | this for non-standard fonts like `Optima' which have different |
michael@0 | 3279 | outlines depending on the resolution. Note that there is no |
michael@0 | 3280 | guarantee that we get fitting /Subrs and /CharStrings arrays; this |
michael@0 | 3281 | can only be done by a real PS interpreter. |
michael@0 | 3282 | |
michael@0 | 3283 | 2004-01-29 Antoine Leca <Antoine-Freetype@Leca-Marti.org> |
michael@0 | 3284 | |
michael@0 | 3285 | * builds/win32/visualc/index.html: New file, giving detailed |
michael@0 | 3286 | explanations about forcing CR+LF line endings for the VC++ project |
michael@0 | 3287 | files. |
michael@0 | 3288 | |
michael@0 | 3289 | 2004-01-22 Garrick Meeker <garrick@digitalanarchy.com> |
michael@0 | 3290 | |
michael@0 | 3291 | * src/cff/cffload.c (cff_subfont_load): Initialize `dict'. |
michael@0 | 3292 | |
michael@0 | 3293 | 2004-01-22 Werner Lemberg <wl@gnu.org> |
michael@0 | 3294 | |
michael@0 | 3295 | Add support for the hexadecimal representation of binary data |
michael@0 | 3296 | started with `StartData' in CID-keyed Type 1 fonts. |
michael@0 | 3297 | |
michael@0 | 3298 | * include/freetype/internal/t1types.h (CID_FaceRec): Add new |
michael@0 | 3299 | members `binary_data' and `cid_stream'. |
michael@0 | 3300 | |
michael@0 | 3301 | * src/cid/cidload.c (cid_read_subrs): Use `face->cid_stream'. |
michael@0 | 3302 | (cid_hex_to_binary): New auxiliary function. |
michael@0 | 3303 | (cid_face_open): Add new argument `face_index' to return quickly |
michael@0 | 3304 | if less than zero. Updated all callers. |
michael@0 | 3305 | Call `cid_hex_to_binary', then open and assign memory stream to |
michael@0 | 3306 | `face->cid_stream' if `parser->binary_length' is non-zero. |
michael@0 | 3307 | * src/cid/cidload.h: Updated. |
michael@0 | 3308 | |
michael@0 | 3309 | * src/cid/cidobjs.c (cid_face_done): Free `binary_data' and |
michael@0 | 3310 | `cid_stream'. |
michael@0 | 3311 | |
michael@0 | 3312 | * src/cid/cidparse.c (cid_parser_new): Check arguments to |
michael@0 | 3313 | `StartData' and set parser->binary_length accordingly. |
michael@0 | 3314 | * src/cid/cidparse.h (CID_Parser): New member `binary_length'. |
michael@0 | 3315 | |
michael@0 | 3316 | * src/cid/cidgload.c (cid_load_glyph): Use `face->cid_stream'. |
michael@0 | 3317 | |
michael@0 | 3318 | * docs/CHANGES: Updated. |
michael@0 | 3319 | |
michael@0 | 3320 | 2004-01-21 Werner Lemberg <wl@gnu.org> |
michael@0 | 3321 | |
michael@0 | 3322 | include/freetype/config/ftstdlib.h (ft_atoi): Replaced with... |
michael@0 | 3323 | (ft_atol): This. |
michael@0 | 3324 | * src/base/ftdbgmem.c: s/atol/ft_atol/. |
michael@0 | 3325 | * src/type42/t42drivr.c: s/ft_atoi/ft_atol/. |
michael@0 | 3326 | |
michael@0 | 3327 | 2004-01-20 Masatake YAMATO <jet@gyve.org> |
michael@0 | 3328 | |
michael@0 | 3329 | * include/freetype/ftcache.h: Delete duplicated definition of |
michael@0 | 3330 | FTC_FaceID. |
michael@0 | 3331 | |
michael@0 | 3332 | * src/cff/cffdrivr.c (cff_get_cmap_info): Call sfnt module's TT CMap |
michael@0 | 3333 | Info service function if the cmap comes from sfnt. Return 0 if the |
michael@0 | 3334 | cmap is sythesized in cff module. |
michael@0 | 3335 | |
michael@0 | 3336 | 2004-01-20 David Turner <david@freetype.org> |
michael@0 | 3337 | |
michael@0 | 3338 | * src/cache/ftcmanag.c (ftc_size_node_compare): Call |
michael@0 | 3339 | FT_Activate_Size. |
michael@0 | 3340 | |
michael@0 | 3341 | 2004-01-20 Werner Lemberg <wl@gnu.org> |
michael@0 | 3342 | |
michael@0 | 3343 | * src/type1/t1parse.c (T1_Get_Private_Dict): Skip exactly one |
michael@0 | 3344 | CR, LF, or CR/LF after `eexec'. |
michael@0 | 3345 | |
michael@0 | 3346 | 2004-01-18 David Turner <david@freetype.org> |
michael@0 | 3347 | |
michael@0 | 3348 | * src/sfnt/ttsbit.c (tt_face_set_sbit_strike): Remove compiler |
michael@0 | 3349 | warning. |
michael@0 | 3350 | |
michael@0 | 3351 | * src/tools/docmaker/*: Updating beautifier tool. |
michael@0 | 3352 | |
michael@0 | 3353 | 2004-01-15 David Turner <david@freetype.org> |
michael@0 | 3354 | |
michael@0 | 3355 | * src/base/ftoutln.c (ft_orientation_extremum_compute): Fix |
michael@0 | 3356 | infinite loop bug. |
michael@0 | 3357 | |
michael@0 | 3358 | * include/freetype/ftstroke.h: Include FT_GLYPH_H. |
michael@0 | 3359 | (FT_Stroker_Rewind, FT_Glyph_Stroke, FT_Glyph_StrokeBorder): New |
michael@0 | 3360 | declarations. |
michael@0 | 3361 | |
michael@0 | 3362 | * src/base/ftstroke.c: Include FT_INTERNAL_OBJECTS_H. |
michael@0 | 3363 | (FT_Outline_GetOutsideBorder): Inverse result. |
michael@0 | 3364 | (FT_Stroker_Rewind, FT_Glyph_Stroke, FT_GlyphStrokeBorder): New |
michael@0 | 3365 | functions. |
michael@0 | 3366 | (FT_Stroker_EndSubPath): Close path if needed. |
michael@0 | 3367 | (FT_Stroker_Set, FT_Stroker_ParseOutline): Use FT_Stroker_Rewind. |
michael@0 | 3368 | |
michael@0 | 3369 | * include/freetype/cache/ftcmanag.h (FTC_ScalerRec, |
michael@0 | 3370 | FTC_Manager_LookupSize): Moved to... |
michael@0 | 3371 | * include/freetype/ftcache.h (FTC_ScalerRec, |
michael@0 | 3372 | FTC_Manager_LookupSize): Here. |
michael@0 | 3373 | |
michael@0 | 3374 | * src/tools/docmaker/docbeauty.py: New file to beautify the |
michael@0 | 3375 | documentation comments (e.g., to convert them to single block border |
michael@0 | 3376 | mode). |
michael@0 | 3377 | * src/tools/docmaker/docmaker.py (file_exists, make_file_list): |
michael@0 | 3378 | Moved to... |
michael@0 | 3379 | * src/tools/docmaker/utils.py (file_exists, make_file_list): Here. |
michael@0 | 3380 | |
michael@0 | 3381 | 2004-01-14 David Turner <david@freetype.org> |
michael@0 | 3382 | |
michael@0 | 3383 | * include/freetype/internal/ftmemory.h (FT_ARRAY_COPY, |
michael@0 | 3384 | FT_ARRAY_MOVE): New macros to make copying arrays easier. |
michael@0 | 3385 | Updated all relevant code to use them. |
michael@0 | 3386 | |
michael@0 | 3387 | 2004-01-14 Werner Lemberg <wl@gnu.org> |
michael@0 | 3388 | |
michael@0 | 3389 | * src/cff/cffload.c (cff_font_load): Load charstrings_index earlier. |
michael@0 | 3390 | Use number of charstrings as argument to CFF_Load_FD_Select (as |
michael@0 | 3391 | documented in the CFF specs). |
michael@0 | 3392 | |
michael@0 | 3393 | 2004-01-13 Graham Asher <graham.asher@btinternet.com> |
michael@0 | 3394 | |
michael@0 | 3395 | * src/pshinter/pshalgo.c (psh_glyph_init): Move assignment of |
michael@0 | 3396 | `glyph->memory' up to free arrays properly in case of failure. |
michael@0 | 3397 | |
michael@0 | 3398 | 2004-01-10 Masatake YAMATO <jet@gyve.org> |
michael@0 | 3399 | |
michael@0 | 3400 | Make `FT_Get_CMap_Language_ID' work with CFF. Bug reported by |
michael@0 | 3401 | Steve Hartwell <shspamsink@comcast.net>. |
michael@0 | 3402 | |
michael@0 | 3403 | * src/cff/cffdrivr.c: Include FT_SERVICE_TT_CMAP_H. |
michael@0 | 3404 | (cff_services): Added an entry for FT_SERVICE_ID_TT_CMAP. |
michael@0 | 3405 | (cff_get_cmap_info): New function. |
michael@0 | 3406 | (cff_service_get_cmap_info) New entry for cff_services. |
michael@0 | 3407 | |
michael@0 | 3408 | * src/sfnt/ttcmap0.c: Exit loop after a format match has been found. |
michael@0 | 3409 | Suggested by Steve Hartwell <shspamsink@comcast.net>. |
michael@0 | 3410 | |
michael@0 | 3411 | 2004-01-03 Masatake YAMATO <jet@gyve.org> |
michael@0 | 3412 | |
michael@0 | 3413 | * src/base/ftobjs.c (destroy_charmaps): New function. |
michael@0 | 3414 | (destroy_face, open_face): Use `destroy_charmaps'. |
michael@0 | 3415 | |
michael@0 | 3416 | 2004-01-01 Werner Lemberg <wl@gnu.org> |
michael@0 | 3417 | |
michael@0 | 3418 | * docs/CHANGES: Updated. |
michael@0 | 3419 | |
michael@0 | 3420 | 2004-01-01 Michael Jansson <mjan@em2-solutions.com> |
michael@0 | 3421 | |
michael@0 | 3422 | * src/winfonts/winfnt.c (FNT_Size_Set_Pixels): Fix sign of |
michael@0 | 3423 | size->metrics.descender. |
michael@0 | 3424 | |
michael@0 | 3425 | 2003-12-31 Wolfgang Domröse <porthos.domroese@harz.de> |
michael@0 | 3426 | |
michael@0 | 3427 | * src/cff/cffgload.c (cff_decoder_parse_charstrings) |
michael@0 | 3428 | [FT_DEBUG_LEVEL_TRACE]: Use `%ld' in FT_TRACE4. |
michael@0 | 3429 | <cff_op_flex1>: Change type of dx and dy to FT_Pos and remove |
michael@0 | 3430 | cast for accessing arguments. |
michael@0 | 3431 | |
michael@0 | 3432 | 2003-12-31 Werner Lemberg <wl@gnu.org> |
michael@0 | 3433 | |
michael@0 | 3434 | * src/truetype/ttgload.c (TT_Load_Simple_Glyph): Revert previous |
michael@0 | 3435 | change. It's not necessary. |
michael@0 | 3436 | |
michael@0 | 3437 | 2003-12-29 Smith Charles <smith.charles@free.fr> |
michael@0 | 3438 | |
michael@0 | 3439 | * src/truetype/ttgload.c (TT_Load_Simple_Glyph): Handle `repeated |
michael@0 | 3440 | flags set' correctly. |
michael@0 | 3441 | |
michael@0 | 3442 | 2003-12-29 Werner Lemberg <wl@gnu.org> |
michael@0 | 3443 | |
michael@0 | 3444 | * src/cff/cffobjs.c (cff_face_init): Fix memory leak by deallocating |
michael@0 | 3445 | `full' and `weight' properly. |
michael@0 | 3446 | * src/cff/cffgload.c (cff_decoder_parse_charstrings) |
michael@0 | 3447 | <cff_op_hintmask> [FT_DEBUG_LEVEL_TRACE]: Use `0x' as prefix for |
michael@0 | 3448 | tracing output. |
michael@0 | 3449 | |
michael@0 | 3450 | 2003-12-26 Werner Lemberg <wl@gnu.org> |
michael@0 | 3451 | |
michael@0 | 3452 | * include/freetype/internal/sfnt.h (TT_Set_SBit_Strike_Func): |
michael@0 | 3453 | Use FT_UInt for ppem values. |
michael@0 | 3454 | * src/sfnt/ttsbit.c (tt_face_set_sbit_strike): Use FT_UInt for |
michael@0 | 3455 | ppem values. |
michael@0 | 3456 | * src/sfnt/ttsbit.h: Updated. |
michael@0 | 3457 | |
michael@0 | 3458 | * src/base/ftobjs.c (FT_Set_Pixel_Sizes): Don't allow ppem values |
michael@0 | 3459 | larger than -0FFFF. |
michael@0 | 3460 | |
michael@0 | 3461 | 2003-12-25 Werner Lemberg <wl@gnu.org> |
michael@0 | 3462 | |
michael@0 | 3463 | * src/base/fttrigon.c, src/base/ftgloadr.c: Inlude |
michael@0 | 3464 | FT_INTERNAL_OBJECTS_H. |
michael@0 | 3465 | |
michael@0 | 3466 | * src/base/ftstroke.c (FT_Outline_GetInsideBorder, |
michael@0 | 3467 | FT_Outline_GetOutsideBorder): s/or/o/ to make it compile with |
michael@0 | 3468 | C++ compilers. |
michael@0 | 3469 | |
michael@0 | 3470 | * src/cache/ftcmru.c, include/freetype/cache/ftcmru.h: |
michael@0 | 3471 | s/select/selection/ to avoid compiler warning. |
michael@0 | 3472 | * src/cff/cffload.h: s/select/ftselect/ to avoid potential |
michael@0 | 3473 | compiler warning. |
michael@0 | 3474 | |
michael@0 | 3475 | 2003-12-24 Werner Lemberg <wl@gnu.org> |
michael@0 | 3476 | |
michael@0 | 3477 | * src/cache/ftcsbits.c (FTC_SNode_Weight): |
michael@0 | 3478 | s/FTC_SBIT_ITEM_PER_NODE/FTC_SBIT_ITEMS_PER_NODE/. |
michael@0 | 3479 | |
michael@0 | 3480 | 2003-12-24 David Turner <david@freetype.org> |
michael@0 | 3481 | |
michael@0 | 3482 | * Fixed compilation problems in the cache sub-system. |
michael@0 | 3483 | |
michael@0 | 3484 | * Partial updates to src/autofit. |
michael@0 | 3485 | |
michael@0 | 3486 | * Jamfile (FT2_COMPONENTS): Add autofit module. |
michael@0 | 3487 | |
michael@0 | 3488 | 2003-12-23 Werner Lemberg <wl@gnu.org> |
michael@0 | 3489 | |
michael@0 | 3490 | * src/cff/cffgload.c (cff_lookup_glyph_by_stdcharcode): Handle |
michael@0 | 3491 | CID-keyed fonts. |
michael@0 | 3492 | |
michael@0 | 3493 | 2003-12-23 David Turner <david@freetype.org> |
michael@0 | 3494 | |
michael@0 | 3495 | * include/freetype/internal/ftobjs.h (FT_PAD_FLOOR, FT_PAD_ROUND, |
michael@0 | 3496 | FT_PAD_CEIL, FT_PIX_FLOOR, FT_PIX_ROUND, FT_CEIL): New macros. They |
michael@0 | 3497 | are used to avoid compiler warnings with very pedantic compilers. |
michael@0 | 3498 | Note that `(x) & -64' causes a warning if (x) is not signed. Use |
michael@0 | 3499 | `(x) & ~63' instead! |
michael@0 | 3500 | Updated all related code. |
michael@0 | 3501 | |
michael@0 | 3502 | Add support for extraction of `inside' and `outside' borders. |
michael@0 | 3503 | |
michael@0 | 3504 | * src/base/ftstroke.c (FT_StrokerBorder): New enumeration. |
michael@0 | 3505 | (FT_Outline_GetInsideBorder, FT_Outline_GetOutsideBorder, |
michael@0 | 3506 | FT_Stroker_GetBorderCounts, FT_Stroker_ExportBorder): New functions. |
michael@0 | 3507 | (FT_StrokeBorderRec): New boolean member `valid'. |
michael@0 | 3508 | (ft_stroke_border_get_counts): Updated. |
michael@0 | 3509 | * include/freetype/ftstroke.h: Updated. |
michael@0 | 3510 | |
michael@0 | 3511 | 2003-12-22 Werner Lemberg <wl@gnu.org> |
michael@0 | 3512 | |
michael@0 | 3513 | * include/freetype/ftwinfnt.h (FT_WinFNT_ID_*): New definitions |
michael@0 | 3514 | to describe the `charset' field in FT_WinFNT_HeaderRec. |
michael@0 | 3515 | * src/winfonts/winfnt.c (FNT_Face_Init): Set encoding to |
michael@0 | 3516 | FT_ENCODING_NONE except for FT_WinFNT_ID_MAC. |
michael@0 | 3517 | |
michael@0 | 3518 | * include/freetype/freetype.h (FT_Encoding): Improve comment, |
michael@0 | 3519 | based on work by Detlef Würkner <TetiSoft@apg.lahn.de>. |
michael@0 | 3520 | |
michael@0 | 3521 | * docs/CHANGES: Updated. |
michael@0 | 3522 | |
michael@0 | 3523 | 2003-12-22 David Turner <david@freetype.org> |
michael@0 | 3524 | |
michael@0 | 3525 | * include/freetype/ftcache.h, |
michael@0 | 3526 | include/freetype/cache/ftcmanag.h, |
michael@0 | 3527 | include/freetype/cache/ftccache.h, |
michael@0 | 3528 | include/freetype/cache/ftcmanag.h, |
michael@0 | 3529 | include/freetype/cache/ftcmru.h (added), |
michael@0 | 3530 | include/freetype/cache/ftlru.h (removed), |
michael@0 | 3531 | include/freetype/cache/ftcsbits.h, |
michael@0 | 3532 | include/freetype/cache/ftcimage.h, |
michael@0 | 3533 | include/freetype/cache/ftcglyph.h, |
michael@0 | 3534 | src/cache/ftcmru.c, |
michael@0 | 3535 | src/cache/ftcmanag.c, |
michael@0 | 3536 | src/cache/ftccache.c, |
michael@0 | 3537 | src/cache/ftcglyph.c, |
michael@0 | 3538 | src/cache/ftcimage.c, |
michael@0 | 3539 | src/cache/ftcsbits.c, |
michael@0 | 3540 | src/cache/ftccmap.c, |
michael@0 | 3541 | src/cache/ftcbasic.c (added), |
michael@0 | 3542 | src/cache/ftclru.c (removed): |
michael@0 | 3543 | |
michael@0 | 3544 | *Complete* rewrite of the cache sub-system to `solve' the |
michael@0 | 3545 | following points: |
michael@0 | 3546 | |
michael@0 | 3547 | - all public APIs have been moved to FT_CACHE_H, everything |
michael@0 | 3548 | under `include/freetype/cache' is only needed by client |
michael@0 | 3549 | applications that want to implement their own caches |
michael@0 | 3550 | |
michael@0 | 3551 | - a new function named FTC_Manager_RemoveFaceID to deal |
michael@0 | 3552 | with the uninstallation of FaceIDs |
michael@0 | 3553 | |
michael@0 | 3554 | - the image and sbit cache are now abstract classes, that |
michael@0 | 3555 | can be extended much more easily by client applications |
michael@0 | 3556 | |
michael@0 | 3557 | - better performance in certain areas. Further optimizations |
michael@0 | 3558 | to come shortly anyway... |
michael@0 | 3559 | |
michael@0 | 3560 | - the FTC_CMapCache_Lookup function has changed its signature, |
michael@0 | 3561 | charmaps can now only be retrieved by index |
michael@0 | 3562 | |
michael@0 | 3563 | - FTC_Manager_Lookup_Face => FTC_Manager_LookupFace |
michael@0 | 3564 | FTC_Manager_Lookup_Size => FTC_Manager_LookupSize (still in |
michael@0 | 3565 | private header for the moment) |
michael@0 | 3566 | |
michael@0 | 3567 | 2003-12-21 Werner Lemberg <wl@gnu.org> |
michael@0 | 3568 | |
michael@0 | 3569 | * src/type1/t1load.c (parse_dict): Stop parsing if `eexec' keyword |
michael@0 | 3570 | is encountered. |
michael@0 | 3571 | |
michael@0 | 3572 | 2003-12-19 Werner Lemberg <wl@gnu.org> |
michael@0 | 3573 | |
michael@0 | 3574 | * src/cff/cfftypes.h (CFF_MAX_CID_FONTS): Increase to 32. For |
michael@0 | 3575 | example, the Japanese Hiragino font already contains 15 subfonts. |
michael@0 | 3576 | |
michael@0 | 3577 | * src/cff/cffload.c (cff_font_load): Deallocate `sids' array for |
michael@0 | 3578 | CID-keyed fonts. |
michael@0 | 3579 | |
michael@0 | 3580 | * devel/ftoption.h: Define FT_DEBUG_MEMORY. |
michael@0 | 3581 | |
michael@0 | 3582 | 2003-12-18 Werner Lemberg <wl@gnu.org> |
michael@0 | 3583 | |
michael@0 | 3584 | * include/freetype/ttnameid.h (TT_ADOBE_ID_LATIN_1): New macro. |
michael@0 | 3585 | * src/type1/t1objs.c (T1_Face_Init): Use TT_ADOBE_ID* values. |
michael@0 | 3586 | |
michael@0 | 3587 | 2003-12-18 Werner Lemberg <wl@gnu.org> |
michael@0 | 3588 | |
michael@0 | 3589 | * src/cff/cfftypes.h (CFF_FontRecDictRec): Change type of |
michael@0 | 3590 | `cid_count' to `FT_ULong'. |
michael@0 | 3591 | |
michael@0 | 3592 | * src/cff/cffgload.c (cff_slot_load): Take care of empty `cids' |
michael@0 | 3593 | array. |
michael@0 | 3594 | |
michael@0 | 3595 | * src/cff/cffload.c (cff_charset_done): Free `cids' array. |
michael@0 | 3596 | (cff_font_load): Create cids array only for CID-keyed fonts which |
michael@0 | 3597 | are subsetted. |
michael@0 | 3598 | |
michael@0 | 3599 | * src/cff/cffobjs.c (cff_face_init): Check the availability of |
michael@0 | 3600 | the PSNames modules for non-pure CFFs also. |
michael@0 | 3601 | Set FT_FACE_FLAG_GLYPH_NAMES for a non-pure CFF also if it isn't |
michael@0 | 3602 | CID-keyed. |
michael@0 | 3603 | |
michael@0 | 3604 | * src/cff/rules.mk (CFF_DRV_H): Add cfftypes.h. |
michael@0 | 3605 | |
michael@0 | 3606 | 2003-12-17 Werner Lemberg <wl@gnu.org> |
michael@0 | 3607 | |
michael@0 | 3608 | * src/sfnt/sfobjs.c (sfnt_init_face): Don't set |
michael@0 | 3609 | FT_FACE_FLAG_GLYPH_NAMES if the font contains a version 3.0 `post' |
michael@0 | 3610 | table. |
michael@0 | 3611 | |
michael@0 | 3612 | * docs/CHANGES: Updated. |
michael@0 | 3613 | |
michael@0 | 3614 | 2003-12-17 Masatake YAMATO <jet@gyve.org> |
michael@0 | 3615 | |
michael@0 | 3616 | Add new function FT_Get_CMap_Language_ID to extract the language ID |
michael@0 | 3617 | for TrueType/sfnt fonts. |
michael@0 | 3618 | |
michael@0 | 3619 | * include/freetype/internal/services/svttcmap.h: New file. |
michael@0 | 3620 | * include/freetype/internal/ftserv.h (FT_SERVICE_TT_CMAP_H): Add |
michael@0 | 3621 | svttcmap.h. |
michael@0 | 3622 | |
michael@0 | 3623 | * src/sfnt/sfdriver.c: Include ttcmap0.h. |
michael@0 | 3624 | (tt_service_get_cmap_info): New service. |
michael@0 | 3625 | (sfnt_services): Updated. |
michael@0 | 3626 | |
michael@0 | 3627 | * src/sfnt/ttcmap0.c (tt_cmap*_get_info): New functions. |
michael@0 | 3628 | (tt_cmap*_class_rec): Add tt_cmap*_get_info members. |
michael@0 | 3629 | (tt_get_cmap_info): New function. |
michael@0 | 3630 | * src/sfnt/ttcmap0.h: Include FT_SERVICE_TT_CMAP_H. |
michael@0 | 3631 | (TT_CMap_ClassRec): New field `get_cmap_info'. |
michael@0 | 3632 | (tt_get_cmap_info): New declaration. |
michael@0 | 3633 | |
michael@0 | 3634 | * src/base/ftobjs.c: Include FT_SERVICE_TT_CMAP_H. |
michael@0 | 3635 | (FT_Get_CMap_Language_ID): New function implementation. |
michael@0 | 3636 | * include/freetype/tttables.h (FT_Get_CMap_Language_ID): New |
michael@0 | 3637 | function declaration. |
michael@0 | 3638 | |
michael@0 | 3639 | 2003-12-16 Werner Lemberg <wl@gnu.org> |
michael@0 | 3640 | |
michael@0 | 3641 | * src/sfnt/ttcmap.c, src/sfnt/ttcmap.h: Removed. Obsolete. |
michael@0 | 3642 | |
michael@0 | 3643 | * include/freetype/internal/sfnt.h (SFNT_Interface): Remove |
michael@0 | 3644 | obsolete fields `load_charmap' and `free_charmap'. |
michael@0 | 3645 | (TT_CharMap_Load_Func, TT_CharMap_Free_Func): Removed. |
michael@0 | 3646 | * src/sfnt/sfnt.c: Don't include ttcmap.c. |
michael@0 | 3647 | * src/sfnt/rules.mk (SFNT_DRV_SRC): Don't include ttcmap.c. |
michael@0 | 3648 | * src/sfnt/ttload.c: Don't include ttcmap.h. |
michael@0 | 3649 | * src/sfnt/sfdriver.c: Don't include ttcmap.h. |
michael@0 | 3650 | (sfnt_interface): Updated. |
michael@0 | 3651 | |
michael@0 | 3652 | * include/freetype/internal/tttypes.h (TT_TableDirRec, |
michael@0 | 3653 | TT_CMapDirRec, TT_CMapDirEntryRec, TT_CMap0, TT_CMap2SubHeaderRec, |
michael@0 | 3654 | TT_CMap2Rec, TT_CMap4Segment, TT_CMap4Rec, TT_CMap6, |
michael@0 | 3655 | TT_CMapGroupRec, TT_CMap8_12Rec, TT_CMap10Rec, TT_CharMap_Func, |
michael@0 | 3656 | TT_CharNext_Func, TT_CMapTableRec, TT_CharMapRec): Removed. |
michael@0 | 3657 | Obsolete. |
michael@0 | 3658 | * src/cff/cffobjs.h (CFF_CharMapRec): Removed. Obsolete. |
michael@0 | 3659 | |
michael@0 | 3660 | 2003-12-15 Werner Lemberg <wl@gnu.org> |
michael@0 | 3661 | |
michael@0 | 3662 | * docs/CHANGES: Updated. |
michael@0 | 3663 | |
michael@0 | 3664 | 2003-12-15 Wolfgang Domröse <porthos.domroese@harz.de> |
michael@0 | 3665 | |
michael@0 | 3666 | * builds/atari/*: New directory for building FreeType 2 on Atari |
michael@0 | 3667 | with the PureC compiler. |
michael@0 | 3668 | |
michael@0 | 3669 | 2003-12-12 Wolfgang Domröse <porthos.domroese@harz.de> |
michael@0 | 3670 | |
michael@0 | 3671 | * src/type1/t1gload.c (T1_Parse_Glyph_And_Get_Char_String): Add |
michael@0 | 3672 | cast. |
michael@0 | 3673 | * src/cff/cffdrivr.c (cff_ps_has_glyph_names): Assure that return |
michael@0 | 3674 | value is either 0 or 1. |
michael@0 | 3675 | |
michael@0 | 3676 | 2003-12-12 Werner Lemberg <wl@gnu.org> |
michael@0 | 3677 | |
michael@0 | 3678 | * src/cff/cffdrivr.c (cff_get_glyph_name): Improve error message. |
michael@0 | 3679 | (cff_get_name_index): Return if no PSNames service is available. |
michael@0 | 3680 | (cff_ps_has_glyph_names): Handle CID-keyed fonts correctly. |
michael@0 | 3681 | * src/cff/cfftypes.h (CFF_CharsetRec): New field `cids', used for |
michael@0 | 3682 | CID-keyed fonts. This is the inverse mapping of `sids'. |
michael@0 | 3683 | * src/cff/cffload.c (cff_charset_load): New argument `invert'. |
michael@0 | 3684 | Initialize charset->cids if `invert' is set. |
michael@0 | 3685 | (cff_font_load): In call to cff_charset_load, set `invert' to true |
michael@0 | 3686 | for CID-keyed fonts. |
michael@0 | 3687 | * src/cff/cffgload.c (cff_slot_load): Handle glyph index as CID |
michael@0 | 3688 | and map it to the real glyph index. |
michael@0 | 3689 | |
michael@0 | 3690 | * docs/CHANGES: Updated. |
michael@0 | 3691 | |
michael@0 | 3692 | 2003-12-11 Werner Lemberg <wl@gnu.org> |
michael@0 | 3693 | |
michael@0 | 3694 | * src/cff/cffobjs.c (cff_face_init): Don't set |
michael@0 | 3695 | FT_FACE_FLAG_GLYPH_NAMES for CID-keyed fonts. |
michael@0 | 3696 | Don't construct a cmap for CID-keyed fonts. |
michael@0 | 3697 | |
michael@0 | 3698 | 2003-12-10 Werner Lemberg <wl@gnu.org> |
michael@0 | 3699 | |
michael@0 | 3700 | Use implementation specific SID value 0xFFFF to indicate that |
michael@0 | 3701 | a dictionary element is missing. |
michael@0 | 3702 | |
michael@0 | 3703 | * src/cff/cffload.c (cff_subfont_load): Initialize all fields |
michael@0 | 3704 | which hold SIDs to 0xFFFF. |
michael@0 | 3705 | (cff_index_get_sid_string): Handle SID value 0xFFFF. |
michael@0 | 3706 | Handle case where `psnames' is zero. |
michael@0 | 3707 | (cff_font_load): Updated. |
michael@0 | 3708 | Don't load encoding for CID-keyed CFFs. |
michael@0 | 3709 | |
michael@0 | 3710 | * src/cff/cffobjs.c (cff_face_init): Updated. |
michael@0 | 3711 | Don't check for PSNames module if font is CID-keyed. |
michael@0 | 3712 | Compute style name properly (using the same algorithm as in the |
michael@0 | 3713 | CID driver). |
michael@0 | 3714 | Fix computation of style flags. |
michael@0 | 3715 | |
michael@0 | 3716 | * src/cff/cfftoken.h: Comment out handling of base_font_name. |
michael@0 | 3717 | Rename `postscript' field to `embedded_postscript' |
michael@0 | 3718 | * src/cff/cfftypes.h (CFF_FontRecDictRec): Remove `base_font_name' |
michael@0 | 3719 | and `postscript'. |
michael@0 | 3720 | |
michael@0 | 3721 | 2003-12-10 Detlef Würkner <TetiSoft@apg.lahn.de> |
michael@0 | 3722 | |
michael@0 | 3723 | * src/pcf/pcfdrivr.c (pcf_get_charset_id): New function (a clone |
michael@0 | 3724 | of the similar BDF function). |
michael@0 | 3725 | (pcf_service_bdf): Use it. |
michael@0 | 3726 | |
michael@0 | 3727 | 2003-12-09 Werner Lemberg <wl@gnu.org> |
michael@0 | 3728 | |
michael@0 | 3729 | * src/sfnt/sfobjs.c (sfnt_load_face): Set FT_FACE_FLAG_GLYPH_NAMES |
michael@0 | 3730 | only if a `post' table is present. |
michael@0 | 3731 | |
michael@0 | 3732 | 2003-12-09 George Williams <gww@silcom.com> |
michael@0 | 3733 | |
michael@0 | 3734 | * src/base/ftobjs.c (load_mac_face): Recent versions of Linux |
michael@0 | 3735 | support Mac's HFS+ file system, thus enable code to read /rsrc on |
michael@0 | 3736 | non-Macintosh platforms also. |
michael@0 | 3737 | |
michael@0 | 3738 | 2003-12-08 Werner Lemberg <wl@gnu.org> |
michael@0 | 3739 | |
michael@0 | 3740 | * include/freetype/internal/psaux.h (PS_TableRec): Change type |
michael@0 | 3741 | of `lengths' to FT_PtrDist. |
michael@0 | 3742 | (T1_DecoderRec): Change type of `subrs_len' to FT_PtrDist. |
michael@0 | 3743 | * include/freetype/internal/t1types.h (T1_FontRec): Change type |
michael@0 | 3744 | of `subrs_len' and `charstrings_len' to FT_PtrDist. |
michael@0 | 3745 | |
michael@0 | 3746 | * src/base/ftobjs.c (Mac_Read_POST_Resource): Replace `junk' |
michael@0 | 3747 | variable with better solution. |
michael@0 | 3748 | (IsMacResource): Remove unused variable `map_len'. |
michael@0 | 3749 | Replace `junk' variable with better solution. |
michael@0 | 3750 | (FT_Open_Face) [!FT_MACINTOSH]: Add conditional |
michael@0 | 3751 | FT_CONFIG_OPTION_MAC_FONTS. |
michael@0 | 3752 | |
michael@0 | 3753 | 2003-12-08 Wolfgang Domröse <porthos.domroese@harz.de> |
michael@0 | 3754 | |
michael@0 | 3755 | * src/autohint/ahhint.c (ah_hinter_hint_edges, |
michael@0 | 3756 | ah_hinter_align_strong_points): Add some casts. |
michael@0 | 3757 | |
michael@0 | 3758 | * src/base/ftoutln.c (FT_OrientationExtremumRec): Change type |
michael@0 | 3759 | of `pos' to FT_Long. |
michael@0 | 3760 | |
michael@0 | 3761 | * src/base/ftobjs.c (Mac_Read_POST_Resource, |
michael@0 | 3762 | Mac_Read_sfnt_Resource): Change type of `len' to FT_Long. |
michael@0 | 3763 | |
michael@0 | 3764 | * src/type42/t42parse.c (t42_parse_dict): Add cast for `n_keywords'. |
michael@0 | 3765 | |
michael@0 | 3766 | 2003-12-07 Werner Lemberg <wl@gnu.org> |
michael@0 | 3767 | |
michael@0 | 3768 | * docs/raster.txt: New file, taken from FreeType 1 and completely |
michael@0 | 3769 | revised. |
michael@0 | 3770 | |
michael@0 | 3771 | 2003-12-04 Masatake YAMATO <jet@gyve.org> |
michael@0 | 3772 | |
michael@0 | 3773 | * src/type1/t1driver.c (Get_Interface): Remove FT_UNUSED for |
michael@0 | 3774 | t1_interface. t1_interface is used. |
michael@0 | 3775 | |
michael@0 | 3776 | 2003-11-27 David Turner <david@freetype.org> |
michael@0 | 3777 | |
michael@0 | 3778 | * src/pfr/pfrdrivr.c (pfr_get_metrics): Revert incorrect change of |
michael@0 | 3779 | 2003-11-23: For PFR fonts, metrics->x_scale and metrics->y_scale are |
michael@0 | 3780 | the scaling values for outline units, not for metric units. |
michael@0 | 3781 | |
michael@0 | 3782 | 2003-11-25 Werner Lemberg <wl@gnu.org> |
michael@0 | 3783 | |
michael@0 | 3784 | * src/base/ftcalc.c, include/freetype/internal/ftcalc.h |
michael@0 | 3785 | (FT_MulDiv_No_Round): Surround code with `#ifdef |
michael@0 | 3786 | TT_CONFIG_OPTION_BYTECODE_INTERPRETER ... #endif'. |
michael@0 | 3787 | |
michael@0 | 3788 | 2003-11-23 Werner Lemberg <wl@gnu.org> |
michael@0 | 3789 | |
michael@0 | 3790 | * src/base/ftcalc.c (FT_MulDiv_No_Round): New function (32 and |
michael@0 | 3791 | 64 bit version). |
michael@0 | 3792 | * include/freetype/internal/ftcalc.h: Updated. |
michael@0 | 3793 | |
michael@0 | 3794 | * src/truetype/ttinterp.c (TT_MULDIV_NO_ROUND): New macro. |
michael@0 | 3795 | (TT_INT64): Removed. |
michael@0 | 3796 | (DO_DIV): Use TT_MULDIV_NO_ROUND. |
michael@0 | 3797 | |
michael@0 | 3798 | * src/pfr/pfrdrivr.c (pfr_get_metrics): Directly use |
michael@0 | 3799 | metrics->x_scale and metrics->y_scale. |
michael@0 | 3800 | |
michael@0 | 3801 | 2003-11-22 Rogier van Dalen <R.C.van.Dalen@umail.leidenuniv.nl> |
michael@0 | 3802 | |
michael@0 | 3803 | * src/truetype/ttinterp.c (CUR_Func_move_orig): New macro. |
michael@0 | 3804 | (Direct_Move_Orig, Direct_Move_Orig_X, Direct_Move_Orig_Y): New |
michael@0 | 3805 | functions. Similar to Direct_Move, Direct_Move_X, and |
michael@0 | 3806 | Direct_Move_Y but without touching. |
michael@0 | 3807 | (Compute_Funcs): Use new functions. |
michael@0 | 3808 | |
michael@0 | 3809 | (Round_None, Round_To_Grid, Round_To_Half_Grid, Round_Down_To_Grid, |
michael@0 | 3810 | Round_Up_To_Grid, Round_To_Double_Grid, Round_Super, |
michael@0 | 3811 | Round_Super_45): Fix rounding of value zero. |
michael@0 | 3812 | |
michael@0 | 3813 | (DO_DIV): Don't use TT_MULDIV. |
michael@0 | 3814 | |
michael@0 | 3815 | (Ins_SHC): This instruction actually touches the points. |
michael@0 | 3816 | (Ins_MSIRP): Fix undocumented behaviour. |
michael@0 | 3817 | |
michael@0 | 3818 | * src/truetype/ttinterp.h (TT_ExecContextRec): Updated. |
michael@0 | 3819 | |
michael@0 | 3820 | 2003-11-22 Werner Lemberg <wl@gnu.org> |
michael@0 | 3821 | |
michael@0 | 3822 | * docs/VERSION.DLL, docs/CHANGES: Updated. |
michael@0 | 3823 | |
michael@0 | 3824 | * src/base/ftobjs.c (FT_Set_Char_Size): Make metrics->x_scale and |
michael@0 | 3825 | metrics->y_scale really precise. |
michael@0 | 3826 | |
michael@0 | 3827 | (FT_Load_Glyph): Update computation of linearHoriAdvance and |
michael@0 | 3828 | linearVertAdvance. |
michael@0 | 3829 | |
michael@0 | 3830 | * src/truetype/ttinterp.c (Update_Max): Use FT_REALLOC. |
michael@0 | 3831 | |
michael@0 | 3832 | 2003-11-22 David Turner <david@freetype.org> |
michael@0 | 3833 | |
michael@0 | 3834 | * src/autofit/*: More updates. |
michael@0 | 3835 | |
michael@0 | 3836 | * include/freetype/freetype.h (FREETYPE_PATCH): Set to 8. |
michael@0 | 3837 | * builds/unix/configure.ac (version_info): Set to 9:6:3. |
michael@0 | 3838 | * README: Updated. |
michael@0 | 3839 | |
michael@0 | 3840 | 2003-11-13 John A. Boyd Jr. <jaboydjr@netwalk.com> |
michael@0 | 3841 | |
michael@0 | 3842 | * src/bdf/bdfdrivr.c (bdf_interpret_style), src/pcf/pcfread.c |
michael@0 | 3843 | (pcf_interpret_style): Replace spaces with dashes in properties |
michael@0 | 3844 | SETWIDTH_NAME and ADD_STYLE_NAME to simplify parsing. |
michael@0 | 3845 | |
michael@0 | 3846 | 2003-11-11 Werner Lemberg <wl@gnu.org> |
michael@0 | 3847 | |
michael@0 | 3848 | * docs/CHANGES: Updated. |
michael@0 | 3849 | |
michael@0 | 3850 | 2003-11-11 John A. Boyd Jr. <jaboydjr@netwalk.com> |
michael@0 | 3851 | |
michael@0 | 3852 | Handle SETWIDTH_NAME and ADD_STYLE_NAME properties for BDF and PCF |
michael@0 | 3853 | fonts. |
michael@0 | 3854 | |
michael@0 | 3855 | * src/bdf/bdfdrivr.c (bdf_interpret_style): New auxiliary function. |
michael@0 | 3856 | (BDF_Face_Init): Don't handle style properties but call |
michael@0 | 3857 | bdf_interpret_style. |
michael@0 | 3858 | |
michael@0 | 3859 | * src/pcf/pcfread.c (pcf_interpret_style): New auxiliary function. |
michael@0 | 3860 | (pcf_load_font): Don't handle style properties but call |
michael@0 | 3861 | pcf_interpret_style. |
michael@0 | 3862 | |
michael@0 | 3863 | 2003-11-07 Werner Lemberg <wl@gnu.org> |
michael@0 | 3864 | |
michael@0 | 3865 | |
michael@0 | 3866 | * Version 2.1.7 released. |
michael@0 | 3867 | ========================= |
michael@0 | 3868 | |
michael@0 | 3869 | |
michael@0 | 3870 | * include/freetype/freetype.h (FREETYPE_PATCH): Set to 7. |
michael@0 | 3871 | |
michael@0 | 3872 | * builds/unix/ft2unix.h: Fix comments. |
michael@0 | 3873 | |
michael@0 | 3874 | * builds/unix/ftconfig.in: Synchronized with ANSI version. |
michael@0 | 3875 | Use `#undef' in templates as recommended in the autoconf |
michael@0 | 3876 | documentation. |
michael@0 | 3877 | Since real `#undef' lines don't survive during configuration, use |
michael@0 | 3878 | `/undef' instead; the postprocessing facility of the |
michael@0 | 3879 | AC_CONFIG_HEADERS autoconf macro converts them to `#undef'. |
michael@0 | 3880 | |
michael@0 | 3881 | * builds/unix/install.mk (install): Install Unix version of |
michael@0 | 3882 | `ftconfig.h'. |
michael@0 | 3883 | |
michael@0 | 3884 | * builds/unix/unix-cc.in (CFLAGS): Set FT_CONFIG_CONFIG_H macro |
michael@0 | 3885 | to include the correct `ftconfig.h' file. |
michael@0 | 3886 | |
michael@0 | 3887 | * builds/unix/ft-munmap.m4 (FT_MUNMAP_DECL): Removed. |
michael@0 | 3888 | (FT_MUNMAP_PARAM): Updated syntax to autoconf 2.59. |
michael@0 | 3889 | |
michael@0 | 3890 | * builds/unix/freetype2.m4: Updated syntax to autoconf 2.59. |
michael@0 | 3891 | |
michael@0 | 3892 | * builds/unix/configure.ac: Use AC_CONFIG_HEADERS instead of |
michael@0 | 3893 | AC_CONFIG_HEADER to create ftconfig.h, and use second argument |
michael@0 | 3894 | to replace `/undef' with `#undef'. |
michael@0 | 3895 | Don't use FT_MUNMAP_DECL but AC_CHECK_DECLS to check for munmap. |
michael@0 | 3896 | Use AS_HELP_STRING in AC_ARG_WITH. |
michael@0 | 3897 | Update syntax to autoconf 2.59. |
michael@0 | 3898 | |
michael@0 | 3899 | * builds/unix/ltmain.sh: Regenerated with `libtoolize --force |
michael@0 | 3900 | --copy' from libtool 1.5. |
michael@0 | 3901 | * builds/unix/aclocal.m4: Regenerated with `aclocal -I .' from |
michael@0 | 3902 | automake 1.7.8. |
michael@0 | 3903 | * builds/unix/configure: Regenerated with autoconf 2.59. |
michael@0 | 3904 | * builds/unix/config.guess, builds/unix/config.sub: Updated from |
michael@0 | 3905 | `config' CVS module at subversions.gnu.org |
michael@0 | 3906 | * builds/unix/install-sh, builds/unix/mkinstalldirs: Updated from |
michael@0 | 3907 | `texinfo' CVS module at subversions.gnu.org. |
michael@0 | 3908 | |
michael@0 | 3909 | * builds/vms/ftconfig.h: Synchronized with ANSI version. |
michael@0 | 3910 | |
michael@0 | 3911 | * docs/CUSTOMIZE: Fix documentation error. |
michael@0 | 3912 | * docs/CHANGES, docs/VERSION.DLL, docs/release: Updated. |
michael@0 | 3913 | |
michael@0 | 3914 | * builds/freetype.mk (refdoc): Updated --title. |
michael@0 | 3915 | |
michael@0 | 3916 | 2003-11-07 David Turner <david@freetype.org> |
michael@0 | 3917 | |
michael@0 | 3918 | |
michael@0 | 3919 | * Version 2.1.6 released. |
michael@0 | 3920 | ========================= |
michael@0 | 3921 | |
michael@0 | 3922 | |
michael@0 | 3923 | * install: Removed. Obsolete. |
michael@0 | 3924 | |
michael@0 | 3925 | 2003-11-04 Werner Lemberg <wl@gnu.org> |
michael@0 | 3926 | |
michael@0 | 3927 | * src/sfnt/sfdriver.c: Include FT_SERVICE_SFNT_H. |
michael@0 | 3928 | (sfnt_service_sfnt_table): New service. |
michael@0 | 3929 | (sfnt_services): Updated. |
michael@0 | 3930 | |
michael@0 | 3931 | * docs/license.txt: Reworded. |
michael@0 | 3932 | |
michael@0 | 3933 | 2003-11-03 Werner Lemberg <wl@gnu.org> |
michael@0 | 3934 | |
michael@0 | 3935 | * include/freetype/*: Add a guard to all public header files which |
michael@0 | 3936 | load FT_FREETYPE_H to reject freetype.h from FreeType 1. |
michael@0 | 3937 | |
michael@0 | 3938 | 2003-11-02 Patrick Welche <prlw1@newn.cam.ac.uk> |
michael@0 | 3939 | |
michael@0 | 3940 | * builds/unix/freetype2.m4, builds/unix/ft-munmap.m4: Protect |
michael@0 | 3941 | first argument of AC_DEFUN with brackets to avoid possible |
michael@0 | 3942 | expansion. |
michael@0 | 3943 | |
michael@0 | 3944 | 2003-11-02 Werner Lemberg <wl@gnu.org> |
michael@0 | 3945 | |
michael@0 | 3946 | * include/freetype/cache/ftcglyph.h: Don't include stddef.h. |
michael@0 | 3947 | |
michael@0 | 3948 | * include/freetype/freetype.h: Fix check for ft2build.h. |
michael@0 | 3949 | |
michael@0 | 3950 | 2003-11-01 Werner Lemberg <wl@gnu.org> |
michael@0 | 3951 | |
michael@0 | 3952 | * include/freetype/freetype.h: Check that ft2build.h has been |
michael@0 | 3953 | loaded first. |
michael@0 | 3954 | |
michael@0 | 3955 | * src/base/fttype1.c (FT_Get_PS_Font_Info): Fix incorrectly applied |
michael@0 | 3956 | patch. |
michael@0 | 3957 | |
michael@0 | 3958 | 2003-10-31 Detlef Würkner <TetiSoft@apg.lahn.de> |
michael@0 | 3959 | |
michael@0 | 3960 | * src/base/fttype1.c (FT_Get_PS_Font_Info, FT_Has_PS_Glyph_Names): |
michael@0 | 3961 | Fix parameter order in calls to FT_FACE_FIND_SERVICE. |
michael@0 | 3962 | |
michael@0 | 3963 | 2003-10-31 Werner Lemberg <wl@gnu.org> |
michael@0 | 3964 | |
michael@0 | 3965 | * include/freetype/internal/ftserv.h |
michael@0 | 3966 | (FT_SERVICE_POSTSCRIPT_NAMES_H): Removed. Unused. |
michael@0 | 3967 | |
michael@0 | 3968 | * src/type42/t42drivr.c (t42_services): Updated. |
michael@0 | 3969 | |
michael@0 | 3970 | 2003-10-29 David Turner <david@freetype.org> |
michael@0 | 3971 | |
michael@0 | 3972 | * include/freetype/internal/bdftypes.h: Removed. Obsolete. |
michael@0 | 3973 | * src/base/ftbdf.c: Updated. |
michael@0 | 3974 | |
michael@0 | 3975 | * include/freetype/internal/cfftypes.h: Moved to... |
michael@0 | 3976 | * src/cff/cfftypes.h: This place since no other module needs to |
michael@0 | 3977 | know about those types. |
michael@0 | 3978 | |
michael@0 | 3979 | * include/freetype/internal/t42types.h: Moved to... |
michael@0 | 3980 | * src/type42/t42types.h: This place since no other module needs to |
michael@0 | 3981 | know about those types. |
michael@0 | 3982 | |
michael@0 | 3983 | * include/freetype/internal/services/svbdf.h: Include FT_BDF_H. |
michael@0 | 3984 | |
michael@0 | 3985 | * include/freetype/internal/services/svpsname.h: Renamed to... |
michael@0 | 3986 | * include/freetype/internal/services/svpscmap.h: This. |
michael@0 | 3987 | Updated `FT_Service_PsNames' -> `FT_Service_PsCMaps' and |
michael@0 | 3988 | `POSTSCRIPT_NAMES' -> `POSTSCRIPT_CMAPS' everywhere. |
michael@0 | 3989 | |
michael@0 | 3990 | * include/freetype/internal/services/svpsinfo.h: New file, providing |
michael@0 | 3991 | PostScript info service. |
michael@0 | 3992 | |
michael@0 | 3993 | * include/freetype/internal/ftserv.h (FT_SERVICE_POSTSCRIPT_CMAPS_H, |
michael@0 | 3994 | FT_SERVICE_POSTSCRIPT_INFO_H): New macros for svpscmap.h and |
michael@0 | 3995 | svpsinfo.h. |
michael@0 | 3996 | * include/freetype/internal/internal.h (FT_INTERNAL_TYPE42_TYPES_H, |
michael@0 | 3997 | FT_INTERNAL_CFF_TYPES_H, FT_INTERNAL_BDF_TYPES_H): Removed. |
michael@0 | 3998 | |
michael@0 | 3999 | * src/base/fttype1.c: Don't include FT_INTERNAL_TYPE1_TYPES_H and |
michael@0 | 4000 | FT_INTERNAL_TYPE42_TYPES_H but FT_INTERNAL_SERVICE_H and |
michael@0 | 4001 | FT_SERVICE_POSTSCRIPT_INFO_H. |
michael@0 | 4002 | (FT_Get_PS_Font_Info, FT_Has_PS_Glyph_Names): Use new |
michael@0 | 4003 | POSTSCRIPT_INFO service. |
michael@0 | 4004 | |
michael@0 | 4005 | * src/cff/cffdrivr.c: Include FT_SERVICE_POSTSCRIPT_INFO_H. |
michael@0 | 4006 | (cff_ps_has_glyph_names): New function. |
michael@0 | 4007 | (cff_service_ps_info): New service. |
michael@0 | 4008 | (cff_services): Updated. |
michael@0 | 4009 | |
michael@0 | 4010 | * src/cff/cffload.h, src/cff/cffobjs.h, src/cff/cffparse.h: Don't |
michael@0 | 4011 | include FT_INTERNAL_CFF_TYPES_H but cfftypes.h directly. |
michael@0 | 4012 | |
michael@0 | 4013 | * src/cif/cidriver.c: Include FT_SERVICE_POSTSCRIPT_INFO_H. |
michael@0 | 4014 | (cid_ps_get_font_info): New function. |
michael@0 | 4015 | (cid_service_ps_info): New service. |
michael@0 | 4016 | (cid_services): Updated. |
michael@0 | 4017 | |
michael@0 | 4018 | * src/type1/t1driver.c: Include FT_SERVICE_POSTSCRIPT_INFO_H. |
michael@0 | 4019 | (t1_ps_get_font_info, t1_ps_has_glyph_names): New functions. |
michael@0 | 4020 | (t1_service_ps_info): New service. |
michael@0 | 4021 | (t1_services): Updated. |
michael@0 | 4022 | |
michael@0 | 4023 | * src/type42/t42drivr.c: Include FT_SERVICE_POSTSCRIPT_INFO_H. |
michael@0 | 4024 | (t42_ps_get_font_info, t42_ps_has_glyph_names): New functions. |
michael@0 | 4025 | (t42_service_ps_info): New service. |
michael@0 | 4026 | |
michael@0 | 4027 | * src/type42/t42objs.h: Don't include FT_INTERNAL_TYPE42_TYPES_H |
michael@0 | 4028 | but t42types.h directly. |
michael@0 | 4029 | |
michael@0 | 4030 | * src/psnames/psmodule.c (psnames_interface, psnames_services): |
michael@0 | 4031 | Renamed to... |
michael@0 | 4032 | (pscmaps_interface, pscmaps_services): This. |
michael@0 | 4033 | Updated all users. |
michael@0 | 4034 | |
michael@0 | 4035 | |
michael@0 | 4036 | * src/gzip/infblock.c (inflate_blocks): Remove compiler warning. |
michael@0 | 4037 | |
michael@0 | 4038 | 2003-10-22 Werner Lemberg <wl@gnu.org> |
michael@0 | 4039 | |
michael@0 | 4040 | * src/type1/t1load.c (parse_encoding): Handle `/Encoding [ ... ]'. |
michael@0 | 4041 | |
michael@0 | 4042 | * src/type1/t1parse.c (T1_Get_Private_Dict): Test whether `eexec' |
michael@0 | 4043 | is real. |
michael@0 | 4044 | |
michael@0 | 4045 | * src/type42/t42parse.c (t42_parse_encoding): Improve boundary |
michael@0 | 4046 | checking while parsing. |
michael@0 | 4047 | |
michael@0 | 4048 | * docs/CHANGES: Updated. |
michael@0 | 4049 | |
michael@0 | 4050 | 2003-10-21 Josselin Mouette <joss@debian.org> |
michael@0 | 4051 | |
michael@0 | 4052 | * include/freetype/internal/t1types.h (T1_FontRec): `paint_type' |
michael@0 | 4053 | and `stroke_width' aren't pointers. |
michael@0 | 4054 | |
michael@0 | 4055 | * src/type42/t42objs.c (T42_Face_Done), src/type1/t1objs.c |
michael@0 | 4056 | (T1_Face_Done): Don't free `paint_type' and `stroke_width'. |
michael@0 | 4057 | |
michael@0 | 4058 | 2003-10-20 Graham Asher <graham.asher@btinternet.com> |
michael@0 | 4059 | |
michael@0 | 4060 | * src/winfonts/winfnt.c (fnt_cmap_class): Fix position of `const'. |
michael@0 | 4061 | |
michael@0 | 4062 | 2003-10-19 Werner Lemberg <wl@gnu.org> |
michael@0 | 4063 | |
michael@0 | 4064 | * src/autohint/ahhint.c (ah_hinter_load_glyph): Patch from |
michael@0 | 4065 | 2003-08-18 introduced a severe bug (FT_Render_Glyph was called |
michael@0 | 4066 | twice under some circumstances, causing strange results). This |
michael@0 | 4067 | is fixed now by clearing the FT_LOAD_RENDER bit of `load_flags'. |
michael@0 | 4068 | |
michael@0 | 4069 | * src/base/ftpfr.c (FT_Get_PFR_Metrics): Initialize `error'. |
michael@0 | 4070 | * src/psaux/psobjs.c (ps_tobytes): Initialize `n'. |
michael@0 | 4071 | * src/type42/t42parse.c (t42_parse_sfnts): Initialize `string_size'. |
michael@0 | 4072 | |
michael@0 | 4073 | 2003-10-16 Werner Lemberg <wl@gnu.org> |
michael@0 | 4074 | |
michael@0 | 4075 | Completely revised Type 42 parser. It now handles both fonts |
michael@0 | 4076 | produced with ttftot42 (tested version 0.3.1) and |
michael@0 | 4077 | TrueTypeToType42.ps (tested version May 2001; it is necessary to |
michael@0 | 4078 | fix the broken header comment to be `%!PS-TrueTypeFont...'). |
michael@0 | 4079 | |
michael@0 | 4080 | * src/type42/t42objs.c (T42_GlyphSlot_Load): Change fourth |
michael@0 | 4081 | parameter to `FT_UInt'. |
michael@0 | 4082 | * src/type42/t42objs.h: Updated. |
michael@0 | 4083 | |
michael@0 | 4084 | * src/type42/t42parse.h (T42_ParserRec): Change type of `in_memory' |
michael@0 | 4085 | to FT_Bool. |
michael@0 | 4086 | (T42_Loader): Change type of `num_chars' and `num_glyphs' to |
michael@0 | 4087 | FT_UInt. |
michael@0 | 4088 | Add `swap_table' element. |
michael@0 | 4089 | * src/type42/t42parse.c (T42_KEYWORD_COUNT, T1_ToFixed, |
michael@0 | 4090 | T1_ToCoordArray, T1_ToTokenArray): Removed. |
michael@0 | 4091 | (T1_ToBytes): New macro. |
michael@0 | 4092 | (t42_is_alpha, t42_hexval): Removed. |
michael@0 | 4093 | (t42_is_space): Handle `\0'. |
michael@0 | 4094 | (t42_parse_encoding): Updated to use new PostScript parser routines |
michael@0 | 4095 | from psaux. |
michael@0 | 4096 | Handle `/Encoding [ ... ]' also. |
michael@0 | 4097 | (T42_Load_Status): New enumeration. |
michael@0 | 4098 | (t42_parse_sfnts): Updated to use new PostScript parser routines |
michael@0 | 4099 | from psaux. |
michael@0 | 4100 | (t42_parse_charstrings): Updated to use new PostScript parser |
michael@0 | 4101 | routines from psaux. |
michael@0 | 4102 | Handle `/CharStrings << ... >>' also. |
michael@0 | 4103 | Don't expect that /.notdef is the first element in dictionary. Copy |
michael@0 | 4104 | code from type1 module to handle this. |
michael@0 | 4105 | (t42_parse_dict): Updated to use new PostScript parser routines |
michael@0 | 4106 | from psaux. |
michael@0 | 4107 | Remove code for synthetic fonts (which can't occur in Type 42 |
michael@0 | 4108 | fonts). |
michael@0 | 4109 | (t42_loader_done): Release `swap_table'. |
michael@0 | 4110 | |
michael@0 | 4111 | * src/psaux/psobjs.c (skip_string): Increase `cur' properly. |
michael@0 | 4112 | |
michael@0 | 4113 | * src/type1/t1load.c (parse_charstrings): Make test for `.notdef' |
michael@0 | 4114 | faster. |
michael@0 | 4115 | |
michael@0 | 4116 | 2003-10-15 Graham Asher <graham.asher@btinternet.com> |
michael@0 | 4117 | |
michael@0 | 4118 | * src/autohint/ahglobal.c (blue_chars), src/winfonts/winfnt.c |
michael@0 | 4119 | (fnt_cmap_class_rec, fnt_cmap_class), src/bdf/bdflib.c (empty, |
michael@0 | 4120 | _num_bdf_properties), src/gzip/infutil.c (inflate_mask), |
michael@0 | 4121 | src/gzip/inffixed.h (fixed_bl, fixed_bd, fixed_tl, fixed_td), |
michael@0 | 4122 | src/gzip/inftrees.h (inflate_trees_fixed), srf/gzip/inftrees.c |
michael@0 | 4123 | (inflate_trees_fixed): Decorate with more `const' to avoid |
michael@0 | 4124 | writable global variables which are disallowed on ARM. |
michael@0 | 4125 | |
michael@0 | 4126 | 2003-10-08 Werner Lemberg <wl@gnu.org> |
michael@0 | 4127 | |
michael@0 | 4128 | * src/type1/t1load.c (parse_font_matrix, parse_charstrings): Remove |
michael@0 | 4129 | code specially for synthetic fonts; this is handled elsewhere. |
michael@0 | 4130 | (parse_encoding): Remove code specially for synthetic fonts; this is |
michael@0 | 4131 | handled elsewhere. |
michael@0 | 4132 | Improve boundary checking while parsing. |
michael@0 | 4133 | (parse_dict): Improve boundary checking while parsing. |
michael@0 | 4134 | Use ft_memcmp to simplify code. |
michael@0 | 4135 | |
michael@0 | 4136 | 2003-10-07 Werner Lemberg <wl@gnu.org> |
michael@0 | 4137 | |
michael@0 | 4138 | * src/type1/t1load.c (parse_subrs, parse_dict): Handle synthetic |
michael@0 | 4139 | fonts properly. |
michael@0 | 4140 | (parse_charstrings): Copy correct number of characters into |
michael@0 | 4141 | `name_table'. |
michael@0 | 4142 | |
michael@0 | 4143 | 2003-10-06 Werner Lemberg <wl@gnu.org> |
michael@0 | 4144 | |
michael@0 | 4145 | Heavy modification of the PS parser to handle comments and strings |
michael@0 | 4146 | correctly. This doesn't slow down the loading of PS fonts |
michael@0 | 4147 | significantly since charstrings aren't affected. |
michael@0 | 4148 | |
michael@0 | 4149 | * include/freetype/config/ftstdlib.h (ft_xdigit): Renamed to... |
michael@0 | 4150 | (ft_isxdigit): This. Updated all callers. |
michael@0 | 4151 | (ft_isdigit): New alias to `isdigit'. |
michael@0 | 4152 | |
michael@0 | 4153 | * include/freetype/internal/psaux.h (PS_Parser_FuncsRec): Renamed |
michael@0 | 4154 | `skip_alpha' to `skip_PS_token'. |
michael@0 | 4155 | Add parameter to `to_bytes' and change some argument types. |
michael@0 | 4156 | |
michael@0 | 4157 | * src/psaux/psauxmod.c (ps_parser_funcs): Updated. |
michael@0 | 4158 | * src/psaux/psobjs.c (ft_char_table): New array to map character |
michael@0 | 4159 | codes (ASCII and EBCDIC) of digits to numbers. |
michael@0 | 4160 | (OP): New auxiliary macro holding either `>=' or `<' depending on |
michael@0 | 4161 | the character encoding. |
michael@0 | 4162 | (skip_comment): New function. |
michael@0 | 4163 | (skip_spaces): Use it. |
michael@0 | 4164 | (skip_alpha): Removed. |
michael@0 | 4165 | (skip_literal_string, skip_string): New functions. |
michael@0 | 4166 | (ps_parser_skip_PS_token): New function. This is a better |
michael@0 | 4167 | replacement of... |
michael@0 | 4168 | (ps_parser_skip_alpha): Removed. |
michael@0 | 4169 | (ps_parser_to_token, ps_parser_to_token_array): Updated. |
michael@0 | 4170 | (T1Radix): Rewritten, using `ft_char_table'. |
michael@0 | 4171 | (t1_toint): Renamed to... |
michael@0 | 4172 | (ps_toint): This. Update all callers. |
michael@0 | 4173 | Use `ft_char_table'. |
michael@0 | 4174 | (ps_tobytes): Add parameter to handle delimiters and change some |
michael@0 | 4175 | argument types. |
michael@0 | 4176 | Use `ft_char_table'. |
michael@0 | 4177 | (t1_tofixed): Renamed to... |
michael@0 | 4178 | (ps_tofixed): This. Update all callers. |
michael@0 | 4179 | Use `ft_char_table'. |
michael@0 | 4180 | (t1_tocoordarray): Renamed and updated to... |
michael@0 | 4181 | (ps_tocoordarray): This. Update all callers. |
michael@0 | 4182 | (t1_tofixedarray): Renamed and updated to... |
michael@0 | 4183 | (ps_tofixedarray): This. Update all callers. |
michael@0 | 4184 | (t1_tobool): Renamed to... |
michael@0 | 4185 | (ps_tobool): This. Update all callers. |
michael@0 | 4186 | (ps_parser_load_field): Updated. |
michael@0 | 4187 | (ps_parser_load_field_table): Use `T1_MAX_TABLE_ELEMENTS' |
michael@0 | 4188 | everywhere. |
michael@0 | 4189 | (ps_parser_to_int, ps_parser_to_fixed, ps_parser_to_coord_array, |
michael@0 | 4190 | ps_parser_to_fixed_array): Skip spaces. Updated. |
michael@0 | 4191 | (ps_parser_to_bytes): Add parameter to handle delimiters and change |
michael@0 | 4192 | some argument types. Updated. |
michael@0 | 4193 | * src/psaux/psobjs.h: Updated. |
michael@0 | 4194 | |
michael@0 | 4195 | * src/cid/cidload.c (cid_parse_dict): Updated. |
michael@0 | 4196 | * src/cid/cidparse.c (cid_parser_new): Check whether the `StartData' |
michael@0 | 4197 | token was really found. |
michael@0 | 4198 | * src/cid/cidparse.h (cid_parser_skip_alpha): Updated and renamed |
michael@0 | 4199 | to... |
michael@0 | 4200 | (cid_parser_skip_PS_token): This. |
michael@0 | 4201 | |
michael@0 | 4202 | * src/type1/t1parse.h (T1_ParserRec): Use `FT_Bool' for boolean |
michael@0 | 4203 | fields. |
michael@0 | 4204 | (T1_Skip_Alpha): Replaced with... |
michael@0 | 4205 | (T1_Skip_PS_Token): This new macro. |
michael@0 | 4206 | * src/type1/t1parse.c (hexa_value): Removed. |
michael@0 | 4207 | (T1_Get_Private_Dict): Use `ft_isxdigit' and |
michael@0 | 4208 | `psaux->ps_parser_funcs_to_bytes' for handling ASCII hexadecimal |
michael@0 | 4209 | encoding. |
michael@0 | 4210 | After decrypting, replace the four random bytes at the beginning |
michael@0 | 4211 | with whitespace. |
michael@0 | 4212 | * src/type1/t1load.c (t1_allocate_blend): Use proper error values. |
michael@0 | 4213 | (parser_blend_design_positions, parse_blend_design_map, |
michael@0 | 4214 | parse_weight_vector): Updated. |
michael@0 | 4215 | (is_space): Handle `\f' also. |
michael@0 | 4216 | (is_name_char): Removed. |
michael@0 | 4217 | (read_binary_data): Updated. |
michael@0 | 4218 | (parse_encoding): Use `ft_isdigit'. |
michael@0 | 4219 | Updated. |
michael@0 | 4220 | (parse_subrs): Updated. |
michael@0 | 4221 | (TABLE_EXTEND): New macro. |
michael@0 | 4222 | (parse_charstrings): Updated. |
michael@0 | 4223 | Provide a workaround for buggy fonts which have more entries in the |
michael@0 | 4224 | /CharStrings dictionary then expected; the function now adds some |
michael@0 | 4225 | slots and skips entries which still exceed the new limit. |
michael@0 | 4226 | (parse_dict): Updated. |
michael@0 | 4227 | Terminate on the token `closefile'. |
michael@0 | 4228 | |
michael@0 | 4229 | * src/type42/t42parse.c (T1_Skip_Alpha): Replaced with... |
michael@0 | 4230 | (T1_Skip_PS_Token): This new macro. Updated all callers. |
michael@0 | 4231 | (t42_parse_encoding): Use `ft_isdigit'. |
michael@0 | 4232 | |
michael@0 | 4233 | |
michael@0 | 4234 | * src/base/ftmm.c (ft_face_get_mm_service): Return FT_Err_OK if |
michael@0 | 4235 | success. |
michael@0 | 4236 | |
michael@0 | 4237 | 2003-10-05 Werner Lemberg <wl@gnu.org> |
michael@0 | 4238 | |
michael@0 | 4239 | * include/freetype/ftmodule.h: Renamed to... |
michael@0 | 4240 | * include/freetype/ftmodapi.h: This to avoid duplicate file names. |
michael@0 | 4241 | * include/freetype/config/ftheader.h (FT_MODULE_H): Updated. |
michael@0 | 4242 | |
michael@0 | 4243 | 2003-10-04 Werner Lemberg <wl@gnu.org> |
michael@0 | 4244 | |
michael@0 | 4245 | * src/base/ftoutln.c (FT_OrientationExtremumRec, |
michael@0 | 4246 | FT_Outline_Get_Orientation): Trivial typo fixes to make it compile. |
michael@0 | 4247 | |
michael@0 | 4248 | 2003-10-02 Markus F.X.J. Oberhumer <markus@oberhumer.com> |
michael@0 | 4249 | |
michael@0 | 4250 | * src/winfonts/winfnt.c (FT_WinFNT_HeaderRec): `color_table_offset' |
michael@0 | 4251 | has four bytes, not two. |
michael@0 | 4252 | Fix all users. |
michael@0 | 4253 | (fnt_font_load, FNT_Load_Glyph): Add more font validity tests. |
michael@0 | 4254 | |
michael@0 | 4255 | 2003-10-01 David Turner <david@freetype.org> |
michael@0 | 4256 | |
michael@0 | 4257 | * src/autofit/*: Adding first source files of the new multi-script |
michael@0 | 4258 | `auto-fitter'. |
michael@0 | 4259 | |
michael@0 | 4260 | * include/freetype/ftoutln.h (FT_Orientation): New enumeration. |
michael@0 | 4261 | (FT_Outline_Get_Orientation): New declaration. |
michael@0 | 4262 | |
michael@0 | 4263 | * src/base/ftoutln.c (FT_OrientationExtremumRec): New structure. |
michael@0 | 4264 | (ft_orientation_extremum_compute): New auxiliary function. |
michael@0 | 4265 | (FT_Outline_Get_Orientation): New function to compute the fill |
michael@0 | 4266 | orientation of a given glyph outline. |
michael@0 | 4267 | |
michael@0 | 4268 | * include/freetype/internal/ftserv.h (FT_FACE_LOOKUP_SERVICE): Fixed |
michael@0 | 4269 | trivial bug which could crash the font engine when a cached service |
michael@0 | 4270 | pointer was retrieved. |
michael@0 | 4271 | |
michael@0 | 4272 | 2003-09-30 Werner Lemberg <wl@gnu.org> |
michael@0 | 4273 | |
michael@0 | 4274 | * src/cid/cidload.c (cid_parse_dict): Skip token if no keyword is |
michael@0 | 4275 | found. |
michael@0 | 4276 | |
michael@0 | 4277 | * src/type1/t1parse.c (IS_T1_WHITESPACE, IS_T1_LINESPACE, |
michael@0 | 4278 | IS_T1_SPACE): Removed. |
michael@0 | 4279 | (PFB_Tag): Removed. |
michael@0 | 4280 | (read_pfb_tag): Don't use PFB_Tag. |
michael@0 | 4281 | |
michael@0 | 4282 | * src/type42/t42parse.c (t42_is_space): Handle `\f' also. |
michael@0 | 4283 | (t42_parse_encoding): Handle synthetic fonts. |
michael@0 | 4284 | |
michael@0 | 4285 | 2003-09-29 Werner Lemberg <wl@gnu.org> |
michael@0 | 4286 | |
michael@0 | 4287 | * include/freetype/internal/t1types.h: Don't include |
michael@0 | 4288 | FT_INTERNAL_OBJECTS_H but FT_INTERNAL_SERVICE_H. |
michael@0 | 4289 | * src/truetype/ttobjs.c: Don't include |
michael@0 | 4290 | FT_SERVICE_POSTSCRIPT_NAMES_H. |
michael@0 | 4291 | |
michael@0 | 4292 | 2003-09-29 David Turner <david@freetype.org> |
michael@0 | 4293 | |
michael@0 | 4294 | Added new service to handle glyph name dictionaries, replacing the |
michael@0 | 4295 | old internal header named `psnames.h' by `services/svpsname.h'. |
michael@0 | 4296 | Note that this is different from `services/svpostnm.h' which only |
michael@0 | 4297 | handles the retrieval of PostScript font names for a given face. |
michael@0 | 4298 | (Should we merge these two services into a single header?) |
michael@0 | 4299 | |
michael@0 | 4300 | * include/freetype/internal/psnames.h: Removed. Most of its |
michael@0 | 4301 | contents is moved to... |
michael@0 | 4302 | * include/freetype/internal/services/svpsname.h: New file. |
michael@0 | 4303 | |
michael@0 | 4304 | * include/freetype/internal/services/svpostnm.h |
michael@0 | 4305 | (FT_SERVICE_ID_POSTSCRIPT_NAME): Replaced with... |
michael@0 | 4306 | (FT_SERVICE_ID_POSTSCRIPT_FONT_NAME): New macro. |
michael@0 | 4307 | (PsName): Service named changed to... |
michael@0 | 4308 | (PsFontName): This. |
michael@0 | 4309 | Updated `FT_Service_PsName' -> `FT_Service_PsFontName' and |
michael@0 | 4310 | `POSTSCRIPT_NAME' -> `POSTSCRIPT_FONT_NAME' everywhere. |
michael@0 | 4311 | |
michael@0 | 4312 | * include/freetype/internal/internal.h |
michael@0 | 4313 | (FT_INTERNAL_POSTSCRIPT_NAMES_H): Removed. |
michael@0 | 4314 | * include/freetype/internal/psaux.h: Include |
michael@0 | 4315 | FT_SERVICE_POSTSCRIPT_NAMES_H. |
michael@0 | 4316 | (T1_DecoderRec): Updated type of `psnames'. |
michael@0 | 4317 | * include/freetype/internal/t1types.h: Don't include |
michael@0 | 4318 | FT_INTERNAL_POSTSCRIPT_NAMES_H but FT_SERVICE_POSTSCRIPT_NAMES_H. |
michael@0 | 4319 | Include FT_INTERNAL_OBJECTS_H. |
michael@0 | 4320 | * include/freetype/internal/t42types.h: Don't include |
michael@0 | 4321 | FT_INTERNAL_POSTSCRIPT_NAMES_H. |
michael@0 | 4322 | * include/freetype/internal/tttypes.h (TT_FaceRec): Updated. |
michael@0 | 4323 | |
michael@0 | 4324 | * include/freetype/internal/ftserv.h (FT_FACE_FIND_SERVICE): Changed |
michael@0 | 4325 | order of parameters. All callers updated. |
michael@0 | 4326 | (FT_FACE_FIND_GLOBAL_SERVICE): New macro to look up a service |
michael@0 | 4327 | globally, checking all modules. |
michael@0 | 4328 | (FT_ServiceCacheRec): Updated. |
michael@0 | 4329 | (FT_SERVICE_POSTSCRIPT_NAMES_H): New macro for accessing |
michael@0 | 4330 | `svpsname.h'. |
michael@0 | 4331 | |
michael@0 | 4332 | * include/freetype/internal/ftobjs.h, src/base/ftobjs.c |
michael@0 | 4333 | (ft_module_get_service): New function. |
michael@0 | 4334 | |
michael@0 | 4335 | * src/cff/cffdrivr.c: Don't include FT_INTERNAL_POSTSCRIPT_NAMES_H |
michael@0 | 4336 | but FT_SERVICE_POSTSCRIPT_NAMES_H. |
michael@0 | 4337 | (cff_get_glyph_name, cff_get_name_index): Use new POSTSCRIPT_NAMES |
michael@0 | 4338 | service. |
michael@0 | 4339 | * src/cff/cffcmap.c (cff_cmap_unicode_init): Updated. |
michael@0 | 4340 | * src/cff/cffload.c, src/cff/cffload.h: Don't include |
michael@0 | 4341 | FT_INTERNAL_POSTSCRIPT_NAMES_H but FT_SERVICE_POSTSCRIPT_NAMES_H. |
michael@0 | 4342 | (cff_index_get_sid_string): Updated. |
michael@0 | 4343 | * src/cff/cffobjs.c: Don't include FT_INTERNAL_POSTSCRIPT_NAMES_H |
michael@0 | 4344 | but FT_SERVICE_POSTSCRIPT_NAMES_H. |
michael@0 | 4345 | (cff_face_init): Use new POSTSCRIPT_NAMES service. |
michael@0 | 4346 | * src/cff/cffobjs.h: Don't include FT_INTERNAL_POSTSCRIPT_NAMES_H |
michael@0 | 4347 | but FT_SERVICE_POSTSCRIPT_NAMES_H. |
michael@0 | 4348 | |
michael@0 | 4349 | * src/cid/cidobjs.c: Don't include FT_INTERNAL_POSTSCRIPT_NAMES_H |
michael@0 | 4350 | but FT_SERVICE_POSTSCRIPT_NAMES_H. |
michael@0 | 4351 | (cid_face_init): Use new POSTSCRIPT_NAMES service. |
michael@0 | 4352 | * src/cid/cidriver.c: Don't include FT_INTERNAL_POSTSCRIPT_NAMES_H. |
michael@0 | 4353 | |
michael@0 | 4354 | * src/psaux/t1cmap.c (t1_cmap_std_init, t1_cmap_unicode_init): Use |
michael@0 | 4355 | new POSTSCRIPT_NAMES service. |
michael@0 | 4356 | * src/psaux/t1decode.h (t1_lookup_glyph_by_stdcharcode, |
michael@0 | 4357 | t1_decode_init): Use new POSTSCRIPT_NAMES service. |
michael@0 | 4358 | * src/psaux/t1cmap.h, src/psaux/t1decode.h: Dont' include |
michael@0 | 4359 | FT_INTERNAL_POSTSCRIPT_NAMES_H. |
michael@0 | 4360 | |
michael@0 | 4361 | * src/psnames/psmodule.c: Don't include |
michael@0 | 4362 | FT_INTERNAL_POSTSCRIPT_NAMES_H but FT_SERVICE_POSTSCRIPT_NAMES_H. |
michael@0 | 4363 | (ps_build_unicode_table): Renamed to... |
michael@0 | 4364 | (ps_unicodes_init): This. |
michael@0 | 4365 | (ps_lookup_unicode): Renamed to... |
michael@0 | 4366 | (ps_unicodes_char_index): This. |
michael@0 | 4367 | (ps_next_unicode): Renamed to... |
michael@0 | 4368 | (ps_unicodes_char_next): This. |
michael@0 | 4369 | (psnames_interface): Updated. |
michael@0 | 4370 | (psnames_services): New services list. |
michael@0 | 4371 | (psnames_get_service): New function. |
michael@0 | 4372 | (psnames_module_class): Updated. |
michael@0 | 4373 | |
michael@0 | 4374 | * src/sfnt/sfobjs.c: Don't include FT_INTERNAL_POSTSCRIPT_NAMES_H |
michael@0 | 4375 | but FT_SERVICE_POSTSCRIPT_NAMES_H. |
michael@0 | 4376 | (sfnt_init_face): Use new POSTSCRIPT_NAMES service. |
michael@0 | 4377 | * src/sfnt/ttpost.c: Don't include FT_INTERNAL_POSTSCRIPT_NAMES_H |
michael@0 | 4378 | but FT_SERVICE_POSTSCRIPT_NAMES_H. |
michael@0 | 4379 | (tt_face_get_ps_name): Updated. |
michael@0 | 4380 | |
michael@0 | 4381 | * src/truetype/ttobjs.c: Don't include |
michael@0 | 4382 | FT_INTERNAL_POSTSCRIPT_NAMES_H but FT_SERVICE_POSTSCRIPT_NAMES_H. |
michael@0 | 4383 | |
michael@0 | 4384 | * src/type1/t1driver.c: Don't include |
michael@0 | 4385 | FT_INTERNAL_POSTSCRIPT_NAMES_H but FT_SERVICE_POSTSCRIPT_NAMES_H. |
michael@0 | 4386 | * src/type1/t1objs.c: Don't include |
michael@0 | 4387 | FT_INTERNAL_POSTSCRIPT_NAMES_H but FT_SERVICE_POSTSCRIPT_NAMES_H. |
michael@0 | 4388 | (T1_Face_Init): Use new POSTSCRIPT_NAMES service. |
michael@0 | 4389 | |
michael@0 | 4390 | * src/type42/t42drivr.c (t42_get_ps_name): Renamed to... |
michael@0 | 4391 | (t42_get_ps_font_name): This. |
michael@0 | 4392 | (t42_service_ps_name): Renamed to... |
michael@0 | 4393 | (t42_service_ps_font_name): This. |
michael@0 | 4394 | (t42_services): Updated. |
michael@0 | 4395 | * src/type42/t42objs.c (T42_Face_Init): Use new POSTSCRIPT_NAMES |
michael@0 | 4396 | service. |
michael@0 | 4397 | * src/type42/t42objs.h: Don't include |
michael@0 | 4398 | FT_INTERNAL_POSTSCRIPT_NAMES_H but FT_SERVICE_POSTSCRIPT_NAMES_H. |
michael@0 | 4399 | |
michael@0 | 4400 | |
michael@0 | 4401 | * src/base/ftglyph.c (FT_Get_Glyph): Don't access `slot' before |
michael@0 | 4402 | testing its validity. Reported by Henry Maddocks |
michael@0 | 4403 | <maddocks@metservice.com>. |
michael@0 | 4404 | |
michael@0 | 4405 | 2003-09-21 Werner Lemberg <wl@gnu.org> |
michael@0 | 4406 | |
michael@0 | 4407 | * include/freetype/internal/ftserv.h (FT_FACE_FIND_SERVICE): |
michael@0 | 4408 | Fix compilation warning (s/pptr/Pptr/). |
michael@0 | 4409 | |
michael@0 | 4410 | * include/freetype/internal/internal.h (FT_INTERNAL_PFR_H, |
michael@0 | 4411 | FT_INTERNAL_FNT_TYPES_H): Removed. |
michael@0 | 4412 | |
michael@0 | 4413 | 2003-09-21 David Turner <david@freetype.org> |
michael@0 | 4414 | |
michael@0 | 4415 | Migrating the PFR and WINFNT drivers to the new service-based |
michael@0 | 4416 | internal API. |
michael@0 | 4417 | |
michael@0 | 4418 | * include/freetype/internal/fnttypes.h: Removed. Most of its data |
michael@0 | 4419 | are moved to winfnt.h and... |
michael@0 | 4420 | * include/freetype/internal/services/svwinfnt.h: New file. |
michael@0 | 4421 | |
michael@0 | 4422 | * include/freetype/internal/pfr.h: Removed. Most of its data are |
michael@0 | 4423 | moved to... |
michael@0 | 4424 | * include/freetype/internal/services/svpfr.h: New file. |
michael@0 | 4425 | |
michael@0 | 4426 | * include/freetype/internal/ftserv.h (FT_FACE_FIND_SERVICE, |
michael@0 | 4427 | FT_FACE_LOOKUP_SERVICE): Simplify fix of 2003-09-16 by removing |
michael@0 | 4428 | pointer type argument. |
michael@0 | 4429 | Updated all callers. |
michael@0 | 4430 | Update macro names of services header files. |
michael@0 | 4431 | |
michael@0 | 4432 | * src/base/ftobjs.c (FT_Get_Name_Index): Simplified code. |
michael@0 | 4433 | |
michael@0 | 4434 | * src/base/ftpfr.c: Include FT_SERVICE_PFR_H instead of |
michael@0 | 4435 | FT_INTERNAL_PFR_H. |
michael@0 | 4436 | (ft_pfr_check, FT_Get_PFR_Metrics, FT_Get_PFR_Kerning, |
michael@0 | 4437 | FT_Get_PFR_Advance): Use services provided in `PFR_METRICS'. |
michael@0 | 4438 | |
michael@0 | 4439 | * src/base/ftwinfnt.c: Include FT_SERVICE_WINFNT_H instead of |
michael@0 | 4440 | FT_INTERNAL_FNT_TYPES_H. |
michael@0 | 4441 | (FT_Get_WinFNT_Header): Use service provided in `WINFNT'. |
michael@0 | 4442 | |
michael@0 | 4443 | * src/pfr/pfrdrivr.c: Include FT_SERVICE_PFR_H and |
michael@0 | 4444 | FT_SERVICE_XFREE86_NAME_H instead of FT_INTERNAL_PFR_H. |
michael@0 | 4445 | (pfr_service_bdf): Updated. |
michael@0 | 4446 | (pfr_services): New services list. |
michael@0 | 4447 | (pfr_get_service): New function. |
michael@0 | 4448 | (pfr_driver_class): Updated. |
michael@0 | 4449 | |
michael@0 | 4450 | * src/winfonts/winfnt.c: Include FT_SERVICE_WINFNT_H and |
michael@0 | 4451 | FT_SERVICE_XFREE86_NAME_H instead of FT_INTERNAL_FNT_TYPES_H. |
michael@0 | 4452 | (winfnt_get_header, winfnt_get_service): New functions. |
michael@0 | 4453 | (winfnt_service_rec): New structure providing WINFNT services. |
michael@0 | 4454 | (winfnt_services): New services list. |
michael@0 | 4455 | (winfnt_driver_class): Updated. |
michael@0 | 4456 | * src/winfonts/winfnt.h: Add most of the removed fnttypes.h data. |
michael@0 | 4457 | |
michael@0 | 4458 | * src/sfnt/sfdriver.c (sfnt_service_ps_name): Fix typo. |
michael@0 | 4459 | |
michael@0 | 4460 | * src/type1/t1driver.c (t1_service_ps_name): Fix typo. |
michael@0 | 4461 | |
michael@0 | 4462 | * src/cff/cffobjs.c, src/cid/cidobjs.c, src/pfr/pfrsbit.c, |
michael@0 | 4463 | src/psaux/psobjs.c, src/sfnt/sfobjs.c, src/truetype/ttobjs.c, |
michael@0 | 4464 | src/type1/t1objs.c, src/type42/t42objs.c: Removing various compiler |
michael@0 | 4465 | warnings. |
michael@0 | 4466 | |
michael@0 | 4467 | 2003-09-19 David Bevan <dbevan@emtex.com> |
michael@0 | 4468 | |
michael@0 | 4469 | * src/type1/t1parse.c (pfb_tag_fields): Removed. |
michael@0 | 4470 | (read_pfb_tag): Fix code so that it doesn't fail on end-of-file |
michael@0 | 4471 | indicator (0x8003). |
michael@0 | 4472 | * docs/CHANGES: Updated. |
michael@0 | 4473 | |
michael@0 | 4474 | 2003-09-16 Werner Lemberg <wl@gnu.org> |
michael@0 | 4475 | |
michael@0 | 4476 | * include/freetype/internal/ftserv.h (FT_FACE_FIND_SERVICE, |
michael@0 | 4477 | FT_FACE_LOOKUP_SERVICE): Add parameter to pass pointer type. |
michael@0 | 4478 | Ugly, I know, but this is needed for compilation with C++ -- |
michael@0 | 4479 | maybe someone knows a better solution? |
michael@0 | 4480 | Updated all callers. |
michael@0 | 4481 | |
michael@0 | 4482 | * src/base/ftobjs.c (FT_Get_Name_Index, FT_Get_Glyph_Name): Remove |
michael@0 | 4483 | C++ compiler warnings. |
michael@0 | 4484 | |
michael@0 | 4485 | * src/base/ftbdf.c (FT_Get_BDF_Charset_ID, FT_Get_BDF_Property): |
michael@0 | 4486 | Fix order of arguments passed to FT_FACE_FIND_SERVICE. |
michael@0 | 4487 | |
michael@0 | 4488 | 2003-09-15 Werner Lemberg <wl@gnu.org> |
michael@0 | 4489 | |
michael@0 | 4490 | Avoid header files with identical names. |
michael@0 | 4491 | |
michael@0 | 4492 | * include/freetype/internal/services/bdf.h: Renamed to... |
michael@0 | 4493 | * include/freetype/internal/services/svbdf.h: This. |
michael@0 | 4494 | Add copyright notice. |
michael@0 | 4495 | * include/freetype/internal/services/glyfdict.h: Renamed to... |
michael@0 | 4496 | * include/freetype/internal/services/svgldict.h: This. |
michael@0 | 4497 | Add copyright notice. |
michael@0 | 4498 | * include/freetype/internal/services/multmast.h: Renamed to... |
michael@0 | 4499 | * include/freetype/internal/services/svmm.h: This. |
michael@0 | 4500 | Add copyright notice. |
michael@0 | 4501 | Add FT_BEGIN_HEADER and FT_END_HEADER. |
michael@0 | 4502 | * include/freetype/internal/services/sfnt.h: Renamed to... |
michael@0 | 4503 | * include/freetype/internal/services/svsfnt.h: This. |
michael@0 | 4504 | Add copyright notice. |
michael@0 | 4505 | * include/freetype/internal/services/postname.h: Renamed to... |
michael@0 | 4506 | * include/freetype/internal/services/svpostnm.h: This. |
michael@0 | 4507 | Add copyright notice. |
michael@0 | 4508 | * include/freetype/internal/services/xf86name.h: Renamed to... |
michael@0 | 4509 | * include/freetype/internal/services/svxf86nm.h: This. |
michael@0 | 4510 | Add copyright notice. |
michael@0 | 4511 | |
michael@0 | 4512 | * include/freetype/internal/ftserv.h: Add FT_BEGIN_HEADER and |
michael@0 | 4513 | FT_END_HEADER. |
michael@0 | 4514 | Add copyright notice. |
michael@0 | 4515 | Update macro names of services header files. |
michael@0 | 4516 | |
michael@0 | 4517 | * builds/freetype.mk (SERVICES_DIR): New variable. |
michael@0 | 4518 | (BASE_H): Add services header files. |
michael@0 | 4519 | |
michael@0 | 4520 | 2003-09-11 Werner Lemberg <wl@gnu.org> |
michael@0 | 4521 | |
michael@0 | 4522 | * builds/toplevel.mk (distclean): Remove `builds/unix/freetype2.pc'. |
michael@0 | 4523 | |
michael@0 | 4524 | * src/cff/cffdrivr.c: Don't load headers twice. |
michael@0 | 4525 | |
michael@0 | 4526 | * include/freetype/internal/ftserv.h (FT_SERVICE_SFNT_H): New macro. |
michael@0 | 4527 | * src/base/ftobjs.c: Include FT_SERVICE_SFNT_H. |
michael@0 | 4528 | |
michael@0 | 4529 | * src/cff/cffcmap.c: Include `cfferrs.h'. |
michael@0 | 4530 | * src/pfr/pfrdrivr.c: Include `pfrerror.h'. |
michael@0 | 4531 | * src/sfnt/sfdriver.c: Include `sferrors.h'. |
michael@0 | 4532 | * src/psaux/psobjs.h: Add declaration for `ps_parser_to_bytes'. |
michael@0 | 4533 | |
michael@0 | 4534 | 2003-09-11 David Turner <david@freetype.org> |
michael@0 | 4535 | |
michael@0 | 4536 | Introducing the concept of `module services'. This is the first |
michael@0 | 4537 | step towards a massive simplification of the engine's internals, in |
michael@0 | 4538 | order to get rid of various numbers of hacks. |
michael@0 | 4539 | |
michael@0 | 4540 | Note that these changes will break source & binary compatibility for |
michael@0 | 4541 | authors of external font drivers. |
michael@0 | 4542 | |
michael@0 | 4543 | * include/freetype/config/ftconfig.h (FT_BEGIN_STMNT, FT_END_STMNT, |
michael@0 | 4544 | FT_DUMMY_STMNT): New macros. |
michael@0 | 4545 | |
michael@0 | 4546 | * include/freetype/internal/ftserv.h: New file, containing the new |
michael@0 | 4547 | structures and macros to provide `services'. |
michael@0 | 4548 | |
michael@0 | 4549 | * include/freetype/internal/internal.h (FT_INTERNAL_EXTENSION_H, |
michael@0 | 4550 | FT_INTERNAL_EXTEND_H, FT_INTERNAL_HASH_H, FT_INTERNAL_OBJECT_H): |
michael@0 | 4551 | Removed, obsolete. |
michael@0 | 4552 | (FT_INTERNAL_SERVICE_H): New macro for `ftserv.h'. |
michael@0 | 4553 | |
michael@0 | 4554 | * include/freetype/internal/services/bdf.h, |
michael@0 | 4555 | include/freetype/internal/services/glyfdict.h, |
michael@0 | 4556 | include/freetype/internal/services/postname.h, |
michael@0 | 4557 | include/freetype/internal/services/xf86name.h: New files. |
michael@0 | 4558 | |
michael@0 | 4559 | * include/freetype/ftmm.h (FT_Get_MM_Func, FT_Set_MM_Design_Func, |
michael@0 | 4560 | FT_Set_MM_Blend_Func): Function pointers moved (in modified form) |
michael@0 | 4561 | to... |
michael@0 | 4562 | * include/freetype/internal/services/multmast.h: New file. |
michael@0 | 4563 | |
michael@0 | 4564 | * include/freetype/internal/sfnt.h (SFNT_Interface): `get_interface' |
michael@0 | 4565 | is now of type `FT_Module_Requester'. |
michael@0 | 4566 | (SFNT_Get_Interface_Func, SFNT_Load_Table_Func): Function pointers |
michael@0 | 4567 | moved (in modified form) to... |
michael@0 | 4568 | * include/freetype/internal/services/sfnt.h: New file. |
michael@0 | 4569 | |
michael@0 | 4570 | * include/freetype/tttables.h (FT_Get_Sfnt_Table_Func): Function |
michael@0 | 4571 | pointer moved (in modified form) to `services/sfnt.h'. |
michael@0 | 4572 | |
michael@0 | 4573 | * include/freetype/ftmodule.h (FT_Module_Interface): Make it a |
michael@0 | 4574 | a typedef to `FT_Pointer'. |
michael@0 | 4575 | |
michael@0 | 4576 | * include/freetype/internal/tttypes.h (TT_FaceRec): Add |
michael@0 | 4577 | `postscript_name'. |
michael@0 | 4578 | * include/freetype/internal/ftobjs.h (FT_Face_InternalRec): Remove |
michael@0 | 4579 | `postscript_name'. |
michael@0 | 4580 | Add `services' element. |
michael@0 | 4581 | (FT_LibraryRec): Remove `meta_class'. |
michael@0 | 4582 | |
michael@0 | 4583 | * src/base/ftbdf.c: Include FT_SERVICE_BDF_H. |
michael@0 | 4584 | (test_font_type): Removed. |
michael@0 | 4585 | (FT_Get_BDF_Charset_ID, FT_Get_BDF_Property): Use services |
michael@0 | 4586 | provided in `FT_SERVICE_ID_BDF'. |
michael@0 | 4587 | |
michael@0 | 4588 | * src/base/ftmm.c: Include FT_SERVICE_MULTIPLE_MASTERS_H. |
michael@0 | 4589 | (ft_face_get_mm_service): New auxiliary function to get services |
michael@0 | 4590 | from `FT_SERVICE_ID_MULTI_MASTERS'. |
michael@0 | 4591 | (FT_Get_Multi_Master, FT_Set_MM_Design_Coordinates, |
michael@0 | 4592 | FT_Set_MM_Blend_Coordinates): Use `ft_face_get_mm_service'. |
michael@0 | 4593 | |
michael@0 | 4594 | * src/base/ftobjs.c: Include FT_SERVICE_POSTSCRIPT_NAME_H and |
michael@0 | 4595 | FT_SERVICE_GLYPH_DICT_H. |
michael@0 | 4596 | (ft_service_list_lookup): New function to get a specific service. |
michael@0 | 4597 | (destroy_face): Updated. |
michael@0 | 4598 | (Mac_Read_POST_Resource): Simplify some code. |
michael@0 | 4599 | (IsMacResource): Fix warnings. |
michael@0 | 4600 | (FT_Get_Name_Index, FT_Get_Glyph_Name): Use services provided in |
michael@0 | 4601 | `FT_SERVICE_ID_GLYPH_DICT'. |
michael@0 | 4602 | (FT_Get_Postscript_Name): Use service provided in |
michael@0 | 4603 | `FT_SERVICE_ID_POSTSCRIPT_NAME'. |
michael@0 | 4604 | (FT_Get_Sfnt_Table, FT_Load_Sfnt_Table): Use services provided in |
michael@0 | 4605 | `FT_SERVICE_ID_SFNT_TABLE'. |
michael@0 | 4606 | |
michael@0 | 4607 | * src/base/ftxf86.c: Include FT_SERVICE_XFREE86_NAME_H. |
michael@0 | 4608 | (FT_Get_X11_Font_Format): Use service provided in |
michael@0 | 4609 | `FT_SERVICE_ID_XF86_NAME'. |
michael@0 | 4610 | |
michael@0 | 4611 | * src/bdf/bdfdrivr.c: Include FT_SERVICE_BDF_H and |
michael@0 | 4612 | FT_SERVICE_XFREE86_NAME_H. |
michael@0 | 4613 | (bdf_get_charset_id): New function. |
michael@0 | 4614 | (bdf_service_bdf): New structure providing BDF services. |
michael@0 | 4615 | (bdf_services): New services list. |
michael@0 | 4616 | (bdf_driver_requester): Use `ft_service_list_lookup'. |
michael@0 | 4617 | |
michael@0 | 4618 | * src/cff/cffdrivr.c: Include FT_SERVICE_XFREE86_NAME_H and |
michael@0 | 4619 | FT_SERVICE_GLYPH_DICT_H. |
michael@0 | 4620 | (cff_service_glyph_dict): New structure providing CFF services. |
michael@0 | 4621 | (cff_services): New services list. |
michael@0 | 4622 | (cff_get_interface): Use `ft_service_list_lookup'. |
michael@0 | 4623 | |
michael@0 | 4624 | * src/cid/cidriver.c: Include FT_SERVICE_POSTSCRIPT_NAME_H and |
michael@0 | 4625 | FT_SERVICE_XFREE86_NAME_H. |
michael@0 | 4626 | (cid_service_ps_name): New structure providing CID services. |
michael@0 | 4627 | (cid_services): New services list. |
michael@0 | 4628 | (cid_get_interface): Use `ft_service_list_lookup'. |
michael@0 | 4629 | |
michael@0 | 4630 | * src/pcf/pcfdrivr.c: Include FT_SERVICE_BDF_H and |
michael@0 | 4631 | FT_SERVICE_XFREE86_NAME_H. |
michael@0 | 4632 | (pcf_service_bdf): New structure providing PCF services. |
michael@0 | 4633 | (pcf_services): New services list. |
michael@0 | 4634 | (pcf_driver_requester): Use `ft_service_list_lookup'. |
michael@0 | 4635 | |
michael@0 | 4636 | * src/sfnt/sfdriver.c: Include FT_SERVICE_GLYPH_DICT_H and |
michael@0 | 4637 | FT_SERVICE_POSTSCRIPT_NAME_H. |
michael@0 | 4638 | (get_sfnt_glyph_name): Renamed to... |
michael@0 | 4639 | (sfnt_get_glyph_name): This. |
michael@0 | 4640 | (get_sfnt_postscript_name): Renamed to... |
michael@0 | 4641 | (sfnt_get_ps_name): This. |
michael@0 | 4642 | Updated. |
michael@0 | 4643 | (sfnt_service_glyph_dict, sfnt_service_ps_name): New structures |
michael@0 | 4644 | providing services. |
michael@0 | 4645 | (sfnt_services): New services list. |
michael@0 | 4646 | (sfnt_get_interface): Use `ft_service_list_lookup'. |
michael@0 | 4647 | |
michael@0 | 4648 | * src/truetype/ttdriver.c: Include FT_SERVICE_XFREE86_NAME_H. |
michael@0 | 4649 | (tt_services): New services list. |
michael@0 | 4650 | (tt_get_interface): Use `ft_service_list_lookup'. |
michael@0 | 4651 | |
michael@0 | 4652 | * src/type1/t1driver.c: Include FT_SERVICE_MULTIPLE_MASTERS_H, |
michael@0 | 4653 | FT_SERVICE_GLYPH_DICT_H, FT_SERVICE_XFREE86_NAME_H, and |
michael@0 | 4654 | FT_SERVICE_POSTSCRIPT_NAME_H. |
michael@0 | 4655 | (t1_service_glyph_dict, t1_service_ps_name, |
michael@0 | 4656 | t1_service_multi_masters): New structures providing Type 1 services. |
michael@0 | 4657 | (t1_services): New services list. |
michael@0 | 4658 | (Get_Interface): Use `ft_service_list_lookup'. |
michael@0 | 4659 | |
michael@0 | 4660 | * src/type42/t42drivr.c: Include FT_SERVICE_XFREE86_NAME_H, |
michael@0 | 4661 | FT_SERVICE_GLYPH_DICT_H, and FT_SERVICE_POSTSCRIPT_NAME_H. |
michael@0 | 4662 | (t42_service_glyph_dict, t42_service_ps_name): New strucures |
michael@0 | 4663 | providing Type 42 services. |
michael@0 | 4664 | (t42_services): New services list. |
michael@0 | 4665 | (T42_Get_Interface): Use `ft_service_list_lookup'. |
michael@0 | 4666 | |
michael@0 | 4667 | |
michael@0 | 4668 | * README, docs/CHANGES: Updating version numbers for 2.1.6, and |
michael@0 | 4669 | removing obsolete warnings in the documentation. |
michael@0 | 4670 | * include/freetype/freetype.h (FREETYPE_PATCH): Set to 6. |
michael@0 | 4671 | * builds/unix/configure.ac (version_info): Set to 9:5:3. |
michael@0 | 4672 | * builds/unix/configure: Regenerated. |
michael@0 | 4673 | |
michael@0 | 4674 | * include/freetype/internal/ftcore.h, |
michael@0 | 4675 | include/freetype/internal/ftexcept.h, |
michael@0 | 4676 | include/freetype/internal/fthash.h, |
michael@0 | 4677 | include/freetype/internal/ftobject.h: Removed. Obsolete. |
michael@0 | 4678 | |
michael@0 | 4679 | 2003-09-09 David Turner <david@freetype.org> |
michael@0 | 4680 | |
michael@0 | 4681 | Fixing PFR kerning support. The tables within the font file contain |
michael@0 | 4682 | (charcode,charcode) kerning pairs, we need to convert them to |
michael@0 | 4683 | (gindex,gindex). |
michael@0 | 4684 | |
michael@0 | 4685 | * src/base/ftpfr.c (ft_pfr_check): Fix serious typo. |
michael@0 | 4686 | * src/pfr/prfload.c: Remove dead code. |
michael@0 | 4687 | (pfr_get_gindex, pfr_compare_kern_pairs, pfr_sort_kerning_pairs): |
michael@0 | 4688 | New functions. |
michael@0 | 4689 | (pfr_phy_font_done): Free `kern_pairs'. |
michael@0 | 4690 | (pfr_phy_font_load): Call `pfr_sort_kerning_pairs'. |
michael@0 | 4691 | * src/pfr/pfrobjs.c (pfr_face_get_kerning): Fix kerning extraction. |
michael@0 | 4692 | * src/pfr/pfrtypes.h (PFR_KERN_PAIR_INDEX): New macro. |
michael@0 | 4693 | (PFR_KernPairRec): Make `kerning' an FT_Int. |
michael@0 | 4694 | (PFR_PhyFontRec): New element `kern_pairs'. |
michael@0 | 4695 | (PFR_KernFlags): Values of PFR_KERN_2BYTE_CHAR and |
michael@0 | 4696 | PFR_KERN_2BYTE_ADJ were erroneously reversed. |
michael@0 | 4697 | |
michael@0 | 4698 | * include/freetype/ftoption.h: Commenting out the macro |
michael@0 | 4699 | TT_CONFIG_OPTION_BYTECODE_INTERPRETER. |
michael@0 | 4700 | |
michael@0 | 4701 | 2003-09-02 David Turner <david@freetype.org> |
michael@0 | 4702 | |
michael@0 | 4703 | |
michael@0 | 4704 | * Version 2.1.5 released. |
michael@0 | 4705 | ========================= |
michael@0 | 4706 | |
michael@0 | 4707 | |
michael@0 | 4708 | 2003-08-31 Manish Singh <yosh@gimp.org> |
michael@0 | 4709 | |
michael@0 | 4710 | * src/bdf/bdflib.c (_bdf_readstream): Don't use FT_MEM_COPY but |
michael@0 | 4711 | FT_MEM_MOVE. |
michael@0 | 4712 | |
michael@0 | 4713 | 2003-08-30 Werner Lemberg <wl@gnu.org> |
michael@0 | 4714 | |
michael@0 | 4715 | * include/freetype/freetype.h (FT_ENCODING_SJIS, FT_ENCODING_GB2312, |
michael@0 | 4716 | FT_ENCODING_BIG5, FT_ENCODING_WANSUNG, FT_ENCODING_JOHAB): New |
michael@0 | 4717 | enumerations of FT_Encoding. The FT_ENCODING_MS_* variants except |
michael@0 | 4718 | FT_ENCODING_MS_SYMBOL are now deprecated. |
michael@0 | 4719 | Updated all users. |
michael@0 | 4720 | * docs/CHANGES: Document it. |
michael@0 | 4721 | |
michael@0 | 4722 | 2003-08-27 Werner Lemberg <wl@gnu.org> |
michael@0 | 4723 | |
michael@0 | 4724 | * src/bdf/bdfdrivr.c (BDF_Face_Init): Accept lowercase characters |
michael@0 | 4725 | for spacing. |
michael@0 | 4726 | |
michael@0 | 4727 | 2003-08-27 Mike FABIAN <mfabian@suse.de> |
michael@0 | 4728 | |
michael@0 | 4729 | * src/pcf/pcfread.c (pcf_load_font), src/bdf/bdfdrivr.c |
michael@0 | 4730 | (BDF_Face_Init): Accept lowercase characters for slant and weight. |
michael@0 | 4731 | |
michael@0 | 4732 | 2003-08-18 David Turner <david@freetype.org> |
michael@0 | 4733 | |
michael@0 | 4734 | * include/freetype/config/ftoption.h: Disabling TrueType bytecode |
michael@0 | 4735 | interpreter until the UNPATENTED_HINTING works as advertised. |
michael@0 | 4736 | |
michael@0 | 4737 | * src/autohint/ahhint.c (ah_hinter_load_glyph): Use `|' for |
michael@0 | 4738 | setting `load_flags'. |
michael@0 | 4739 | |
michael@0 | 4740 | * Jamfile: Adding the `refdoc' target to the Jamfile in order to |
michael@0 | 4741 | build the API Reference in `docs/reference' automatically. |
michael@0 | 4742 | |
michael@0 | 4743 | * include/freetype/t1tables.h (PS_FontInfoRec), src/cid/cidtoken.h, |
michael@0 | 4744 | src/type1/t1tokens.h, src/type42/t42parse.c: Resetting the types of |
michael@0 | 4745 | `italic_angle', `underline_position', and `underline_thickness' to |
michael@0 | 4746 | their previous values (i.e., long, short, and ushort) in order to |
michael@0 | 4747 | avoid breaking binary compatibility. |
michael@0 | 4748 | |
michael@0 | 4749 | * include/freetype/ttunpat.h: Fixing documentation comment. |
michael@0 | 4750 | |
michael@0 | 4751 | * include/freetype/config/ftoption.h, devel/ftoption.h |
michael@0 | 4752 | (TT_CONFIG_OPTION_OPTION_COMPILE_UNPATENTED_HINTING): Replaced |
michael@0 | 4753 | with... |
michael@0 | 4754 | (TT_CONFIG_OPTION_UNPATENTED_HINTING): This. Updated all users. |
michael@0 | 4755 | (TT_CONFIG_OPTION_FORCE_UNPATENTED_HINTING): Removed. |
michael@0 | 4756 | |
michael@0 | 4757 | * include/freetype/internal/ftobjs.h (FT_DEBUG_HOOK_TYPE1): Removed. |
michael@0 | 4758 | (FT_DEBUG_HOOK_UNPATENTED_HINTING): New macro. Use this with |
michael@0 | 4759 | `FT_Set_Debug_Hook' to get the same effect as the removed |
michael@0 | 4760 | TT_CONFIG_OPTION_FORCE_UNPATENTED_HINTING. |
michael@0 | 4761 | |
michael@0 | 4762 | * src/truetype/ttobjs.c (tt_face_init): Use |
michael@0 | 4763 | `FT_DEBUG_HOOK_UNPATENTED_HINTING'. |
michael@0 | 4764 | |
michael@0 | 4765 | 2003-08-06 Werner Lemberg <wl@gnu.org> |
michael@0 | 4766 | |
michael@0 | 4767 | * src/type1/t1gload.c (T1_Load_Glyph), src/cff/cffgload.c |
michael@0 | 4768 | (cff_slot_load), src/cid/cidgload.c (cid_slot_load_glyph): Fix |
michael@0 | 4769 | previous change. |
michael@0 | 4770 | |
michael@0 | 4771 | 2003-08-05 Werner Lemberg <wl@gnu.org> |
michael@0 | 4772 | |
michael@0 | 4773 | * src/type1/t1gload.c (T1_Load_Glyph), src/cff/cffgload.c |
michael@0 | 4774 | (cff_slot_load), src/cid/cidgload.c (cid_slot_load_glyph): Apply |
michael@0 | 4775 | font matrix to advance width also. |
michael@0 | 4776 | * docs/CHANGES: Updated. |
michael@0 | 4777 | |
michael@0 | 4778 | 2003-07-26 Werner Lemberg <wl@gnu.org> |
michael@0 | 4779 | |
michael@0 | 4780 | * builds/unix/configure.ac (version_info): Set to 9:4:3. |
michael@0 | 4781 | * builds/unix/configure: Updated. |
michael@0 | 4782 | * docs/CHANGES, docs/VERSION.DLL: Updated. |
michael@0 | 4783 | |
michael@0 | 4784 | * include/freetype/freetype.h (FT_GlyphSlot): Change 2003-06-16 |
michael@0 | 4785 | also breaks binary compatibility. Reintroduce an unsigned integer |
michael@0 | 4786 | at the old position of `flags' called `reserved'. |
michael@0 | 4787 | |
michael@0 | 4788 | 2003-07-25 Werner Lemberg <wl@gnu.org> |
michael@0 | 4789 | |
michael@0 | 4790 | Make API reference valid HTML 4.01 transitional. |
michael@0 | 4791 | |
michael@0 | 4792 | * src/tools/docmaker/tohtml.py (html_header_1): Add doctype |
michael@0 | 4793 | and charset. |
michael@0 | 4794 | (html_header_2): Fix style elements and add some more. |
michael@0 | 4795 | Fix syntax. |
michael@0 | 4796 | (block_header, block_footer, description_header, description_footer, |
michael@0 | 4797 | marker_header, marker_footer, source_header, source_footer, |
michael@0 | 4798 | chapter_header): Don't use <center>...</center> but `align=center' |
michael@0 | 4799 | table attribute. |
michael@0 | 4800 | (chapter_inter, chapter_footer): Add <li> and use special <ul> |
michael@0 | 4801 | class. |
michael@0 | 4802 | Use double quotes around table widths given in percent. |
michael@0 | 4803 | (keyword_prefix, keyword_suffix): Don't change font colour directly |
michael@0 | 4804 | but use a new <span> class. |
michael@0 | 4805 | (section_synopsis_header, section_synopsis_footer): Don't change |
michael@0 | 4806 | colour. |
michael@0 | 4807 | (code_header, code_footer): Don't change font colour directly but |
michael@0 | 4808 | use a special <pre> class. |
michael@0 | 4809 | (print_html_field): <tr> gets the `valign' attribute, not <table>. |
michael@0 | 4810 | (print_html_field_list): Ditto. |
michael@0 | 4811 | (index_exit): Don't use <center>...</center> but `align=center' |
michael@0 | 4812 | table attribute. |
michael@0 | 4813 | (section_enter): Ditto. |
michael@0 | 4814 | (toc_exit): Don't emit </table>. |
michael@0 | 4815 | (block_enter): Use <h4><a>, not <a><h4>. |
michael@0 | 4816 | (__init__): Fix tag order in self.html_footer. |
michael@0 | 4817 | |
michael@0 | 4818 | 2003-07-25 David Turner <david@freetype.org> |
michael@0 | 4819 | |
michael@0 | 4820 | This change reimplements fix from 2003-05-30 without breaking |
michael@0 | 4821 | binary compatibility. |
michael@0 | 4822 | |
michael@0 | 4823 | * include/freetype/t1tables.h (PS_FontInfoRec): `italic_angle', |
michael@0 | 4824 | `is_fixed_pitch', `underline_position', `underline_thickness' are |
michael@0 | 4825 | reverted to be normal values. |
michael@0 | 4826 | |
michael@0 | 4827 | * include/freetype/internal/psaux.h (T1_FieldType): Remove |
michael@0 | 4828 | `T1_FIELD_TYPE_BOOL_P', `T1_FIELD_TYPE_INTEGER_P', |
michael@0 | 4829 | `T1_FIELD_TYPE_FIXED_P', `T1_FIELD_TYPE_FIXED_1000_P'. |
michael@0 | 4830 | (T1_FIELD_TYPE_BOOL_P, T1_FIELD_NUM_P, T1_FIELD_FIXED_P, |
michael@0 | 4831 | T1_FIELD_FIXED_1000_P): Removed. |
michael@0 | 4832 | (T1_FIELD_TYPE_BOOL): Renamed to... |
michael@0 | 4833 | (T1_FIELD_BOOL): New macro. Updated all callers. |
michael@0 | 4834 | |
michael@0 | 4835 | * src/type42/t42parse.c: `italic_angle', `is_fixed_pitch', |
michael@0 | 4836 | `underline_position', `underline_thickness', `paint_type', |
michael@0 | 4837 | `stroke_width' are reverted to be normal values. |
michael@0 | 4838 | (T42_KEYWORD_COUNT): New macro. |
michael@0 | 4839 | (t42_parse_dict): New array `keyword_flags' to mark that a value has |
michael@0 | 4840 | already been assigned to a dictionary entry. |
michael@0 | 4841 | * src/type42/t42objs.c (T42_Face_Init, T42_Face_Done): Updated. |
michael@0 | 4842 | |
michael@0 | 4843 | * src/cid/cidtoken.h: `italic_angle', `is_fixed_pitch', |
michael@0 | 4844 | `underline_position', `underline_thickness' are reverted to be |
michael@0 | 4845 | normal values. |
michael@0 | 4846 | * src/cid/cidobjs.c (cid_face_done, cid_face_init): Updated. |
michael@0 | 4847 | |
michael@0 | 4848 | * src/psaux/psobjs.c (ps_parser_load_field): Updated. |
michael@0 | 4849 | |
michael@0 | 4850 | * src/type1/t1tokens.h: `italic_angle', `is_fixed_pitch', |
michael@0 | 4851 | `underline_position', `underline_thickness', `paint_type', |
michael@0 | 4852 | `stroke_width' are reverted to be normal values. |
michael@0 | 4853 | * src/type1/t1objs.c (T1_Face_Done, T1_Face_Init): Updated. |
michael@0 | 4854 | * src/type1/t1load.c (T1_FIELD_COUNT): New macro. |
michael@0 | 4855 | (parse_dict): Add parameter for keyword flags. |
michael@0 | 4856 | Record only first instance of a field. |
michael@0 | 4857 | (T1_Open_Face): New array `keyword_flags'. |
michael@0 | 4858 | |
michael@0 | 4859 | 2003-07-24 Werner Lemberg <wl@gnu.org> |
michael@0 | 4860 | |
michael@0 | 4861 | * include/freetype/freetype.h (FREETYPE_PATCH): Set to 5. |
michael@0 | 4862 | * builds/unix/configure.ac (version_info): Set to 10:0:3. |
michael@0 | 4863 | * builds/unix/configure: Updated. |
michael@0 | 4864 | * builds/freetype.mk (refdoc): Fix --title. |
michael@0 | 4865 | |
michael@0 | 4866 | * docs/CHANGES, docs/VERSION.DLL, README: Updated. |
michael@0 | 4867 | |
michael@0 | 4868 | * src/tools/docmaker/sources.py (re_crossref): Fix regular |
michael@0 | 4869 | expression to handle trailing punctuation characters. |
michael@0 | 4870 | * src/tools/docmaker/tohtml.py (make_html_word): Updated. |
michael@0 | 4871 | |
michael@0 | 4872 | * docs/release: New file. |
michael@0 | 4873 | |
michael@0 | 4874 | 2003-07-23 YAMANO-UCHI Hidetoshi <mer@din.or.jp> |
michael@0 | 4875 | |
michael@0 | 4876 | * include/freetype/internal/psaux.h (PS_Parser_FuncsRec): New |
michael@0 | 4877 | member function `to_bytes'. |
michael@0 | 4878 | |
michael@0 | 4879 | * src/psaux/psauxmod.c (ps_parser_funcs): New member |
michael@0 | 4880 | `ps_parser_to_bytes'. |
michael@0 | 4881 | (psaux_module_class): Increase version to 0x20000L. |
michael@0 | 4882 | |
michael@0 | 4883 | * src/psaux/psobjs.c (IS_T1_LINESPACE): Add \f. |
michael@0 | 4884 | (IS_T1_NULLSPACE): New macro. |
michael@0 | 4885 | (IS_T1_SPACE): Add it. |
michael@0 | 4886 | (skip_spaces, skip_alpha): New functions. |
michael@0 | 4887 | (ps_parser_skip_spaces, ps_parser_skip_alpha): Use them. |
michael@0 | 4888 | (ps_tobytes, ps_parser_to_bytes): New functions. |
michael@0 | 4889 | |
michael@0 | 4890 | 2003-07-07 Werner Lemberg <wl@gnu.org> |
michael@0 | 4891 | |
michael@0 | 4892 | * builds/freetype.mk (DOC_DIR): New variable. |
michael@0 | 4893 | (refdoc): Use *_DIR variables. |
michael@0 | 4894 | (distclean): Remove documentation files. |
michael@0 | 4895 | |
michael@0 | 4896 | * builds/detect.mk (std_setup, dos_setup): Mention `make refdoc'. |
michael@0 | 4897 | |
michael@0 | 4898 | * configure: Set DOC_DIR variable. |
michael@0 | 4899 | |
michael@0 | 4900 | 2003-07-07 Patrik Hägglund <patrik.hagglund@bredband.net> |
michael@0 | 4901 | |
michael@0 | 4902 | * builds/freetype.mk (refdoc): New target to build the |
michael@0 | 4903 | documentation. |
michael@0 | 4904 | (.PHONY): Updated. |
michael@0 | 4905 | |
michael@0 | 4906 | * include/freetype/freetype.h: Improve documentation of FT_CharMap. |
michael@0 | 4907 | * include/freetype/ftimage,h: Fix documentation of FT_OUTLINE_FLAGS. |
michael@0 | 4908 | * include/freetype/tttables.h: Document FT_Sfnt_Tag. |
michael@0 | 4909 | |
michael@0 | 4910 | 2003-07-06 Werner Lemberg <wl@gnu.org> |
michael@0 | 4911 | |
michael@0 | 4912 | * src/bdf/bdfdrivr.c (BDF_Face_Init), src/pcf/pcfread.c |
michael@0 | 4913 | (pcf_load_font): Fix computation of height if PIXEL_SIZE property is |
michael@0 | 4914 | missing. |
michael@0 | 4915 | |
michael@0 | 4916 | 2003-07-01 Werner Lemberg <wl@gnu.org> |
michael@0 | 4917 | |
michael@0 | 4918 | * src/cache/ftcsbits.c (ftc_sbit_node_compare): Only add `size' if |
michael@0 | 4919 | there is no error. Reported by Knut St. Osmundsen |
michael@0 | 4920 | <bird-freetype@anduin.net>. |
michael@0 | 4921 | |
michael@0 | 4922 | 2003-06-30 Werner Lemberg <wl@gnu.org> |
michael@0 | 4923 | |
michael@0 | 4924 | A new try to synchronize bitmap font access. |
michael@0 | 4925 | |
michael@0 | 4926 | * include/freetype/freetype.h (FT_Bitmap_Size): `height' is now |
michael@0 | 4927 | defined to return the baseline-to-baseline distance. This was |
michael@0 | 4928 | already the value returned by the BDF and PCF drivers. |
michael@0 | 4929 | |
michael@0 | 4930 | The `width' field now gives the average width. I wasn't able to |
michael@0 | 4931 | find something better. It should be taken as informative only. |
michael@0 | 4932 | |
michael@0 | 4933 | New fields `size', `x_ppem', and `y_ppem'. |
michael@0 | 4934 | |
michael@0 | 4935 | * src/pcf/pcfread.c (pcf_load_font): Updated to properly fill |
michael@0 | 4936 | FT_Bitmap_Size. |
michael@0 | 4937 | Do proper rounding and conversion from 72.27 to 72 points. |
michael@0 | 4938 | |
michael@0 | 4939 | * src/bdf/bdfdrivr.c (BDF_Face_Init): Updated to properly fill |
michael@0 | 4940 | FT_Bitmap_Size. |
michael@0 | 4941 | Do proper rounding and conversion from 72.27 to 72 points. |
michael@0 | 4942 | |
michael@0 | 4943 | * src/sfnt/sfobjs.c (sfnt_load_face): Updated to properly fill |
michael@0 | 4944 | FT_Bitmap_Size. |
michael@0 | 4945 | |
michael@0 | 4946 | * src/winfonts/winfnt.c (FNT_Face_Init): Updated to properly fill |
michael@0 | 4947 | FT_Bitmap_Size. |
michael@0 | 4948 | |
michael@0 | 4949 | 2003-06-29 Werner Lemberg <wl@gnu.org> |
michael@0 | 4950 | |
michael@0 | 4951 | Redesigning the FNT driver to return multiple faces, not multiple |
michael@0 | 4952 | strikes. At least one font (app850.fon from WinME) contains |
michael@0 | 4953 | different FNT charmaps for its subfonts. Consequently, the previous |
michael@0 | 4954 | design of having multiple bitmap strikes in a single font face fails |
michael@0 | 4955 | since we have only one charmap per face. |
michael@0 | 4956 | |
michael@0 | 4957 | * include/freetype/internal/fnttypes.h (FNT_Size_Rec): Removed. |
michael@0 | 4958 | (FNT_FaceRec): Remove `num_fonts' field and replace `fonts' with |
michael@0 | 4959 | `font'. |
michael@0 | 4960 | |
michael@0 | 4961 | * src/base/ftwinfnt.c (FT_Get_WinFNT_Header): Updated. |
michael@0 | 4962 | |
michael@0 | 4963 | * src/winfonts/winfnt.c (fnt_font_load): Don't set pixel_width equal |
michael@0 | 4964 | to pixel_height. |
michael@0 | 4965 | (fnt_face_done_fonts): Removed. |
michael@0 | 4966 | (fnt_face_get_dll_fonts): Renamed to... |
michael@0 | 4967 | (fnt_face_get_dll_font): This. Add second function argument to |
michael@0 | 4968 | select face index. |
michael@0 | 4969 | Updated to load just one subfont. |
michael@0 | 4970 | (fnt_font_done, FNT_Face_Done): Updated. |
michael@0 | 4971 | (FNT_Face_Init): Handle `face_index'. |
michael@0 | 4972 | Updated. |
michael@0 | 4973 | (FNT_Size_Set_Pixels): Simplified; similar to BDF and PCF, the |
michael@0 | 4974 | bitmap width is now ignored. |
michael@0 | 4975 | (FNT_Load_Glyph): Updated. |
michael@0 | 4976 | Fix glyph index computation. |
michael@0 | 4977 | (winfnt_driver_class): Updated. |
michael@0 | 4978 | |
michael@0 | 4979 | 2003-06-25 Owen Taylor <otaylor@redhat.com> |
michael@0 | 4980 | |
michael@0 | 4981 | * src/sfnt/ttload.c (tt_face_load_hdmx): Don't assign |
michael@0 | 4982 | num_records until we actually decide to load the table, |
michael@0 | 4983 | otherwise, we'll segfault in tt_face_free_hdmx. |
michael@0 | 4984 | |
michael@0 | 4985 | 2003-06-24 Werner Lemberg <wl@gnu.org> |
michael@0 | 4986 | |
michael@0 | 4987 | * src/cff/cffdrivr.c (cff_get_glyph_name): Protect against zero |
michael@0 | 4988 | glyph name pointer. Reported by Mikey Anbary <manbary@vizrt.com>. |
michael@0 | 4989 | |
michael@0 | 4990 | 2003-06-23 Werner Lemberg <wl@gnu.org> |
michael@0 | 4991 | |
michael@0 | 4992 | * src/tools/glnames.py: Updated to AGL 2.0. |
michael@0 | 4993 | * src/psnames/pstables.h: Regenerated. |
michael@0 | 4994 | |
michael@0 | 4995 | 2003-06-22 Werner Lemberg <wl@gnu.org> |
michael@0 | 4996 | |
michael@0 | 4997 | * include/freetype/cache/ftcglyph.h, include/freetype/ttnameid.h, |
michael@0 | 4998 | src/base/ftcalc.c, src/base/fttrigon.c, src/cff/cffgload.c, |
michael@0 | 4999 | src/otlayout/otlgsub.c, src/pshinter/pshrec.c, |
michael@0 | 5000 | src/psnames/psmodule.c, src/sfnt/sfobjs.c, src/truetype/ttdriver.c: |
michael@0 | 5001 | Decorate constants with `U' and `L' if appropriate. |
michael@0 | 5002 | |
michael@0 | 5003 | * include/freetype/ftmoderr.h: Updated to include recent module |
michael@0 | 5004 | additions. |
michael@0 | 5005 | |
michael@0 | 5006 | * src/pshinter/pshnterr.h (FT_ERR_BASE): Define as |
michael@0 | 5007 | `FT_Mod_Err_PShinter'. |
michael@0 | 5008 | * src/type42/t42error.h (FT_ERR_BASE): Define as |
michael@0 | 5009 | `FT_Mod_Err_Type42'. |
michael@0 | 5010 | |
michael@0 | 5011 | * src/pshinter/pshrec.h (PS_HINTS_MAGIC): Removed. Not used. |
michael@0 | 5012 | |
michael@0 | 5013 | * include/freetype/config/ftconfig.h [__MWERKS__]: Define FT_LONG64 |
michael@0 | 5014 | and FT_INT64. |
michael@0 | 5015 | |
michael@0 | 5016 | 2003-06-21 Werner Lemberg <wl@gnu.org> |
michael@0 | 5017 | |
michael@0 | 5018 | * src/winfonts/winfnt.c (FNT_Load_Glyph): Use first_char in |
michael@0 | 5019 | computation of glyph_index. |
michael@0 | 5020 | (FNT_Size_Set_Pixels): To find a strike, first check pixel_height |
michael@0 | 5021 | only, then try to find a better hit by comparing pixel_width also. |
michael@0 | 5022 | Without this fix it isn't possible to access all strikes. |
michael@0 | 5023 | Also compute metrics.max_advance to be in sync with other bitmap |
michael@0 | 5024 | drivers. |
michael@0 | 5025 | |
michael@0 | 5026 | * src/base/ftobjs.c (FT_Set_Char_Size): Remove redundant code. |
michael@0 | 5027 | (FT_Set_Pixel_Size): Assign value to `metrics' after validation of |
michael@0 | 5028 | arguments. |
michael@0 | 5029 | |
michael@0 | 5030 | 2003-06-20 Werner Lemberg <wl@gnu.org> |
michael@0 | 5031 | |
michael@0 | 5032 | Synchronize computation of height and width for bitmap strikes. The |
michael@0 | 5033 | `width' field in the FT_Bitmap_Size structure is now only useful to |
michael@0 | 5034 | enumerate different strikes. The `max_advance' field of the |
michael@0 | 5035 | FT_Size_Metrics structure should be used to get the (maximum) width |
michael@0 | 5036 | of a strike. |
michael@0 | 5037 | |
michael@0 | 5038 | * src/bdf/bdfdrivr.c (BDF_Face_Init): Don't use AVERAGE_WIDTH for |
michael@0 | 5039 | computing `available_sizes->width' but make it always equal to |
michael@0 | 5040 | `available_sizes->height'. |
michael@0 | 5041 | |
michael@0 | 5042 | * src/pcf/pcfread.c (pcf_load_font): Don't use RESOLUTION_X for |
michael@0 | 5043 | computing `available_sizes->width' but make it always equal to |
michael@0 | 5044 | `available_sizes->height'. |
michael@0 | 5045 | |
michael@0 | 5046 | * src/truetype/ttdriver.c (Set_Pixel_Sizes): Pass only single |
michael@0 | 5047 | argument to function. |
michael@0 | 5048 | |
michael@0 | 5049 | * src/psnames/psmodule.c (ps_unicode_value): Handle `.' after |
michael@0 | 5050 | `uniXXXX' and `uXXXX[X[X]]'. |
michael@0 | 5051 | |
michael@0 | 5052 | 2003-06-19 Werner Lemberg <wl@gnu.org> |
michael@0 | 5053 | |
michael@0 | 5054 | * src/bdf/bdfdrivr.c: s/FT_Err_/BDF_Err/. |
michael@0 | 5055 | * src/cache/ftccache.c, src/cache/ftcsbits.c, src/cache/ftlru.c: |
michael@0 | 5056 | s/FT_Err_/FTC_Err_/. |
michael@0 | 5057 | * src/cff/cffcmap.c: s/FT_Err_/CFF_Err_/. |
michael@0 | 5058 | * src/pcf/pcfdrivr.c: s/FT_Err_/PCF_Err_/. |
michael@0 | 5059 | * src/psaux/t1cmap.c: Include psauxerr.h. |
michael@0 | 5060 | s/FT_Err_/PSaux_Err_/. |
michael@0 | 5061 | * src/pshinter/pshnterr.h: New file. |
michael@0 | 5062 | * src/pshinter/rules.mk: Updated. |
michael@0 | 5063 | * src/pshinter/pshalgo.c, src/pshinter/pshrec.c: Include pshnterr.h. |
michael@0 | 5064 | s/FT_Err_/PSH_Err_/. |
michael@0 | 5065 | * src/pfr/pfrdrivr.c, src/pfr/pfrobjs.c, src/pfr/pfrsbit.c: |
michael@0 | 5066 | s/FT_Err_/PFR_Err_/. |
michael@0 | 5067 | * src/sfnt/sfdriver.c, src/sfnt/sfobjs.c, src/sfnt/ttcmap0.c, |
michael@0 | 5068 | src/sfnt/ttload.c: s/FT_Err_/SFNT_Err_/. |
michael@0 | 5069 | * src/truetype/ttgload.c: s/FT_Err_/TT_Err_/. |
michael@0 | 5070 | * src/gzip/ftgzip.c: Load FT_MODULE_ERRORS_H and define |
michael@0 | 5071 | FT_ERR_PREFIX and FT_ERR_BASE. |
michael@0 | 5072 | s/FT_Err_/Gzip_Err_/. |
michael@0 | 5073 | |
michael@0 | 5074 | 2003-06-19 Dirck Blaskey <listtarget@danbala.com> |
michael@0 | 5075 | |
michael@0 | 5076 | * src/cff/cffload (cff_encoding_load): `nleft' must be FT_UInt, |
michael@0 | 5077 | otherwise adding 1 might wrap the result. |
michael@0 | 5078 | |
michael@0 | 5079 | 2003-06-18 Werner Lemberg <wl@gnu.org> |
michael@0 | 5080 | |
michael@0 | 5081 | * src/psnames/psmodule.c (ps_unicode_value): Add support to |
michael@0 | 5082 | recognize `uXXXX[X[X]]' glyph names. |
michael@0 | 5083 | Don't handle glyph names starting with `uni' which have more than |
michael@0 | 5084 | four digits. |
michael@0 | 5085 | |
michael@0 | 5086 | 2003-06-16 Werner Lemberg <wl@gnu.org> |
michael@0 | 5087 | |
michael@0 | 5088 | * include/freetype/freetype.h (FT_Open_Flags): Replaced with |
michael@0 | 5089 | #defines for the constants. |
michael@0 | 5090 | (FT_Open_Args): Change type of `flags' to FT_UInt. |
michael@0 | 5091 | (FT_GlyphSlot): Move `flags' to FT_Slot_Internal. |
michael@0 | 5092 | |
michael@0 | 5093 | * include/freetype/ftimage.h (FT_Outline_Flags, FT_Raster_Flag): |
michael@0 | 5094 | Replaced with #defines for the constants. |
michael@0 | 5095 | |
michael@0 | 5096 | * include/freetype/internal/ftobjs.h (FT_Slot_Internal): New |
michael@0 | 5097 | field `flags' (from FT_GlyphSlot). |
michael@0 | 5098 | Updated all affected source files. |
michael@0 | 5099 | (FT_GLYPH_OWN_BITMAP): New macro (from ftgloadr.h). |
michael@0 | 5100 | |
michael@0 | 5101 | * include/freetype/internal/ftgloadr.h (FT_GLYPH_OWN_BITMAP): Moved |
michael@0 | 5102 | to ftobjs.h. |
michael@0 | 5103 | |
michael@0 | 5104 | * src/base/ftglyph.c (FT_Glyph_To_Bitmap): Use dummy |
michael@0 | 5105 | FT_GlyphSlot_Internal object. |
michael@0 | 5106 | |
michael@0 | 5107 | 2003-06-15 Werner Lemberg <wl@gnu.org> |
michael@0 | 5108 | |
michael@0 | 5109 | * builds/compiler/gcc.mk, builds/compiler/gcc-dev.mk (CFLAGS): |
michael@0 | 5110 | Add -fno-strict-aliasing to get rid of zillion warnings from gcc |
michael@0 | 5111 | version 3.3. |
michael@0 | 5112 | |
michael@0 | 5113 | 2003-06-14 Werner Lemberg <wl@gnu.org> |
michael@0 | 5114 | |
michael@0 | 5115 | * include/freetype/ftglyph.h (ft_glyph_bbox_unscaled, |
michael@0 | 5116 | ft_glyph_bbox_subpixels, ft_glyph_bbox_gridfit, |
michael@0 | 5117 | ft_glyph_bbox_truncate, ft_glyph_bbox_pixels): Replaced with |
michael@0 | 5118 | FT_GLYPH_BBOX_UNSCALED, FT_GLYPH_BBOX_SUBPIXELS, |
michael@0 | 5119 | FT_GLYPH_BBIX_GRIDFIT, FT_GLYPH_BBOX_TRUNCATE, FT_GLYPH_BBOX_PIXELS. |
michael@0 | 5120 | The lowercase variants are now (deprecated aliases) to the uppercase |
michael@0 | 5121 | versions. |
michael@0 | 5122 | Updated all other files. |
michael@0 | 5123 | |
michael@0 | 5124 | * include/freetype/ftmodule.h (ft_module_font_driver, |
michael@0 | 5125 | ft_module_renderer, ft_module_hinter, ft_module_styler, |
michael@0 | 5126 | ft_module_driver_scalable, ft_module_driver_no_outlines, |
michael@0 | 5127 | ft_module_driver_has_hinter): Replaced with FT_MODULE_FONT_DRIVER, |
michael@0 | 5128 | FT_MODULE_RENDERER, FT_MODULE_HINTER, FT_MODULE_STYLER, |
michael@0 | 5129 | FT_MODULE_DRIVER_SCALABLE, FT_MODULE_DRIVER_NO_OUTLINES, |
michael@0 | 5130 | FT_MODULE_DRIVER_HAS_HINTER. |
michael@0 | 5131 | The lowercase variants are now (deprecated aliases) to the uppercase |
michael@0 | 5132 | versions. |
michael@0 | 5133 | Updated all other files. |
michael@0 | 5134 | |
michael@0 | 5135 | * src/base/ftglyph.c (FT_Glyph_Get_CBox): Handle bbox_mode better |
michael@0 | 5136 | as enumeration. |
michael@0 | 5137 | |
michael@0 | 5138 | * src/pcf/pcfdrivr.c (pcf_driver_class), src/winfonts/winfnt.c |
michael@0 | 5139 | (winfnt_driver_class), src/bdf/bdfdrivr.c (bdf_driver_class): Add |
michael@0 | 5140 | the FT_MODULE_DRIVER_NO_OUTLINES flag. |
michael@0 | 5141 | |
michael@0 | 5142 | 2003-06-13 Detlef Würkner <TetiSoft@apg.lahn.de> |
michael@0 | 5143 | |
michael@0 | 5144 | * src/pfr/pfrobjs.c (pfr_slot_load): Apply font matrix. |
michael@0 | 5145 | |
michael@0 | 5146 | 2003-06-13 Werner Lemberg <wl@gnu.org> |
michael@0 | 5147 | |
michael@0 | 5148 | * builds/dos/detect.mk: Test not only for `Dos' but for `DOS' also. |
michael@0 | 5149 | |
michael@0 | 5150 | * builds/dos/dos-emx.mk, builds/compiler/emx.mk: New files for |
michael@0 | 5151 | EMX gcc compiler. |
michael@0 | 5152 | * builds/dos/detect.mk: Add target `emx'. |
michael@0 | 5153 | |
michael@0 | 5154 | * builds/compiler/watcom.mk (LINK_LIBRARY): GNU Make for DOS doesn't |
michael@0 | 5155 | like a trailing semicolon; add a dummy command. |
michael@0 | 5156 | |
michael@0 | 5157 | * src/cid/cidload.c: Remove parse_font_bbox code (already enclosed |
michael@0 | 5158 | with #if 0 ... #endif). |
michael@0 | 5159 | |
michael@0 | 5160 | * src/type1/t1tokens.h: Handle /FontName. |
michael@0 | 5161 | * src/type1/t1load.c (parse_font_name): Removed. |
michael@0 | 5162 | Remove parse_font_bbox code (already enclosed with #if 0 ... |
michael@0 | 5163 | #endif). |
michael@0 | 5164 | |
michael@0 | 5165 | * src/type42/t42parse.c (t42_parse_font_name): Removed. |
michael@0 | 5166 | Remove t42_parse_font_bbox code (already enclosed with #if 0 ... |
michael@0 | 5167 | #endif). |
michael@0 | 5168 | (t42_keywords): Handle /FontName with T1_FIELD_KEY. |
michael@0 | 5169 | |
michael@0 | 5170 | 2003-06-12 Werner Lemberg <wl@gnu.org> |
michael@0 | 5171 | |
michael@0 | 5172 | * include/freetype/internal/psaux.h (T1_FieldType): Add |
michael@0 | 5173 | T1_FIELD_TYPE_KEY. |
michael@0 | 5174 | (T1_FIELD_KEY): New macro. |
michael@0 | 5175 | * src/psaux/psobjs.c (ps_parser_load_field): Handle |
michael@0 | 5176 | T1_FIELD_TYPE_KEY. |
michael@0 | 5177 | |
michael@0 | 5178 | * src/cid/cidtoken.h: Use T1_FIELD_KEY for /CIDFontName. |
michael@0 | 5179 | |
michael@0 | 5180 | 2003-06-11 Alexander Malmberg <alexander@malmberg.org> |
michael@0 | 5181 | |
michael@0 | 5182 | * src/cache/ftlru.c (FT_LruList_Remove_Selection): Decrease |
michael@0 | 5183 | number of nodes. |
michael@0 | 5184 | (FT_LruList_Lookup): Fix assertion for out-of-memory case. |
michael@0 | 5185 | |
michael@0 | 5186 | 2003-06-11 Werner Lemberg <wl@gnu.org> |
michael@0 | 5187 | |
michael@0 | 5188 | * src/cid/cidload.c (cid_decrypt): Removed. |
michael@0 | 5189 | (cid_read_subrs): Use t1_decrypt from psaux module. |
michael@0 | 5190 | * src/cid/cidload.h: Updated. |
michael@0 | 5191 | * src/cid/cidgload.c (cid_load_glyph): Use t1_decrypt from psaux |
michael@0 | 5192 | module. |
michael@0 | 5193 | |
michael@0 | 5194 | 2003-06-10 Werner Lemberg <wl@gnu.org> |
michael@0 | 5195 | |
michael@0 | 5196 | * src/cid/cidobjs.c: Apply change 2003-05-31 from <Ron.Dev@gmx.de>. |
michael@0 | 5197 | Compute style flags. |
michael@0 | 5198 | Fix computation of root->height. |
michael@0 | 5199 | * src/cid/cidtoken.h: Handle FontBBox. |
michael@0 | 5200 | * src/cid/cidload.c (cid_load_keyword): Handle |
michael@0 | 5201 | T1_FIELD_LOCATION_BBOX. |
michael@0 | 5202 | (parse_font_bbox): Commented out. |
michael@0 | 5203 | (cid_field_record): Comment out element for parsing FontBBox. |
michael@0 | 5204 | |
michael@0 | 5205 | * src/type42/t42parse.c (t42_parse_font_bbox): Commented out. |
michael@0 | 5206 | (t42_keywords): Handle FontBBox with T1_FIELD_BBOX, not with |
michael@0 | 5207 | T1_FIELD_CALLBACK. |
michael@0 | 5208 | (t42_parse_font_bbox): Commented out. |
michael@0 | 5209 | (t42_load_keyword): Handle T1_FIELD_LOCATION_BBOX. |
michael@0 | 5210 | * src/type42/t42objs.c (T42_Face_Init): Apply change 2003-05-31 |
michael@0 | 5211 | from <Ron.Dev@gmx.de>. |
michael@0 | 5212 | |
michael@0 | 5213 | 2003-06-09 George Williams <gww@silcom.com> |
michael@0 | 5214 | |
michael@0 | 5215 | * src/truetype/ttinterp.c (SetSuperRound) <0x30>: Follow Apple's |
michael@0 | 5216 | TrueType specification. |
michael@0 | 5217 | (Ins_MDRP, Ins_MIRP): Fix single width cut-in test. |
michael@0 | 5218 | |
michael@0 | 5219 | 2003-06-09 Detlef Würkner <TetiSoft@apg.lahn.de> |
michael@0 | 5220 | |
michael@0 | 5221 | * src/gzip/ftgzip.c: (inflate_mask): Replaced with... |
michael@0 | 5222 | (NO_INFLATE_MASK): This. |
michael@0 | 5223 | * src/gzip/infutil.h: Declare `inflate_mask' conditionally by |
michael@0 | 5224 | NO_INFLATE_MASK. |
michael@0 | 5225 | |
michael@0 | 5226 | 2003-06-09 Alexis S. L. Carvalho <alexis@cecm.usp.br> |
michael@0 | 5227 | |
michael@0 | 5228 | * src/gzip/ftgzip.c (ft_gzip_file_fill_output): Handle Z_STREAM_END |
michael@0 | 5229 | correctly. |
michael@0 | 5230 | |
michael@0 | 5231 | 2003-06-09 Wolfgang Domröse <porthos.domroese@harz.de> |
michael@0 | 5232 | |
michael@0 | 5233 | * src/pshinter/pshglob.c (psh_globals_new): Change calculation of |
michael@0 | 5234 | dim->stdw.count to avoid compiler problem. |
michael@0 | 5235 | |
michael@0 | 5236 | * src/truetype/ttgload.c (TT_Load_Simple_Glyph): Move the block |
michael@0 | 5237 | variables to the beginning of the function to avoid compiler |
michael@0 | 5238 | problems. |
michael@0 | 5239 | Add casts necessary for 16bit compilers. |
michael@0 | 5240 | |
michael@0 | 5241 | 2003-06-09 Werner Lemberg <wl@gnu.org> |
michael@0 | 5242 | |
michael@0 | 5243 | * src/pfr/rules.mk (PFR_DRV_SRC): Add pfrsbit.c. |
michael@0 | 5244 | (PFR_DRV_H): Add pfrtypes.h. |
michael@0 | 5245 | |
michael@0 | 5246 | * include/freetype/config/ftconfig.h: s/__MWKS__/__MWERKS__/. |
michael@0 | 5247 | |
michael@0 | 5248 | 2003-06-08 Karl Schultz <kschultz@rsinc.com> |
michael@0 | 5249 | |
michael@0 | 5250 | * src/pfr/pfrsbit.c (pfr_bitwriter_init): Change type of third |
michael@0 | 5251 | argument to FT_Bool. |
michael@0 | 5252 | (pfr_lookup_bitmap_data): Change type of third and fourth argument |
michael@0 | 5253 | to FT_UInt. Updated caller. |
michael@0 | 5254 | (pfr_load_bitmap_bits): Change type of fourth argument to FT_Bool. |
michael@0 | 5255 | |
michael@0 | 5256 | 2003-06-08 Werner Lemberg <wl@gnu.org> |
michael@0 | 5257 | |
michael@0 | 5258 | Completely revised FreeType's make management. |
michael@0 | 5259 | |
michael@0 | 5260 | . In all makefiles `/' is used as the path separator. The |
michael@0 | 5261 | conversion to the real path separators is done as late as |
michael@0 | 5262 | possible using $(subst ...). |
michael@0 | 5263 | |
michael@0 | 5264 | . $(HOSTSEP) no longer exists. Now, $(SEP) gives the path separator |
michael@0 | 5265 | for the operating system, and the new $(COMPILER_SEP) the path |
michael@0 | 5266 | separator for the compiler tools. |
michael@0 | 5267 | |
michael@0 | 5268 | . $(BUILD) has been renamed to $(BUILD_DIR). In general, all |
michael@0 | 5269 | directory variables end with `_DIR'. The variants ending in `_' |
michael@0 | 5270 | (like `BASE_' have been removed). |
michael@0 | 5271 | |
michael@0 | 5272 | The following ChangeLog entries only describe changes which are |
michael@0 | 5273 | not related to the redesign. |
michael@0 | 5274 | |
michael@0 | 5275 | * builds/beos/beos-def.mk (BUILD_DIR): Fix typo. |
michael@0 | 5276 | * builds/compiler/watcom.mk (LINK_LIBRARY): Fix linker call to avoid |
michael@0 | 5277 | overlong arguments as suggested by J. Ali Harlow |
michael@0 | 5278 | <ali@avrc.city.ac.uk>. |
michael@0 | 5279 | * builds/dos/dos-wat.mk: New file. |
michael@0 | 5280 | * builds/freetype.mk (FREETYPE_H): Include header files from the |
michael@0 | 5281 | `devel' subdirectory. |
michael@0 | 5282 | |
michael@0 | 5283 | * builds/os2/os2-dev.mk, builds/unix/unixddef.mk, |
michael@0 | 5284 | builds/unix/unixddef.mk, builds/win32/w32-bccd.mk, |
michael@0 | 5285 | builds/win32/w32-dev.mk (BUILD_DIR): Fix path. |
michael@0 | 5286 | |
michael@0 | 5287 | * builds/unix/configure.ac, builds/unix/configure: Updated. |
michael@0 | 5288 | * builds/unix/unix-def.in (DISTCLEAN): Add `freetype2.pc'. |
michael@0 | 5289 | |
michael@0 | 5290 | 2003-06-07 Werner Lemberg <wl@gnu.org> |
michael@0 | 5291 | |
michael@0 | 5292 | * src/base/ftmac.c (FT_New_Face_From_SFNT): s/rlen/sfnt_size/ to |
michael@0 | 5293 | make it compile. |
michael@0 | 5294 | |
michael@0 | 5295 | * devel/ftoption.h: Updated. |
michael@0 | 5296 | |
michael@0 | 5297 | 2003-06-07 Detlef Würkner <TetiSoft@apg.lahn.de> |
michael@0 | 5298 | |
michael@0 | 5299 | * include/freetype/internal/psaux.h, src/truetype/ttgload.h: |
michael@0 | 5300 | s/index/idx/ to fix compiler warnings. |
michael@0 | 5301 | |
michael@0 | 5302 | * src/sfnt/ttcmap0.c (tt_face_build_cmaps): Use more `volatile' to |
michael@0 | 5303 | fix compiler warning. |
michael@0 | 5304 | |
michael@0 | 5305 | * src/gzip/ftgzip.c (BUILDFIXED): Removed. |
michael@0 | 5306 | * src/gzip/inftrees.c (inflate_trees_fixed) [!BUILDFIXED]: Use |
michael@0 | 5307 | FT_UNUSED to remove compiler warning. |
michael@0 | 5308 | |
michael@0 | 5309 | 2003-06-06 Werner Lemberg <wl@gnu.org> |
michael@0 | 5310 | |
michael@0 | 5311 | * include/freetype/ftstroker.h: Renamed to... |
michael@0 | 5312 | * include/freetype/ftstroke.h: This. |
michael@0 | 5313 | |
michael@0 | 5314 | * src/base/ftstroker.c: Renamed to... |
michael@0 | 5315 | * src/base/ftstroke.c: This. |
michael@0 | 5316 | |
michael@0 | 5317 | * include/freetype/config/ftheader.h (FT_STROKER_H): Updated. |
michael@0 | 5318 | |
michael@0 | 5319 | * src/base/descrip.mms, src/base/Jamfile, src/base/rules.mk: |
michael@0 | 5320 | Updated. |
michael@0 | 5321 | |
michael@0 | 5322 | * src/pcf/pcfdriver.c: Renamed to... |
michael@0 | 5323 | * src/pcf/pcfdrivr.c: This. |
michael@0 | 5324 | * src/pcf/pcfdriver.h: Renamed to... |
michael@0 | 5325 | * src/pcf/pcfdrivr.h: This. |
michael@0 | 5326 | |
michael@0 | 5327 | * src/pcf/Jamfile, src/pcf/rules.mk: Updated. |
michael@0 | 5328 | |
michael@0 | 5329 | 2003-06-05 Wenlin Institute (Tom Bishop) <wenlin@wenlin.com> |
michael@0 | 5330 | |
michael@0 | 5331 | * src/base/ftmac.c (file_spec_from_path) [TARGET_API_MAC_CARBON]: |
michael@0 | 5332 | Add `#if !defined(__MWERKS__)'. |
michael@0 | 5333 | |
michael@0 | 5334 | 2003-06-05 Werner Lemberg <wl@gnu.org> |
michael@0 | 5335 | |
michael@0 | 5336 | * include/freetype/internal/psaux.h (T1_FieldType): Add |
michael@0 | 5337 | T1_FIELD_TYPE_FIXED_1000 and T1_FIELD_TYPE_FIXED_1000_P. |
michael@0 | 5338 | (T1_FIELD_FIXED_1000, T1_FIELD_FIXED_1000_P): New macros. |
michael@0 | 5339 | * src/psaux/psobjs.c (ps_parser_load_field): Handle |
michael@0 | 5340 | T1_FIELD_TYPE_FIXED_1000 and T1_FIELD_TYPE_FIXED_1000_P. |
michael@0 | 5341 | |
michael@0 | 5342 | * src/cff/cffparse.c (cff_kind_fixed_thousand): New enumeration. |
michael@0 | 5343 | (CFF_FIELD_FIXED_1000): New macro. |
michael@0 | 5344 | (cff_parser_run): Handle cff_kind_fixed_thousand. |
michael@0 | 5345 | * src/cff/cfftoken.h: Use CFF_FIELD_FIXED_1000 for blue_scale. |
michael@0 | 5346 | * src/cff/cffload (cff_subfont_load): Fix default values of |
michael@0 | 5347 | expansion_factor and blue_scale. |
michael@0 | 5348 | |
michael@0 | 5349 | * src/cif/cidtoken.h, src/type1/t1tokens.h: Use T1_FIELD_FIXED_1000 |
michael@0 | 5350 | for blue_scale. |
michael@0 | 5351 | |
michael@0 | 5352 | * src/pshinter/pshglob.c (psh_globals_new): Fix default value of |
michael@0 | 5353 | blue_scale. |
michael@0 | 5354 | |
michael@0 | 5355 | 2003-06-04 Wolfgang Domröse <porthos.domroese@harz.de> |
michael@0 | 5356 | |
michael@0 | 5357 | * include/freetype/internal/ftdriver.h, |
michael@0 | 5358 | include/freetype/internal/ftobjs.h, |
michael@0 | 5359 | include/freetype/internal/psaux.h, src/cid/cidgload.c, |
michael@0 | 5360 | src/psaux/psobjs.c, src/psaux/t1decode.c, src/psaux/psobjs.h, |
michael@0 | 5361 | src/pshinter/pshrec.c, src/pshinter/pshalgo.c, |
michael@0 | 5362 | src/psnames/psmodule.c, src/raster/ftraster.c, src/sfnt/sfobjs.c, |
michael@0 | 5363 | src/smooth/ftgrays.c, src/smooth/ftsmooth.c, src/truetype/ttobjs.c, |
michael@0 | 5364 | src/truetype/ttdriver.c, src/truetype/ttgload.c, src/type1/t1afm.c, |
michael@0 | 5365 | src/type1/t1gload.c, src/type1/t1gload.h, src/type1/t1load.c, |
michael@0 | 5366 | src/type1/t1objs.c, src/type42/t42parse.c, src/type42/t42parse.h: |
michael@0 | 5367 | Many casts and slight argument type changes to make it work with |
michael@0 | 5368 | a 16bit compiler. |
michael@0 | 5369 | |
michael@0 | 5370 | 2003-06-04 Werner Lemberg <wl@gnu.org> |
michael@0 | 5371 | |
michael@0 | 5372 | * include/freetype/config/ftoption.h: Defining |
michael@0 | 5373 | TT_CONFIG_OPTION_FORCE_UNPATENTED_HINTING by default is a bad idea |
michael@0 | 5374 | since some fonts (e.g. Arial) produce worse results than without |
michael@0 | 5375 | hinting. Reverted. |
michael@0 | 5376 | |
michael@0 | 5377 | 2003-06-04 Werner Lemberg <wl@gnu.org> |
michael@0 | 5378 | |
michael@0 | 5379 | * src/truetype/ttgload.c (load_truetype_glyph) |
michael@0 | 5380 | [TT_CONFIG_OPTION_BYTECODE_INTERPRETER]: Call |
michael@0 | 5381 | FT_GlyphLoader_CheckPoints before adding phantom points. This fixes |
michael@0 | 5382 | a segfault bug with fonts (e.g. htst3.ttf) which have nested |
michael@0 | 5383 | subglyphs more than one level deep. Reported by Anthony Fok. |
michael@0 | 5384 | |
michael@0 | 5385 | * include/freetype/config/ftoption.h: Define |
michael@0 | 5386 | TT_CONFIG_OPTION_BYTECODE_INTERPRETER, |
michael@0 | 5387 | TT_CONFIG_OPTION_COMPILE_UNPATENTED_HINTING, and |
michael@0 | 5388 | TT_CONFIG_OPTION_FORCE_UNPATENTED_HINTING to make it the new |
michael@0 | 5389 | default. |
michael@0 | 5390 | |
michael@0 | 5391 | 2003-06-03 Werner Lemberg <wl@gnu.org> |
michael@0 | 5392 | |
michael@0 | 5393 | * src/autohint/ahhint.c (ah_hinter_hint_edges): Removed. Just a |
michael@0 | 5394 | wrapper for ah_hint_edges. |
michael@0 | 5395 | (ah_hint_edges): Renamed to... |
michael@0 | 5396 | (ah_hinter_hint_edges): This. |
michael@0 | 5397 | |
michael@0 | 5398 | * src/base/ftobjs.c (FT_Set_Hint_Flags): Removed. Unused. |
michael@0 | 5399 | |
michael@0 | 5400 | * include/freetype/internal/ftobjs.h (FT_Face_InternalRec), |
michael@0 | 5401 | include/freetype/internal/psaux.h (T1_DecoderRec), |
michael@0 | 5402 | src/cff/cffgload.h (CFF_Builder): Remove `hint_flags' field. |
michael@0 | 5403 | Unused. |
michael@0 | 5404 | |
michael@0 | 5405 | * src/cff/cffgload.c (cff_builder_init): Updated. |
michael@0 | 5406 | (cff_decoder_parse_charstrings) <cff_op_endchar>: Call hinter->apply |
michael@0 | 5407 | with decoder->hint_mode instead of builder->hint_flags. |
michael@0 | 5408 | * src/psaux/t1decode.c (t1_decoder_init): Updated. |
michael@0 | 5409 | |
michael@0 | 5410 | * src/base/ftstroker.c (ft_stroke_border_export): s/index/idx/. |
michael@0 | 5411 | |
michael@0 | 5412 | * src/sfnt/sfobjs.c (sfnt_load_face): Commented out code which |
michael@0 | 5413 | increased root->height by 15% if the line gap was zero. There exist |
michael@0 | 5414 | fonts (containing e.g. form drawing characters) which intentionally |
michael@0 | 5415 | have a zero line gap value. |
michael@0 | 5416 | |
michael@0 | 5417 | * src/truetype/ttinterp.c (Free_Project, CUR_Func_freeProj): |
michael@0 | 5418 | Removed. Unused. |
michael@0 | 5419 | Updated all callers. |
michael@0 | 5420 | |
michael@0 | 5421 | 2003-06-02 Werner Lemberg <wl@gnu.org> |
michael@0 | 5422 | |
michael@0 | 5423 | * src/cff/cffobjs.c (cff_face_init): Use symbolic names for |
michael@0 | 5424 | Adobe specific encoding IDs (there was a wrong EID value for custom |
michael@0 | 5425 | encoding). |
michael@0 | 5426 | |
michael@0 | 5427 | * src/cff/cffcmap.h (CFF_CMapStdRec): Remove `count'. |
michael@0 | 5428 | * src/cff/cffcmap.c (cff_cmap_encoding_init, |
michael@0 | 5429 | cff_cmap_encoding_done): Updated. |
michael@0 | 5430 | (cff_cmap_encoding_char_index, cff_cmap_encoding_char_next): Use |
michael@0 | 5431 | 256 as limit for character code. |
michael@0 | 5432 | |
michael@0 | 5433 | 2003-06-01 Werner Lemberg <wl@gnu.org> |
michael@0 | 5434 | |
michael@0 | 5435 | * src/winfonts/winfnt.c (FNT_Load_Glyph): Revert change from |
michael@0 | 5436 | 2003-03-20. |
michael@0 | 5437 | |
michael@0 | 5438 | 2003-05-31 Werner Lemberg <wl@gnu.org> |
michael@0 | 5439 | |
michael@0 | 5440 | * include/freetype/fttrigon.h (FT_Vector_Normalize): Removed. |
michael@0 | 5441 | |
michael@0 | 5442 | 2003-05-31 <Ron.Dev@gmx.de> |
michael@0 | 5443 | |
michael@0 | 5444 | * src/type1/t1objs.c (T1_Face_Init): Improve algorithm for guessing |
michael@0 | 5445 | the font style by ignoring spaces and hyphens. |
michael@0 | 5446 | |
michael@0 | 5447 | * builds/unix/freetype2.in: Fix `Version' field. |
michael@0 | 5448 | |
michael@0 | 5449 | 2003-05-30 Werner Lemberg <wl@gnu.org> |
michael@0 | 5450 | |
michael@0 | 5451 | Avoid overwriting of numeric font dictionary entries for synthetic |
michael@0 | 5452 | fonts. Additionally, some entries were handled as `integer' instead |
michael@0 | 5453 | of `number'. |
michael@0 | 5454 | |
michael@0 | 5455 | * include/freetype/internal/psaux.h (T1_FieldType): Add |
michael@0 | 5456 | T1_FIELD_TYPE_BOOL_P, T1_FIELD_TYPE_INTEGER_P, and |
michael@0 | 5457 | T1_FIELD_TYPE_FIXED_P. |
michael@0 | 5458 | (T1_FIELD_BOOL_P, T1_FIELD_NUM_P, T1_FIELD_FIXED_P): New macros. |
michael@0 | 5459 | * src/psaux/psobjs.c (ps_parser_load_field): Handle new field types. |
michael@0 | 5460 | |
michael@0 | 5461 | * include/freetype/internal/cfftypes.h (CFF_FontRecDict), |
michael@0 | 5462 | src/cff/cfftoken.h: Change type of underline_position and |
michael@0 | 5463 | underline_thickness to FT_Fixed. |
michael@0 | 5464 | * src/cff/cffload.c (cff_subfont_load): Fix default values of |
michael@0 | 5465 | underline_position and underline_thickness. |
michael@0 | 5466 | * src/cff/cffobjs.c (cff_face_init): Set underline_position |
michael@0 | 5467 | and underline_thickness in `root'. |
michael@0 | 5468 | |
michael@0 | 5469 | * include/freetype/internal/t1types.h (T1_Font): Change point_type |
michael@0 | 5470 | and stroke_width to pointers. |
michael@0 | 5471 | * include/freetype/t1tables.h (PS_FontInfo): Change italic_angle, |
michael@0 | 5472 | is_fixed_pitch, underline_position, and underline_thickness to |
michael@0 | 5473 | pointers. |
michael@0 | 5474 | * src/type1/t1tokens.h: Change italic_angle, is_fixed_pitch, |
michael@0 | 5475 | underline_position, and underline_thickness to pointers. Change |
michael@0 | 5476 | the type of the latter two to `fixed'. |
michael@0 | 5477 | Change type of stroke_width to `fixed' and make it a pointer. |
michael@0 | 5478 | Change paint_type to pointer. |
michael@0 | 5479 | * src/type1/t1objs.c (T1_Face_Done): Updated. |
michael@0 | 5480 | (T1_Face_Init): Updated. |
michael@0 | 5481 | Fix assignment of underline_position and underline_thickness. |
michael@0 | 5482 | |
michael@0 | 5483 | * src/cid/cidtoken.h: Change italic_angle, is_fixed_pitch, |
michael@0 | 5484 | underline_position, and underline_thickness to pointers. Change |
michael@0 | 5485 | the type of the latter two to `fixed'. |
michael@0 | 5486 | Change type of stroke_width to `fixed'. |
michael@0 | 5487 | * src/cid/cidobjs.c (cid_face_done): Updated. |
michael@0 | 5488 | (cid_face_init): Updated. |
michael@0 | 5489 | Fix assignment of underline_position and underline_thickness. |
michael@0 | 5490 | |
michael@0 | 5491 | * src/type42/t42parse.c: Change italic_angle, is_fixed_pitch, |
michael@0 | 5492 | underline_position, and underline_thickness to pointers. Change the |
michael@0 | 5493 | type of the latter two to `fixed'. |
michael@0 | 5494 | Change type of stroke_width to `fixed' and make it a pointer. |
michael@0 | 5495 | Change paint_type to pointer. |
michael@0 | 5496 | * src/type42/t42objs.c (T42_Face_Init): Updated. |
michael@0 | 5497 | Fix assignment of underline_position and underline_thickness. |
michael@0 | 5498 | (T42_Face_Done): Updated. |
michael@0 | 5499 | |
michael@0 | 5500 | * src/base/ftobjs.c (open_face_from_buffer): Fix compiler warning. |
michael@0 | 5501 | * src/pshinter/pshglob.c, src/pshinter/pshglob.h |
michael@0 | 5502 | (psh_globals_set_scale): Make it a local function. |
michael@0 | 5503 | |
michael@0 | 5504 | * test/gview.c: Fix renaming ps3->ps typo. |
michael@0 | 5505 | Formatting. |
michael@0 | 5506 | |
michael@0 | 5507 | 2003-05-29 Werner Lemberg <wl@gnu.org> |
michael@0 | 5508 | |
michael@0 | 5509 | * src/pshinter/pshalgo1.[ch], src/pshinter/pshalgo2.[ch]: Removed. |
michael@0 | 5510 | * src/pshinter/pshalgo.h: Removed. |
michael@0 | 5511 | |
michael@0 | 5512 | * src/pshinter/pshalgo3.[ch]: Renamed to... |
michael@0 | 5513 | * src/pshinter/pshalgo.[ch]: New files. |
michael@0 | 5514 | s/PSH3/PSH/. |
michael@0 | 5515 | s/psh3/psh/. |
michael@0 | 5516 | s/ps3/ps/. |
michael@0 | 5517 | |
michael@0 | 5518 | * src/pshinter/pshrec.c, src/pshinter/pshinter.c: Updated. |
michael@0 | 5519 | * src/pshinter/rules.mk, src/pshinter/Jamfile: Updated. |
michael@0 | 5520 | |
michael@0 | 5521 | * src/pshinter/pshglob.[ch] (psh_dimension_snap_width): Commented |
michael@0 | 5522 | out. |
michael@0 | 5523 | |
michael@0 | 5524 | * tests/gview.c: Remove code for pshalgo1 and pshalgo2. |
michael@0 | 5525 | Updated. |
michael@0 | 5526 | |
michael@0 | 5527 | 2003-05-28 Martin Zinser <zinser@decus.de> |
michael@0 | 5528 | |
michael@0 | 5529 | * vms_make.com: Reworked support for shareable images on VMS. The |
michael@0 | 5530 | first version was kind of a hack; the current implementation of the |
michael@0 | 5531 | procedure to extract the required symbols is much cleaner. |
michael@0 | 5532 | |
michael@0 | 5533 | Reworked creation of MMS files, avoiding a number of temporary files |
michael@0 | 5534 | which were created in the previous version. |
michael@0 | 5535 | |
michael@0 | 5536 | Further work on creating descrip.mms files on the fly. |
michael@0 | 5537 | |
michael@0 | 5538 | * builds/vms/descrip.mms, src/autohint/descrip.mms, |
michael@0 | 5539 | src/type1/descrip.mms: Removed. |
michael@0 | 5540 | |
michael@0 | 5541 | 2003-05-28 Werner Lemberg <wl@gnu.org> |
michael@0 | 5542 | |
michael@0 | 5543 | * src/pshinter/pshalgo3.c (psh3_glyph_compute_extrema): Skip |
michael@0 | 5544 | contours with only a single point to avoid segfault. |
michael@0 | 5545 | |
michael@0 | 5546 | * src/base/ftglyph.c (FT_Glyph_To_Bitmap): Activate code for |
michael@0 | 5547 | handling `origin'. |
michael@0 | 5548 | |
michael@0 | 5549 | 2003-05-24 Werner Lemberg <wl@gnu.org> |
michael@0 | 5550 | |
michael@0 | 5551 | * src/autohint/ahtypes.h (AH_OPTION_NO_STRONG_INTERPOLATION): |
michael@0 | 5552 | Removed since unused. |
michael@0 | 5553 | |
michael@0 | 5554 | 2003-05-21 Werner Lemberg <wl@gnu.org> |
michael@0 | 5555 | |
michael@0 | 5556 | * include/freetype/config/ftstdlib.h (ft_strcat): New wrapper macro |
michael@0 | 5557 | for strcat. |
michael@0 | 5558 | |
michael@0 | 5559 | * src/base/ftmac.c (create_lwfn_name): s/isupper/ft_isupper/. |
michael@0 | 5560 | (parse_font): s/memcpy/ft_memcpy/. |
michael@0 | 5561 | (is_dfont) [TARGET_API_MAC_CARBON]: s/memcmp/ft_memcmp/. |
michael@0 | 5562 | * src/base/ftobjs.c (load_mac_face) [FT_MACINTOSH]: |
michael@0 | 5563 | s/strlen/ft_strlen/. |
michael@0 | 5564 | s/strcat/ft_strcat/. |
michael@0 | 5565 | s/strcpy/ft_strcpy/. |
michael@0 | 5566 | * src/gzip/zutil.h: s/memset/ft_memset/. |
michael@0 | 5567 | s/memcmp/ft_memcmp/. |
michael@0 | 5568 | |
michael@0 | 5569 | * src/bdf/bdfdrivr.c (BDF_Face_Init), src/pcf/pcfdriver.c |
michael@0 | 5570 | (PCF_Face_Init): Test for charset registry case-insensitively. |
michael@0 | 5571 | |
michael@0 | 5572 | * src/gzip/ftgzip.c (ft_gzip_fil_io): Revert change from yesterday; |
michael@0 | 5573 | it has already been fixed differently. |
michael@0 | 5574 | |
michael@0 | 5575 | * src/truetype/ttinterp.c (DO_SFVTL): Add missing braces around |
michael@0 | 5576 | if-clause. |
michael@0 | 5577 | |
michael@0 | 5578 | 2003-05-21 Martin Zinser <zinser@decus.de> |
michael@0 | 5579 | |
michael@0 | 5580 | * t1load.c (parse_blend_axis_types): Fix compiler warning. |
michael@0 | 5581 | |
michael@0 | 5582 | * descrip.mms: Removed. Now created by... |
michael@0 | 5583 | |
michael@0 | 5584 | * vms_make.com: New file. |
michael@0 | 5585 | |
michael@0 | 5586 | 2003-05-21 Weiqi Gao <weiqigao@networkusa.net> |
michael@0 | 5587 | |
michael@0 | 5588 | * src/gzip/ftgzip.c (ft_gzip_file_io): Avoid zero value of `delta' |
michael@0 | 5589 | to prevent infinite loop. |
michael@0 | 5590 | |
michael@0 | 5591 | 2003-05-21 Lars Clausen <lrclause@cs.uiuc.edu> |
michael@0 | 5592 | |
michael@0 | 5593 | * docs/VERSION.DLL: Provide better autoconf snippet to check |
michael@0 | 5594 | FreeType version. |
michael@0 | 5595 | |
michael@0 | 5596 | 2003-05-21 Werner Lemberg <wl@gnu.org> |
michael@0 | 5597 | |
michael@0 | 5598 | * src/base/ftobjs.c (open_face): Free `internal' not |
michael@0 | 5599 | `face->internal' in case of error to avoid possible segfault. |
michael@0 | 5600 | |
michael@0 | 5601 | * src/pshinter/pshalgo3.c (ps3_hints_apply): Check whether we |
michael@0 | 5602 | actually have an outline. |
michael@0 | 5603 | |
michael@0 | 5604 | 2003-05-20 David Chester <davidchester@qmx.net> |
michael@0 | 5605 | |
michael@0 | 5606 | * src/pshinter/pshalgo3.c (ps3_hints_apply): Try to optimize |
michael@0 | 5607 | y_scale so that the top of non-capital letters is aligned on a pixel |
michael@0 | 5608 | boundary whenever possible. |
michael@0 | 5609 | |
michael@0 | 5610 | * src/autohint/ahhint.c (ah_hint_edges): Make sure that lowercase |
michael@0 | 5611 | m's maintain their symmetry. |
michael@0 | 5612 | |
michael@0 | 5613 | 2003-05-20 Werner Lemberg <wl@gnu.org> |
michael@0 | 5614 | |
michael@0 | 5615 | * src/autohint/ahhint.c (ah_hinter_load_glyph): Oops! David's |
michael@0 | 5616 | patch from yesterday has been resolved already in a different |
michael@0 | 5617 | way. Reverted. |
michael@0 | 5618 | |
michael@0 | 5619 | 2003-05-19 David Chester <davidchester@qmx.net> |
michael@0 | 5620 | |
michael@0 | 5621 | * src/autohint/ahhint.c (ah_hinter_load_glyph): Don't scale |
michael@0 | 5622 | y_scale locally but face->size->metrics.y_scale. |
michael@0 | 5623 | |
michael@0 | 5624 | 2003-05-19 David Turner <david@freetype.org> |
michael@0 | 5625 | |
michael@0 | 5626 | * src/sfnt/ttcmap0.c (tt_cmap4_char_next): Select proper start |
michael@0 | 5627 | value for `hi' to avoid infinite loop. |
michael@0 | 5628 | |
michael@0 | 5629 | 2003-05-18 Yong Sun <sunyong@njstar.com> |
michael@0 | 5630 | |
michael@0 | 5631 | * src/raster/ftraster.c (Insert_Y_Turn): Fix overflow test. |
michael@0 | 5632 | |
michael@0 | 5633 | 2003-05-18 Werner Lemberg <wl@gnu.org> |
michael@0 | 5634 | |
michael@0 | 5635 | * include/freetype/config/ftoption.h [FT_CONFIG_OPTION_MAC_FONTS]: |
michael@0 | 5636 | New macro. |
michael@0 | 5637 | * src/base/ftobjs.c: Use it to control mac font support on non-mac |
michael@0 | 5638 | platforms. |
michael@0 | 5639 | |
michael@0 | 5640 | 2003-05-17 George Williams <gww@silcom.com> |
michael@0 | 5641 | |
michael@0 | 5642 | Implement partial support of Mac fonts on non-Mac platforms. |
michael@0 | 5643 | |
michael@0 | 5644 | * src/base/ftobjs.c (memory_stream_close, new_memory_stream, |
michael@0 | 5645 | open_face_from_buffer, Mac_Read_POST_Resource, |
michael@0 | 5646 | Mac_Read_sfnt_Resource, IsMacResource, IsMacBinary, load_mac_face) |
michael@0 | 5647 | [!FT_MACINTOSH]: New functions. |
michael@0 | 5648 | (FT_Open_Face) [!FT_MACINTOSH]: Use load_mac_face. |
michael@0 | 5649 | |
michael@0 | 5650 | 2003-05-17 Werner Lemberg <wl@gnu.org> |
michael@0 | 5651 | |
michael@0 | 5652 | * src/base/ftobjs.c (FT_Load_Glyph): Scale linear advance width only |
michael@0 | 5653 | if FT_FACE_FLAG_SCALABLE is set (otherwise we have a division by |
michael@0 | 5654 | zero since FNT and friends don't define `face->units_per_EM'). |
michael@0 | 5655 | |
michael@0 | 5656 | 2003-05-15 David Turner <david@freetype.org> |
michael@0 | 5657 | |
michael@0 | 5658 | * src/base/fttrigon.c (FT_Vector_Rotate): Avoid rounding errors |
michael@0 | 5659 | for small values. |
michael@0 | 5660 | |
michael@0 | 5661 | 2003-05-15 Werner Lemberg <wl@gnu.org> |
michael@0 | 5662 | |
michael@0 | 5663 | * src/autohint/ahtypes.h (AH_PointRec): Remove unused `in_angle' |
michael@0 | 5664 | and `out_angle' fields. |
michael@0 | 5665 | |
michael@0 | 5666 | 2003-05-14 George Williams <gww@silcom.com> |
michael@0 | 5667 | |
michael@0 | 5668 | * src/base/ftmac.c (FT_New_Face_From_SFNT): Handle CFF files also. |
michael@0 | 5669 | |
michael@0 | 5670 | 2003-05-14 Werner Lemberg <wl@gnu.org> |
michael@0 | 5671 | |
michael@0 | 5672 | * include/freetype/freetype.h: Fix typo in comment |
michael@0 | 5673 | (FT_HAS_FIXED_SIZES). |
michael@0 | 5674 | |
michael@0 | 5675 | 2003-05-10 Dan Williams <dan@bigw.org> |
michael@0 | 5676 | |
michael@0 | 5677 | * builds/unix/aclocal.m4: Comment out definition of |
michael@0 | 5678 | `allow_undefined_flag' for Darwin 1.3. |
michael@0 | 5679 | * builds/unix/configure.ac: Add option --with-old-mac-fonts. |
michael@0 | 5680 | * builds/unix/ltmain.sh: Fix version numbering for Darwin 1.3. |
michael@0 | 5681 | * builds/unix/configure: Regenerated. |
michael@0 | 5682 | |
michael@0 | 5683 | * include/freetype/config/ftconfig.h: Fix conditions for defining |
michael@0 | 5684 | `FT_MACINTOSH'. |
michael@0 | 5685 | * src/base/ftbase.c: Include `ftmac.c' conditionally. |
michael@0 | 5686 | * src/base/ftmac.c: Handle __GNUC__. |
michael@0 | 5687 | |
michael@0 | 5688 | 2003-05-07 YAMANO-UCHI Hidetoshi <mer@din.or.jp> |
michael@0 | 5689 | |
michael@0 | 5690 | * src/cid/cidload.c (is_alpha): Removed. |
michael@0 | 5691 | (cid_parse_dict): Use `cid_parser_skip_alpha' instead of `is_alpha'. |
michael@0 | 5692 | |
michael@0 | 5693 | 2003-05-07 Werner Lemberg <wl@gnu.org> |
michael@0 | 5694 | |
michael@0 | 5695 | * src/autohint/ahoptim.c, src/autohint/ahoptim.h: Obsolete, removed. |
michael@0 | 5696 | |
michael@0 | 5697 | 2003-05-07 David Turner <david@freetype.org> |
michael@0 | 5698 | |
michael@0 | 5699 | * src/autohint/ahglyph.c (ah_setup_uv): Exchange `for' loop and |
michael@0 | 5700 | `switch' statement to make it run faster. |
michael@0 | 5701 | (ah_outline_compute_segments): Reset `segment->score' and |
michael@0 | 5702 | `segment->link'. |
michael@0 | 5703 | (ah_outline_link_segments): Provide alternative code which does |
michael@0 | 5704 | the same but runs much faster. |
michael@0 | 5705 | Handle major direction also. |
michael@0 | 5706 | (ah_outline_compute_edges): Scale `edge_distance_threshold' down |
michael@0 | 5707 | after rounding instead of scaling comparison value in loop. |
michael@0 | 5708 | |
michael@0 | 5709 | * src/autohint/ahhint.c (ah_hinter_align_stong_points): Provide |
michael@0 | 5710 | alternative code which runs faster. |
michael@0 | 5711 | Handle `before->scale == 0'. |
michael@0 | 5712 | |
michael@0 | 5713 | * src/autohint/ahtypes.h (AH_SegmentRec): Move some fields down. |
michael@0 | 5714 | (AH_EdgeRec): Move some fields in structure. |
michael@0 | 5715 | New field `scale'. |
michael@0 | 5716 | |
michael@0 | 5717 | * src/sfnt/ttcmap0.c (tt_cmap4_char_next): Use binary search. |
michael@0 | 5718 | |
michael@0 | 5719 | 2003-05-02 Werner Lemberg <wl@gnu.org> |
michael@0 | 5720 | |
michael@0 | 5721 | * src/autohint/ahoptim.c (LOG): Renamed to... |
michael@0 | 5722 | (AH_OPTIM_LOG): This. |
michael@0 | 5723 | (AH_Dump_Springs): Fix log message format. |
michael@0 | 5724 | |
michael@0 | 5725 | * src/autohint/ahhint.c (ah_hint_edges_3): Renamed to... |
michael@0 | 5726 | (ah_hint_edges): This. |
michael@0 | 5727 | |
michael@0 | 5728 | 2002-05-02 Keith Packard <keithp@keithp.com> |
michael@0 | 5729 | |
michael@0 | 5730 | * src/bdf/bdfdrivr.c (BDF_Set_Pixel_Size): Initialize `max_advance'. |
michael@0 | 5731 | |
michael@0 | 5732 | 2003-05-01 Werner Lemberg <wl@gnu.org> |
michael@0 | 5733 | |
michael@0 | 5734 | * src/autohint/ahglyph.c (ah_test_extrema): Renamed to... |
michael@0 | 5735 | (ah_test_extremum): This. |
michael@0 | 5736 | |
michael@0 | 5737 | 2003-04-28 Werner Lemberg <wl@gnu.org> |
michael@0 | 5738 | |
michael@0 | 5739 | * builds/unix/configure.ac: Generate `freetype.pc' from |
michael@0 | 5740 | `freetype.in'. |
michael@0 | 5741 | * builds/unix/configure: Regenerated. |
michael@0 | 5742 | * builds/unix/install.mk (install, uninstall): Handle `freetype.pc'. |
michael@0 | 5743 | |
michael@0 | 5744 | 2003-04-28 Gustavo J. A. M. Carneiro <gjc@inescporto.pt> |
michael@0 | 5745 | |
michael@0 | 5746 | * builds/unix/freetype2.in: New file. Contains building information |
michael@0 | 5747 | for the `pkg-config' package. |
michael@0 | 5748 | |
michael@0 | 5749 | 2003-04-28 David Turner <david@freetype.org> |
michael@0 | 5750 | |
michael@0 | 5751 | * src/base/ftobjs.c (FT_Load_Glyph): Fix boundary check for |
michael@0 | 5752 | `glyph_index'. |
michael@0 | 5753 | |
michael@0 | 5754 | 2003-04-25: Graham Asher <graham.asher@btinternet.com> |
michael@0 | 5755 | |
michael@0 | 5756 | Added the optional unpatented hinting system for TrueType. It |
michael@0 | 5757 | allows typefaces which need hinting to produce correct glyph forms |
michael@0 | 5758 | (e.g., Chinese typefaces from Dynalab) to work acceptably without |
michael@0 | 5759 | infringing Apple patents. This system is compiled only if |
michael@0 | 5760 | TT_CONFIG_OPTION_COMPILE_UNPATENTED_HINTING is defined in |
michael@0 | 5761 | ftoption.h. |
michael@0 | 5762 | |
michael@0 | 5763 | * include/freetype/ttunpat.h: New file. Defines |
michael@0 | 5764 | FT_PARAM_TAG_UNPATENTED_HINTING. |
michael@0 | 5765 | |
michael@0 | 5766 | * include/freetype/config/ftheader.h (FT_TRUETYPE_UNPATENTED_H): New |
michael@0 | 5767 | macro to use when including ttunpat.h. |
michael@0 | 5768 | |
michael@0 | 5769 | * include/freetype/config/ftoption.h |
michael@0 | 5770 | (TT_CONFIG_OPTION_COMPILE_UNPATENTED_HINTING, |
michael@0 | 5771 | TT_CONFIG_OPTION_FORCE_UNPATENTED_HINTING): New configuration macros |
michael@0 | 5772 | (not defined, but in comments) for the unpatented hinting system. |
michael@0 | 5773 | |
michael@0 | 5774 | * include/freetype/internal/tttypes.h (TT_FaceRec) |
michael@0 | 5775 | [TT_CONFIG_OPTION_COMPILE_UNPATENTED_HINTING]: New element `FT_Bool |
michael@0 | 5776 | unpatented_hinting'. |
michael@0 | 5777 | |
michael@0 | 5778 | * src/truetype/ttinterp.c (NO_APPLE_PATENT, APPLE_THRESHOLD): |
michael@0 | 5779 | Removed. |
michael@0 | 5780 | (GUESS_VECTOR): New macro. |
michael@0 | 5781 | (TT_Run_Context) [TT_CONFIG_OPTION_COMPILE_UNPATENTED_HINTING]: |
michael@0 | 5782 | Set `both_x_axis'. |
michael@0 | 5783 | (tt_default_graphics_state) |
michael@0 | 5784 | [TT_CONFIG_OPTION_COMPILE_UNPATENTED_HINTING]: Updated. |
michael@0 | 5785 | (Current_Ratio) [TT_CONFIG_OPTION_COMPILE_UNPATENTED_HINTING]: |
michael@0 | 5786 | Handle `unpatented_hinting'. |
michael@0 | 5787 | (Direct_Move) [NO_APPLE_PATENT]: Removed. |
michael@0 | 5788 | [TT_CONFIG_OPTION_COMPILE_UNPATENTED_HINTING]: Insert assertion. |
michael@0 | 5789 | (Project, FreeProject) |
michael@0 | 5790 | [TT_CONFIG_OPTION_COMPILE_UNPATENTED_HINTING]: Insert assertion. |
michael@0 | 5791 | (Compute_Funcs) [TT_CONFIG_OPTION_COMPILE_UNPATENTED_HINTING]: |
michael@0 | 5792 | Implement unpatented hinting. |
michael@0 | 5793 | (DO_SPVTCA, DO_SFVTCA, DO_SPVTL, DO_SFVTL, DO_SPVFS, DO_SFVFS, |
michael@0 | 5794 | Ins_SDPVTL): Call `GUESS_VECTOR'. |
michael@0 | 5795 | (DO_GPV, DO_GFV) [TT_CONFIG_OPTION_COMPILE_UNPATENTED_HINTING]: |
michael@0 | 5796 | Handle `unpatented_hinting'. |
michael@0 | 5797 | (Compute_Point_Displacement) [NO_APPLE_PATENT]: Removed. |
michael@0 | 5798 | [TT_CONFIG_OPTION_COMPILE_UNPATENTED_HINTING]: Implement unpatented |
michael@0 | 5799 | hinting. |
michael@0 | 5800 | (Move_Zp2_Point, Ins_SHPIX, Ins_DELTAP, Ins_DELTAC) |
michael@0 | 5801 | [TT_CONFIG_OPTION_COMPILE_UNPATENTED_HINTING]: Implement unpatented |
michael@0 | 5802 | hinting. |
michael@0 | 5803 | (TT_RunIns): Updated. |
michael@0 | 5804 | |
michael@0 | 5805 | * src/truetype/ttobjs.c |
michael@0 | 5806 | [TT_CONFIG_OPTION_COMPILE_UNPATENTED_HINTING]: Include |
michael@0 | 5807 | FT_TRUETYPE_UNPATENTED_H. |
michael@0 | 5808 | (tt_face_init) [TT_CONFIG_OPTION_COMPILE_UNPATENTED_HINTING, |
michael@0 | 5809 | TT_CONFIG_OPTION_FORCE_UNPATENTED_HINTING]: Check |
michael@0 | 5810 | FT_PARAM_TAG_UNPATENTED_HINTING. |
michael@0 | 5811 | |
michael@0 | 5812 | * src/truetype/ttobjs.h (TT_GraphicsState) |
michael@0 | 5813 | [TT_CONFIG_OPTION_COMPILE_UNPATENTED_HINTING]: Add `both_x_axis'. |
michael@0 | 5814 | |
michael@0 | 5815 | 2003-04-25 Werner Lemberg <wl@gnu.org> |
michael@0 | 5816 | |
michael@0 | 5817 | * src/bdf/bdflib.c (hash_bucket, hash_lookup): Use `const' for first |
michael@0 | 5818 | argument. |
michael@0 | 5819 | (bdf_get_font_property): Use `const' for third argument. |
michael@0 | 5820 | Updated all callers. |
michael@0 | 5821 | * src/bdf/bdfdrivr.c (BDF_Face_Init): Set pixel width and height |
michael@0 | 5822 | similar to the PCF driver. |
michael@0 | 5823 | * src/bdf/bdf.h (_hashnode): Use `const' for `key'. |
michael@0 | 5824 | Updated. |
michael@0 | 5825 | |
michael@0 | 5826 | * src/gzip/ftgzip.c: C++ doesn't like that the array `inflate_mask' |
michael@0 | 5827 | is declared twice. It is perhaps better to modify the zlib source |
michael@0 | 5828 | files directly instead of this hack. |
michael@0 | 5829 | (zcalloc, zfree, ft_gzip_stream_close, ft_gzip_stream_io): Add casts |
michael@0 | 5830 | to make build with g++ successful. |
michael@0 | 5831 | |
michael@0 | 5832 | 2003-04-24 Manish Singh <yosh@gimp.org> |
michael@0 | 5833 | |
michael@0 | 5834 | * src/cid/cidobjs.c (cid_face_init), src/type1/t1objs.c |
michael@0 | 5835 | (T1_Face_Init), src/type42/t42objs.c (T42_Face_Init): Split on `-' |
michael@0 | 5836 | also for searching the style name. |
michael@0 | 5837 | |
michael@0 | 5838 | 2003-04-24 David Turner <david@freetype.org> |
michael@0 | 5839 | |
michael@0 | 5840 | * src/pcf/pcfread.c (pcf_load_font): Fixed the computation of |
michael@0 | 5841 | face->num_glyphs. We must increase the value by 1 to respect the |
michael@0 | 5842 | convention that glyph index 0 always corresponds to the `missing |
michael@0 | 5843 | glyph'. |
michael@0 | 5844 | |
michael@0 | 5845 | 2003-04-24 Werner Lemberg <wl@gnu.org> |
michael@0 | 5846 | |
michael@0 | 5847 | * builds/unix/unix-cc.in (CFLAGS): Add @CPPFLAGS@. |
michael@0 | 5848 | |
michael@0 | 5849 | 2003-04-24 Dieter Baron <dillo@netbsd.org> |
michael@0 | 5850 | |
michael@0 | 5851 | * builds/unix/freetype-config.in (cflags): Emit FreeType 2's include |
michael@0 | 5852 | files first. Otherwise there are conflicts with FreeType 1 |
michael@0 | 5853 | installed simultaneously. |
michael@0 | 5854 | |
michael@0 | 5855 | 2003-04-23 Werner Lemberg <wl@gnu.org> |
michael@0 | 5856 | |
michael@0 | 5857 | Fixing bugs reported by Nelson Beebe. |
michael@0 | 5858 | |
michael@0 | 5859 | * src/base/ftstroker.c (FT_Stroker_ParseOutline): Remove unused |
michael@0 | 5860 | variable `in_path'. |
michael@0 | 5861 | |
michael@0 | 5862 | * src/base/ftobjs (ft_glyphslot_set_bitmap): Change type of |
michael@0 | 5863 | second argument to `FT_Byte*'. |
michael@0 | 5864 | * include/freetype/internal/ftobjs.h: Updated. |
michael@0 | 5865 | |
michael@0 | 5866 | * src/bdf/bdflib.c (_bdf_readstream): Remove unused variable `res'. |
michael@0 | 5867 | (_bdf_parse_glyphs): Remove unused variable `next'. |
michael@0 | 5868 | Mark `call_data' as unused. |
michael@0 | 5869 | |
michael@0 | 5870 | * src/cache/ftlru.c (FT_LruList_Lookup): Remove unused variable |
michael@0 | 5871 | `plast'. |
michael@0 | 5872 | |
michael@0 | 5873 | * src/pcf/pcfread.c (pcf_seek_to_table_type): Slight recoding to |
michael@0 | 5874 | actually use `error'. |
michael@0 | 5875 | (pcf_load_font): Remove unused variable `avgw'. |
michael@0 | 5876 | |
michael@0 | 5877 | * src/pfr/pfrobjs.c (pfr_face_get_kerning): Change return type |
michael@0 | 5878 | to `void'. |
michael@0 | 5879 | Mark `error' as unused. |
michael@0 | 5880 | * src/pfr/pfrobjs.h: Updated. |
michael@0 | 5881 | * src/pfr/pfrdrivr.c (pfr_get_kerning): Updated. |
michael@0 | 5882 | |
michael@0 | 5883 | * src/sfnt/ttload.c (sfnt_dir_check): Remove unused variable |
michael@0 | 5884 | `format_tag'. |
michael@0 | 5885 | |
michael@0 | 5886 | * src/sfnt/ttcmap0.c (tt_cmap6_validate, tt_cmap10_validate): Remove |
michael@0 | 5887 | unused variable `start'. |
michael@0 | 5888 | (tt_cmap10_char_next): Remove unused variable `result' |
michael@0 | 5889 | |
michael@0 | 5890 | * src/sfnt/sfobjs.c (tt_face_get_name): Mark `error' as unused. |
michael@0 | 5891 | |
michael@0 | 5892 | * src/sfnt/sfdriver.c (get_sfnt_postscript_name): Mark `error' as |
michael@0 | 5893 | unused. |
michael@0 | 5894 | |
michael@0 | 5895 | * src/type1/t1objs.c (T1_Face_Init): Remove unused variable |
michael@0 | 5896 | `pshinter'. |
michael@0 | 5897 | |
michael@0 | 5898 | * src/type1/t1gload.c (T1_Load_Glyph): Use `glyph_data_loaded' |
michael@0 | 5899 | only for FT_CONFIG_OPTION_INCREMENTAL. |
michael@0 | 5900 | |
michael@0 | 5901 | 2003-04-23 Akito Hirai <akito@kde.gr.jp> |
michael@0 | 5902 | |
michael@0 | 5903 | * src/sfnt/ttcmap0.c (tt_cmap4_validate): Provide a weak variant |
michael@0 | 5904 | of the glyph ID bounding check if FT_VALIDATE_TIGHT is not active. |
michael@0 | 5905 | Without this change, many CJK fonts from Dynalab are rejected. |
michael@0 | 5906 | |
michael@0 | 5907 | 2003-04-23 Joe Marcus Clarke <marcus@FreeBSD.org> |
michael@0 | 5908 | |
michael@0 | 5909 | * src/base/ftbdf.c (FT_Get_BDF_Property): Check for valid |
michael@0 | 5910 | `get_interface'. |
michael@0 | 5911 | |
michael@0 | 5912 | 2003-04-23 Paul Miller <paulm@profoundeffects.com> |
michael@0 | 5913 | |
michael@0 | 5914 | * src/base/ftmac.c (parse_fond): Fix handling of style names. |
michael@0 | 5915 | |
michael@0 | 5916 | 2003-04-23 Werner Lemberg <wl@gnu.org> |
michael@0 | 5917 | |
michael@0 | 5918 | * src/pfr/pfrload.c (pfr_extra_item_load_font_id): Use FT_PtrDist |
michael@0 | 5919 | instead of FT_Uint for `len'. |
michael@0 | 5920 | |
michael@0 | 5921 | 2003-04-22 Werner Lemberg <wl@gnu.org> |
michael@0 | 5922 | |
michael@0 | 5923 | * src/gzip/ftgzip.c (zcalloc) [!FT_CONFIG_OPTION_SYSTEM_ZLIB]: |
michael@0 | 5924 | Convert K&R format to modern C usage. |
michael@0 | 5925 | (FT_Stream_OpenGzip): Use long constant. |
michael@0 | 5926 | |
michael@0 | 5927 | 2003-04-21 Werner Lemberg <wl@gnu.org> |
michael@0 | 5928 | |
michael@0 | 5929 | * src/cache/ftccache.c (ftc_cache_lookup): Remove shadow declaration |
michael@0 | 5930 | of `manager'. |
michael@0 | 5931 | |
michael@0 | 5932 | 2003-04-20 Werner Lemberg <wl@gnu.org> |
michael@0 | 5933 | |
michael@0 | 5934 | * doc/INSTALL.UNX: Cleaned up. |
michael@0 | 5935 | |
michael@0 | 5936 | 2003-04-09 Torrey Lyons <torrey@mrcla.com> |
michael@0 | 5937 | |
michael@0 | 5938 | * src/base/ftmac.c (open_face_from_buffer): Removed a double-free |
michael@0 | 5939 | bug that had nasty consequences when trying to open an `invalid' |
michael@0 | 5940 | font on a Mac. |
michael@0 | 5941 | |
michael@0 | 5942 | 2003-04-09 Mike Fabian <mfabian@suse.de> |
michael@0 | 5943 | |
michael@0 | 5944 | * src/bdf/bdfdrivr.h (BDF_encoding_el), src/pcf/pcf.h |
michael@0 | 5945 | (PCF_EncodingRec): Changed FT_Short to FT_UShort in order to be able |
michael@0 | 5946 | to access more than 32768 glyphs in fonts. |
michael@0 | 5947 | |
michael@0 | 5948 | 2003-04-08 David Turner <david@freetype.org> |
michael@0 | 5949 | |
michael@0 | 5950 | |
michael@0 | 5951 | * Version 2.1.4 released. |
michael@0 | 5952 | ========================= |
michael@0 | 5953 | |
michael@0 | 5954 | |
michael@0 | 5955 | 2003-04-03 Martin Muskens <mmuskens@aurelon.com> |
michael@0 | 5956 | |
michael@0 | 5957 | * src/type1/t1load.c (T1_Open_Face): Fixed the code to make it |
michael@0 | 5958 | handle special cases where a font only contains a `.notdef' glyph |
michael@0 | 5959 | (happens in PDF-embedded fonts). Otherwise, FT_Panic was called. |
michael@0 | 5960 | |
michael@0 | 5961 | 2003-03-27 David Turner <david@freetype.org> |
michael@0 | 5962 | |
michael@0 | 5963 | * README: Udpated. |
michael@0 | 5964 | |
michael@0 | 5965 | * README.UNX: Removed (now replaced by docs/INSTALL.UNX). |
michael@0 | 5966 | |
michael@0 | 5967 | * src/pshinter/pshalgo3.c: The hinter now performs as in 2.1.3 and |
michael@0 | 5968 | will ignore stem quantization only when FT_LOAD_TARGET_SMOOTH is |
michael@0 | 5969 | used. |
michael@0 | 5970 | (psh3_dimension_quantize_len): Enabled. |
michael@0 | 5971 | (psh3_hint_align): Enable commented code. |
michael@0 | 5972 | (psh3_hint_align_light): Commented out. |
michael@0 | 5973 | |
michael@0 | 5974 | * src/base/ftobjs.c (FT_Set_Char_Size): Changed the default |
michael@0 | 5975 | computations to include rounding in all cases; this is required to |
michael@0 | 5976 | provide accurate kerning data when native TrueType hinting is |
michael@0 | 5977 | enabled. |
michael@0 | 5978 | |
michael@0 | 5979 | * src/type1/t1load.c (is_name_char): The Type 1 loader now accepts |
michael@0 | 5980 | more general names according to the PostScript specification (the |
michael@0 | 5981 | previous one was too restrictive). |
michael@0 | 5982 | (parse_font_name, parse_encoding, parse_charstrings, parse_dict): |
michael@0 | 5983 | Use `is_name_char'. |
michael@0 | 5984 | (parse_subrs): Handle empty arrays. |
michael@0 | 5985 | |
michael@0 | 5986 | 2003-03-20 David Turner <david@freetype.org> |
michael@0 | 5987 | |
michael@0 | 5988 | Serious rewriting of the documentation. |
michael@0 | 5989 | |
michael@0 | 5990 | * docs/BUGS, docs/BUILD: Removed. |
michael@0 | 5991 | * docs/DEBUG.TXT: Renamed to... |
michael@0 | 5992 | * docs/DEBUG: This. |
michael@0 | 5993 | * docs/CUSTOMIZE, docs/TRUETYPE, docs/UPGRADE.UNX: New files. |
michael@0 | 5994 | * docs/INSTALL.ANY, docs/INSTALL.UNX, docs/INSTALL.GNU New files, |
michael@0 | 5995 | containing platform specific information previously in INSTALL. |
michael@0 | 5996 | * docs/readme.vms: Renamed to... |
michael@0 | 5997 | * docs/INSTALL.VMS: This. |
michael@0 | 5998 | |
michael@0 | 5999 | * docs/*: Updated. |
michael@0 | 6000 | |
michael@0 | 6001 | Introduced three new functions to deal with glyph bitmaps within |
michael@0 | 6002 | FT_GlyphSlot objects: |
michael@0 | 6003 | |
michael@0 | 6004 | ft_glyphslot_free_bitmap |
michael@0 | 6005 | ft_glyphslot_alloc_bitmap |
michael@0 | 6006 | ft_glyphslot_set_bitmap |
michael@0 | 6007 | |
michael@0 | 6008 | These functions are much more convenient to use than managing the |
michael@0 | 6009 | FT_GLYPH_OWN_BITMAP flag manually. |
michael@0 | 6010 | |
michael@0 | 6011 | * include/freetype/internal/ftobjs.h (ft_glyphslot_free_bitmap, |
michael@0 | 6012 | ft_glyphslot_alloc_bitmap, ft_glyphslot_set_bitmap): New functions. |
michael@0 | 6013 | * src/base/ftobjs.c: Implement them. |
michael@0 | 6014 | (ft_glyphslot_done): Use ft_glyphslot_free_bitmap. |
michael@0 | 6015 | |
michael@0 | 6016 | * src/bdf/bdfdrivr.c (BDF_Glyph_Load), src/pcf/pcfdriver.c |
michael@0 | 6017 | (PCF_Glyph_Load): Remove unused variable `memory'. |
michael@0 | 6018 | Use `ft_glyphslot_*' functions. |
michael@0 | 6019 | Don't set `FT_GLYPH_OWN_BITMAP'. |
michael@0 | 6020 | |
michael@0 | 6021 | * src/pfr/pfrsbit.c (pfr_slot_load_bitmap): Use |
michael@0 | 6022 | `ft_glyphslot_alloc_bitmap'. |
michael@0 | 6023 | |
michael@0 | 6024 | * src/sfnt/ttsbit.c (Load_SBit_Image): Change 5th argument to type |
michael@0 | 6025 | `FT_GlyphSlot'. |
michael@0 | 6026 | Adding argument `depth' to handle recursive calls. |
michael@0 | 6027 | Use `ft_glyphslot_alloc_bitmap'. |
michael@0 | 6028 | (tt_face_load_sbit_image): Remove unused variable `memory'. |
michael@0 | 6029 | Don't handle `FT_GLYPH_OWN_BITMAP'. |
michael@0 | 6030 | Update call to Load_SBit_Image. |
michael@0 | 6031 | |
michael@0 | 6032 | * src/type42/t42objs.c (ft_glyphslot_clear): Renamed to... |
michael@0 | 6033 | (t42_glyphslot_clear): This. Updated caller. |
michael@0 | 6034 | Call `ft_glyphslot_free_bitmap'. |
michael@0 | 6035 | |
michael@0 | 6036 | * src/winfonts/winfnt.c (FNT_Load_Glyph): Use |
michael@0 | 6037 | `ft_glyphslot_set_bitmap'. |
michael@0 | 6038 | Don't handle `FT_GLYPH_OWN_BITMAP'. |
michael@0 | 6039 | |
michael@0 | 6040 | * src/cache/ftlru.c (FT_LruList_Lookup): Fixed an invalid assertion |
michael@0 | 6041 | check. |
michael@0 | 6042 | |
michael@0 | 6043 | * src/autohint/ahglyph.c (ah_outline_load): Add two scaling |
michael@0 | 6044 | arguments. |
michael@0 | 6045 | * src/autohint/ahglyph.h: Updated. |
michael@0 | 6046 | * src/autohint/ahhint.c (ah_hinter_load): Updated. |
michael@0 | 6047 | * src/autohint/ahglobal.c (ah_hinter_compute_widths): Updated. |
michael@0 | 6048 | |
michael@0 | 6049 | * src/cache/ftccache.c (ftc_family_done): Fixed small bug that could |
michael@0 | 6050 | crash the cache in rare circumstances (mostly with broken fonts). |
michael@0 | 6051 | |
michael@0 | 6052 | 2003-03-15 David Turner <david@freetype.org> |
michael@0 | 6053 | |
michael@0 | 6054 | * src/truetype/ttdriver.c (Set_Char_Sizes): Fixed a small rounding |
michael@0 | 6055 | bug. Actually, it seems that previous versions of FreeType didn't |
michael@0 | 6056 | perform TrueType rounding exactly as appropriate. |
michael@0 | 6057 | |
michael@0 | 6058 | 2003-03-14 David Turner <david@freetype.org> |
michael@0 | 6059 | |
michael@0 | 6060 | * src/truetype/ttdriver.c (Set_Char_Sizes): Fixing the small |
michael@0 | 6061 | TrueType native rendering glitches; they came from a small rounding |
michael@0 | 6062 | error. |
michael@0 | 6063 | |
michael@0 | 6064 | 2003-03-13 David Turner <david@freetype.org> |
michael@0 | 6065 | |
michael@0 | 6066 | Added new environment variables to control memory debugging with |
michael@0 | 6067 | FreeType. See the description of `FT2_DEBUG_MEMORY', |
michael@0 | 6068 | `FT2_ALLOC_TOTAL_MAX' and `FT2_ALLOC_COUNT_MAX' in DEBUG.TXT. |
michael@0 | 6069 | |
michael@0 | 6070 | * src/base/ftdbgmem.c (FT_MemTableRec): Add `alloc_count', |
michael@0 | 6071 | `bound_total', `alloc_total_max', `bound_count', `alloc_count_max'. |
michael@0 | 6072 | (ft_mem_debug_alloc): Handle new variables. |
michael@0 | 6073 | (ft_mem_debug_init): s/FT_DEBUG_MEMORY/FT2_DEBUG_MEMORY/. |
michael@0 | 6074 | Handle new environment variables. |
michael@0 | 6075 | * docs/DEBUG.TXT: Updated. |
michael@0 | 6076 | |
michael@0 | 6077 | Fixed the cache sub-system to correctly deal with out-of-memory |
michael@0 | 6078 | conditions. |
michael@0 | 6079 | |
michael@0 | 6080 | * src/cache/ftccache.c (ftc_node_destroy): Comment out generic |
michael@0 | 6081 | check. |
michael@0 | 6082 | (ftc_cache_lookup): Implement loop. |
michael@0 | 6083 | * src/cache/ftccmap.c: Define FT_COMPONENT. |
michael@0 | 6084 | * src/cache/ftcsbits.c (ftc_sbit_node_load): Handle |
michael@0 | 6085 | FT_Err_Out_Of_Memory. |
michael@0 | 6086 | * src/cache/ftlru.c: Include FT_INTERNAL_DEBUG_H. |
michael@0 | 6087 | (FT_LruList_Lookup): Implement loop. |
michael@0 | 6088 | |
michael@0 | 6089 | * src/pfr/pfrobjs.c (pfr_face_done): Fix memory leak. |
michael@0 | 6090 | (pfr_face_init): Fixing compiler warnings. |
michael@0 | 6091 | |
michael@0 | 6092 | * src/psaux/psobjs.c (reallocate_t1_table): Fixed a bug (memory |
michael@0 | 6093 | leak) that only happened when a try to resize an array would end in |
michael@0 | 6094 | an out-of-memory condition. |
michael@0 | 6095 | |
michael@0 | 6096 | * src/smooth/ftgrays.c (gray_convert_glyph): Removed compiler |
michael@0 | 6097 | warnings / volatile bug. |
michael@0 | 6098 | |
michael@0 | 6099 | * src/truetype/ttobjs.c (tt_glyphzone_done): Removed segmentation |
michael@0 | 6100 | fault that happened in tight memory environments. |
michael@0 | 6101 | |
michael@0 | 6102 | 2003-02-28 Pixel <pixel@mandrakesoft.com> |
michael@0 | 6103 | |
michael@0 | 6104 | * src/gzip/ftgzip.c (ft_gzip_file_done): Fixed memory leak: The ZLib |
michael@0 | 6105 | stream was not properly finalized. |
michael@0 | 6106 | |
michael@0 | 6107 | 2003-02-25 Anthony Fok <anthony@thizlinux.com> |
michael@0 | 6108 | |
michael@0 | 6109 | * src/cache/ftccmap.c: Include FT_TRUETYPE_IDS_H. |
michael@0 | 6110 | (ftc_cmap_family_init): The cmap cache now |
michael@0 | 6111 | supports UCS-4 charmaps when available in Asian fonts. |
michael@0 | 6112 | |
michael@0 | 6113 | * src/sfnt/ttload.c, src/base/ftobjs.c: Changed `asian' to `Asian' |
michael@0 | 6114 | in comments. |
michael@0 | 6115 | |
michael@0 | 6116 | 2003-02-25 David Turner <david@freetype.org> |
michael@0 | 6117 | |
michael@0 | 6118 | * src/gzip/ftgzip.c (ft_gzip_file_fill_output): Fixed a bug that |
michael@0 | 6119 | caused FreeType to loop endlessly when trying to read certain |
michael@0 | 6120 | compressed gzip files. The following test reveals the bug: |
michael@0 | 6121 | |
michael@0 | 6122 | touch 0123456789 ; gzip 0123456789 ; ftdump 0123456789.gz |
michael@0 | 6123 | |
michael@0 | 6124 | Several fixes to the PFR font driver: |
michael@0 | 6125 | |
michael@0 | 6126 | - The list of available embedded bitmaps was not correctly set in |
michael@0 | 6127 | the root FT_FaceRec structure describing the face. |
michael@0 | 6128 | |
michael@0 | 6129 | - The glyph loader always tried to load the outlines when |
michael@0 | 6130 | FT_LOAD_SBITS_ONLY was specified. |
michael@0 | 6131 | |
michael@0 | 6132 | - The table loaded now scans for *undocumented* elements of a |
michael@0 | 6133 | physical font's auxiliary data record. This is necessary to |
michael@0 | 6134 | retrieve the `real' family and style names. |
michael@0 | 6135 | |
michael@0 | 6136 | NOTE THAT THESE CHANGES THE FAMILY NAME OF MANY PFR FONTS! |
michael@0 | 6137 | |
michael@0 | 6138 | * src/pfr/pfrload.c (pfr_aux_name_load): New function. |
michael@0 | 6139 | (pfr_phy_font_done): Free `family_name' and `style_name' also. |
michael@0 | 6140 | Remove unused variables. |
michael@0 | 6141 | (pfr_phy_font_load): Extract useful information from the auxiliary |
michael@0 | 6142 | bytes. |
michael@0 | 6143 | |
michael@0 | 6144 | * src/pfr/pfrobjs.c (pfr_face_done): Set pointers to NULL. |
michael@0 | 6145 | (pfr_face_init): Provide fallback values for `family_name' and |
michael@0 | 6146 | `style_name'. |
michael@0 | 6147 | Handle strikes. |
michael@0 | 6148 | (pfr_slot_load): Handle FT_LOAD_SBITS_ONLY. |
michael@0 | 6149 | * src/pfr/pfrtypes.h (PFR_PhyFontRec): Add fields `ascent', |
michael@0 | 6150 | `descent', `leading', `family_name', and `style_name'. |
michael@0 | 6151 | |
michael@0 | 6152 | * src/truetype/ttdriver.c (Set_Char_Sizes): Fixed a rounding bug |
michael@0 | 6153 | when computing the scale factors for a given character size in |
michael@0 | 6154 | points with resolution. |
michael@0 | 6155 | |
michael@0 | 6156 | * devel/ft2build.h, devel/ftoption.h: New files (in a new directory) |
michael@0 | 6157 | which are special development versions of include/ft2build.h and |
michael@0 | 6158 | include/freetype/config/ftoption.h, respectively. |
michael@0 | 6159 | |
michael@0 | 6160 | 2003-02-18 David Turner <david@freetype.org> |
michael@0 | 6161 | |
michael@0 | 6162 | Fixing the slight distortion problem that occurred due to the latest |
michael@0 | 6163 | auto-hinter changes. |
michael@0 | 6164 | |
michael@0 | 6165 | * src/base/ftobjs.c (ft_recompute_scaled_metrics): Fix rounding. |
michael@0 | 6166 | |
michael@0 | 6167 | * src/truetype/ttdriver.c (Set_Char_Sizes): New variable `metrics2'. |
michael@0 | 6168 | [!TT_CONFIG_OPTION_BYTECODE_INTERPRETER]: Removed. |
michael@0 | 6169 | |
michael@0 | 6170 | * src/truetype/ttobjs.h (TT_SizeRec): New field `metrics'. |
michael@0 | 6171 | * src/truetype/ttobjs.c (Reset_Outline_Size): Fix initialization of |
michael@0 | 6172 | `metrics'. |
michael@0 | 6173 | [FT_CONFIG_CHESTER_ASCENDER]: Code removed. |
michael@0 | 6174 | (Reset_SBit_Size): Fix initialization of `metrics'. |
michael@0 | 6175 | |
michael@0 | 6176 | * src/truetype/ttinterp.c (TT_Load_Context): Fix initialization of |
michael@0 | 6177 | `exec->metrics'. |
michael@0 | 6178 | |
michael@0 | 6179 | * src/autohint/ahhint.c (ah_hinter_load): Disabled the advance width |
michael@0 | 6180 | `correction' which seemed to provide more trouble than benefits. |
michael@0 | 6181 | |
michael@0 | 6182 | 2003-02-13 Graham Asher <graham.asher@btinternet.com> |
michael@0 | 6183 | |
michael@0 | 6184 | Changed the incremental loading interface in a way that makes it |
michael@0 | 6185 | simpler and allows glyph metrics to be changed (e.g., by adding a |
michael@0 | 6186 | constant, as required by CFF fonts) rather than just overridden. |
michael@0 | 6187 | This was required to make the GhostScript-to-FreeType bridge work. |
michael@0 | 6188 | |
michael@0 | 6189 | * src/cff/cffgload.c (cff_slot_load) [FT_CONFIG_OPTION_INCREMENTAL]: |
michael@0 | 6190 | Allow metrics to be overridden. |
michael@0 | 6191 | * src/cid/cidgload.c (cid_load_glyph) [FT_CONFIG_OPTION_INCREMENTAL]: |
michael@0 | 6192 | Ditto. |
michael@0 | 6193 | |
michael@0 | 6194 | * src/truetype/ttgload.c (load_truetype_glyph) |
michael@0 | 6195 | [FT_CONFIG_OPTION_INCREMENTAL]: Simplify. |
michael@0 | 6196 | (compute_glyph_metrics) [FT_CONFIG_OPTION_INCREMENTAL]: Code block |
michael@0 | 6197 | moved down. |
michael@0 | 6198 | |
michael@0 | 6199 | * src/type1/t1gload.c (T1_Parse_Glyph_And_Get_Char_String) |
michael@0 | 6200 | [FT_CONFIG_OPTION_INCREMENTAL]: Updated. |
michael@0 | 6201 | |
michael@0 | 6202 | * include/freetype/ftincrem.h: Updated. |
michael@0 | 6203 | |
michael@0 | 6204 | 2003-01-31 David Turner <david@freetype.org> |
michael@0 | 6205 | |
michael@0 | 6206 | * docs/CHANGES, docs/VERSION.DLL, docs/TODO: Updating documentation |
michael@0 | 6207 | for the 2.1.4 release. |
michael@0 | 6208 | |
michael@0 | 6209 | * builds/win32/visualc/freetype.dsp, |
michael@0 | 6210 | builds/win32/visualc/index.html: Updating the project file for |
michael@0 | 6211 | 2.1.4. |
michael@0 | 6212 | |
michael@0 | 6213 | * src/gzip/adler32.c, src/gzip/ftgzip.c, src/gzip/infblock.c, |
michael@0 | 6214 | src/gzip/infcodes.c, src/gzip/inflate.c, src/gzip/inftrees.c, |
michael@0 | 6215 | src/gzip/infutil.c: Removed old-style (K&R)function definitions. |
michael@0 | 6216 | This avoids warnings with Visual C++ at its most pedantic mode. |
michael@0 | 6217 | |
michael@0 | 6218 | * src/pfr/pfrsbit.c: Removed compiler warnings. |
michael@0 | 6219 | |
michael@0 | 6220 | * src/cache/ftccmap.c (ftc_cmap_family_init): Changed an FT_ERROR |
michael@0 | 6221 | into an FT_TRACE1 since it caused `ftview' and others to dump too |
michael@0 | 6222 | much junk when trying to display a waterfall with a font without a |
michael@0 | 6223 | Unicode charmap (e.g. SYMBOL.TTF). |
michael@0 | 6224 | |
michael@0 | 6225 | Implemented FT_CONFIG_CHESTER_BLUE_SCALE, corresponding to the last |
michael@0 | 6226 | patch from David Chester, but with a much simpler (and saner) |
michael@0 | 6227 | implementation. |
michael@0 | 6228 | |
michael@0 | 6229 | * src/autohint/ahhint.c (ah_hinter_load_glyph) |
michael@0 | 6230 | [FT_CONFIG_CHESTER_BLUE_SCALE]: Try to optimize the y_scale so that |
michael@0 | 6231 | the top of non-capital letters is aligned on a pixel boundary |
michael@0 | 6232 | whenever possible. |
michael@0 | 6233 | |
michael@0 | 6234 | * src/base/ftobjs.c (FT_Set_Char_Size) |
michael@0 | 6235 | [FT_CONFIG_CHESTER_BLUE_SCALE]: Round differently. |
michael@0 | 6236 | * src/truetype/ttdriver.c (Set_Char_Sizes) |
michael@0 | 6237 | [TT_CONFIG_OPTION_BYTECODE_INTERPRETER]: Do some rounding only |
michael@0 | 6238 | if this macro is defined. |
michael@0 | 6239 | |
michael@0 | 6240 | * src/truetype/ttobjs.c (Reset_Outline_Size) |
michael@0 | 6241 | [FT_CONFIG_CHESTER_ASCENDER]: Round differently. |
michael@0 | 6242 | |
michael@0 | 6243 | * src/pshinter/pshalgo3.c: Improved the Postscript hinter. Getting |
michael@0 | 6244 | rid of stem snapping seems to work well here (though the stems are |
michael@0 | 6245 | still slightly moved to increase contrast). |
michael@0 | 6246 | (psh3_dimension_quantize_len): Commented out. |
michael@0 | 6247 | (psh3_hint_align_light): New function. |
michael@0 | 6248 | (psh3_hint_align): Comment out some code. |
michael@0 | 6249 | |
michael@0 | 6250 | THIS IMPROVES ANTI-ALIASED RENDERING, BUT MONOCHROME AND LCD MODES |
michael@0 | 6251 | STILL SUCK. |
michael@0 | 6252 | |
michael@0 | 6253 | 2003-01-22 David Chester <davidchester@qmx.net> |
michael@0 | 6254 | |
michael@0 | 6255 | * src/autohint/ahhint.c (ah_compute_stem_width): Small fix to the |
michael@0 | 6256 | stem width optimization. |
michael@0 | 6257 | |
michael@0 | 6258 | 2003-01-22 David Turner <david@freetype.org> |
michael@0 | 6259 | |
michael@0 | 6260 | Adding a new API `FT_Get_BDF_Property' to retrieve the BDF |
michael@0 | 6261 | properties of a given PCF or BDF font. |
michael@0 | 6262 | |
michael@0 | 6263 | * include/freetype/ftbdf.h (FT_PropertyType): New enumeration. |
michael@0 | 6264 | (BDF_Property, BDF_PropertyRec): New structure. |
michael@0 | 6265 | FT_Get_BDF_Property): New function. |
michael@0 | 6266 | * include/freetype/internal/bdftypes.h: Include FT_BDF_H. |
michael@0 | 6267 | (BDF_GetPropertyFunc): New function pointer. |
michael@0 | 6268 | |
michael@0 | 6269 | * src/base/ftbdf.c (test_font_type): New helper function. |
michael@0 | 6270 | (FT_Get_BDF_Charset_ID): Use `test_font_type'. |
michael@0 | 6271 | (FT_Get_BDF_Property): New function. |
michael@0 | 6272 | |
michael@0 | 6273 | * src/bdf/bdfdrivr.c: Include FT_BDF_H. |
michael@0 | 6274 | (bdf_get_bdf_property, bdf_driver_requester): New functions. |
michael@0 | 6275 | (bdf_driver_class): Use `bdf_driver_requester'. |
michael@0 | 6276 | |
michael@0 | 6277 | * src/pcf/pcfdrivr.c: Include FT_BDF_H. |
michael@0 | 6278 | (pcf_get_bdf_property, pdc_driver_requester): New functions |
michael@0 | 6279 | (pcf_driver_class): Use `pcf_driver_requester'. |
michael@0 | 6280 | |
michael@0 | 6281 | * src/pcf/pcfread.c: Include `pcfread.h'. |
michael@0 | 6282 | (pcf_find_property): Decorate it with FT_LOCAL_DEF. |
michael@0 | 6283 | * src/pcf/pcfread.h: New file, providing `pcf_find_property'. |
michael@0 | 6284 | |
michael@0 | 6285 | * src/sfnt/ttload.c (sfnt_dir_check): Relaxed the `head' table size |
michael@0 | 6286 | verification to accept a few broken fonts who pad the size |
michael@0 | 6287 | incorrectly (the table should be padded, but its `size' field |
michael@0 | 6288 | shouldn't according to the specification). |
michael@0 | 6289 | |
michael@0 | 6290 | 2003-01-18 Werner Lemberg <wl@gnu.org> |
michael@0 | 6291 | |
michael@0 | 6292 | * builds/unix/ltmain.sh: Regenerated with `libtoolize --force |
michael@0 | 6293 | --copy' from libtool 1.4.3. |
michael@0 | 6294 | * builds/unix/aclocal.m4: Regenerated with `aclocal -I .' from |
michael@0 | 6295 | automake 1.7.1. |
michael@0 | 6296 | * builds/unix/configure: Regenerated with autoconf 2.54. |
michael@0 | 6297 | * builds/unix/config.guess, builds/unix/config.sub: Updated from |
michael@0 | 6298 | `config' CVS module at subversions.gnu.org. |
michael@0 | 6299 | * builds/unix/install-sh, builds/unix/mkinstalldirs: Updated from |
michael@0 | 6300 | `automake' CVS module at subversions.gnu.org. |
michael@0 | 6301 | |
michael@0 | 6302 | 2003-01-15 David Turner <david@freetype.org> |
michael@0 | 6303 | |
michael@0 | 6304 | * include/freetype/freetype.h: Fixed documentation for |
michael@0 | 6305 | FT_Size_Metrics. |
michael@0 | 6306 | |
michael@0 | 6307 | 2003-01-15 James Su <suzhe@turbolinux.com.cn> |
michael@0 | 6308 | |
michael@0 | 6309 | * src/gzip/ftgzip.c (ft_gzip_check_header): Bugfix: couldn't read |
michael@0 | 6310 | certain gzip-ed font files (typo: `&&' -> `&'). |
michael@0 | 6311 | |
michael@0 | 6312 | 2003-01-15 Huw D M Davies <h.davies1@physics.ox.ac.uk> |
michael@0 | 6313 | |
michael@0 | 6314 | Added a Windows .FNT specific API (mostly for Wine). Also fixed a |
michael@0 | 6315 | nasty bug in the header loader which would cause invalid memory |
michael@0 | 6316 | overwrites. |
michael@0 | 6317 | |
michael@0 | 6318 | * include/freetype/config/ftheader.h (FT_WINFONTS_H): New macro |
michael@0 | 6319 | for ftwinfnt.h. |
michael@0 | 6320 | * include/freetype/internal/fnttypes.h: Include FT_WINFONTS_H. |
michael@0 | 6321 | (FNT_FontRec): Updated. |
michael@0 | 6322 | Move Windows FNT definition to... |
michael@0 | 6323 | * include/freetype/ftwinfnt.h: This new file. |
michael@0 | 6324 | (FT_WinFNT_HeaderRec): Rename `reserved2' to `reserved1'. |
michael@0 | 6325 | * src/base/ftwinfnt.c: New file, providing `FT_Get_WinFNT_Header'. |
michael@0 | 6326 | * src/winfonts/winfnt.c (winfnt_header_fields): Updated. |
michael@0 | 6327 | Rename `reserved2' to `reserved1'. |
michael@0 | 6328 | (fnt_font_load): Updated. |
michael@0 | 6329 | |
michael@0 | 6330 | * src/base/Jamfile, src/base/descrip.mms, src/base/rules.mk: |
michael@0 | 6331 | Updated. |
michael@0 | 6332 | |
michael@0 | 6333 | 2003-01-14 Graham Asher <graham.asher@btinternet.com> |
michael@0 | 6334 | |
michael@0 | 6335 | * include/freetype/ftglyph.h, src/base/ftglyph.c: Added `const' to |
michael@0 | 6336 | the type of the first argument to FT_Matrix_Multiply, which isn't |
michael@0 | 6337 | changed -- this adds documentation and convenience. |
michael@0 | 6338 | |
michael@0 | 6339 | 2003-01-13 Graham Asher <graham.asher@btinternet.com> |
michael@0 | 6340 | |
michael@0 | 6341 | * src/sfnt/ttload.c (tt_face_load_metrics) |
michael@0 | 6342 | [FT_CONFIG_OPTION_INCREMENTAL]: TrueType typefaces without |
michael@0 | 6343 | horizontal metrics (without the `hmtx' table) are now tolerated if |
michael@0 | 6344 | an incremental interface has been specified that has a |
michael@0 | 6345 | get_glyph_metrics function, implying that metrics will be supplied |
michael@0 | 6346 | from outside. This happens for certain Type 42 fonts passed from |
michael@0 | 6347 | GhostScript. |
michael@0 | 6348 | |
michael@0 | 6349 | 2003-01-11 David Chester <davidchester@qmx.net> |
michael@0 | 6350 | |
michael@0 | 6351 | Patches to the auto-hinter in order to slightly improve the output. |
michael@0 | 6352 | Note that everything is controlled through the new |
michael@0 | 6353 | FT_CONFIG_OPTION_CHESTER_HINTS defined in `ftoption.h'. There are |
michael@0 | 6354 | also individual FT_CONFIG_CHESTER_XXX macros to control individual |
michael@0 | 6355 | `features'. |
michael@0 | 6356 | |
michael@0 | 6357 | Note that all improvements are enabled by default, but can be |
michael@0 | 6358 | tweaked for optimization and testing purposes. The configuration |
michael@0 | 6359 | macros will most likely disappear in the short future. |
michael@0 | 6360 | |
michael@0 | 6361 | * include/freetype/config/ftoption.h |
michael@0 | 6362 | (FT_CONFIG_OPTION_CHESTER_HINTS): New macro. |
michael@0 | 6363 | (FT_CONFIG_CHESTER_{SMALL_F,ASCENDER,SERIF,STEM,BLUE_SCALE}) |
michael@0 | 6364 | [FT_CONFIG_OPTION_CHESTER_HINTS]: New macros to control individual |
michael@0 | 6365 | features. |
michael@0 | 6366 | |
michael@0 | 6367 | * src/autohint/ahglobal.c (blue_chars) [FT_CONFIG_CHESTER_SMALL_F]: |
michael@0 | 6368 | Add blue zone for `fijkdbh'. |
michael@0 | 6369 | * src/autohint/ahglobal.h (AH_IS_TOP_BLUE) |
michael@0 | 6370 | [FT_CONFIG_CHESTER_SMALL_F]: Use `AH_BLUE_SMALL_F_TOP'. |
michael@0 | 6371 | * src/autohint/ahglyph.c (ah_outline_compute_edges) |
michael@0 | 6372 | [FT_CONFIG_CHESTER_SERIF]: Use `AH_EDGE_SERIF'. |
michael@0 | 6373 | (ah_outline_compute_blue_edges) [FT_CONFIG_CHESTER_SMALL_F]: |
michael@0 | 6374 | Increase threshold for `best_dist'. |
michael@0 | 6375 | * src/autohint/ahhint.c (ah_compute_stem_width) |
michael@0 | 6376 | [FT_CONFIG_CHESTER_SERIF]: Provide new version for improved serif |
michael@0 | 6377 | handling. |
michael@0 | 6378 | (ah_align_linked_edge) [FT_CONFIG_CHESTER_SERIF]: Use special |
michael@0 | 6379 | version of `ah_compute_stem_width'. |
michael@0 | 6380 | (ah_hint_edges_3) [FT_CONFIG_CHESTER_STEM]: A new algorithm for stem |
michael@0 | 6381 | alignment when stem widths are less than 1.5 pixels wide centers the |
michael@0 | 6382 | stem slightly off-center of the center of a pixel (this increases |
michael@0 | 6383 | sharpness and consistency). |
michael@0 | 6384 | [FT_CONFIG_CHESTER_SERIF]: Use special version of |
michael@0 | 6385 | `ah_compute_stem_width'. |
michael@0 | 6386 | * src/autohint/ahtypes.h [FT_CONFIG_CHESTER_SMALL_F]: Add |
michael@0 | 6387 | `AH_BLUE_SMALL_F_TOP'. |
michael@0 | 6388 | |
michael@0 | 6389 | 2003-01-11 David Turner <david@freetype.org> |
michael@0 | 6390 | |
michael@0 | 6391 | * include/freetype/internal/fnttypes.h (WinFNT_HeaderRec): Increase |
michael@0 | 6392 | size of `reserved2' to avoid memory overwrites. |
michael@0 | 6393 | |
michael@0 | 6394 | 2003-01-08 Huw Davies <huw@codeweavers.com> |
michael@0 | 6395 | |
michael@0 | 6396 | * src/winfonts/winfnt.c (winfnt_header_fields): Read 16 bytes into |
michael@0 | 6397 | `reserved2', not `reserved'. |
michael@0 | 6398 | |
michael@0 | 6399 | * src/base/ftobjs.c (find_unicode_charmap): Fixed the error code |
michael@0 | 6400 | returned when the font doesn't contain a Unicode charmap. This |
michael@0 | 6401 | allows FT2 to load `symbol.ttf' and a few others correctly since the |
michael@0 | 6402 | last release. |
michael@0 | 6403 | (open_face): Fix return value. |
michael@0 | 6404 | |
michael@0 | 6405 | 2003-01-08 Owen Taylor <owen@redhat.com> |
michael@0 | 6406 | |
michael@0 | 6407 | Implemented the FT_RENDER_MODE_LIGHT hinting mode in the auto and |
michael@0 | 6408 | postscript hinters. |
michael@0 | 6409 | |
michael@0 | 6410 | * src/autohint/ahtypes.h (AH_HinterRec): Add `do_stem_adjust'. |
michael@0 | 6411 | * src/autohint/ahhint.c (ah_compute_stem_width): Handle |
michael@0 | 6412 | hinter->do_stem_adjust. |
michael@0 | 6413 | (ah_hinter_load_glyph): Set hinter->do_stem_adjust. |
michael@0 | 6414 | |
michael@0 | 6415 | * src/pshinter/pshalgo3.h (PSH3_GlyphRec): Add `do_stem_adjust'. |
michael@0 | 6416 | * src/pshinter/pshalgo3.c (psh3_hint_align): Use `do_stem_adjust'. |
michael@0 | 6417 | (ps3_hints_apply): Handle FT_RENDER_MODE_LIGHT. |
michael@0 | 6418 | |
michael@0 | 6419 | * include/freetype/freetype.h (FT_Render_Mode): Add |
michael@0 | 6420 | FT_RENDER_MODE_LIGHT. |
michael@0 | 6421 | |
michael@0 | 6422 | * src/truetype/ttgload.c: Fixing the TrueType loader to handle |
michael@0 | 6423 | invalid composites correctly by limiting the recursion depth. |
michael@0 | 6424 | (TT_MAX_COMPOSITE_RECURSE): New macro. |
michael@0 | 6425 | (load_truetype_glyph): Add argument `recurse_count'. |
michael@0 | 6426 | Load a composite only if the numbers of contours is -1, emit error |
michael@0 | 6427 | otherwise. |
michael@0 | 6428 | (TT_Load_Glyph): Updated. |
michael@0 | 6429 | |
michael@0 | 6430 | 2003-01-08 David Turner <david@freetype.org> |
michael@0 | 6431 | |
michael@0 | 6432 | * Jamrules, Jamfile, Jamfile.in, src/*/Jamfile: Small changes to |
michael@0 | 6433 | support the compilation of FreeType 2 as part of larger projects |
michael@0 | 6434 | with their own configuration options (only with Jam). |
michael@0 | 6435 | |
michael@0 | 6436 | 2003-01-07 David Turner <david@freetype.org> |
michael@0 | 6437 | |
michael@0 | 6438 | * src/base/ftstroker.c: Probably the last bug-fixes to the stroker; |
michael@0 | 6439 | the API is likely to change, however. |
michael@0 | 6440 | (ft_stroke_border_close): Don't record empty paths. |
michael@0 | 6441 | (ft_stroke_border_get_counts): Increase `num_points' also in for loop. |
michael@0 | 6442 | (ft_stroke_border_export): Don't increase `write' twice in for loops. |
michael@0 | 6443 | (ft_stroker_outside): Handle `phi' together with `theta'. |
michael@0 | 6444 | (FT_Stroker_ParseOutline): New function. |
michael@0 | 6445 | |
michael@0 | 6446 | * src/base/fttrigon.c (FT_Angle_Diff): Fixing function: It returned |
michael@0 | 6447 | invalid values for large negative angle differences (resulting in |
michael@0 | 6448 | incorrect stroker computations, among other things). |
michael@0 | 6449 | |
michael@0 | 6450 | * src/cache/ftccache.c (ftc_node_hash_unlink): Removing incorrect |
michael@0 | 6451 | assertion, and changing code to avoid hash table size contraction. |
michael@0 | 6452 | |
michael@0 | 6453 | * src/base/Jamfile, src/base/rules.mk, src/base/descrip.mms: Adding |
michael@0 | 6454 | `ftstroker' to default build, as optional component. |
michael@0 | 6455 | |
michael@0 | 6456 | 2002-12-26 David Turner <david@freetype.org> |
michael@0 | 6457 | |
michael@0 | 6458 | * src/gzip/adler32.c, src/gzip/infblock.c, src/gzip/inflate.c, |
michael@0 | 6459 | src/gzip/inftrees.c, src/gzip/zconf.h, src/gzip/zlib.h, |
michael@0 | 6460 | src/gzip/zutil.h: Updates to allow compilation without compiler |
michael@0 | 6461 | warnings with LCC-Win32. |
michael@0 | 6462 | |
michael@0 | 6463 | * include/freetype/freetype.h (FREETYPE_PATCH): Set to 4. |
michael@0 | 6464 | * builds/unix/configure.ac (version_info): Increased to 9:3:3. |
michael@0 | 6465 | * builds/unix/configure: Regenerated. |
michael@0 | 6466 | * docs/VERSION.DLL: Updated. |
michael@0 | 6467 | |
michael@0 | 6468 | 2002-12-23 Anthony Fok <anthony@thizlinux.com> |
michael@0 | 6469 | |
michael@0 | 6470 | * builds/unix/configure.ac, builds/unix/unix-cc.in (LINK_LIBRARY), |
michael@0 | 6471 | builds/unix/unix-def.in (SYSTEM_ZLIB): Small fix to configure |
michael@0 | 6472 | sub-system on Unix to allow other programs to correctly link with |
michael@0 | 6473 | zlib when needed. |
michael@0 | 6474 | |
michael@0 | 6475 | 2002-12-19 David Turner <david@freetype.org> |
michael@0 | 6476 | |
michael@0 | 6477 | * include/freetype/internal/sfnt.h (SFNT_Load_Table_Func): New |
michael@0 | 6478 | function pointer. |
michael@0 | 6479 | |
michael@0 | 6480 | * include/freetype/tttables.h (FT_Load_Sfnt_Table): New function. |
michael@0 | 6481 | * src/base/ftobjs.c: Implement it. |
michael@0 | 6482 | |
michael@0 | 6483 | * src/sfnt/sfdriver.c (sfnt_get_interface): Handle `load_sfnt' |
michael@0 | 6484 | module request. |
michael@0 | 6485 | |
michael@0 | 6486 | 2002-12-17 David Turner <david@freetype.org> |
michael@0 | 6487 | |
michael@0 | 6488 | * src/base/ftobjs.c (find_unicode_charmap): Added some comments to |
michael@0 | 6489 | better explain what's happening there. |
michael@0 | 6490 | (open_face): Included Graham Asher's fix to prevent faces without |
michael@0 | 6491 | Unicode charmaps from loading. |
michael@0 | 6492 | |
michael@0 | 6493 | * src/winfonts/winfnt.c: Included George Williams's fix to support |
michael@0 | 6494 | version 2 fonts correctly. |
michael@0 | 6495 | (winfnt_header_fields): Updated. |
michael@0 | 6496 | (fnt_font_load): Handle version 2 fonts. |
michael@0 | 6497 | (FNT_Load_Glyph): Updated. |
michael@0 | 6498 | |
michael@0 | 6499 | 2002-12-16 David Turner <david@freetype.org> |
michael@0 | 6500 | |
michael@0 | 6501 | * docs/VERSION.DLL: Updating document to better explain the |
michael@0 | 6502 | differences between the three version numbers being used on Unix, as |
michael@0 | 6503 | well as providing an autoconf fragment provided by Lars Clausen. |
michael@0 | 6504 | |
michael@0 | 6505 | * src/smooth/ftgrays.c (gray_render_conic): Fixed small bug that |
michael@0 | 6506 | prevented Bézier arcs with negative vertical coordinates to be |
michael@0 | 6507 | rendered appropriately. |
michael@0 | 6508 | |
michael@0 | 6509 | 2002-12-02 Antoine Leca <Antoine-Freetype@Leca-Marti.org> |
michael@0 | 6510 | |
michael@0 | 6511 | * src/base/ftobjs.c: Modified the logic to get Unicode charmaps. |
michael@0 | 6512 | Now it loads UCS-4 charmaps when there is one. |
michael@0 | 6513 | (find_unicode_charmap): New function. |
michael@0 | 6514 | (open_face): Refer to the above one. |
michael@0 | 6515 | (FT_Select_Charmap): Idem. |
michael@0 | 6516 | |
michael@0 | 6517 | 2002-11-29 Antoine Leca <Antoine-Freetype@Leca-Marti.org> |
michael@0 | 6518 | |
michael@0 | 6519 | * include/freetype/ftgzip.h: Correct the name of the controlling |
michael@0 | 6520 | macro (was __FTXF86_H__ ...). |
michael@0 | 6521 | |
michael@0 | 6522 | 2002-11-27 Vincent Caron <v.caron@zerodeux.net> |
michael@0 | 6523 | |
michael@0 | 6524 | * builds/unix/unix-def.in, builds/unix/freetype-config.in, |
michael@0 | 6525 | builds/unix/configure.ac, src/gzip/rules.mk, src/gzip/ftgzip.c |
michael@0 | 6526 | [FT_CONFIG_OPTION_SYSTEM_ZLIB]: Adding support for system zlib |
michael@0 | 6527 | installations if available on the target platform (Unix only). |
michael@0 | 6528 | |
michael@0 | 6529 | 2002-11-23 David Turner <david@freetype.org> |
michael@0 | 6530 | |
michael@0 | 6531 | * src/cff/cffload.c (cff_charset_load, cff_encoding_load): Modified |
michael@0 | 6532 | charset loader to accept pre-defined charsets, even when the font |
michael@0 | 6533 | contains fewer glyphs. Also enforced more checks to ensure that we |
michael@0 | 6534 | never overflow the character codes array in the encoding. |
michael@0 | 6535 | |
michael@0 | 6536 | 2002-11-22 Antoine Leca <Antoine-Freetype@Leca-Marti.org> |
michael@0 | 6537 | |
michael@0 | 6538 | * include/freetype/ttnameid.h: Updated to latest OpenType |
michael@0 | 6539 | specification. |
michael@0 | 6540 | |
michael@0 | 6541 | 2002-11-18 David Turner <david@freetype.org> |
michael@0 | 6542 | |
michael@0 | 6543 | |
michael@0 | 6544 | * Version 2.1.3 released. |
michael@0 | 6545 | ========================= |
michael@0 | 6546 | |
michael@0 | 6547 | |
michael@0 | 6548 | 2002-11-07 David Turner <david@freetype.org> |
michael@0 | 6549 | |
michael@0 | 6550 | * src/cache/ftcsbit.c (ftc_sbit_node_load): Fixed a small bug that |
michael@0 | 6551 | caused problems with embedded bitmaps. |
michael@0 | 6552 | |
michael@0 | 6553 | * src/otlayout/otlayout.h, src/otlyaout/otlconf.h, |
michael@0 | 6554 | src/otlayout/otlgsub.c, src/otlayout/otlgsub.h, |
michael@0 | 6555 | src/otlayout/otlparse.c, src/otlayout/otlparse.h, |
michael@0 | 6556 | src/otlayout/otlutils.h: Updating the OpenType Layout code, adding |
michael@0 | 6557 | support for the first GSUB lookups. Nothing that really compiles |
michael@0 | 6558 | for now though. |
michael@0 | 6559 | |
michael@0 | 6560 | * src/autohint/ahhint.c (ah_align_serif_edge): Disabled serif stem |
michael@0 | 6561 | width quantization. It produces slightly better shapes though this |
michael@0 | 6562 | is not distinguishable with many fonts. |
michael@0 | 6563 | Remove other dead code. |
michael@0 | 6564 | |
michael@0 | 6565 | * src/Jamfile, src/*/Jamfile: Simplified. |
michael@0 | 6566 | Use $(FT2_SRC_DIR). |
michael@0 | 6567 | |
michael@0 | 6568 | 2002-11-06 David Turner <david@freetype.org> |
michael@0 | 6569 | |
michael@0 | 6570 | * include/freetype/freetype.h (FT_LOAD_TARGET_LIGHT): New macro. |
michael@0 | 6571 | (FT_LOAD_TARGET, FT_LOAD_TARGET_MODE): Use `& 15' instead of `& 7'. |
michael@0 | 6572 | |
michael@0 | 6573 | 2002-11-05 David Turner <david@freetype.org> |
michael@0 | 6574 | |
michael@0 | 6575 | * include/freetype/config/ftoption.h, src/gzip/ftgzip.c: Added |
michael@0 | 6576 | support for the FT_CONFIG_OPTION_SYSTEM_ZLIB option, used to specify |
michael@0 | 6577 | the use of system-wide zlib. |
michael@0 | 6578 | |
michael@0 | 6579 | Note that this macro, as well as |
michael@0 | 6580 | TT_CONFIG_OPTION_BYTECODE_INTERPRETER, is not #undef-ed anymore. |
michael@0 | 6581 | This allows the build system to define them depending on the |
michael@0 | 6582 | configuration (typically by adding -D flags at compile time). |
michael@0 | 6583 | |
michael@0 | 6584 | * src/sfnt/ttcmap0.c (tt_face_build_cmaps): Removed compiler |
michael@0 | 6585 | warnings in optimized mode relative to the `volatile' local |
michael@0 | 6586 | variables. This was not a compiler bug after all, but the fact that |
michael@0 | 6587 | a pointer to a volatile variable is not the same as a volatile |
michael@0 | 6588 | pointer to a variable :-) |
michael@0 | 6589 | |
michael@0 | 6590 | The fix was to change |
michael@0 | 6591 | `volatile FT_Byte* p' |
michael@0 | 6592 | into |
michael@0 | 6593 | `FT_Byte* volatile p'. |
michael@0 | 6594 | |
michael@0 | 6595 | * src/pfr/pfrload.c (pfr_phy_font_load), src/pfr/pfrdrivr.c |
michael@0 | 6596 | (pfr_get_metrics), src/gzip/inftrees.c: Removed compiler warnings in |
michael@0 | 6597 | optimized modes. |
michael@0 | 6598 | |
michael@0 | 6599 | * src/gzip/*.[hc]: Modified our zlib copy in order to prevent |
michael@0 | 6600 | exporting any zlib function names outside of the component. This |
michael@0 | 6601 | prevents linking problems on some platforms, when applications want |
michael@0 | 6602 | to link FreeType _and_ zlib together. |
michael@0 | 6603 | |
michael@0 | 6604 | 2002-11-05 Juliusz <jch@pps.jussieu.fr> |
michael@0 | 6605 | |
michael@0 | 6606 | * src/psaux/psobjs.c (ps_table_add): Modified increment loop in |
michael@0 | 6607 | order to implement exponential behaviour. |
michael@0 | 6608 | |
michael@0 | 6609 | 2002-11-01 David Turner <david@freetype.org> |
michael@0 | 6610 | |
michael@0 | 6611 | Added PFR-specific public API. Fixed the kerning retrievel routine |
michael@0 | 6612 | (it returned invalid values when the outline and metrics resolution |
michael@0 | 6613 | differ). |
michael@0 | 6614 | |
michael@0 | 6615 | * include/freetype/ftpfr.h, include/freetype/internal/pfr.h: New |
michael@0 | 6616 | files. |
michael@0 | 6617 | |
michael@0 | 6618 | * include/freetype/internal/internal.h (FT_INTERNAL_PFR_H): New |
michael@0 | 6619 | macro for pfr.h. |
michael@0 | 6620 | |
michael@0 | 6621 | * src/base/ftpfr.c: New file. |
michael@0 | 6622 | * src/base/Jamfile, src/base/descrip.mms: Updated. |
michael@0 | 6623 | |
michael@0 | 6624 | * src/pfr/pfrdrivr.c: Include FT_INTERNAL_PFR_H. |
michael@0 | 6625 | (pfr_get_kerning, pfr_get_advance, pfr_get_metrics): New functions. |
michael@0 | 6626 | (pfr_service_rec): New format interface. |
michael@0 | 6627 | (pfr_driver_class): Use `pfr_service_rec'. |
michael@0 | 6628 | Replace `pfr_face_get_kerning' with `pfr_get_kerning'. |
michael@0 | 6629 | * src/pfr/pfrobjs.c: Remove dead code. |
michael@0 | 6630 | |
michael@0 | 6631 | * src/base/ftobjs.c (ft_glyphslot_clear): Small internal fix to |
michael@0 | 6632 | better support bitmap-based font formats. |
michael@0 | 6633 | |
michael@0 | 6634 | * src/base/ftsynth.c (FT_GlyphSlot_Embolden): Fix handling of |
michael@0 | 6635 | `scale'. |
michael@0 | 6636 | Fix arguments to `FT_Vector_From_Polar'. |
michael@0 | 6637 | |
michael@0 | 6638 | 2002-10-31 David Turner <david@freetype.org> |
michael@0 | 6639 | |
michael@0 | 6640 | Add support for automatic handling of gzip-compressed PCF files. |
michael@0 | 6641 | |
michael@0 | 6642 | * src/gzip/*: New files, taken from the zlib package (except |
michael@0 | 6643 | ftgzip.c). |
michael@0 | 6644 | |
michael@0 | 6645 | * include/freetype/ftgzip.h, src/gzip/ftgzip.c: New files. |
michael@0 | 6646 | * include/freetype/config/ftheader.h (FT_GZIP_H): New macro for |
michael@0 | 6647 | `ftgzip.h'. |
michael@0 | 6648 | |
michael@0 | 6649 | * src/pcf/pcfdriver.c: Include FT_GZIP_H and FT_ERRORS_H. |
michael@0 | 6650 | (PCF_Face_Init): If normal open fails, try to open gzip stream. |
michael@0 | 6651 | (PCF_Face_Done): Close gzip stream. |
michael@0 | 6652 | |
michael@0 | 6653 | * include/freetype/internal/pcftypes.h (PCF_Public_FaceRec), |
michael@0 | 6654 | src/pcf/pcf.h (PCF_FaceRec): Add `gzip_stream' and `gzip_source'. |
michael@0 | 6655 | |
michael@0 | 6656 | * include/freetype/config/ftoption.h (FT_CONFIG_OPTION_USE_ZLIB): |
michael@0 | 6657 | New macro. |
michael@0 | 6658 | (T1_CONFIG_OPTION_DISABLE_HINTER, FT_CONFIG_OPTION_USE_CMAPS |
michael@0 | 6659 | FT_CONFIG_OPTION_NO_CONVENIENCE_FUNCS, |
michael@0 | 6660 | FT_CONFIG_OPTION_ALTERNATE_GLYPH_FORMATS): Removed. |
michael@0 | 6661 | |
michael@0 | 6662 | (FT_EXPORT, FT_EXPORT_DEF, FT_DEBUG_LEVEL_ERROR, |
michael@0 | 6663 | FT_DEBUG_LEVEL_TRACE, FT_DEBUG_MEMORY): Comment out definitions so |
michael@0 | 6664 | that platform specific configuration file can override. |
michael@0 | 6665 | |
michael@0 | 6666 | * include/freetype/internal/ftstream.h: Include FT_SYSTEM_H. |
michael@0 | 6667 | |
michael@0 | 6668 | 2002-10-30 David Turner <david@freetype.org> |
michael@0 | 6669 | |
michael@0 | 6670 | * FreeType 2.1.3rc3 released. |
michael@0 | 6671 | |
michael@0 | 6672 | 2002-10-25 David Turner <david@freetype.org> |
michael@0 | 6673 | |
michael@0 | 6674 | * include/freetype/ftcache.h (FT_POINTER_TO_ULONG): New macro. |
michael@0 | 6675 | (FTC_FACE_ID_HASH): Rewritten, using FT_POINTER_TO_ULONG. |
michael@0 | 6676 | |
michael@0 | 6677 | 2002-10-22 Giuseppe Ghibò <ghibo@mandrakesoft.com> |
michael@0 | 6678 | |
michael@0 | 6679 | * include/freetype/freetype.h (FT_Encoding): Fix entry for latin-2. |
michael@0 | 6680 | |
michael@0 | 6681 | 2002-10-07 Werner Lemberg <wl@gnu.org> |
michael@0 | 6682 | |
michael@0 | 6683 | * include/freetype/freetype.h (FT_Open_Face): Use `const' for `args' |
michael@0 | 6684 | (suggested by Graham). |
michael@0 | 6685 | * src/base/ftobjs.c (FT_Open_Face): Updated. |
michael@0 | 6686 | (ft_input_stream_new): Ditto. |
michael@0 | 6687 | |
michael@0 | 6688 | 2002-10-05 David Turner <david@freetype.org> |
michael@0 | 6689 | |
michael@0 | 6690 | Adding support for embedded bitmaps to the PFR driver, and rewriting |
michael@0 | 6691 | its kerning loader/handler to use all kerning pairs in a physical |
michael@0 | 6692 | font (and not just the first item). |
michael@0 | 6693 | |
michael@0 | 6694 | * src/pfr/pfr.c: Include `pfrsbit.c'. |
michael@0 | 6695 | * src/pfr/pfrgload.c: Include `pfrsbit.h'. |
michael@0 | 6696 | * src/pfr/pfrload.c (pfr_extra_item_load_kerning_pairs): Rewritten. |
michael@0 | 6697 | (pfr_phy_font_done, pfr_phy_font_load): Updated. |
michael@0 | 6698 | * src/pfr/pfrobks.c: Include `pfrsbit.h'. |
michael@0 | 6699 | (pfr_face_init): Handle kerning and embedded bitmaps. |
michael@0 | 6700 | (pfr_slot_load): Load embedded bitmaps. |
michael@0 | 6701 | (PFR_KERN_INDEX): Removed. |
michael@0 | 6702 | (pfr_face_get_kerning): Rewritten. |
michael@0 | 6703 | * src/pfr/pfrsbit.c, src/pfr/pfrsbit.h: New files. |
michael@0 | 6704 | * src/pfr/pfrtypes.h (PFR_KernItemRec): New structure. |
michael@0 | 6705 | (PFR_KERN_INDEX): New macro. |
michael@0 | 6706 | (PFR_PhyFontRec): Add items for kerning and embedded bitmaps. |
michael@0 | 6707 | * src/pfr/Jamfile (_sources) [FT2_MULTI]: Add `pfrsbit'. |
michael@0 | 6708 | |
michael@0 | 6709 | * src/base/ftobjs.c (FT_Load_Glyph): Don't load bitmap fonts if |
michael@0 | 6710 | FT_LOAD_NO_RECURSE is set. |
michael@0 | 6711 | Load embedded bitmaps only if FT_LOAD_NO_BITMAP isn't set. |
michael@0 | 6712 | |
michael@0 | 6713 | * src/tools/docmaker/content.py, src/tools/docmaker/sources.py, |
michael@0 | 6714 | src/tools/docmaker/tohtml.py: Fixing a few nasty bugs. |
michael@0 | 6715 | |
michael@0 | 6716 | * src/sfnt/ttcmap0.c (tt_cmap4_validate): The validator for format 4 |
michael@0 | 6717 | sub-tables is now capable of dealing with invalid `length' fields at |
michael@0 | 6718 | the start of the sub-table. This allows fonts like `mg______.ttf' |
michael@0 | 6719 | (i.e. Marriage) to return accurate charmaps. |
michael@0 | 6720 | |
michael@0 | 6721 | * docs/CHANGES: Updated. |
michael@0 | 6722 | |
michael@0 | 6723 | 2002-10-05 Werner Lemberg <wl@gnu.org> |
michael@0 | 6724 | |
michael@0 | 6725 | * src/smooth/ftgrays.c (SUBPIXELS): Add cast to `TPos'. |
michael@0 | 6726 | Update all callers. |
michael@0 | 6727 | (TRUNC): Add cast to `TCoord'. |
michael@0 | 6728 | Update all callers. |
michael@0 | 6729 | (TRaster): Use `TPos' for min_ex, max_ex, min_ey, max_ey, and |
michael@0 | 6730 | last_ey. |
michael@0 | 6731 | Update all casts. |
michael@0 | 6732 | (gray_render_line): Fix casts for `p' and `first'. |
michael@0 | 6733 | |
michael@0 | 6734 | 2002-10-02 Detlef Würkner <TetiSoft@apg.lahn.de> |
michael@0 | 6735 | |
michael@0 | 6736 | * src/bdf/bdflib.c (bdf_load_font): Allocate the _bdf_parse_t |
michael@0 | 6737 | structure with FT_ALLOC instead of using the stack. |
michael@0 | 6738 | |
michael@0 | 6739 | 2002-09-27 Werner Lemberg <wl@gnu.org> |
michael@0 | 6740 | |
michael@0 | 6741 | * src/include/freetype/internal/tttypes.h (num_sbit_strikes, |
michael@0 | 6742 | num_sbit_scales): Use `FT_ULong'. |
michael@0 | 6743 | * src/sfnt/sfobjs.c (sfnt_load_face): Updated accordingly. |
michael@0 | 6744 | * src/sfnt/ttsbit.c (tt_face_set_sbit_strike): Ditto. |
michael@0 | 6745 | (find_sbit_image): Remove cast. |
michael@0 | 6746 | * src/raster/ftrend1.c (ft_raster1_render): Fix cast. |
michael@0 | 6747 | |
michael@0 | 6748 | 2002-09-27 Wolfgang Domröse <porthos.domroese@harz.de> |
michael@0 | 6749 | |
michael@0 | 6750 | * src/sfnt/ttload.c (tt_face_load_names): Use cast. |
michael@0 | 6751 | * src/sfnt/ttcmap.c (code_to_next2): Use long constant. |
michael@0 | 6752 | (code_to_index4): Use cast. |
michael@0 | 6753 | (code_to_index8_12): Fix cast. |
michael@0 | 6754 | * src/sfnt/ttcmap0.c (tt_cmap4_char_next, tt_cmap8_char_index, |
michael@0 | 6755 | tt_cmap12_char_index): Use cast for `result'. |
michael@0 | 6756 | (tt_face_build_cmaps): Use cast. |
michael@0 | 6757 | * src/sfnt/sfobjs.c (tt_name_entry_ascii_from_ucs4): Use cast for |
michael@0 | 6758 | `code'. |
michael@0 | 6759 | (sfnt_load_face): Use FT_Int32 for `flags'. |
michael@0 | 6760 | |
michael@0 | 6761 | * src/smooth/ftgrays.c (gray_render_scanline, gray_render_line, |
michael@0 | 6762 | gray_compute_cbox, gray_convert_glyph, gray_raster_reset): Add casts |
michael@0 | 6763 | to `TCoord' and `int'. |
michael@0 | 6764 | More 16bit fixes. |
michael@0 | 6765 | s/FT_Pos/TPos/. |
michael@0 | 6766 | * src/smooth/ftsmooth.c (ft_smooth_render_generic): Add casts. |
michael@0 | 6767 | |
michael@0 | 6768 | 2002-09-26 Werner Lemberg <wl@gnu.org> |
michael@0 | 6769 | |
michael@0 | 6770 | * src/sfnt/ttpost.c (load_post_names, tt_face_free_ps_names, |
michael@0 | 6771 | tt_face_get_ps_name): Replace switch statement with if clauses to |
michael@0 | 6772 | make it more portable. |
michael@0 | 6773 | |
michael@0 | 6774 | * src/cff/cffobjs.c (cff_face_init): Ditto. |
michael@0 | 6775 | |
michael@0 | 6776 | * include/freetype/ftmodule.h (FT_Module_Class): Use `FT_Long' for |
michael@0 | 6777 | `module_size'. |
michael@0 | 6778 | * include/freetype/ftrender.h (FT_Glyph_Class_): Use `FT_Long' for |
michael@0 | 6779 | `glyph_size'. |
michael@0 | 6780 | |
michael@0 | 6781 | * src/base/ftobjs.c (FT_Render_Glyph): Change second parameter to |
michael@0 | 6782 | `FT_Render_Mode'. |
michael@0 | 6783 | (FT_Render_Glyph_Internal): Change third parameter to |
michael@0 | 6784 | `FT_Render_Mode'. |
michael@0 | 6785 | * src/base/ftglyph.c (FT_Glyph_To_Bitmap): Change second parameter |
michael@0 | 6786 | to `FT_Render_Mode'. |
michael@0 | 6787 | |
michael@0 | 6788 | * src/raster/ftrend1.c (ft_raster1_render): Change third parameter |
michael@0 | 6789 | to `FT_Render_Mode'. |
michael@0 | 6790 | * src/smooth/ftsmooth.c (ft_smooth_render, ft_smooth_render_lcd, |
michael@0 | 6791 | ft_smooth_render_lcd_v): Ditto. |
michael@0 | 6792 | (ft_smooth_render_generic): Change third and fifth parameter to |
michael@0 | 6793 | `FT_Render_Mode'. |
michael@0 | 6794 | |
michael@0 | 6795 | * include/freetype/freetype.h, include/freetype/internal/ftobjs.h, |
michael@0 | 6796 | include/freetype/ftglyph.h: Updated. |
michael@0 | 6797 | |
michael@0 | 6798 | * src/cff/cffdrivr.c (Load_Glyph), src/pcf/pcfdriver.c |
michael@0 | 6799 | (PCF_Glyph_Load), src/pfr/pfrobjs.c (pfr_slot_load), |
michael@0 | 6800 | src/winfonts/winfnt.c (FNT_Load_Glyph), src/t42/t42objs.c |
michael@0 | 6801 | (T42_GlyphSlot_Load), src/bdf/bdfdrivr.c (BDF_Glyph_Load): Change |
michael@0 | 6802 | fourth parameter to `FT_Int32'. |
michael@0 | 6803 | |
michael@0 | 6804 | * src/pfr/pfrobjs.c (pfr_face_init): Add two missing parameters |
michael@0 | 6805 | and declare them as unused. |
michael@0 | 6806 | |
michael@0 | 6807 | * src/cid/cidparse.h (CID_Parser): Use FT_Long for `postscript_len'. |
michael@0 | 6808 | |
michael@0 | 6809 | * src/psnames/psnames.h (PS_Unicode_Value_Func): Change return |
michael@0 | 6810 | value to FT_UInt32. |
michael@0 | 6811 | * src/psnames/psmodule.c (ps_unicode_value, ps_build_unicode_table): |
michael@0 | 6812 | Updated accordingly. |
michael@0 | 6813 | |
michael@0 | 6814 | 2002-09-26 Wolfgang Domröse <porthos.domroese@harz.de> |
michael@0 | 6815 | |
michael@0 | 6816 | * src/cff/cffdrivr.c (Get_Kerning): Use FT_Long for `middle'. |
michael@0 | 6817 | (cff_get_glyph_name): Use cast for result of ft_strlen. |
michael@0 | 6818 | * src/cff/cffparse.c (cff_parse_real): User cast for assigning |
michael@0 | 6819 | `exp'. |
michael@0 | 6820 | * src/cff/cffload.c (cff_index_get_pointers): Use FT_ULong for |
michael@0 | 6821 | some local variables. |
michael@0 | 6822 | (cff_charset_load, cff_encoding_load): Use casts to FT_UInt for some |
michael@0 | 6823 | switch statements. |
michael@0 | 6824 | (cff_font_load): Use cast in call to CFF_Load_FD_Select. |
michael@0 | 6825 | * src/cff/cffobjs.c (cff_size_init): Use more casts. |
michael@0 | 6826 | (cff_face_init): Use FT_Int32 for `flags'. |
michael@0 | 6827 | * src/cff/cffgload.c (cff_operator_seac): Use cast for assigning |
michael@0 | 6828 | `adx' and `ady'. |
michael@0 | 6829 | (cff_decoder_parse_charstrings): Use FT_ULong for third parameter. |
michael@0 | 6830 | Use more casts. |
michael@0 | 6831 | * src/cff/cffcmap.c (cff_cmap_unicode_init): Use cast for `count'. |
michael@0 | 6832 | |
michael@0 | 6833 | * src/cid/cidload.c (cid_read_subrs): Use FT_ULong for `len'. |
michael@0 | 6834 | * src/cid/cidgload.c (cid_load_glyph): Add missing cast for |
michael@0 | 6835 | `cid_get_offset'. |
michael@0 | 6836 | |
michael@0 | 6837 | * src/psaux/t1decode.c (t1_decoder_parse_charstrings) <18>: Use |
michael@0 | 6838 | cast for `num_points'. |
michael@0 | 6839 | (t1_decoder_init): Use cast for assigning `decoder->num_glyphs'. |
michael@0 | 6840 | |
michael@0 | 6841 | * src/base/ftdebug.c (ft_debug_init): Use FT_Int. |
michael@0 | 6842 | * include/freetype/internal/ftdriver.h (FT_Slot_LoadFunc): Use |
michael@0 | 6843 | `FT_Int32' for fourth parameter. |
michael@0 | 6844 | * src/base/ftobjs.c (open_face): Use cast for calling |
michael@0 | 6845 | clazz->init_face. |
michael@0 | 6846 | |
michael@0 | 6847 | * src/raster/ftraster.c (Set_High_Precision): Use `1' instead of |
michael@0 | 6848 | `1L'. |
michael@0 | 6849 | (Finalize_Profile_Table, Line_Up, ft_black_init): Use casts. |
michael@0 | 6850 | * src/raster/ftrend1.c (ft_raster1_render): Ditto. |
michael@0 | 6851 | |
michael@0 | 6852 | * src/sfnt/sfnt_dir_check: Compare `magic' with unsigned long |
michael@0 | 6853 | constant. |
michael@0 | 6854 | |
michael@0 | 6855 | 2002-09-26 Detlef Würkner <TetiSoft@apg.lahn.de> |
michael@0 | 6856 | |
michael@0 | 6857 | * builds/amiga/include/freetype/config/ftmodule.h: Updated. |
michael@0 | 6858 | |
michael@0 | 6859 | 2002-09-25 David Turner <david@freetype.org> |
michael@0 | 6860 | |
michael@0 | 6861 | * src/autohint/ahtypes.h (AH_HINT_METRICS): Disabling metrics |
michael@0 | 6862 | hinting in the auto-hinter. This produces much better anti-aliased |
michael@0 | 6863 | text. |
michael@0 | 6864 | |
michael@0 | 6865 | * docs/CHANGES: Updating the changes documentation. |
michael@0 | 6866 | |
michael@0 | 6867 | 2002-09-25 Anthony Fok <anthony@thizlinux.com> |
michael@0 | 6868 | |
michael@0 | 6869 | * src/sfnt/ttcmap0.c (tt_cmap4_validate, tt_cmap4_char_index, |
michael@0 | 6870 | tt_cmap4_char_next): Added support for opens___.ttf (it contains a |
michael@0 | 6871 | charmap that uses offset=0xFFFFU instead of 0x0000 to indicate a |
michael@0 | 6872 | missing glyph). |
michael@0 | 6873 | |
michael@0 | 6874 | 2002-09-21 Wolfgang Domröse <porthos.domroese@harz.de> |
michael@0 | 6875 | |
michael@0 | 6876 | * src/truetype/ttdriver.c (Load_Glyph): Fourth parameter must be |
michael@0 | 6877 | FT_Int32. |
michael@0 | 6878 | * src/truetype/ttgload.c, src/truetype/ttgload.h (TT_Load_Glyph): |
michael@0 | 6879 | Ditto. |
michael@0 | 6880 | |
michael@0 | 6881 | 2002-09-19 Wolfgang Domröse <porthos.domroese@harz.de> |
michael@0 | 6882 | |
michael@0 | 6883 | More 16bit fixes. |
michael@0 | 6884 | |
michael@0 | 6885 | * src/autohint/ahglobal.c (sort_values): Use FT_Pos for `swap'. |
michael@0 | 6886 | (ah_hinter_compute_widths): Use FT_Pos for `dist'. |
michael@0 | 6887 | Use AH_MAX_WIDTHS. |
michael@0 | 6888 | * src/autohint/ahglyph.c (ah_outline_scale_blue_edges): Use FT_Pos |
michael@0 | 6889 | for `delta'. |
michael@0 | 6890 | (ah_outline_compute_edges): Replace some ints with FT_Int and |
michael@0 | 6891 | FT_Pos. |
michael@0 | 6892 | (ah_test_extrema): Clean up code. |
michael@0 | 6893 | (ah_get_orientation): Use 4 FT_Int variables instead of FT_BBox to |
michael@0 | 6894 | hold indices. |
michael@0 | 6895 | * src/autohint/ahtypes.h (AH_SegmentRec): Change type of `score' |
michael@0 | 6896 | to FT_Pos. |
michael@0 | 6897 | |
michael@0 | 6898 | 2002-09-19 Werner Lemberg <wl@gnu.org> |
michael@0 | 6899 | |
michael@0 | 6900 | * builds/unix/config.guess, builds/unix/config.sub: Updated to |
michael@0 | 6901 | recent versions. |
michael@0 | 6902 | |
michael@0 | 6903 | 2002-09-18 David Turner <david@freetype.org> |
michael@0 | 6904 | |
michael@0 | 6905 | * src/base/ftobjs.c (FT_Library_Version): Bugfix. |
michael@0 | 6906 | |
michael@0 | 6907 | * FreeType 2.1.3rc2 (release candidate 2) is released! |
michael@0 | 6908 | |
michael@0 | 6909 | 2002-09-17 David Turner <david@freetype.org> |
michael@0 | 6910 | |
michael@0 | 6911 | * include/freetype/freetype.h, include/freetype/ftimage.h, |
michael@0 | 6912 | include/freetype/ftstroker.h, include/freetype/ftsysio.h, |
michael@0 | 6913 | include/freetype/ftsysmem.h, include/freetype/ttnameid.h: Updating |
michael@0 | 6914 | the in-source documentation. |
michael@0 | 6915 | |
michael@0 | 6916 | * src/tools/docmaker/tohtml.py: Updating the HTML formatter in the |
michael@0 | 6917 | DocMaker tool. |
michael@0 | 6918 | |
michael@0 | 6919 | * src/tools/docmaker.py: Removed. |
michael@0 | 6920 | |
michael@0 | 6921 | 2002-09-17 Werner Lemberg <wl@gnu.org> |
michael@0 | 6922 | |
michael@0 | 6923 | More 16bit fixes. |
michael@0 | 6924 | |
michael@0 | 6925 | * src/psaux/psobjs.c (reallocate_t1_table): Use FT_Long for |
michael@0 | 6926 | second parameter. |
michael@0 | 6927 | |
michael@0 | 6928 | 2002-09-16 Werner Lemberg <wl@gnu.org> |
michael@0 | 6929 | |
michael@0 | 6930 | 16bit fixes from Wolfgang Domröse. |
michael@0 | 6931 | |
michael@0 | 6932 | * src/type1/t1parse.h (T1_ParserRec): Change type of `base_len' |
michael@0 | 6933 | and `private_len' to FT_Long. |
michael@0 | 6934 | * src/type1/t1parse.c (T1_Get_Private_Dict): Remove cast for |
michael@0 | 6935 | `private_len'. |
michael@0 | 6936 | * src/type1/t1load.c: Use FT_Int cast for most calls of T1_ToInt. |
michael@0 | 6937 | Use FT_PtrDist where appropriate. |
michael@0 | 6938 | (parse_encoding): Use FT_Long for `count' and `n'. |
michael@0 | 6939 | (read_binary_data): Use FT_Long* for second parameter. |
michael@0 | 6940 | * src/type1/t1afm.c (afm_atoindex): Use FT_PtrDist. |
michael@0 | 6941 | |
michael@0 | 6942 | * src/cache/ftcsbits.c (ftc_sbit_node_load): Remove unused label. |
michael@0 | 6943 | * src/pshinter/pshalgo3.c (psh3_hint_align): Remove unused variable. |
michael@0 | 6944 | |
michael@0 | 6945 | 2002-09-14 Werner Lemberg <wl@gnu.org> |
michael@0 | 6946 | |
michael@0 | 6947 | Making ftgrays.c compile stand-alone again. |
michael@0 | 6948 | |
michael@0 | 6949 | * include/freetype/ftimage.h: Include ft2build.h only if _STANDALONE_ |
michael@0 | 6950 | isn't defined. |
michael@0 | 6951 | * src/smooth/ftgrays.c [_STANDALONE_]: Define ft_memset, |
michael@0 | 6952 | FT_BEGIN_HEADER, FT_END_HEADER. |
michael@0 | 6953 | (FT_MEM_ZERO): Define. |
michael@0 | 6954 | (TRaster) [GRAYS_USE_GAMMA]: Use `unsigned char' instead of FT_Byte. |
michael@0 | 6955 | (gray_render_span, gray_init_gamma): Don't use `FT_UInt'. |
michael@0 | 6956 | Don't cast with `FT_Byte'. |
michael@0 | 6957 | (grays_init_gamma): Don't use `FT_UInt'. |
michael@0 | 6958 | |
michael@0 | 6959 | 2002-09-14 Werner Lemberg <wl@gnu.org> |
michael@0 | 6960 | |
michael@0 | 6961 | * src/base/ftinit.c (FT_Add_Default_Modules): Improve error message. |
michael@0 | 6962 | * src/pcf/pcfdriver.c (PCF_Face_Done): Improve tracing message. |
michael@0 | 6963 | * include/freetype/config/ftoption.h (FT_MAX_MODULES): Increased |
michael@0 | 6964 | to 32. |
michael@0 | 6965 | |
michael@0 | 6966 | 2002-09-10 Werner Lemberg <wl@gnu.org> |
michael@0 | 6967 | |
michael@0 | 6968 | * builds/unix/configure.ac (version_info): Set to 9:2:3. |
michael@0 | 6969 | * builds/unix/configure: Regenerated. |
michael@0 | 6970 | * docs/VERSION.DLL: Updated. |
michael@0 | 6971 | |
michael@0 | 6972 | 2002-09-09 David Turner <david@freetype.org> |
michael@0 | 6973 | |
michael@0 | 6974 | * src/pshinter/pshalgo2.c (psh2_glyph_find_strong_points), |
michael@0 | 6975 | src/pshinter/pshalgo3.c (psh3_glyph_find_strong_points): Adding fix |
michael@0 | 6976 | to prevent seg fault when hints are provided in an empty glyph. |
michael@0 | 6977 | |
michael@0 | 6978 | * src/cache/ftccache.i (GEN_CACHE_LOOKUP) [FT_DEBUG_LEVEL_ERROR]: |
michael@0 | 6979 | Removed conditional code. This fixes a bug that prevented |
michael@0 | 6980 | compilation in debug mode of template instantiation. |
michael@0 | 6981 | |
michael@0 | 6982 | * include/freetype/ftimage.h: Removed incorrect `zft_' definitions |
michael@0 | 6983 | and updated constants documentation comments. |
michael@0 | 6984 | |
michael@0 | 6985 | * src/cff/cffparse.c (cff_parser_run): Fixed the CFF table loader. |
michael@0 | 6986 | It didn't accept empty arrays, and this prevented the loading of |
michael@0 | 6987 | certain fonts. |
michael@0 | 6988 | |
michael@0 | 6989 | * include/freetype/freetype.h (FT_FaceRec): Updating documentation |
michael@0 | 6990 | comment. The `descender' value is always *negative*, not positive. |
michael@0 | 6991 | |
michael@0 | 6992 | 2002-09-09 Owen Taylor <owen@redhat.com> |
michael@0 | 6993 | |
michael@0 | 6994 | * src/pcf/pcfdriver.c (PCF_Glyph_Load): Fixing incorrect computation |
michael@0 | 6995 | of bitmap metrics. |
michael@0 | 6996 | |
michael@0 | 6997 | 2002-09-08 David Turner <david@freetype.org> |
michael@0 | 6998 | |
michael@0 | 6999 | Various updates to correctly support sub-pixel rendering. |
michael@0 | 7000 | |
michael@0 | 7001 | * include/freetype/config/ftmodule.h: Add two renderers for LCD. |
michael@0 | 7002 | |
michael@0 | 7003 | * src/base/ftobjs.c (FT_Load_Glyph): Updated. |
michael@0 | 7004 | |
michael@0 | 7005 | * src/smooth/ftsmooth.c (ft_smooth_render_lcd, |
michael@0 | 7006 | ft_smooth_render_lcd_v): Set FT_PIXEL_MODE_LCD and |
michael@0 | 7007 | FT_PIXEL_MODE_LCD_V, respectively. |
michael@0 | 7008 | |
michael@0 | 7009 | * include/freetype/cache/ftcimage.h (FTC_ImageTypeRec): New |
michael@0 | 7010 | structure. |
michael@0 | 7011 | Updated all users. |
michael@0 | 7012 | (FTC_ImageDesc): Removed. |
michael@0 | 7013 | (FTC_ImageCache_Lookup): Second parameter is now of type |
michael@0 | 7014 | `FTC_ImageType'. |
michael@0 | 7015 | Updated all users. |
michael@0 | 7016 | (FTC_IMAGE_DESC_COMPARE): Updated and renamed to... |
michael@0 | 7017 | (FTC_IMAGE_TYPE_COMPARE): This. |
michael@0 | 7018 | (FTC_IMAGE_DESC_HASH): Updated and renamed to... |
michael@0 | 7019 | (FTC_IMAGE_TYPE_HASH): This. |
michael@0 | 7020 | |
michael@0 | 7021 | * include/freetype/cache/ftcsbits.h (FTC_SBitRec): Field `num_grays' |
michael@0 | 7022 | replaced with `max_grays'. |
michael@0 | 7023 | `pitch' is now FT_Short. |
michael@0 | 7024 | (FTC_SBitCache_Lookup): Second parameter is now of type |
michael@0 | 7025 | `FTC_ImageType'. |
michael@0 | 7026 | Updated all users. |
michael@0 | 7027 | |
michael@0 | 7028 | * src/cache/ftcimage.c (FTC_ImageQueryRec, FTC_ImageFamilyRec): |
michael@0 | 7029 | Updated. |
michael@0 | 7030 | (ftc_image_node_init): Updated. |
michael@0 | 7031 | Moved code to convert type flags to load flags to... |
michael@0 | 7032 | (FTC_Image_Cache_Lookup): This function. |
michael@0 | 7033 | (ftc_image_family_init): Updated. |
michael@0 | 7034 | |
michael@0 | 7035 | * src/cache/ftcsbit.c (FTC_SBitQueryRec, FTC_SBitFamilyRec): |
michael@0 | 7036 | Updated. |
michael@0 | 7037 | (ftc_sbit_node_load): Updated. |
michael@0 | 7038 | Moved code to convert type flags to load flags to... |
michael@0 | 7039 | (FTC_SBitCache_Lookup): This function. |
michael@0 | 7040 | |
michael@0 | 7041 | * src/autohint/ahtypes.h (AH_HinterRec): Replace `no_*_hints' with |
michael@0 | 7042 | `do_*_snapping'. |
michael@0 | 7043 | Update all users (with negation). |
michael@0 | 7044 | * src/autohint/ahhint.c (ah_compute_stem_width): Fix threshold for |
michael@0 | 7045 | `dist' for `delta' < 40. |
michael@0 | 7046 | |
michael@0 | 7047 | * src/pshinter/pshalgo3.h (PSH3_GlyphRec): Replace `no_*_hints' with |
michael@0 | 7048 | `do_*_snapping'. |
michael@0 | 7049 | Update all users (with negation). |
michael@0 | 7050 | * src/pshinter/pshalgo3.c (psh3_dimension_quantize_len): New |
michael@0 | 7051 | function. |
michael@0 | 7052 | (psh3_hint_align): Use it. |
michael@0 | 7053 | Improve hinting code. |
michael@0 | 7054 | [STRONGER]: Removed. |
michael@0 | 7055 | (STRONGER): Removed. |
michael@0 | 7056 | |
michael@0 | 7057 | * include/freetype/freetype.h (FT_Set_Hint_Flags, FT_HINT_*): |
michael@0 | 7058 | Removed. |
michael@0 | 7059 | |
michael@0 | 7060 | 2002-09-05 Werner Lemberg <wl@gnu.org> |
michael@0 | 7061 | |
michael@0 | 7062 | * src/cid/cidobjs.c (CID_Size_Init): Renamed to... |
michael@0 | 7063 | (cid_size_init): This. |
michael@0 | 7064 | * src/psaux/psobjs.c (T1_Builder_Add_Point1): Renamed to... |
michael@0 | 7065 | (t1_builder_add_point1): This. |
michael@0 | 7066 | |
michael@0 | 7067 | Updated all affected code. |
michael@0 | 7068 | |
michael@0 | 7069 | * src/pshinter/pshalgo3.c (psh3_hint_align): Fix compiler warnings. |
michael@0 | 7070 | * src/type1/t1gload.c (T1_Compute_Max_Advance): Ditto. |
michael@0 | 7071 | |
michael@0 | 7072 | 2002-09-04 David Turner <david@freetype.org> |
michael@0 | 7073 | |
michael@0 | 7074 | * include/freetype/freetype.h: Corrected the definition of |
michael@0 | 7075 | ft_encoding_symbol to be FT_ENCODING_MS_SYMBOL (instead of |
michael@0 | 7076 | the erroneous FT_ENCODING_SYMBOL). |
michael@0 | 7077 | |
michael@0 | 7078 | * builds/unix/unix-def.in (datadir): Initialize it (thanks to |
michael@0 | 7079 | Anthony Fok). |
michael@0 | 7080 | |
michael@0 | 7081 | 2002-08-29 David Turner <david@freetype.org> |
michael@0 | 7082 | |
michael@0 | 7083 | Slight modification to the Postscript hinter to slightly increase |
michael@0 | 7084 | the contrast of smooth hinting. This is very similar to what the |
michael@0 | 7085 | auto-hinter does when it comes to stem width computations. However, |
michael@0 | 7086 | it produces better results with well-hinted fonts. |
michael@0 | 7087 | |
michael@0 | 7088 | * include/freetype/internal/psaux.h (T1_Decoder_FuncsRec): Add hint |
michael@0 | 7089 | mode to `init' member function. |
michael@0 | 7090 | (T1_DecoderRec): Add hint mode. |
michael@0 | 7091 | * include/freetype/internal/pshints (T1_Hints_ApplyFunc, |
michael@0 | 7092 | T2_Hints_ApplyFunc): Pass `hint_mode', not `hint_flags'. |
michael@0 | 7093 | * src/psaux/t1decode.c (t1_decoder_init): Add hint mode argument. |
michael@0 | 7094 | * src/pshinter/pshalgo1.c (ps1_hints_apply): Pass hint mode, not |
michael@0 | 7095 | hint flags. |
michael@0 | 7096 | * src/pshinter/pshalgo2.c (ps2_hints_apply): Ditto. |
michael@0 | 7097 | * src/pshinter/pshalgo3.c (ps3_hints_apply): Ditto. |
michael@0 | 7098 | (STRONGER): New macro. |
michael@0 | 7099 | (psh3_hint_align, psh3_hint_table_align_hints): Pass `glyph' instead |
michael@0 | 7100 | of `hint_flags'. |
michael@0 | 7101 | Implement announced changes. |
michael@0 | 7102 | * src/pshinter/pshalgo3.h (PSH3_GlyphRec): Add flags to control |
michael@0 | 7103 | vertical and horizontal hints and snapping. |
michael@0 | 7104 | |
michael@0 | 7105 | * README, docs/CHANGES: Updating for the 2.1.3 release. |
michael@0 | 7106 | |
michael@0 | 7107 | 2002-08-27 David Turner <david@freetype.org> |
michael@0 | 7108 | |
michael@0 | 7109 | * Massive re-formatting changes to many, many source files. I don't |
michael@0 | 7110 | want to list them all here. The operations performed were all |
michael@0 | 7111 | logical transformations of the sources: |
michael@0 | 7112 | |
michael@0 | 7113 | - trying to convert all enums and constants to CAPITALIZED_STYLE, |
michael@0 | 7114 | #with define definitions like |
michael@0 | 7115 | |
michael@0 | 7116 | #define my_old_constants MY_NEW_CONSTANT |
michael@0 | 7117 | |
michael@0 | 7118 | - big, big update of the documentation comments |
michael@0 | 7119 | |
michael@0 | 7120 | * include/freetype/freetype.h, src/base/ftobjs.c, |
michael@0 | 7121 | src/smooth/ftsmooth.c, include/freetype/ftimage.h: Adding support |
michael@0 | 7122 | for LCD-optimized rendering though the new constants/enums: |
michael@0 | 7123 | |
michael@0 | 7124 | FT_RENDER_MODE_LCD, FT_RENDER_MODE_LCD_V |
michael@0 | 7125 | FT_PIXEL_MODE_LCD, FT_PIXEL_MODE_LCD_V |
michael@0 | 7126 | |
michael@0 | 7127 | This is still work in progress, don't expect everything to work |
michael@0 | 7128 | correctly though most of the features have been implemented. |
michael@0 | 7129 | |
michael@0 | 7130 | * Adding new FT_LOAD_XXX flags, used to specify both hinting and |
michael@0 | 7131 | rendering targets: |
michael@0 | 7132 | |
michael@0 | 7133 | FT_LOAD_TARGET_NORMAL :: anti-aliased hinting & rendering |
michael@0 | 7134 | FT_LOAD_TARGET_MONO :: monochrome bitmaps |
michael@0 | 7135 | FT_LOAD_TARGET_LCD :: horizontal RGB/BGR decimated |
michael@0 | 7136 | hinting & rendering |
michael@0 | 7137 | FT_LOAD_TARGET_LCD_V :: vertical RGB/BGR decimated |
michael@0 | 7138 | hinting & rendering |
michael@0 | 7139 | |
michael@0 | 7140 | Note that FT_LOAD_TARGET_NORMAL is 0, which means that the default |
michael@0 | 7141 | behaviour of the font engine is _unchanged_. |
michael@0 | 7142 | |
michael@0 | 7143 | * include/freetype/ftimage.h |
michael@0 | 7144 | (FT_Outline_{Move,Line,Conic,Cubic}To_Func): Renamed to... |
michael@0 | 7145 | (FT_Outline_{Move,Line,Conic,Cubic}ToFunc): This. |
michael@0 | 7146 | (FT_Raster_Span_Func): Renamed to ... |
michael@0 | 7147 | (FT_SpanFunc): This. |
michael@0 | 7148 | (FT_Raster_{New,Done,Reset,Set_Mode,Render}_Func): Renamed to ... |
michael@0 | 7149 | (FT_Raster_{New,Done,Reset,SetMode,Render}Func}: This. |
michael@0 | 7150 | |
michael@0 | 7151 | Updated all affected code. |
michael@0 | 7152 | |
michael@0 | 7153 | * include/freetype/ftrender.h |
michael@0 | 7154 | (FT_Glyph_{Init,Done,Transform,BBox,Copy,Prepare}_Func): Renamed |
michael@0 | 7155 | to ... |
michael@0 | 7156 | (FT_Glyph_{Init,Done,Transform,GetBBox,Copy,Prepare}Func): This. |
michael@0 | 7157 | (FTRenderer_{render,transform,getCBox,setMode}): Renamed to ... |
michael@0 | 7158 | (FT_Renderer_{RenderFunc,TransformFunc,GetCBoxFunc,SeteModeFunc}): |
michael@0 | 7159 | This. |
michael@0 | 7160 | |
michael@0 | 7161 | Updated all affected code. |
michael@0 | 7162 | |
michael@0 | 7163 | * src/autohint/ahtypes.h (AH_Point, AH_Segment, AH_Edge, AH_Globals, |
michael@0 | 7164 | AH_Face_Globals, AH_Outline, AH_Hinter): These typedefs are now |
michael@0 | 7165 | pointers to the corresponding `*Rec' structures. All source files |
michael@0 | 7166 | have been updated accordingly. |
michael@0 | 7167 | |
michael@0 | 7168 | * src/cff/cffgload.c (cff_decoder_init): Add hint mode as parameter. |
michael@0 | 7169 | * src/cff/cffgload.h (CFF_Decoder): Add `hint_mode' element. |
michael@0 | 7170 | |
michael@0 | 7171 | * src/cid/cidgload.c (CID_Compute_Max_Advance): Renamed to... |
michael@0 | 7172 | (cid_face_compute_max_advance): This. |
michael@0 | 7173 | (CID_Load_Glyph): Renamed to... |
michael@0 | 7174 | (cid_slot_load_glyph): This. |
michael@0 | 7175 | * src/cid/cidload.c (CID_Open_Face): Renamed to... |
michael@0 | 7176 | (cid_face_open): This. |
michael@0 | 7177 | * src/cid/cidobjs.c (CID_GlyphSlot_{Done,Init}): Renamed to... |
michael@0 | 7178 | (cid_slot_{done,init}): This. |
michael@0 | 7179 | (CID_Size_{Get_Globals_Funcs,Done,Reset): Renamed to... |
michael@0 | 7180 | (cid_size_{get_globals_funcs,done,reset): This. |
michael@0 | 7181 | (CID_Face_{Done,Init}): Renamed to... |
michael@0 | 7182 | (cid_face_{done,init}): This. |
michael@0 | 7183 | (CID_Driver_{Done,Init}: Renamed to... |
michael@0 | 7184 | (cid_driver_{done,init}: This. |
michael@0 | 7185 | * src/cid/cidparse.c (CID_{New,Done}_Parser): Renamed to... |
michael@0 | 7186 | (cid_parser_{new,done}): This. |
michael@0 | 7187 | * src/cid/cidparse.h (CID_Skip_{Spaces,Alpha}): Renamed to... |
michael@0 | 7188 | (cid_parser_skip_{spaces,alpha}): This. |
michael@0 | 7189 | (CID_To{Int,Fixed,CoordArray,FixedArray,Token,TokenArray}): Renamed |
michael@0 | 7190 | to... |
michael@0 | 7191 | (cid_parser_to_{int,fixed,coord_array,fixed_array,token,token_array}): |
michael@0 | 7192 | This. |
michael@0 | 7193 | (CID_Load_{Field,Field_Table): Renamed to... |
michael@0 | 7194 | (cid_parser_load_{field,field_table}): This. |
michael@0 | 7195 | * src/cid/cidriver.c (CID_Get_Interface): Renamed to... |
michael@0 | 7196 | (cid_get_interface): This. |
michael@0 | 7197 | |
michael@0 | 7198 | Updated all affected code. |
michael@0 | 7199 | |
michael@0 | 7200 | * src/psaux/psobjs.c (PS_Table_*): Renamed to... |
michael@0 | 7201 | (ps_table_*): This. |
michael@0 | 7202 | (T1_Builder_*): Renamed to... |
michael@0 | 7203 | (t1_builder_*): This. |
michael@0 | 7204 | * src/psaux/t1decode.c (T1_Decoder_*): Renamed to... |
michael@0 | 7205 | (t1_decoder_*): This. |
michael@0 | 7206 | |
michael@0 | 7207 | * src/psnames/psmodule.c (PS_*): Renamed to... |
michael@0 | 7208 | (ps_*): This. |
michael@0 | 7209 | |
michael@0 | 7210 | Updated all affected code. |
michael@0 | 7211 | |
michael@0 | 7212 | * src/sfnt/sfdriver (SFNT_Get_Interface): Renamed to... |
michael@0 | 7213 | (sfnt_get_interface): This. |
michael@0 | 7214 | * src/sfnt/sfobjs.c (SFNT_*): Renamed to... |
michael@0 | 7215 | (sfnt_*): This. |
michael@0 | 7216 | * src/sfnt/ttcmap.c (TT_CharMap_{Load,Free}): Renamed to... |
michael@0 | 7217 | (tt_face_{load,free}_charmap): This. |
michael@0 | 7218 | * src/sfnt/ttcmap0.c (TT_Build_CMaps): Renamed to... |
michael@0 | 7219 | (tt_face_build_cmaps): This. |
michael@0 | 7220 | * src/sfnt/ttload.c (TT_*): Renamed to... |
michael@0 | 7221 | (tt_face_*): This. |
michael@0 | 7222 | * src/sfnt/ttpost.c (TT_Post_Default_Names): Renamed to... |
michael@0 | 7223 | (tt_post_default_names): This. |
michael@0 | 7224 | (Load_*): Renamed to... |
michael@0 | 7225 | (load_*): This. |
michael@0 | 7226 | (TT_*): Renamed to... |
michael@0 | 7227 | (tt_face_*): This. |
michael@0 | 7228 | * src/sfnt/ttsbit.c (TT_*): Renamed to... |
michael@0 | 7229 | (tt_face_*): This. |
michael@0 | 7230 | ({Find,Load,Crop}_*): Renamed to... |
michael@0 | 7231 | ({find,load,crop}_*): This. |
michael@0 | 7232 | |
michael@0 | 7233 | Updated all affected code. |
michael@0 | 7234 | |
michael@0 | 7235 | * src/smooth/ftsmooth.c (ft_smooth_render): Renamed to... |
michael@0 | 7236 | (ft_smooth_render_generic): This. |
michael@0 | 7237 | Make function more generic by adding vertical and horizontal scaling |
michael@0 | 7238 | factors. |
michael@0 | 7239 | (ft_smooth_render, ft_smooth_render_lcd, ft_smooth_render_lcd_v): |
michael@0 | 7240 | New functions. |
michael@0 | 7241 | |
michael@0 | 7242 | (ft_smooth_locd_renderer_class, ft_smooth_lcdv_renderer_class): New |
michael@0 | 7243 | classes. |
michael@0 | 7244 | |
michael@0 | 7245 | * src/truetype/ttobjs.c (TT_{Done,New}_GlyphZone): Renamed to... |
michael@0 | 7246 | (tt_glyphzone_{done,new}): This. |
michael@0 | 7247 | (TT_{Face,Size,Driver}_*): Renamed to... |
michael@0 | 7248 | (tt_{face,size,driver}_*): This. |
michael@0 | 7249 | * src/truetype/ttpload.c (TT_Load_Locations): Renamed to... |
michael@0 | 7250 | (tt_face_load_loca): This. |
michael@0 | 7251 | (TT_Load_Programs): Renamed to... |
michael@0 | 7252 | (tt_face_load_fpgm): This. |
michael@0 | 7253 | (TT_*): Renamed to... |
michael@0 | 7254 | (tt_face_*): This. |
michael@0 | 7255 | |
michael@0 | 7256 | 2002-08-27 Werner Lemberg <wl@gnu.org> |
michael@0 | 7257 | |
michael@0 | 7258 | * docs/VERSION.DLL: New file. |
michael@0 | 7259 | |
michael@0 | 7260 | 2002-08-23 Graham Asher <graham.asher@btinternet.com> |
michael@0 | 7261 | |
michael@0 | 7262 | * src/cff/cffgload.c (cff_operator_seac) |
michael@0 | 7263 | [FT_CONFIG_OPTION_INCREMENTAL]: Incremental fonts (actually not |
michael@0 | 7264 | incremental in the case of CFF but just using callbacks to get glyph |
michael@0 | 7265 | recipes) pass the character code, not the glyph index, to the |
michael@0 | 7266 | get_glyph_data function; they have no valid charset table. |
michael@0 | 7267 | |
michael@0 | 7268 | * src/cff/cffload.c (cff_font_load): Removed special cases for |
michael@0 | 7269 | FT_CONFIG_OPTION_INCREMENTAL, which are no longer necessary; CFF |
michael@0 | 7270 | fonts provided via the incremental interface now have to conform |
michael@0 | 7271 | more closely to the CFF font format. |
michael@0 | 7272 | |
michael@0 | 7273 | * src/cff/cffload.h (cff_font_load): Removed argument now unneeded. |
michael@0 | 7274 | |
michael@0 | 7275 | * src/cff/cffobjs.c (cff_face_init): Changed call to cff_font_load |
michael@0 | 7276 | to conform with new signature. |
michael@0 | 7277 | |
michael@0 | 7278 | 2002-08-22 David Turner <david@freetype.org> |
michael@0 | 7279 | |
michael@0 | 7280 | * src/base/ftobject.c, src/base/ftsynth.c, src/base/ftstroker.c, |
michael@0 | 7281 | src/bdf/bdfdrivr.c: Removed compiler warnings. |
michael@0 | 7282 | |
michael@0 | 7283 | 2002-08-21 Werner Lemberg <wl@gnu.org> |
michael@0 | 7284 | |
michael@0 | 7285 | * src/pshinter/pshalgo3.c (psh3_glyph_compute_inflections, |
michael@0 | 7286 | psh3_glyph_compute_extrema, psh3_hint_table_find_strong_point): Fix |
michael@0 | 7287 | compiler warnings and resolve shadowing of local variables. |
michael@0 | 7288 | |
michael@0 | 7289 | 2002-08-21 David Turner <david@freetype.org> |
michael@0 | 7290 | |
michael@0 | 7291 | The automatic and Postscript hinter now automatically detect |
michael@0 | 7292 | inflection points in glyph outlines and treats them specially. This |
michael@0 | 7293 | is very useful to prevent nasty effect like the disappearing |
michael@0 | 7294 | diagonals of `S' and `s' in many, many fonts. |
michael@0 | 7295 | |
michael@0 | 7296 | * src/autohint/ahtypes.h (ah_flag_inflection): New macro. |
michael@0 | 7297 | * src/autohint/ahangles.c (ah_angle_diff): New function. |
michael@0 | 7298 | * src/autohint/ahangles.h: Updated. |
michael@0 | 7299 | * src/autohint/ahglyph.c (ah_outline_compute_inflections): New |
michael@0 | 7300 | function. |
michael@0 | 7301 | (ah_outline_detect_features): Use it. |
michael@0 | 7302 | * src/autohint/ahhint.c (ah_hinter_align_strong_points) |
michael@0 | 7303 | [!AH_OPTION_NO_WEAK_INTERPOLATION]: Handle inflection. |
michael@0 | 7304 | |
michael@0 | 7305 | * src/tools/docmaker/docmaker.py, src/tools/docmaker/utils.py, |
michael@0 | 7306 | src/tools/docmaker/tohtml.py: Updating the DocMaker tool. |
michael@0 | 7307 | |
michael@0 | 7308 | * include/freetype/freetype.h: Changing the type of the `load_flags' |
michael@0 | 7309 | parameter from `FT_Int' to `FT_Int32', this in order to support more |
michael@0 | 7310 | options. This should only break binary and/or source compatibility |
michael@0 | 7311 | on 16-bit platforms (Atari?). |
michael@0 | 7312 | (FT_LOAD_NO_AUTOHINT): New macro. |
michael@0 | 7313 | |
michael@0 | 7314 | * src/base/ftobjs.c (FT_Load_Glyph): Updated. |
michael@0 | 7315 | Handle FT_LOAD_NO_AUTOHINT. |
michael@0 | 7316 | (FT_Load_Char): Updated. |
michael@0 | 7317 | |
michael@0 | 7318 | * src/pshinter/pshalgo3.c, src/base/ftobjs.c, src/base/ftobject.c, |
michael@0 | 7319 | src/autohint/ahglyph.c, include/freetype/freetype.h: Fixing typos |
michael@0 | 7320 | and removing compiler warnings. |
michael@0 | 7321 | |
michael@0 | 7322 | 2002-08-20 Werner Lemberg <wl@gnu.org> |
michael@0 | 7323 | |
michael@0 | 7324 | * src/truetype/ttgload.c (TT_Get_Metrics): Add guard for k = 0. |
michael@0 | 7325 | |
michael@0 | 7326 | 2002-08-20 David Turner <david@freetype.org> |
michael@0 | 7327 | |
michael@0 | 7328 | * src/pshinter/pshalgo1.c, src/pshinter/pshalgo2.c, |
michael@0 | 7329 | src/pshinter/pshglob.c, src/pshinter/pshrec.c, |
michael@0 | 7330 | src/autohint/ahmodule.c [DEBUG_HINTER]: Removing compiler warnings |
michael@0 | 7331 | (only used in development builds anyway). |
michael@0 | 7332 | |
michael@0 | 7333 | Improve support of local extrema and stem edge points. |
michael@0 | 7334 | |
michael@0 | 7335 | * src/pshinter/pshalgo3.h (PSH3_Hint_TableRec): Use PSH3_ZoneRec |
michael@0 | 7336 | for `zones'. |
michael@0 | 7337 | (PSH3_DIR_UP, PSH3_DIR_DOWN): Exchange values. |
michael@0 | 7338 | (PSH3_DIR_HORIZONTAL, PSH3_DIR_VERTICAL): New macros. |
michael@0 | 7339 | (PSH3_DIR_COMPARE, PSH3_DIR_IS_HORIZONTAL, PSH3_IS_VERTICAL): New |
michael@0 | 7340 | macros. |
michael@0 | 7341 | (PSH3_POINT_INFLEX): New enum. |
michael@0 | 7342 | (psh3_point_{is,set}_{off,inflex}): New macros. |
michael@0 | 7343 | (PSH3_POINT_{EXTREMUM,POSITIVE,NEGATIVE,EDGE_MIN,EDGE_MAX): New |
michael@0 | 7344 | enum values. |
michael@0 | 7345 | (psh3_point_{is,set}_{extremum,positive,negative,edge_min,edge_max}): |
michael@0 | 7346 | New macros. |
michael@0 | 7347 | (PSH3_PointRec): New members `flags2' and `org_v'. |
michael@0 | 7348 | (PSH3_POINT_EQUAL_ARG, PSH3_POINT_ANGLE): New macros. |
michael@0 | 7349 | |
michael@0 | 7350 | * src/pshinter/pshalgo3.c [DEBUG_HINTER]: Removing compiler |
michael@0 | 7351 | warnings. |
michael@0 | 7352 | (COMPUTE_INFLEXS): New macro. |
michael@0 | 7353 | (psh3_hint_align): Simplify some basic arithmetic computations. |
michael@0 | 7354 | (psh3_point_is_extremum): Removed. |
michael@0 | 7355 | (psh3_glyph_compute_inflections) [COMPUTE_INFLEXS]: New function. |
michael@0 | 7356 | (psh3_glyph_init) [COMPUTE_INFLEXS]: Use it. |
michael@0 | 7357 | (psh3_glyph_compute_extrema): New function. |
michael@0 | 7358 | (PSH3_STRONG_THRESHOLD): Increased to 30. |
michael@0 | 7359 | (psh3_hint_table_find_strong_point): Improved. |
michael@0 | 7360 | (psh3_glyph_find_strong_points, |
michael@0 | 7361 | psh3_glyph_interpolate_strong_points): Updated. |
michael@0 | 7362 | (psh3_hints_apply): Use psh3_glyph_compute_extrema. |
michael@0 | 7363 | |
michael@0 | 7364 | * test/gview.c (draw_ps3_hint, ps3_draw_control_points): New |
michael@0 | 7365 | functions. |
michael@0 | 7366 | Other small updates. |
michael@0 | 7367 | |
michael@0 | 7368 | * Jamfile: Small updates. |
michael@0 | 7369 | |
michael@0 | 7370 | 2002-08-18 Arkadiusz Miskiewicz <misiek@pld.ORG.PL> |
michael@0 | 7371 | |
michael@0 | 7372 | * builds/unix/install.mk (install, uninstall): Add $(DESTDIR) to |
michael@0 | 7373 | make life easier for package maintainers. |
michael@0 | 7374 | |
michael@0 | 7375 | 2002-08-18 Werner Lemberg <wl@gnu.org> |
michael@0 | 7376 | |
michael@0 | 7377 | * src/pcf/pcfdriver.c (PCF_Glyph_Load): Fix computation of |
michael@0 | 7378 | horiBearingX. |
michael@0 | 7379 | * src/bdf/bdfdrivr.c (BDF_GlyphLoad): Fix computation of |
michael@0 | 7380 | horiBearingY. |
michael@0 | 7381 | |
michael@0 | 7382 | 2002-08-16 George Williams <gww@silcom.com> |
michael@0 | 7383 | |
michael@0 | 7384 | Add support for Apple composite glyphs. |
michael@0 | 7385 | |
michael@0 | 7386 | * include/freetype/config/ftoption.h |
michael@0 | 7387 | (TT_CONFIG_OPTION_COMPONENT_OFFSET_SCALED): New macro. |
michael@0 | 7388 | |
michael@0 | 7389 | * src/truetype/ttgload.c (OVERLAP_COMPOUND, SCALED_COMPONENT_OFFSET, |
michael@0 | 7390 | UNSCALED_COMPONENT_OFFSET): New macros for additional OpenType |
michael@0 | 7391 | glyph loading flags. |
michael@0 | 7392 | (load_truetype_glyph): Implement it. |
michael@0 | 7393 | |
michael@0 | 7394 | 2002-08-16 Werner Lemberg <wl@gnu.org> |
michael@0 | 7395 | |
michael@0 | 7396 | * src/cff/cffgload.c (cff_free_glyph_data), |
michael@0 | 7397 | src/cff/cffload.c (cff_font_load): Use FT_UNUSED. |
michael@0 | 7398 | |
michael@0 | 7399 | 2002-08-15 Werner Lemberg <wl@gnu.org> |
michael@0 | 7400 | |
michael@0 | 7401 | * src/base/ftglyph.c (FT_Glyph_To_Bitmap): Initialize `error'. |
michael@0 | 7402 | * src/sfnt/sfobjs.c (SFNT_Load_Face): Fix compiler warning. |
michael@0 | 7403 | |
michael@0 | 7404 | 2002-08-15 Graham Asher <graham.asher@btinternet.com> |
michael@0 | 7405 | |
michael@0 | 7406 | Implemented the incremental font loading system for the CFF driver. |
michael@0 | 7407 | Tested using the GhostScript-to-FreeType bridge (under development). |
michael@0 | 7408 | |
michael@0 | 7409 | * src/cff/cffgload.c (cff_get_glyph_data, cff_free_glyph_data): New |
michael@0 | 7410 | functions. |
michael@0 | 7411 | (cff_operator_seac, cff_compute_max_advance, cff_slot_load): Use |
michael@0 | 7412 | them. |
michael@0 | 7413 | * src/cff/cffload.c (cff_font_load): Add `face' parameter. |
michael@0 | 7414 | Load charset and encoding only if there are glyphs. |
michael@0 | 7415 | [FT_CONFIG_OPTION_INCREMENTAL]: Incremental fonts don't need |
michael@0 | 7416 | character recipes. |
michael@0 | 7417 | * src/cff/cffload.h, src/cff/cffobjs.c: Updated. |
michael@0 | 7418 | |
michael@0 | 7419 | * src/cid/cidgload.c (cid_load_glyph) |
michael@0 | 7420 | [FT_CONFIG_OPTION_INCREMENTAL]: Corrected the incremental font |
michael@0 | 7421 | loading implementation to use the new system introduced on |
michael@0 | 7422 | 2002-08-01. |
michael@0 | 7423 | |
michael@0 | 7424 | 2002-08-06 Werner Lemberg <wl@gnu.org> |
michael@0 | 7425 | |
michael@0 | 7426 | * src/cff/cffcmap.c: Remove compiler warnings. |
michael@0 | 7427 | * src/cache/ftccache.c, src/cache/ftccache.i, |
michael@0 | 7428 | src/pfr/pfrload.c, src/pfr/pfrgload.c: s/index/idx/. |
michael@0 | 7429 | * src/cff/cffload.c: s/select/fdselect/. |
michael@0 | 7430 | * src/raster/ftraster.c: s/wait/waiting/. |
michael@0 | 7431 | |
michael@0 | 7432 | 2002-08-01 Graham Asher <graham.asher@btinternet.com> |
michael@0 | 7433 | |
michael@0 | 7434 | * src/type1/t1load.c (T1_Open_Face): Tolerate a face with no |
michael@0 | 7435 | charstrings if there is an incremental loading interface. Type 1 |
michael@0 | 7436 | faces supplied by PostScript interpreters like GhostScript will |
michael@0 | 7437 | typically not provide any charstrings at load time, so this is |
michael@0 | 7438 | essential if they are to work. |
michael@0 | 7439 | |
michael@0 | 7440 | 2002-08-01 Graham Asher <graham.asher@btinternet.com> |
michael@0 | 7441 | |
michael@0 | 7442 | Modified incremental loading interface to be closer to David's |
michael@0 | 7443 | preferences. The header freetype.h is not now affected, the |
michael@0 | 7444 | interface is specified via an FT_Parameter, the pointer to the |
michael@0 | 7445 | interface is hidden in an internal part of the face record, and all |
michael@0 | 7446 | the definitions are in ftincrem.h. |
michael@0 | 7447 | |
michael@0 | 7448 | * include/freetype/freetype.h [FT_CONFIG_OPTION_INCREMENTAL]: |
michael@0 | 7449 | Removed. |
michael@0 | 7450 | * include/freetype/internal/ftobjs.h [FT_CONFIG_OPTION_INCREMENTAL]: |
michael@0 | 7451 | Include FT_INCREMENTAL_H. |
michael@0 | 7452 | (FT_Face_InternalRec) [FT_CONFIG_OPTION_INCREMENTAL]: Add |
michael@0 | 7453 | `incremental_interface'. |
michael@0 | 7454 | |
michael@0 | 7455 | * src/base/ftobjs.c (open_face, FT_Open_Face) |
michael@0 | 7456 | [FT_CONFIG_OPTION_INCREMENTAL]: Updated. |
michael@0 | 7457 | * src/sfnt/sfobjs.c (SFNT_Load_Face) [FT_CONFIG_OPTION_INCREMENTAL]: |
michael@0 | 7458 | Updated. |
michael@0 | 7459 | |
michael@0 | 7460 | * src/truetype/ttgload.c (load_truetype_glyph) |
michael@0 | 7461 | [FT_CONFIG_OPTION_INCREMENTAL]: Updated. |
michael@0 | 7462 | Free loaded glyph data properly. |
michael@0 | 7463 | (compute_glyph_metrics, TT_Load_Glyph) |
michael@0 | 7464 | [FT_CONFIG_OPTION_INCREMENTAL]: Updated. |
michael@0 | 7465 | * src/truetype/ttobjs.c (TT_Face_Init) |
michael@0 | 7466 | [FT_CONFIG_OPTION_INCREMENTAL]: Updated. |
michael@0 | 7467 | |
michael@0 | 7468 | * src/type1/t1gload.c (T1_Parse_Glyph_And_Get_Char_String) |
michael@0 | 7469 | [FT_CONFIG_OPTION_INCREMENTAL]: Updated. |
michael@0 | 7470 | (T1_Parse_Glyph) [FT_CONFIG_OPTION_INCREMENTAL]: Updated. |
michael@0 | 7471 | Free loaded glyph data properly. |
michael@0 | 7472 | (T1_Load_Glyph): Updated. |
michael@0 | 7473 | [FT_CONFIG_OPTION_INCREMENTAL]: Free loaded glyph data properly. |
michael@0 | 7474 | |
michael@0 | 7475 | 2002-07-30 David Turner <david@freetype.org> |
michael@0 | 7476 | |
michael@0 | 7477 | * include/freetype/ftincrem.h: Adding new experimental header file |
michael@0 | 7478 | to demonstrate a `cleaner' API to support incremental font loading. |
michael@0 | 7479 | |
michael@0 | 7480 | * include/freetype/config/ftheader.h (FT_INCREMENTAL_H): New macro. |
michael@0 | 7481 | |
michael@0 | 7482 | * src/tools/docmaker/*: Adding new (more advanced) version of |
michael@0 | 7483 | the DocMaker tool, using Python's sophisticated regexps. |
michael@0 | 7484 | |
michael@0 | 7485 | 2002-07-28 Werner Lemberg <wl@gnu.org> |
michael@0 | 7486 | |
michael@0 | 7487 | s/ft_memset/FT_MEM_SET/. |
michael@0 | 7488 | s/FT_MEM_SET/FT_MEM_ZERO/ where appropriate. |
michael@0 | 7489 | |
michael@0 | 7490 | 2002-07-27 Werner Lemberg <wl@gnu.org> |
michael@0 | 7491 | |
michael@0 | 7492 | * src/sfnt/ttload.c (sfnt_dir_check): Make it work with TTCs. |
michael@0 | 7493 | |
michael@0 | 7494 | 2002-07-26 Werner Lemberg <wl@gnu.org> |
michael@0 | 7495 | |
michael@0 | 7496 | * src/truetype/ttgload.c (load_truetype_glyph) |
michael@0 | 7497 | [FT_CONFIG_OPTION_INCREMENTAL]: s/memset/ft_memset/. |
michael@0 | 7498 | |
michael@0 | 7499 | * src/autohint/ahhint.c (ah_hint_edges_3): Fix compiler warning. |
michael@0 | 7500 | * src/cff/cffload.c (cff_encoding_load): Remove `memory' variable. |
michael@0 | 7501 | * src/cff/cffcmap.c (cff_cmap_encoding_init): Remove `psnames' |
michael@0 | 7502 | variable. |
michael@0 | 7503 | * src/truetype/ttgload.c (load_truetype_glyph): Remove statement |
michael@0 | 7504 | without effect. |
michael@0 | 7505 | * src/truetype/ttdriver (Get_Char_Index, Get_Next_Char): Removed. |
michael@0 | 7506 | |
michael@0 | 7507 | * src/pshinter/pshalgo3.c (psh3_hint_table_record, |
michael@0 | 7508 | psh3_hint_table_init, psh3_hint_table_activate_mask): Fix error |
michael@0 | 7509 | message. |
michael@0 | 7510 | |
michael@0 | 7511 | 2002-07-24 Graham Asher <graham.asher@btinternet.com> |
michael@0 | 7512 | |
michael@0 | 7513 | * src/truetype/ttobjs.c: Fix for bug reported by Sven Neumann |
michael@0 | 7514 | [sven@gimp.org] on the FreeType development forum: `If |
michael@0 | 7515 | FT_CONFIG_OPTION_INCREMENTAL is undefined (this is the default), the |
michael@0 | 7516 | TrueType loader crashes in line 852 of src/truetype/ttgload.c when |
michael@0 | 7517 | it tries to access face->glyph_locations.' |
michael@0 | 7518 | |
michael@0 | 7519 | 2002-07-18 Graham Asher <graham.asher@btinternet.com> |
michael@0 | 7520 | |
michael@0 | 7521 | Added types and structures to support incremental typeface loading. |
michael@0 | 7522 | The FT_Incremental_Interface structure, defined in freetype.h, is |
michael@0 | 7523 | designed to be passed to FT_Open_Face to provide callback functions |
michael@0 | 7524 | to obtain glyph recipes and metrics, for fonts like those passed |
michael@0 | 7525 | from PostScript that do not necessarily provide all, or any, glyph |
michael@0 | 7526 | information, when first opened. |
michael@0 | 7527 | |
michael@0 | 7528 | * include/freetype/config/ftoption.h (FT_CONFIG_OPTION_INCREMENTAL): |
michael@0 | 7529 | New configuration macro to enable incremental face loading. By |
michael@0 | 7530 | default it is not defined. |
michael@0 | 7531 | |
michael@0 | 7532 | * include/freetype/freetype.h (FT_Basic_Glyph_Metrics, |
michael@0 | 7533 | FT_Get_Glyph_Data_Func, FT_Get_Glyph_Metrics_Func, |
michael@0 | 7534 | FT_Incremental_Interface_Funcs, FT_Incremental_Interface) |
michael@0 | 7535 | [FT_CONFIG_OPTION_INCREMENTAL]: New. |
michael@0 | 7536 | (FT_Open_Args, FT_FaceRec) [FT_CONFIG_OPTION_INCREMENTAL]: New field |
michael@0 | 7537 | `incremental_interface'. |
michael@0 | 7538 | (FT_Open_Flags) [FT_CONFIG_OPTION_INCREMENTAL]: New enum |
michael@0 | 7539 | `ft_open_incremental'. |
michael@0 | 7540 | |
michael@0 | 7541 | * include/freetype/fttypes.h: Include FT_CONFIG_CONFIG_H. |
michael@0 | 7542 | (FT_Data): New structure to represent binary data. |
michael@0 | 7543 | |
michael@0 | 7544 | * src/base/ftobjs.c (open_face) [FT_CONFIG_OPTION_INCREMENTAL]: |
michael@0 | 7545 | Add parameter for incremental loading. |
michael@0 | 7546 | (FT_Open_Face) [FT_CONFIG_OPTION_INCREMENTAL]: Use incremental |
michael@0 | 7547 | interface. |
michael@0 | 7548 | |
michael@0 | 7549 | * src/truetype/ttgload.c (load_truetype_glyph) |
michael@0 | 7550 | [FT_CONFIG_OPTION_INCREMENTAL]: Added the incremental loading system |
michael@0 | 7551 | for the TrueType driver. |
michael@0 | 7552 | (compute_glyph_metrics): Return FT_Error. |
michael@0 | 7553 | [FT_CONFIG_OPTION_INCREMENTAL]: Check for overriding metrics. |
michael@0 | 7554 | (TT_Load_Glyph) [FT_CONFIG_OPTION_INCREMENTAL]: Don't look for |
michael@0 | 7555 | the glyph table while handling an incremental font. |
michael@0 | 7556 | Get glyph offset. |
michael@0 | 7557 | |
michael@0 | 7558 | * src/truetype/ttobjs.c (TT_Face_Init) |
michael@0 | 7559 | [FT_CONFIG_OPTION_INCOREMENTAL]: Added the incremental loading |
michael@0 | 7560 | system for the TrueType driver. |
michael@0 | 7561 | |
michael@0 | 7562 | * src/cid/cidgload.c (cid_load_glyph) |
michael@0 | 7563 | [FT_CONFIG_OPTION_INCREMENTAL]: Added the incremental loading system |
michael@0 | 7564 | for the CID driver. |
michael@0 | 7565 | |
michael@0 | 7566 | * src/sfnt/sfobjs.c (SFNT_Load_Face) [FT_CONFIG_OPTION_INCREMENTAL]: |
michael@0 | 7567 | Changes to support incremental Type 42 fonts: Assume a font has |
michael@0 | 7568 | glyphs if it has an incremental interface object. |
michael@0 | 7569 | |
michael@0 | 7570 | * src/type1/t1gload.c (T1_Parse_Glyph): Renamed to... |
michael@0 | 7571 | (T1_Parse_Glyph_And_Get_Char_String): This. |
michael@0 | 7572 | [FT_CONFIG_OPTION_INCREMENTAL]: Added support for incrementally |
michael@0 | 7573 | loaded Type 1 faces. |
michael@0 | 7574 | (T1_Parse_Glyph): New function. |
michael@0 | 7575 | (T1_Load_Glyph): Updated. |
michael@0 | 7576 | |
michael@0 | 7577 | 2002-07-17 David Turner <david@freetype.org> |
michael@0 | 7578 | |
michael@0 | 7579 | Cleaning up the cache sub-system code; linear hashing is now the |
michael@0 | 7580 | default. |
michael@0 | 7581 | |
michael@0 | 7582 | * include/freetype/cache/ftccache.h, src/cache/ftccache.i, |
michael@0 | 7583 | src/cache/ftccache.c [!FTC_CACHE_USE_LINEAR_HASHING]: Removed. |
michael@0 | 7584 | (FTC_CACHE_USE_LINEAR_HASHING: Removed also. |
michael@0 | 7585 | |
michael@0 | 7586 | FT_CONFIG_OPTION_USE_CMAPS is now the default. |
michael@0 | 7587 | |
michael@0 | 7588 | * include/freetype/internal/ftdriver.h (FT_Driver_ClassRec): Remove |
michael@0 | 7589 | `get_char_index' and `get_next_char'. |
michael@0 | 7590 | |
michael@0 | 7591 | * include/freetype/config/ftoption.h, |
michael@0 | 7592 | include/freetype/internal/tttypes.h, src/base/ftobjs.c, |
michael@0 | 7593 | src/bdf/bdfdrivr.c, src/cff/cffobjs.c, src/pcf/pcfdrivr.c, |
michael@0 | 7594 | src/pfr/pfrdrivr.c, src/sfnt/sfobjs.c, src/sfnt/ttcmap0.c, |
michael@0 | 7595 | src/sfnt/ttcmap0.h, src/sfnt/ttload.c, src/type1/t1objs.c, |
michael@0 | 7596 | src/type42/t42objs.c, src/winfonts/winfnt.c |
michael@0 | 7597 | [!FT_CONFIG_OPTION_USE_CMAPS]: Removed. The new cmap code is now |
michael@0 | 7598 | the default. |
michael@0 | 7599 | |
michael@0 | 7600 | * src/type42/t42objs.c (T42_CMap_CharIndex, T42_CMap_CharNext): |
michael@0 | 7601 | Removed. |
michael@0 | 7602 | * src/type42/t42objs.h: Updated. |
michael@0 | 7603 | |
michael@0 | 7604 | * src/cid/cidriver.c (Cid_Get_Char_Index, Cid_Get_Next_Char): |
michael@0 | 7605 | Removed. |
michael@0 | 7606 | (t1_cid_driver_class): Updated. |
michael@0 | 7607 | * src/truetype/ttdriver.c (tt_driver_class): Updated. |
michael@0 | 7608 | * src/type1/t1driver.c (Get_Char_Index, Get_Next_Char): Removed |
michael@0 | 7609 | (t1_driver_class): Updated. |
michael@0 | 7610 | * src/type42/t42drivr.c (t42_driver_class): Updated. |
michael@0 | 7611 | |
michael@0 | 7612 | * src/base/ftobjs.c (open_face): Select Unicode cmap by default. |
michael@0 | 7613 | |
michael@0 | 7614 | * src/sfnt/ttload.c (TT_Load_SFNT_Header): Fixed a recent bug that |
michael@0 | 7615 | prevented OpenType fonts to be recognized by FreeType. |
michael@0 | 7616 | |
michael@0 | 7617 | 2002-07-11 David Turner <david@freetype.org> |
michael@0 | 7618 | |
michael@0 | 7619 | Changing the SFNT loader to check for SFNT-based font files |
michael@0 | 7620 | differently. We now ignore the range `helper' fields and check the |
michael@0 | 7621 | `head' table's magic number instead. |
michael@0 | 7622 | |
michael@0 | 7623 | * include/freetype/internal/tttypes.h (SFNT_HeaderRec): Add `offset' |
michael@0 | 7624 | field. |
michael@0 | 7625 | |
michael@0 | 7626 | * src/sfnt/ttload.c (sfnt_dir_check): New function. |
michael@0 | 7627 | (TT_Load_SFNT_HeaderRec): Renamed to... |
michael@0 | 7628 | (TT_Load_SFNT_Header): This. |
michael@0 | 7629 | Implement new functionality. |
michael@0 | 7630 | * src/sfnt/ttload.h: Updated. |
michael@0 | 7631 | * src/sfnt/sfdriver.c (sfnt_interface): Updated. |
michael@0 | 7632 | |
michael@0 | 7633 | * src/base/ftobject.c, src/base/fthash.c: Updated object sub-system |
michael@0 | 7634 | and dynamic hash table implementation (still experimental, don't |
michael@0 | 7635 | use). |
michael@0 | 7636 | * include/freetype/internal/fthash.h: Updated. |
michael@0 | 7637 | * include/freetype/internal/ftobjs.h (FT_LibraryRec): New member |
michael@0 | 7638 | `meta_class'. |
michael@0 | 7639 | |
michael@0 | 7640 | Fixing a bug in the Type 1 loader that prevented valid font bounding |
michael@0 | 7641 | boxes to be loaded from multiple master fonts. |
michael@0 | 7642 | |
michael@0 | 7643 | * include/freetype/t1tables.h (PS_BlendRec): Add `bboxes' field. |
michael@0 | 7644 | |
michael@0 | 7645 | * include/freetype/internal/psaux.h (T1_FieldType): Add |
michael@0 | 7646 | `T1_FIELD_TYPE_BBOX'. |
michael@0 | 7647 | (T1_FieldLocation): Add `T1_FIELD_LOCATION_BBOX'. |
michael@0 | 7648 | (T1_FIELD_BBOX): New macro. |
michael@0 | 7649 | |
michael@0 | 7650 | * src/psaux/psobjs.c (PS_Parser_LoadField): Handle T1_FIELD_TYPE_BBOX. |
michael@0 | 7651 | * src/type1/t1load.c (t1_allocate_blend): Create blend->bboxes. |
michael@0 | 7652 | (T1_Done_Blend): Free blend->bboxes. |
michael@0 | 7653 | (t1_load_keyword): Handle T1_FIELD_LOCATION_BBOX. |
michael@0 | 7654 | (parse_font_bbox): Commented out. |
michael@0 | 7655 | (t1_keywords): Comment out `parse_font_bbox'. |
michael@0 | 7656 | * src/type1/t1tokens.h: Define `FontBBox' field. |
michael@0 | 7657 | |
michael@0 | 7658 | 2002-07-10 David Turner <david@freetype.org> |
michael@0 | 7659 | |
michael@0 | 7660 | * src/cff/cffobjs.c: Small fix to select the Unicode charmap by |
michael@0 | 7661 | default when needed. |
michael@0 | 7662 | Small fix to allow OpenType fonts to support Adobe charmaps when |
michael@0 | 7663 | needed. |
michael@0 | 7664 | |
michael@0 | 7665 | * src/cff/cffcmap.c, src/cff/cffcmap.h: New files to support |
michael@0 | 7666 | charmaps for CFF fonts. |
michael@0 | 7667 | |
michael@0 | 7668 | * src/cff/cff.c, src/cff/Jamfile, src/cff/rules.mk: Updated. |
michael@0 | 7669 | |
michael@0 | 7670 | * include/freetype/internal/cfftypes.h (CFF_EncodingRec): Use |
michael@0 | 7671 | fixed-length arrays for `sids' and `codes'. Add `count' member. |
michael@0 | 7672 | (CFF_FontRec): Add `psnames' member. |
michael@0 | 7673 | |
michael@0 | 7674 | * src/cff/cffdrivr.c, src/cff/cffload.c, src/cff/cffload.h, |
michael@0 | 7675 | src/cff/cffobjs.c, src/cff/cffobjs.h, src/cff/cffparse.c, |
michael@0 | 7676 | src/cffparse.h, src/cff/cffgload.c, src/cff/cffgload.h: Adding |
michael@0 | 7677 | support for CFF charmaps, reformatting the sources, and removing |
michael@0 | 7678 | some bugs in the Encoding and Charset loaders. |
michael@0 | 7679 | Many fonts renamed to use lowercase only: |
michael@0 | 7680 | |
michael@0 | 7681 | CFF_Builder_Init -> cff_builder_init |
michael@0 | 7682 | CFF_Builder_Done -> cff_builder_done |
michael@0 | 7683 | CFF_Init_Decoder -> cff_decoder_init |
michael@0 | 7684 | CFF_Parse_CharStrings -> cff_decoder_parse_charstrings |
michael@0 | 7685 | CFF_Load_Glyph -> cff_slot_load |
michael@0 | 7686 | CFF_Init_Decoder -> cff_decoder_init |
michael@0 | 7687 | CFF_Prepare_Decoder -> cff_decoder_prepare |
michael@0 | 7688 | CFF_Get_Standard_Encoding -> cff_get_standard_encoding |
michael@0 | 7689 | CFF_Access_Element -> cff_index_access_element |
michael@0 | 7690 | CFF_Forget_Element -> cff_index_forget_element |
michael@0 | 7691 | CFF_Get_Name -> cff_index_get_name |
michael@0 | 7692 | CFF_Get_String -> cff_index_get_sid_string |
michael@0 | 7693 | CFF_Get_FD -> cff_fd_select_get |
michael@0 | 7694 | CFF_Done_Charset -> cff_charset_done |
michael@0 | 7695 | CFF_Load_Charset -> cff_charset_load |
michael@0 | 7696 | CFF_Done_Encoding -> cff_encoding_done |
michael@0 | 7697 | CFF_Load_Encoding -> cff_encoding_load |
michael@0 | 7698 | CFF_Done_SubFont -> cff_subfont_done |
michael@0 | 7699 | CFF_Load_Font -> cff_font_load |
michael@0 | 7700 | CFF_Done_Font -> cff_font_done |
michael@0 | 7701 | CFF_Size_Get_Global_Funcs -> cff_size_get_global_funcs |
michael@0 | 7702 | CFF_Size_Done -> cff_size_done |
michael@0 | 7703 | CFF_Size_Init -> cff_size_init |
michael@0 | 7704 | CFF_Size_Reset -> cff_size_reset |
michael@0 | 7705 | CFF_GlyphSlot_Done -> cff_slot_done |
michael@0 | 7706 | CFF_GlyphSlot_Init -> cff_slot_init |
michael@0 | 7707 | CFF_StrCopy -> cff_strcpy |
michael@0 | 7708 | CFF_Face_Init -> cff_face_init |
michael@0 | 7709 | CFF_Face_Done -> cff_face_done |
michael@0 | 7710 | CFF_Driver_Init -> cff_driver_init |
michael@0 | 7711 | CFF_Driver_Done -> cff_driver_done |
michael@0 | 7712 | CFF_Parser_Init -> cff_parser_init |
michael@0 | 7713 | CFF_Parser_Run -> cff_parser_run |
michael@0 | 7714 | |
michael@0 | 7715 | add_point -> cff_builder_add_point |
michael@0 | 7716 | add_point1 -> cff_builder_add_point1 |
michael@0 | 7717 | add_contour -> cff_builder_add_contour |
michael@0 | 7718 | close_contour -> cff_builder_close_contour |
michael@0 | 7719 | cff_explicit_index -> cff_index_get_pointers |
michael@0 | 7720 | |
michael@0 | 7721 | 2002-07-09 Owen Taylor <owen@redhat.com> |
michael@0 | 7722 | |
michael@0 | 7723 | * src/pshinter/pshglob.c (psh_globals_new): Fixed a bug that |
michael@0 | 7724 | prevented the hinter from using correct standard width and height |
michael@0 | 7725 | values, resulting in hinting bugs with certain fonts (e.g. Utopia). |
michael@0 | 7726 | |
michael@0 | 7727 | 2002-07-07 David Turner <david@freetype.org> |
michael@0 | 7728 | |
michael@0 | 7729 | * src/base/ftglyph.c (FT_Glyph_To_Bitmap): Added code to return |
michael@0 | 7730 | successfully when the function is called with a bitmap glyph (the |
michael@0 | 7731 | previous code simply returned with an error). |
michael@0 | 7732 | |
michael@0 | 7733 | * docs/DEBUG.TXT: Adding debugging support documentation. |
michael@0 | 7734 | |
michael@0 | 7735 | * src/base/ftdebug.c (ft_debug_init), builds/win32/ftdebug.c |
michael@0 | 7736 | (ft_debug_init), builds/amiga/src/ftdebug.c (ft_debug_init): Changed |
michael@0 | 7737 | the syntax of the FT2_DEBUG environment variable used to control |
michael@0 | 7738 | debugging output (i.e. logging and error messages). It must now |
michael@0 | 7739 | look like: |
michael@0 | 7740 | |
michael@0 | 7741 | any:6 memory:4 io:3 or |
michael@0 | 7742 | any:6,memory:4,io:3 or |
michael@0 | 7743 | any:6;memory:4;io:3 |
michael@0 | 7744 | |
michael@0 | 7745 | 2002-07-07 Owen Taylor <owen@redhat.com> |
michael@0 | 7746 | |
michael@0 | 7747 | * src/pshinter/pshglob.c (psh_blues_snap_stem): Adding support for |
michael@0 | 7748 | blue fuzz. |
michael@0 | 7749 | * src/pshinter/pshglob.h (PSH_BluesRec): Add `blue_fuzz' field. |
michael@0 | 7750 | * src/type1/t1load.c (T1_Open_Face): Initialize `blue_fuzz'. |
michael@0 | 7751 | |
michael@0 | 7752 | Adding support for hinter-specific bit flags, and the new |
michael@0 | 7753 | FT_Set_Hint_Flags high-level API. |
michael@0 | 7754 | |
michael@0 | 7755 | * include/freetype/freetype.h (FT_Set_Hint_Flags): New function. |
michael@0 | 7756 | (FT_HINT_NO_INTEGER_STEM, FT_HINT_NO_HSTEM_ALIGN, |
michael@0 | 7757 | FT_HINT_NO_VSTEM_ALIGN): New macros. |
michael@0 | 7758 | |
michael@0 | 7759 | * include/freetype/internal/ftobjs.h (FT_Face_InternalRec): Add |
michael@0 | 7760 | `hint_flags' member. |
michael@0 | 7761 | |
michael@0 | 7762 | * src/base/ftobjs.c (FT_Set_Hint_Flags): New function. |
michael@0 | 7763 | |
michael@0 | 7764 | * include/freetype/internal/psaux.h (T1_DecoderRec): Add `hint_flags' |
michael@0 | 7765 | member. |
michael@0 | 7766 | |
michael@0 | 7767 | * include/freetype/internal/pshints.h (T1_Hints_ApplyFunc, |
michael@0 | 7768 | T2_Hints_ApplyFunc): Add parameter to pass hint flags. |
michael@0 | 7769 | |
michael@0 | 7770 | * src/psaux/t1decode.c (T1_Decoder_Parse_Charstrings, |
michael@0 | 7771 | T1_Decoder_Init): Use decoder->hint_flags. |
michael@0 | 7772 | * src/cff/cffgload.h (CFF_Builder): Add `hint_flags' field. |
michael@0 | 7773 | * src/cff/cffgload.c (CFF_Builder_Init): Set builder->hint_flags. |
michael@0 | 7774 | (CFF_Parse_CharStrings): Updated. |
michael@0 | 7775 | * src/pshinter/pshalgo1.c (ps1_hints_apply): Add parameter to handle |
michael@0 | 7776 | hint flags (unused). |
michael@0 | 7777 | * src/pshinter/pshalgo1.h: Updated. |
michael@0 | 7778 | * src/pshinter/pshalgo2.c (ps2_hints_apply): Add parameter to handle |
michael@0 | 7779 | hint flags (unused). |
michael@0 | 7780 | * src/pshinter/pshalgo2.h: Updated. |
michael@0 | 7781 | * src/pshinter/pshalgo3.c (ps3_hints_apply): Add parameter to handle |
michael@0 | 7782 | hint flags. |
michael@0 | 7783 | * src/pshinter/pshalgo3.h: Updated. |
michael@0 | 7784 | |
michael@0 | 7785 | 2002-07-04 David Turner <david@freetype.org> |
michael@0 | 7786 | |
michael@0 | 7787 | * src/pfr/pfrobjs.c (pfr_slot_load): Fixed a small bug that returned |
michael@0 | 7788 | incorrect advances when the outline resolution was different from |
michael@0 | 7789 | the metrics resolution. |
michael@0 | 7790 | |
michael@0 | 7791 | * src/autohint/ahhint.c: Removing compiler warnings. |
michael@0 | 7792 | |
michael@0 | 7793 | * src/autohint/ahglyph.c: s/FT_MEM_SET/FT_ZERO/ where appropriate. |
michael@0 | 7794 | (ah_outline_link_segments): Slight improvements to the serif |
michael@0 | 7795 | detection code. More work is needed though. |
michael@0 | 7796 | |
michael@0 | 7797 | 2002-07-03 David Turner <david@freetype.org> |
michael@0 | 7798 | |
michael@0 | 7799 | Small improvements to the automatic hinter. Uneven stem-widths have |
michael@0 | 7800 | now disappeared and everything looks much better, even if there are |
michael@0 | 7801 | still issues with serifed fonts. |
michael@0 | 7802 | |
michael@0 | 7803 | * src/autohint/ahtypes.h (AH_Globals): Added `stds' array. |
michael@0 | 7804 | * src/autohint/ahhint.c (OPTIM_STEM_SNAP): New #define. |
michael@0 | 7805 | (ah_snap_width): Commented out. |
michael@0 | 7806 | (ah_align_linked_edge): Renamed to... |
michael@0 | 7807 | (ah_compute_stem_width): This. |
michael@0 | 7808 | Don't allow uneven stem-widths. |
michael@0 | 7809 | (ah_align_linked_edge): New function. |
michael@0 | 7810 | (ah_align_serifed_edge): Don't strengthen serifs. |
michael@0 | 7811 | (ah_hint_edges_3, ah_hinter_scale_globals): Updated. |
michael@0 | 7812 | |
michael@0 | 7813 | 2002-07-03 Owen Taylor <owen@redhat.com> |
michael@0 | 7814 | |
michael@0 | 7815 | Adding new algorithm based on Owen Taylor's recent work. |
michael@0 | 7816 | |
michael@0 | 7817 | * src/pshinter/pshalgo3.c, src/pshinter/pshalgo3.h: New files. |
michael@0 | 7818 | * src/pshinter/pshalgo.h: Updated. |
michael@0 | 7819 | Use pshalgo3 by default. |
michael@0 | 7820 | * src/pshinter/pshinter.c: Include pshalgo3.c. |
michael@0 | 7821 | |
michael@0 | 7822 | * src/pshinter/Jamfile, src/pshinter/rules.mk: Updated. |
michael@0 | 7823 | |
michael@0 | 7824 | 2002-07-01 Owen Taylor <owen@redhat.com> |
michael@0 | 7825 | |
michael@0 | 7826 | * src/pshinter/pshalgo2.c (psh2_glyph_find_strong_points): Fix a bug |
michael@0 | 7827 | where, if a glyph has more than hint mask, the second mask gets |
michael@0 | 7828 | applied to points that should have been covered by the first mask. |
michael@0 | 7829 | |
michael@0 | 7830 | 2002-07-01 Keith Packard <keithp@keithp.com> |
michael@0 | 7831 | |
michael@0 | 7832 | * src/sfnt/ttcmap0.c (tt_cmap8_char_next, tt_cmap12_char_next): |
michael@0 | 7833 | Fixing the cmap 8 and 12 parsing routines. |
michael@0 | 7834 | |
michael@0 | 7835 | 2002-07-01 David Turner <david@freetype.org> |
michael@0 | 7836 | |
michael@0 | 7837 | * src/base/ftsynth.c: Include FT_TRIGONOMETRY_H. |
michael@0 | 7838 | (FT_Outline_Embolden): Renamed to... |
michael@0 | 7839 | (FT_GlyphSlot_Embolden): This. |
michael@0 | 7840 | Updated to new trigonometric functions. |
michael@0 | 7841 | (FT_Outline_Oblique): Renamed to... |
michael@0 | 7842 | (FT_GlyphSlot_Oblique): This. |
michael@0 | 7843 | (ft_norm): Removed. |
michael@0 | 7844 | * include/freetype/ftsynth.h: Updated. |
michael@0 | 7845 | |
michael@0 | 7846 | 2002-06-26 David Turner <david@freetype.org> |
michael@0 | 7847 | |
michael@0 | 7848 | * include/freetype/internal/ftobject.h: Updating the object |
michael@0 | 7849 | sub-system definitions (still experimental). |
michael@0 | 7850 | |
michael@0 | 7851 | * src/base/fthash.c (ft_hash_remove): Fixing a small reallocation |
michael@0 | 7852 | bug. |
michael@0 | 7853 | |
michael@0 | 7854 | * src/base/fttrigon.c (FT_Vector_From_Polar, FT_Angle_Diff): New |
michael@0 | 7855 | functions. |
michael@0 | 7856 | * include/freetype/fttrigon.h: Updated. |
michael@0 | 7857 | |
michael@0 | 7858 | |
michael@0 | 7859 | Adding path stroker component (work in progress). |
michael@0 | 7860 | |
michael@0 | 7861 | * include/freetype/ftstroker.h, src/base/ftstroker.c: New files. |
michael@0 | 7862 | * src/base/Jamfile: Updated. |
michael@0 | 7863 | |
michael@0 | 7864 | * include/freetype/config/ftheader.h (FT_STROKER_H): New macro. |
michael@0 | 7865 | |
michael@0 | 7866 | |
michael@0 | 7867 | * src/truetype/ttgload.c (TT_Load_Composite_Glyph), |
michael@0 | 7868 | src/base/ftoutln.c (FT_Vector_Transform): Fixed Werner's latest fix. |
michael@0 | 7869 | FT_Vector_Transform wasn't buggy, the TrueType composite loader was. |
michael@0 | 7870 | |
michael@0 | 7871 | 2002-06-24 Werner Lemberg <wl@gnu.org> |
michael@0 | 7872 | |
michael@0 | 7873 | * include/freetype/freetype.h (FREETYPE_PATCH): Set to 3. |
michael@0 | 7874 | |
michael@0 | 7875 | 2002-06-21 David Turner <david@freetype.org> |
michael@0 | 7876 | |
michael@0 | 7877 | |
michael@0 | 7878 | * Version 2.1.2 released. |
michael@0 | 7879 | ========================= |
michael@0 | 7880 | |
michael@0 | 7881 | |
michael@0 | 7882 | 2002-06-21 Roberto Alameda <ojancano@geekmail.de>. |
michael@0 | 7883 | |
michael@0 | 7884 | * include/freetype/internal/t42types.h (T42_Font): Removed since |
michael@0 | 7885 | it is already in t42objs.h. |
michael@0 | 7886 | (T42_Face): Use T1_FontRec. |
michael@0 | 7887 | |
michael@0 | 7888 | * src/base/fttype1.c (FT_Get_PS_Font_Info): Updated. |
michael@0 | 7889 | (FT_Has_PS_Glyph_Names): Check for type42 driver name also. |
michael@0 | 7890 | * src/type42/t42objs.h: Include FT_INTERNAL_TYPE42_TYPES_H. |
michael@0 | 7891 | (T42_Face): Removed since it is already in t42types.h. |
michael@0 | 7892 | |
michael@0 | 7893 | 2002-06-21 Detlef Würkner <TetiSoft@apg.lahn.de> |
michael@0 | 7894 | |
michael@0 | 7895 | * src/pfrgload.c (pfr_glyph_load_compound): Fix loading of composite |
michael@0 | 7896 | glyphs. |
michael@0 | 7897 | |
michael@0 | 7898 | 2002-06-21 Sven Neumann <sven@convergence.de> |
michael@0 | 7899 | |
michael@0 | 7900 | * src/prf/pfrtypes.h (PFR_KernPair): New structure. |
michael@0 | 7901 | (PFR_PhyFont): Use it. |
michael@0 | 7902 | (PFR_KernFlags): New enumeration. |
michael@0 | 7903 | * src/pfr/pfrload.c (pfr_extra_item_load_kerning_pairs): New |
michael@0 | 7904 | function. |
michael@0 | 7905 | (pfr_phy_font_extra_items): Use it. |
michael@0 | 7906 | (pfr_phy_font_done): Updated. |
michael@0 | 7907 | * src/pfr/pfrobjs.c (pfr_face_init): Set kerning flag conditionally. |
michael@0 | 7908 | (pfr_face_get_kerning): New function. |
michael@0 | 7909 | * src/pfr/pfrobjs.h: Updated. |
michael@0 | 7910 | * src/pfr/pfrdrivr.c (pfr_driver_class): Updated. |
michael@0 | 7911 | |
michael@0 | 7912 | 2002-06-21 David Turner <david@freetype.org> |
michael@0 | 7913 | |
michael@0 | 7914 | * README, docs/CHANGES: Preparing the 2.1.2 release. |
michael@0 | 7915 | |
michael@0 | 7916 | 2002-06-19 Detlef Würkner <TetiSoft@apg.lahn.de> |
michael@0 | 7917 | |
michael@0 | 7918 | * src/base/fttype1.c: Include FT_INTERNAL_TYPE42_TYPES_H. |
michael@0 | 7919 | (t1_face_check_cast): Removed. |
michael@0 | 7920 | (FT_Get_PS_Font_Info): Make it work with CID and Type 42 drivers |
michael@0 | 7921 | also. |
michael@0 | 7922 | |
michael@0 | 7923 | 2002-06-19 Sebastien BARRE <http://barre.nom.fr/contact.html#email> |
michael@0 | 7924 | |
michael@0 | 7925 | * src/type42/t42parse.c (t42_parse_sfnts): Fix compiler warning. |
michael@0 | 7926 | |
michael@0 | 7927 | 2002-06-19 Werner Lemberg <wl@gnu.org> |
michael@0 | 7928 | |
michael@0 | 7929 | * src/base/ftoutln.c (FT_Vector_Transform): Fix serious typo |
michael@0 | 7930 | (xy <-> yx). |
michael@0 | 7931 | * src/truetype/ttgload.c (load_truetype_glyph): Replace `|' with |
michael@0 | 7932 | `||' to make code easier to read. |
michael@0 | 7933 | |
michael@0 | 7934 | 2002-06-18 Roberto Alameda <ojancano@geekmail.de>. |
michael@0 | 7935 | |
michael@0 | 7936 | * src/type42/t42objs.c (t42_check_size_change): Removed. |
michael@0 | 7937 | (T42_Size_SetChars, T42_Size_SetPixels): Use FT_Activate_Size |
michael@0 | 7938 | instead. |
michael@0 | 7939 | (T42_GlyphSlot_Load): Remove call to t42_check_size_change. |
michael@0 | 7940 | |
michael@0 | 7941 | 2002-06-18 Detlef Würkner <TetiSoft@apg.lahn.de> |
michael@0 | 7942 | |
michael@0 | 7943 | * src/psaux/t1cmap.c (t1_cmap_custom_char_index, |
michael@0 | 7944 | t1_cmap_custom_char_next): Fix index computation -- indices start |
michael@0 | 7945 | with 0 and not with cmap->first. |
michael@0 | 7946 | |
michael@0 | 7947 | Provide default charmaps. |
michael@0 | 7948 | |
michael@0 | 7949 | * src/bdf/bdfdrivr.c (BDF_Face_Init), src/pcf/pcfdriver.c |
michael@0 | 7950 | (PCF_Face_Init), src/pfr/pfrobjs.c (pfr_face_init), |
michael@0 | 7951 | src/type1/t1objs (T1_Face_Init), src/winfonts/winfnt.c |
michael@0 | 7952 | (FNT_Face_Init): Implement it. |
michael@0 | 7953 | |
michael@0 | 7954 | 2002-06-17 Sven Neumann <sven@gimp.org> |
michael@0 | 7955 | |
michael@0 | 7956 | * src/pfr/pfrobjs.c (pfr_face_init): Fix typo. |
michael@0 | 7957 | |
michael@0 | 7958 | 2002-06-16 Leonard Rosenthol <leonardr@lazerware.com> |
michael@0 | 7959 | |
michael@0 | 7960 | Updated Win32/VC++ projects to include the new PFR driver. |
michael@0 | 7961 | |
michael@0 | 7962 | * builds/win32/visualc/freetype.dsp: Updated. |
michael@0 | 7963 | |
michael@0 | 7964 | 2002-06-16 Anthony Fok <fok@debian.org> |
michael@0 | 7965 | |
michael@0 | 7966 | Install freetype2.m4. |
michael@0 | 7967 | |
michael@0 | 7968 | * builds/unix/install.mk (install, uninstall): Handle it. |
michael@0 | 7969 | |
michael@0 | 7970 | 2002-06-16 Detlef Würkner <TetiSoft@apg.lahn.de> |
michael@0 | 7971 | |
michael@0 | 7972 | Same fix for PFR driver. |
michael@0 | 7973 | |
michael@0 | 7974 | * src/pfr/pfrcmap.c (pfr_cmap_char_index, pfr_cmap_char_next): |
michael@0 | 7975 | Increase return value by 1. |
michael@0 | 7976 | * src/pfr/pfrobjs.c (pfr_slot_load): Decrease index by 1. |
michael@0 | 7977 | |
michael@0 | 7978 | 2002-06-15 Detlef Würkner <TetiSoft@apg.lahn.de> |
michael@0 | 7979 | |
michael@0 | 7980 | Fix glyph indices to make index zero always the undefined glyph. |
michael@0 | 7981 | |
michael@0 | 7982 | * src/bdf/bdfdrivr.c (bdf_cmap_init): Don't decrease |
michael@0 | 7983 | cmap->num_encodings. |
michael@0 | 7984 | (bdf_cmap_char_index, bdf_cmap_char_next, BDF_Get_Char_Index): |
michael@0 | 7985 | Increase result by 1 for normal cases. |
michael@0 | 7986 | (BDF_Glyph_Load): Decrease index by 1. |
michael@0 | 7987 | |
michael@0 | 7988 | * src/pcf/pcfdriver.c (pcf_cmap_char_index, pcf_cmap_char_next, |
michael@0 | 7989 | PCF_Char_Get_Index): Increase result by 1 for normal cases. |
michael@0 | 7990 | (PCF_Glyph_Load): Decrease index by 1. |
michael@0 | 7991 | * src/pcf/pcfread.c (pcf_get_encodings): Don't decrease j for |
michael@0 | 7992 | allocating `encoding'. |
michael@0 | 7993 | |
michael@0 | 7994 | * src/base/ftobjs.c (FT_Load_Glyph, FT_Get_Glyph_Name): Fix |
michael@0 | 7995 | bounding tests. |
michael@0 | 7996 | |
michael@0 | 7997 | 2002-06-14 Detlef Würkner <TetiSoft@apg.lahn.de> |
michael@0 | 7998 | |
michael@0 | 7999 | Add new cmap support to BDF driver. |
michael@0 | 8000 | |
michael@0 | 8001 | * src/bdf/bdfdrivr.c (BDF_CMapRec) [FT_CONFIG_OPTION_USE_CMAPS]: |
michael@0 | 8002 | New structure. |
michael@0 | 8003 | (bdf_cmap_init, bdf_cmap_done, bdf_cmap_char_index, |
michael@0 | 8004 | bdf_cmap_char_next) [FT_CONFIG_OPTION_USE_CMAPS]: New functions. |
michael@0 | 8005 | (BDF_Get_Char_Index) [!FT_CONFIG_OPTION_USE_CMAPS]: Use only |
michael@0 | 8006 | conditionally. |
michael@0 | 8007 | (BDF_Face_Init): Handle `AVERAGE_WIDTH' and `POINT_SIZE' keywords. |
michael@0 | 8008 | Implement new cmap handling. |
michael@0 | 8009 | (bdf_driver_class): Updated. |
michael@0 | 8010 | |
michael@0 | 8011 | 2002-06-14 Werner Lemberg <wl@gnu.org> |
michael@0 | 8012 | |
michael@0 | 8013 | * Makefile, configure, */*.mk, builds/unix/unix-def.in, |
michael@0 | 8014 | docs/CHANGES, docs/INSTALL: s/TOP/TOP_DIR/. |
michael@0 | 8015 | |
michael@0 | 8016 | 2002-06-12 Werner Lemberg <wl@gnu.org> |
michael@0 | 8017 | |
michael@0 | 8018 | * src/bdf/bdflib.c: s/FT_Short/short/ for consistency. |
michael@0 | 8019 | |
michael@0 | 8020 | 2002-06-11 David Turner <david@freetype.org> |
michael@0 | 8021 | |
michael@0 | 8022 | * builds/win32/ftdebug.c: Added a missing #endif. |
michael@0 | 8023 | |
michael@0 | 8024 | * src/sfnt/ttload.c, src/bdf/bdflib.c: Removing compiler warnings. |
michael@0 | 8025 | |
michael@0 | 8026 | Removed the bug in Type 42 driver that prevented un-hinted outlines |
michael@0 | 8027 | to be loaded. |
michael@0 | 8028 | |
michael@0 | 8029 | * src/type42/t42objs.c (T42_Face_Init): Call FT_Done_Size. |
michael@0 | 8030 | (T42_Size_Init): Call FT_Activate_Size. |
michael@0 | 8031 | (t42_check_size_change): New function. |
michael@0 | 8032 | (T42_Size_SetChars, T42_Size_SetPixels): Use it. |
michael@0 | 8033 | (ft_glyphslot_clear): Replace FT_MEM_SET with FT_ZERO. |
michael@0 | 8034 | (T42_GlyphSlot_Load): Use t42_check_size_change. |
michael@0 | 8035 | Initialize more fields of `glyph'. |
michael@0 | 8036 | |
michael@0 | 8037 | * builds/win32/visualc/freetype.dsp: Updated. |
michael@0 | 8038 | |
michael@0 | 8039 | 2002-06-09 David Turner <david@freetype.org> |
michael@0 | 8040 | |
michael@0 | 8041 | |
michael@0 | 8042 | * Version 2.1.1 released. |
michael@0 | 8043 | ========================= |
michael@0 | 8044 | |
michael@0 | 8045 | |
michael@0 | 8046 | 2002-06-08 Juliusz Chroboczek <jch@pps.jussieu.fr> |
michael@0 | 8047 | |
michael@0 | 8048 | * include/freetype/internal/ftobjs.h, src/autohint/ahglyph.c, |
michael@0 | 8049 | src/base/ftobjs.c, src/sfnt/ttcmap0.c, src/smooth/ftgrays.c: Don't |
michael@0 | 8050 | use `setjmp', `longjmp', and `jmp_buf' but `ft_setjmp', `ft_longjmp', |
michael@0 | 8051 | and `ft_jmp_buf'. |
michael@0 | 8052 | Removed direct references to <stdio.h> and <setjmp.h> when |
michael@0 | 8053 | appropriate, to eventually replace them with a |
michael@0 | 8054 | FT_CONFIG_STANDARD_LIBRARY_H. Useful for the XFree86 Font Server |
michael@0 | 8055 | backend based on FT2. |
michael@0 | 8056 | |
michael@0 | 8057 | * src/base/fttype1.c (FT_Has_PS_Glyph_Names): Fix return value. |
michael@0 | 8058 | |
michael@0 | 8059 | 2002-06-08 David Turner <david@freetype.org> |
michael@0 | 8060 | |
michael@0 | 8061 | * src/pcf/pcfdriver.c (pcf_cmap_char_next): Fixed a bug that caused |
michael@0 | 8062 | the function to return invalid values. |
michael@0 | 8063 | |
michael@0 | 8064 | * src/cache/ftccache.i: Removing a typo that prevented |
michael@0 | 8065 | the source's compilation. |
michael@0 | 8066 | |
michael@0 | 8067 | * src/cache/ftccache.c (ftc_node_hash_unlink): Fixed a |
michael@0 | 8068 | bug that caused nasty memory overwrites. The hash table's |
michael@0 | 8069 | buckets array wasn't correctly resized when shrunk. |
michael@0 | 8070 | |
michael@0 | 8071 | 2002-06-08 Detlef Würkner <TetiSoft@apg.lahn.de> |
michael@0 | 8072 | |
michael@0 | 8073 | * builds/amiga/smakefile, builds/amiga/makefile: Updated. |
michael@0 | 8074 | |
michael@0 | 8075 | 2002-06-08 Werner Lemberg <wl@gnu.org> |
michael@0 | 8076 | |
michael@0 | 8077 | * src/cache/ftccache.c (ftc_node_hash_unlink, ftc_node_hash_link) |
michael@0 | 8078 | [FTC_CACHE_USE_LINEAR_HASHING]: Fix returned error code. |
michael@0 | 8079 | Fix debugging messages. |
michael@0 | 8080 | * src/cache/ftccache.i (GEN_CACHE_LOOKUP): Move declaration of |
michael@0 | 8081 | `family' and `hash' up to make it compilable with g++. |
michael@0 | 8082 | |
michael@0 | 8083 | * src/type42/t42error.h: New file. |
michael@0 | 8084 | * src/type42/t42drivr.c, src/type42/t42objs.c, |
michael@0 | 8085 | src/type42/t42parse.c: Use t42 error codes. |
michael@0 | 8086 | * src/type42/rules.mk: Updated. |
michael@0 | 8087 | |
michael@0 | 8088 | * src/base/ftnames.c: Include FT_INTERNAL_STREAM_H. |
michael@0 | 8089 | |
michael@0 | 8090 | 2002-06-08 David Turner <david@freetype.org> |
michael@0 | 8091 | |
michael@0 | 8092 | * src/cache/ftccmap.c: GEN_CACHE_FAMILY_COMPARE, |
michael@0 | 8093 | GEN_CACHE_NODE_COMPARE, GEN_CACHE_LOOKUP) [FTC_CACHE_USE_INLINE]: |
michael@0 | 8094 | New macros. |
michael@0 | 8095 | (ftc_cmap_cache_lookup) [!FTC_CACHE_USE_INLINE]: Typedef to |
michael@0 | 8096 | ftc_cache_lookup. |
michael@0 | 8097 | (FTC_CMapCache_Lookup): Updated. |
michael@0 | 8098 | |
michael@0 | 8099 | Adding various experimental optimizations to the cache manager. |
michael@0 | 8100 | |
michael@0 | 8101 | * include/freetype/cache/ftccache.h (FTC_CACHE_USE_INLINE, |
michael@0 | 8102 | FTC_CACHE_USE_LINEAR_HASHING): New options. |
michael@0 | 8103 | (FTC_CacheRec) [FTC_CACHE_USE_LINEAR_HASHING]: New elements `p', |
michael@0 | 8104 | `mask', and `slack'. |
michael@0 | 8105 | |
michael@0 | 8106 | * src/cache/ftccache.c (FTC_HASH_MAX_LOAD, FTC_HASH_MIN_LOAD, |
michael@0 | 8107 | FTC_HASH_SUB_LOAD) [FTC_CACHE_USE_LINEAR_HASHING, |
michael@0 | 8108 | FTC_HASH_INITIAL_SIZE]: New macros. |
michael@0 | 8109 | (ftc_node_mru_link, ftc_node_mru_up): Optimized. |
michael@0 | 8110 | (ftc_node_hash_unlink, ftc_node_hash_link) |
michael@0 | 8111 | [FTC_CACHE_USE_LINEAR_HASHING]: New variants. |
michael@0 | 8112 | (FTC_PRIMES_MIN, FTC_PRIMES_MAX, ftc_primes, ftc_prime_closest, |
michael@0 | 8113 | FTC_CACHE_RESIZE_TEST, ftc_cache_resize) |
michael@0 | 8114 | [!FTC_CACHE_USE_LINEAR_HASHING]: Define it conditionally. |
michael@0 | 8115 | (ftc_cache_init, ftc_cache_clear) [FTC_CACHE_USE_LINEAR_HASHING]: |
michael@0 | 8116 | Updated. |
michael@0 | 8117 | (ftc_cache_lookup) [FTC_CACHE_USE_LINEAR_HASHING]: Implement it. |
michael@0 | 8118 | |
michael@0 | 8119 | * src/cache/ftccache.i: New file. |
michael@0 | 8120 | |
michael@0 | 8121 | * src/cache/ftcsbits.c (GEN_CACHE_FAMILY_COMPARE, |
michael@0 | 8122 | GEN_CACHE_NODE_COMPARE, GEN_CACHE_LOOKUP) [FTC_CACHE_USE_INLINE]: |
michael@0 | 8123 | New macros. |
michael@0 | 8124 | (ftc_sbit_cache_lookup) [!FTC_CACHE_USE_INLINE]: Typedef to |
michael@0 | 8125 | ftc_cache_lookup. |
michael@0 | 8126 | (FTC_SBitCache_Lookup): Updated. |
michael@0 | 8127 | |
michael@0 | 8128 | * src/type42/t42parse.c: Removing duplicate function. |
michael@0 | 8129 | |
michael@0 | 8130 | 2002-06-07 Graham Asher <graham.asher@btinternet.com> |
michael@0 | 8131 | |
michael@0 | 8132 | * src/base/ftobjs.c (FT_Render_Glyph_Internal): Changed definition |
michael@0 | 8133 | from FT_EXPORT_DEF to FT_BASE_DEF. |
michael@0 | 8134 | |
michael@0 | 8135 | 2002-06-07 David Turner <david@freetype.org> |
michael@0 | 8136 | |
michael@0 | 8137 | Fixed the bug that prevented the correct display of fonts with |
michael@0 | 8138 | `ftview'. |
michael@0 | 8139 | |
michael@0 | 8140 | * src/type42/t42drivr.c: Split into... |
michael@0 | 8141 | * src/type42/t42drivr.h, src/type42/t42parse.c, |
michael@0 | 8142 | src/type42/t42parse.h, src/type42/t42objs.h, src/type42/t42objs.c, |
michael@0 | 8143 | src/type42/type42.c: New files. |
michael@0 | 8144 | |
michael@0 | 8145 | (t42_get_glyph_name, t42_get_ps_name, t42_get_name_index): Use |
michael@0 | 8146 | `face->type1'. |
michael@0 | 8147 | |
michael@0 | 8148 | (Get_Interface): Renamed to... |
michael@0 | 8149 | (T42_Get_Interface): This. |
michael@0 | 8150 | Updated. |
michael@0 | 8151 | (T42_Open_Face, T42_Face_Done): Updated. |
michael@0 | 8152 | (T42_Face_Init): Add new cmap support. |
michael@0 | 8153 | Updated. |
michael@0 | 8154 | (T42_Driver_Init, T42_Driver_Done, T42_Size_Init, T42_Size_Done, |
michael@0 | 8155 | T42_GlyphSlot_Init, T42_GlyphSlot_Done): Updated. |
michael@0 | 8156 | (Get_Char_Index, Get_Next_Char): Renamed to... |
michael@0 | 8157 | (T42_CMap_CharIndex, T42_CMap_CharNext): This. |
michael@0 | 8158 | Updated. |
michael@0 | 8159 | (T42_Char_Size, T42_Pixel_Size): Renamed to... |
michael@0 | 8160 | (T42_Size_SetChars, T42_Size_SetPixels): This. |
michael@0 | 8161 | (T42_Load_Glyph): Renamed to... |
michael@0 | 8162 | (T42_GlyphSlot_Load): This. |
michael@0 | 8163 | |
michael@0 | 8164 | (t42_init_loader, t42_done_loader): Renamed to... |
michael@0 | 8165 | (t42_loader_init, t42_loader_done): This. |
michael@0 | 8166 | (T42_New_Parser, T42_Finalize_Parser): Renamed to... |
michael@0 | 8167 | (t42_parser_init, t42_parser_done): This. |
michael@0 | 8168 | (parse_dict): Renamed to... |
michael@0 | 8169 | (t42_parse_dict): This. |
michael@0 | 8170 | (is_alpha, is_space, hexval): Renamed to... |
michael@0 | 8171 | (t42_is_alpha, t42_is_space, t42_hexval): This. |
michael@0 | 8172 | (parse_font_name, parse_font_bbox, parse_font_matrix, |
michael@0 | 8173 | parse_encoding, parse_sfnts, parse_charstrings, parse_dict): |
michael@0 | 8174 | Renamed to... |
michael@0 | 8175 | (t42_parse_font_name, t42_parse_font_bbox, t42_parse_font_matrix, |
michael@0 | 8176 | t42_parse_encoding, t42_parse_sfnts, t42_parse_charstrings, |
michael@0 | 8177 | t42_parse_dict): This. |
michael@0 | 8178 | Updated. |
michael@0 | 8179 | |
michael@0 | 8180 | (t42_keywords): Updated. |
michael@0 | 8181 | |
michael@0 | 8182 | * src/type42/Jamfile, src/type42/descrip.mms: Updated. |
michael@0 | 8183 | |
michael@0 | 8184 | 2002-06-03 Werner Lemberg <wl@gnu.org> |
michael@0 | 8185 | |
michael@0 | 8186 | Add 8bpp support to BDF driver. |
michael@0 | 8187 | |
michael@0 | 8188 | * src/bdf/bdflib.c (_bdf_parse_start): Handle 8bpp. |
michael@0 | 8189 | * src/bdf/bdfdrivr.c (BDF_Glyph_Load): Ditto. |
michael@0 | 8190 | * src/bdf/README: Updated. |
michael@0 | 8191 | |
michael@0 | 8192 | 2002-06-02 Detlef Würkner <TetiSoft@apg.lahn.de> |
michael@0 | 8193 | |
michael@0 | 8194 | * src/pfr/pfrload.c (pfr_phy_font_done): Free `blue_values' array. |
michael@0 | 8195 | |
michael@0 | 8196 | 2002-05-29 Detlef Würkner <TetiSoft@apg.lahn.de> |
michael@0 | 8197 | |
michael@0 | 8198 | * src/bdf/bdflib.c (_bdf_readstream): Allocate `buf' dynamically. |
michael@0 | 8199 | (_bdf_parse_glyphs): Use correct size for allocating |
michael@0 | 8200 | `font->unencoded'. |
michael@0 | 8201 | (bdf_load_font): Free array conditionally. |
michael@0 | 8202 | Return proper error code in case of failure. |
michael@0 | 8203 | * src/bdf/bdfdrivr.c (BDF_Face_Init): Make it more robust against |
michael@0 | 8204 | unusual fonts. |
michael@0 | 8205 | |
michael@0 | 8206 | 2002-05-29 Werner Lemberg <wl@gnu.org> |
michael@0 | 8207 | |
michael@0 | 8208 | * src/bdf/descrip.mms, src/type42/descrip.mms: New files. |
michael@0 | 8209 | * descrip.mms (all): Updated. |
michael@0 | 8210 | |
michael@0 | 8211 | * src/bdf/bdflib.c (_bdf_parse_glyphs): Fix typo which prevented |
michael@0 | 8212 | compilation. |
michael@0 | 8213 | * src/pshglob.c (psh_blues_scale_zones): Fix compiler warning. |
michael@0 | 8214 | |
michael@0 | 8215 | 2002-05-28 Detlef Würkner <TetiSoft@apg.lahn.de> |
michael@0 | 8216 | |
michael@0 | 8217 | * builds/amiga/makefile, builds/amiga/smakefile, |
michael@0 | 8218 | amiga/include/freetype/config/ftmodule.h: Updated to include |
michael@0 | 8219 | support for BDF and Type42 drivers. |
michael@0 | 8220 | |
michael@0 | 8221 | * docs/modules.txt: Updated. |
michael@0 | 8222 | |
michael@0 | 8223 | 2005-05-28 David Turner <david@freetype.org> |
michael@0 | 8224 | |
michael@0 | 8225 | * docs/CHANGES: Updating file for next release (2.1.1). |
michael@0 | 8226 | |
michael@0 | 8227 | * src/bdf/bdflib.c: Removing compiler warnings. |
michael@0 | 8228 | |
michael@0 | 8229 | * include/freetype/ftxf86.h, src/base/ftxf86.c: New files. |
michael@0 | 8230 | They provide a new API (FT_Get_X11_Font_Format) to retrieve an |
michael@0 | 8231 | X11-compatible string describing the font format of a given face. |
michael@0 | 8232 | This was put in a new optional base source file, corresponding to a |
michael@0 | 8233 | new public header (named FT_XFREE86_H since this function should |
michael@0 | 8234 | only be used within the XFree86 font server IMO). |
michael@0 | 8235 | |
michael@0 | 8236 | * include/freetype/config/ftheader.h (FT_XFREE86_H): New macro (not |
michael@0 | 8237 | documented yet). |
michael@0 | 8238 | |
michael@0 | 8239 | * src/base/fttype1.c: New file, providing two new API functions |
michael@0 | 8240 | (FT_Get_PS_Font_Info and FT_Has_PS_Glyph_Names). |
michael@0 | 8241 | * include/freetype/t1tables.h: Updated. |
michael@0 | 8242 | |
michael@0 | 8243 | * src/base/Jamfile, src/base/rules.mk, src/base/descrip.mms: |
michael@0 | 8244 | Updating build control files for the new files `ftxf86.c' and |
michael@0 | 8245 | `fttype1.c' in src/base. |
michael@0 | 8246 | |
michael@0 | 8247 | * src/pshinter/pshglob.c (psh_blues_scale_zones): Fixed a bug that |
michael@0 | 8248 | prevented family blue zones substitution from hapenning correctly. |
michael@0 | 8249 | |
michael@0 | 8250 | * include/freetype/ftbdf.h FT_Get_BDF_Charset_ID): Adding |
michael@0 | 8251 | documentation comment. |
michael@0 | 8252 | |
michael@0 | 8253 | 2002-05-28 Werner Lemberg <wl@gnu.org> |
michael@0 | 8254 | |
michael@0 | 8255 | * src/base/ftnames.c (FT_Get_Sfnt_Name): Don't use FT_STREAM_READ_AT |
michael@0 | 8256 | but FT_STREAM_READ. |
michael@0 | 8257 | Declare `stream' variable. |
michael@0 | 8258 | |
michael@0 | 8259 | * src/bdf/bdflib.c (_bdf_parse_glyphs): Replace floating point math |
michael@0 | 8260 | with calls to `FT_MulDiv'. |
michael@0 | 8261 | |
michael@0 | 8262 | 2002-05-28 David Turner <david@freetype.org> |
michael@0 | 8263 | |
michael@0 | 8264 | Fixing the SFNT name table loader to support various buggy fonts. |
michael@0 | 8265 | It now ignores empty name entries, entries with invalid pointer |
michael@0 | 8266 | Offsets and certain fonts containing tables with broken |
michael@0 | 8267 | `storageOffset' fields. |
michael@0 | 8268 | |
michael@0 | 8269 | Name strings are now loaded on demand, which reduces the memory |
michael@0 | 8270 | requirements for a given FT_Face tremendously (for example, the name |
michael@0 | 8271 | table of Arial.ttf is about 10Kb and contains 70 names). |
michael@0 | 8272 | |
michael@0 | 8273 | This is a temporary fix. The whole name table loader and interface |
michael@0 | 8274 | will be rewritten in a much more cleanly way shortly, once CSEH have |
michael@0 | 8275 | been introduced in the sources. |
michael@0 | 8276 | |
michael@0 | 8277 | * include/freetype/internal/tttypes.h (TT_NameEntryRec): Change |
michael@0 | 8278 | type of `stringOffset' to FT_ULong. |
michael@0 | 8279 | (TT_NameTableRec): Change type of `numNameRecords' and |
michael@0 | 8280 | `storageOffset' to FT_UInt. |
michael@0 | 8281 | Replace `storage' with `stream'. |
michael@0 | 8282 | * src/base/ftnames.c (FT_Get_Sfnt_Name): Load name on demand. |
michael@0 | 8283 | * src/sfnt/sfdriver.c (get_sfnt_postscript_name): Ditto. |
michael@0 | 8284 | Make code more robust. |
michael@0 | 8285 | * src/sfnt/sfobjs.c (TT_NameEntry_ConvertFunc): New typedef. |
michael@0 | 8286 | (tt_face_get_name): Use it. |
michael@0 | 8287 | Make code more robust. |
michael@0 | 8288 | * src/sfnt/ttload.c (TT_Load_Names): Use `static' for arrays. |
michael@0 | 8289 | Handle invalid `storageOffset' data better. |
michael@0 | 8290 | Set length fields to zero for invalid or ignored data. |
michael@0 | 8291 | Remove code within FT_DEBUG_LEVEL_TRACE. |
michael@0 | 8292 | (TT_Free_Names): Updated. |
michael@0 | 8293 | |
michael@0 | 8294 | 2002-05-24 Tim Mooney <enchanter@users.sourceforge.net> |
michael@0 | 8295 | |
michael@0 | 8296 | * builds/unix/ft-munmap.m4: New file, extracted FT_MUNMAP_DECL and |
michael@0 | 8297 | FT_MUNMAP_PARAM from aclocal.m4 into here, so aclocal.m4 can be |
michael@0 | 8298 | rebuilt from sources. Set macro serial to 1, and use third argument |
michael@0 | 8299 | to AC_DEFINE for our two custom symbols, so ftconfig.in could one day |
michael@0 | 8300 | be rebuilt with autoheader (not recommended now, ftconfig.in is a |
michael@0 | 8301 | custom source file) |
michael@0 | 8302 | |
michael@0 | 8303 | 2002-05-22 Werner Lemberg <wl@gnu.org> |
michael@0 | 8304 | |
michael@0 | 8305 | * include/freetype/config/ftheader.h (FT_BEZIER_H): Removed. |
michael@0 | 8306 | (FT_BDF_H): New macro for accessing `ftbdf.h'. |
michael@0 | 8307 | |
michael@0 | 8308 | * src/type42/t42drivr.c (hexval): Fix typo. |
michael@0 | 8309 | |
michael@0 | 8310 | 2002-05-21 Martin Muskens <mmuskens@aurelon.com> |
michael@0 | 8311 | |
michael@0 | 8312 | * src/psaux/psobjs.c (T1Radix): New function. |
michael@0 | 8313 | (t1_toint): Use it to handle numbers in radix format. |
michael@0 | 8314 | |
michael@0 | 8315 | * src/psaux/t1decode.c (T1_Decoder_Parse_Charstrings): Add dummy |
michael@0 | 8316 | for undocumented, obsolete opcode 15. |
michael@0 | 8317 | |
michael@0 | 8318 | 2002-05-21 David Turner <david@freetype.org> |
michael@0 | 8319 | |
michael@0 | 8320 | * src/bdf/bdflib.c: Removed compiler warning, and changed all tables |
michael@0 | 8321 | to the `static const' storage specifier (instead of simply |
michael@0 | 8322 | `static'). |
michael@0 | 8323 | |
michael@0 | 8324 | * src/type42/t42drivr.c (hexval): Use more efficient code. |
michael@0 | 8325 | Removing compiler warnings. |
michael@0 | 8326 | * src/bdf/bdfdrivr.c: Removing compiler warnings. |
michael@0 | 8327 | |
michael@0 | 8328 | * include/freetype/internal/ftbdf.h, src/base/ftbdf.c, |
michael@0 | 8329 | src/base/descrip.mms, src/base/Jamfile, src/base/rules.mk |
michael@0 | 8330 | (FT_Get_BDF_Charset_ID): New API to retrieve BDF-specific strings |
michael@0 | 8331 | from a face. This is much cleaner than accessing the internal types |
michael@0 | 8332 | `BDF_Public_Face' defined in FT_INTERNAL_BDF_TYPES_H. |
michael@0 | 8333 | |
michael@0 | 8334 | 2002-05-21 Werner Lemberg <wl@gnu.org> |
michael@0 | 8335 | |
michael@0 | 8336 | * src/bdf/README: Mention Microsoft's SBIT tool. |
michael@0 | 8337 | |
michael@0 | 8338 | * src/cff/cffdrivr.c, src/cid/cidriver.c, src/pcf/pcfdriver.c, |
michael@0 | 8339 | src/truetype/ttdriver.c, src/type1/t1driver.c, |
michael@0 | 8340 | src/winfonts/winfnt.c, src/type42/t42drivr.c, src/bdf/bdfdrivr.c |
michael@0 | 8341 | [FT_CONFIG_OPTION_DYNAMIC_DRIVERS]: Completely removed. It has |
michael@0 | 8342 | been never used. |
michael@0 | 8343 | |
michael@0 | 8344 | 2002-05-21 Roberto Alameda <ojancano@geekmail.de>. |
michael@0 | 8345 | |
michael@0 | 8346 | * src/type42/t42drivr.c: s/T42_ENCODING_TYPE_/T1_ENCODING_TYPE_/. |
michael@0 | 8347 | (parse_font_matrix): Remove unnecessary code. |
michael@0 | 8348 | (parse_sfnts): Initialize some variables. |
michael@0 | 8349 | (t42_driver_class) [TT_CONFIG_OPTION_BYTECODE_INTERPRETER]: Use |
michael@0 | 8350 | ft_module_driver_has_hinter conditionally. |
michael@0 | 8351 | Moved some type 42 specific structure definitions to... |
michael@0 | 8352 | * include/freetype/internal/t42types.h: New file. |
michael@0 | 8353 | * include/freetype/internal/internal.h (FT_INTERNAL_T42_TYPES_H): |
michael@0 | 8354 | New macro. |
michael@0 | 8355 | |
michael@0 | 8356 | 2002-05-20 Werner Lemberg <wl@gnu.org> |
michael@0 | 8357 | |
michael@0 | 8358 | * include/freetype/cache/ftcsbits.h (FTC_SBit): Added a new field |
michael@0 | 8359 | `num_grays' for specifying the number of used gray levels. |
michael@0 | 8360 | * src/cache/ftcsbits.c (ftc_sbit_node_load): Initialize it. |
michael@0 | 8361 | |
michael@0 | 8362 | 2002-05-19 Werner Lemberg <wl@gnu.org> |
michael@0 | 8363 | |
michael@0 | 8364 | Adding a driver for BDF fonts written by Francesco Zappa Nardelli |
michael@0 | 8365 | <Francesco.Zappa.Nardelli@ens.fr>. Heavily modified by me to |
michael@0 | 8366 | better adapt it to FreeType, removing unneeded stuff. Additionally, |
michael@0 | 8367 | it now supports Mark Leisher's BDF extension for anti-aliased |
michael@0 | 8368 | bitmap glyphs with 2 and 4 bpp. |
michael@0 | 8369 | |
michael@0 | 8370 | * src/bdf/*: New driver. |
michael@0 | 8371 | * include/freetype/internal/bdftypes.h: New file. |
michael@0 | 8372 | * include/freetype/internal/fttrace.h: Added BDF driver components. |
michael@0 | 8373 | * include/freetype/fterrdef.h: Added error codes for BDF driver. |
michael@0 | 8374 | * include/freetype/config/ftmodule.h, src/Jamfile: Updated. |
michael@0 | 8375 | * include/freetype/internal/internal.h (FT_INTERNAL_BDF_TYPES_H): |
michael@0 | 8376 | New macro. |
michael@0 | 8377 | |
michael@0 | 8378 | * include/freetype/config/ftstdlib.h (ft_sprintf): New alias for |
michael@0 | 8379 | sprintf. |
michael@0 | 8380 | |
michael@0 | 8381 | 2002-05-18 Werner Lemberg <wl@gnu.org> |
michael@0 | 8382 | |
michael@0 | 8383 | * include/freetype/internal/fttrace.h: Added Type 42 driver |
michael@0 | 8384 | component. |
michael@0 | 8385 | * src/type42/t42drivr.c: Use it. |
michael@0 | 8386 | |
michael@0 | 8387 | * include/freetype/internal/internal.h (FT_INTERNAL_PCF_TYPES_H): |
michael@0 | 8388 | New macro. |
michael@0 | 8389 | |
michael@0 | 8390 | 2002-05-17 Werner Lemberg <wl@gnu.org> |
michael@0 | 8391 | |
michael@0 | 8392 | * src/type42/Jamfile: New file. |
michael@0 | 8393 | |
michael@0 | 8394 | 2002-05-14 Werner Lemberg <wl@gnu.org> |
michael@0 | 8395 | |
michael@0 | 8396 | Adding a driver for Type42 fonts written by Roberto Alameda |
michael@0 | 8397 | <ojancano@geekmail.de>. |
michael@0 | 8398 | |
michael@0 | 8399 | * src/type42/*: New driver. |
michael@0 | 8400 | * include/freetype/config/ftmodule.h, src/Jamfile: Updated. |
michael@0 | 8401 | * include/freetype/config/ftstdlib.h (ft_xdigit, ft_memcmp, |
michael@0 | 8402 | ft_atoi): New aliases for xdigit, memcmp, and atoi, respectively. |
michael@0 | 8403 | |
michael@0 | 8404 | 2002-05-12 Owen Taylor <otaylor@redhat.com> |
michael@0 | 8405 | |
michael@0 | 8406 | * src/sfnt/ttload.c (TT_LookUp_Table): Protect against tables |
michael@0 | 8407 | with a zero length value. |
michael@0 | 8408 | |
michael@0 | 8409 | 2002-05-12 Michael Pfeiffer <michael.pfeiffer@utanet.at> |
michael@0 | 8410 | |
michael@0 | 8411 | * builds/beos/beos.mk: Include `link-std.mk'. |
michael@0 | 8412 | |
michael@0 | 8413 | 2002-05-12 Werner Lemberg <wl@gnu.org> |
michael@0 | 8414 | |
michael@0 | 8415 | * src/type1/t1load.h (T1_Loader): Renamed to... |
michael@0 | 8416 | (T1_LoaderRec): This. |
michael@0 | 8417 | (T1_Loader): Now pointer to T1_LoaderRec. |
michael@0 | 8418 | * src/type1/t1load.c: Updated. |
michael@0 | 8419 | |
michael@0 | 8420 | * include/freetype/internal/t1types.h, src/type1/t1load.c, |
michael@0 | 8421 | src/type1/t1objs.c: |
michael@0 | 8422 | s/T1_ENCODING_TYPE_EXPORT/T1_ENCODING_TYPE_EXPERT/. |
michael@0 | 8423 | |
michael@0 | 8424 | 2002-05-06 Werner Lemberg <wl@gnu.org> |
michael@0 | 8425 | |
michael@0 | 8426 | * README: Add a note regarding libttf vs. libfreetype. |
michael@0 | 8427 | |
michael@0 | 8428 | 2002-05-05 Werner Lemberg <wl@gnu.org> |
michael@0 | 8429 | |
michael@0 | 8430 | FreeType 2 can now be built in an external directory with the |
michael@0 | 8431 | configure script also. |
michael@0 | 8432 | |
michael@0 | 8433 | * builds/freetype.mk (INCLUDES): Add `OBJ_DIR'. |
michael@0 | 8434 | |
michael@0 | 8435 | * builds/unix/detect.mk (have_mk): New variable to test for |
michael@0 | 8436 | external build. |
michael@0 | 8437 | (unix-def.mk): Defined according to value of `have_mk'. |
michael@0 | 8438 | * builds/unix/unix.mk (have_mk): New variable to test for |
michael@0 | 8439 | external build. |
michael@0 | 8440 | Select include paths for unix-def.mk and unix-cc.mk according |
michael@0 | 8441 | to value of `have_mk'. |
michael@0 | 8442 | * builds/unix/unix-def.in (OBJ_BUILD): New variable. |
michael@0 | 8443 | (DISTCLEAN): Use it. |
michael@0 | 8444 | * builds/unix/unix-cc.in (LIBTOOL): Define default value only |
michael@0 | 8445 | if not yet defined. |
michael@0 | 8446 | * builds/unix/install.mk (install): Use `OBJ_BUILD' for installing |
michael@0 | 8447 | freetype-config. |
michael@0 | 8448 | |
michael@0 | 8449 | * configure: Don't depend on bash features. |
michael@0 | 8450 | (ft2_dir, abs_curr_dir, abs_ft2_dir): New variables (code |
michael@0 | 8451 | partially taken from Autoconf). |
michael@0 | 8452 | Build a dummy Makefile if not building in source tree. |
michael@0 | 8453 | |
michael@0 | 8454 | * docs/INSTALL: Document it. |
michael@0 | 8455 | |
michael@0 | 8456 | 2002-05-04 David Turner <david@freetype.org> |
michael@0 | 8457 | |
michael@0 | 8458 | * src/truetype/ttgload.c (TT_Load_Glyph): Finally fixing the last |
michael@0 | 8459 | bug that prevented FreeType 2.x and FreeType 1.x to produce |
michael@0 | 8460 | bit-by-bit identical monochrome glyph bitmaps with native TrueType |
michael@0 | 8461 | hinting. The culprit was a single-bit flag that wasn't set |
michael@0 | 8462 | correctly by the TrueType glyph loader. |
michael@0 | 8463 | |
michael@0 | 8464 | * src/otlayout/otlayout.h, src/otlayout/otlbase.c, |
michael@0 | 8465 | src/otlayout/otlbase.h, src/otlayout/otlconf.h, |
michael@0 | 8466 | src/otlayout/otlgdef.c, src/otlayout/otlgdef.h, |
michael@0 | 8467 | src/otlayout/otlgpos.c, src/otlayout/otlgpos.h, |
michael@0 | 8468 | src/otlayout/otlgsub.c, src/otlayout/otlgsub.h, |
michael@0 | 8469 | src/otlayout/otljstf.c, src/otlayout/otljstf.h, |
michael@0 | 8470 | src/otlayout/otltable.c, src/otlayout/otltable.h, |
michael@0 | 8471 | src/otlayout/otltags.h: New OpenType Layout source files. The |
michael@0 | 8472 | module is still incomplete. |
michael@0 | 8473 | |
michael@0 | 8474 | 2002-05-02 Werner Lemberg <wl@gnu.org> |
michael@0 | 8475 | |
michael@0 | 8476 | * src/sfnt/ttcmap0.c (tt_cmap4_char_index): Fix serious typo |
michael@0 | 8477 | (0xFFFU -> 0xFFFFU). |
michael@0 | 8478 | |
michael@0 | 8479 | 2002-05-01 Werner Lemberg <wl@gnu.org> |
michael@0 | 8480 | |
michael@0 | 8481 | * docs/INSTALL: Fix URL of makepp. |
michael@0 | 8482 | |
michael@0 | 8483 | 2002-05-01 David Turner <david@freetype.org> |
michael@0 | 8484 | |
michael@0 | 8485 | * src/sfnt/sfobjs.c (tt_face_get_name): Fixing a bug that caused |
michael@0 | 8486 | FreeType to crash when certain broken fonts (e.g. `hya6gb.ttf') |
michael@0 | 8487 | were opened. |
michael@0 | 8488 | |
michael@0 | 8489 | * src/sfnt/ttload.c (TT_Load_Names): Applied a small work-around to |
michael@0 | 8490 | manage fonts containing a broken name table (e.g. `hya6gb.ttf'). |
michael@0 | 8491 | |
michael@0 | 8492 | * src/sfnt/ttcmap0.c (tt_cmap4_validate): Fixed over-restrictive |
michael@0 | 8493 | validation test. The charmap validator now accepts overlapping |
michael@0 | 8494 | ranges in format 4 charmaps. |
michael@0 | 8495 | |
michael@0 | 8496 | * src/sfnt/ttcmap0.c (tt_cmap4_char_index): Switched to a binary |
michael@0 | 8497 | search algorithm. Certain fonts contain more than 170 distinct |
michael@0 | 8498 | segments! |
michael@0 | 8499 | |
michael@0 | 8500 | * include/freetype/config/ftstdlib.h: Adding an alias for the `exit' |
michael@0 | 8501 | function. This will be used in the near future to panic in case of |
michael@0 | 8502 | unexpected exception (which shouldn't happen in theory). |
michael@0 | 8503 | |
michael@0 | 8504 | * include/freetype/internal/fthash.h, src/base/fthash.c: New files. |
michael@0 | 8505 | This is generic implementation of dynamic hash tables using a linear |
michael@0 | 8506 | algorithm (to get rid of `stalls' during resizes). In the future |
michael@0 | 8507 | this will be used in at least three parts of the library: the cache |
michael@0 | 8508 | sub-system, the object sub-system, and the memory debugger. |
michael@0 | 8509 | |
michael@0 | 8510 | * src/base/Jamfile: Updated. |
michael@0 | 8511 | |
michael@0 | 8512 | * include/freetype/internal/internal.h (FT_INTERNAL_HASH_H, |
michael@0 | 8513 | FT_INTERNAL_OBJECT_H): New macros. |
michael@0 | 8514 | |
michael@0 | 8515 | * include/freetype/internal/ftcore.h: New file to group all new |
michael@0 | 8516 | definitions related to exception handling and memory management. It |
michael@0 | 8517 | is very likely that this file will disappear or be renamed in the |
michael@0 | 8518 | future. |
michael@0 | 8519 | |
michael@0 | 8520 | * include/freetype/internal/ftobject.h, include/freetype/ftsysmem.h: |
michael@0 | 8521 | Adding comments to better explain the object sub-system as well as |
michael@0 | 8522 | the new memory manager interface. |
michael@0 | 8523 | |
michael@0 | 8524 | 2002-04-30 Wenlin Institute (Tom Bishop) <wenlin@wenlin.com> |
michael@0 | 8525 | |
michael@0 | 8526 | * src/base/ftmac.c (p2c_str): Removed. |
michael@0 | 8527 | (file_spec_from_path) [TARGET_API_MAC_CARBON]: Added support for |
michael@0 | 8528 | OS X. |
michael@0 | 8529 | (is_dfont) [TARGET_API_MAC_CARBON]: Define only for OS X. |
michael@0 | 8530 | Handle `nameLen' <= 6 also. |
michael@0 | 8531 | (parse_fond): Remove unused variable `name_table'. |
michael@0 | 8532 | Use functionality of old p2c_str directly. |
michael@0 | 8533 | Add safety checks. |
michael@0 | 8534 | (read_lwfn): Initialize `size_p'. |
michael@0 | 8535 | Check for size_p == NULL. |
michael@0 | 8536 | (new_memory_stream, open_face_from_buffer): Updated to FreeType 2.1. |
michael@0 | 8537 | (FT_New_Face_From_LWFN): Remove unused variable `memory'. |
michael@0 | 8538 | Remove some dead code. |
michael@0 | 8539 | (FT_New_Face_From_SFNT): Remove unused variable `stream'. |
michael@0 | 8540 | (FT_New_Face_From_dfont) [TARGET_API_MAC_CARBON]: Define only for |
michael@0 | 8541 | OS X. |
michael@0 | 8542 | (FT_New_Face_From_FOND): Remove unused variable `error'. |
michael@0 | 8543 | (ResourceForkSize): New function. |
michael@0 | 8544 | (FT_New_Face): Use it. |
michael@0 | 8545 | Handle empty resource forks. |
michael@0 | 8546 | Conditionalize some code for OS X. |
michael@0 | 8547 | Add code to call normal loader as a fallback. |
michael@0 | 8548 | |
michael@0 | 8549 | 2002-04-30 Werner Lemberg <wl@gnu.org> |
michael@0 | 8550 | |
michael@0 | 8551 | `interface' is reserved on the Mac. |
michael@0 | 8552 | |
michael@0 | 8553 | * include/freetype/ftoutln.h, include/freetype/internal/sfnt.h, |
michael@0 | 8554 | src/base/ftoutln.c: s/interface/func_interface/. |
michael@0 | 8555 | * src/base/ftbbox.c (FT_Outline_Get_BBox): |
michael@0 | 8556 | s/interface/bbox_interface/. |
michael@0 | 8557 | * src/cff/cffdrivr.c: s/interface/module_interface/. |
michael@0 | 8558 | * src/cff/cffload.c, src/cff/cffload.h: |
michael@0 | 8559 | s/interface/psnames_interface/. |
michael@0 | 8560 | * src/cid/cidriver.c: s/interface/cid_interface/. |
michael@0 | 8561 | * src/sfnt/sfdriver.c: s/interface/module_interface/. |
michael@0 | 8562 | * src/smooth/ftgrays.c: s/interface/func_interface/. |
michael@0 | 8563 | * src/truetype/ttdriver.c: s/interface/tt_interface/. |
michael@0 | 8564 | * src/type1/t1driver.c: s/interface/t1_interface/. |
michael@0 | 8565 | |
michael@0 | 8566 | Some more variable renames to avoid troubles on the Mac. |
michael@0 | 8567 | |
michael@0 | 8568 | * src/raster/ftraster.c: |
michael@0 | 8569 | s/Unknown|Ascending|Descending|Flat/\1_State/. |
michael@0 | 8570 | * src/smooth/ftgrays.c: s/TScan/TCoord/. |
michael@0 | 8571 | |
michael@0 | 8572 | Other changes for the Mac. |
michael@0 | 8573 | |
michael@0 | 8574 | * include/freetype/config/ftconfig.h: Define FT_MACINTOSH for |
michael@0 | 8575 | Mac platforms. |
michael@0 | 8576 | * src/base/ftobjs.c: s/macintosh/FT_MACINTOSH/. |
michael@0 | 8577 | |
michael@0 | 8578 | * src/raster/ftrend1.c (ft_raster1_render): Make `pitch' always |
michael@0 | 8579 | an even number. |
michael@0 | 8580 | |
michael@0 | 8581 | 2002-04-29 Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
michael@0 | 8582 | |
michael@0 | 8583 | * descrip.mms (all): Add pfr driver. |
michael@0 | 8584 | |
michael@0 | 8585 | 2002-04-28 Werner Lemberg <wl@gnu.org> |
michael@0 | 8586 | |
michael@0 | 8587 | * src/pfr/pfrerror.h: New file. |
michael@0 | 8588 | * include/freetype/ftmoderr.h: Add PFR error codes. |
michael@0 | 8589 | * src/pfr/pfrgload.c: Include pfrerror.h. |
michael@0 | 8590 | Use PCF error codes. |
michael@0 | 8591 | (pfr_extra_item_load_stem_snaps): Fix debug message. |
michael@0 | 8592 | * src/pfr/pfrgload.c: Include pfrerror.h. |
michael@0 | 8593 | Use PCF error codes. |
michael@0 | 8594 | (pfr_extra_item_load_bitmap_info, pfr_glyph_load_simple, |
michael@0 | 8595 | pfr_glyph_load_compound): Fix debug message. |
michael@0 | 8596 | * src/pfr/pfrobjs.c: Include pfrerror.h. |
michael@0 | 8597 | Use PCF error codes. |
michael@0 | 8598 | (pfr_face_init): Return PFR_Err_Unknown_File_Format. |
michael@0 | 8599 | * src/pfr/rules.mk (PFR_DRV_H): Include pfrerror.h. |
michael@0 | 8600 | |
michael@0 | 8601 | * src/pcf/pcfdriver.c (PCF_Face_Init) [!FT_CONFIG_OPTION_USE_CMAPS]: |
michael@0 | 8602 | `root' -> `face->root'. |
michael@0 | 8603 | * src/sfnt/ttcmap0.c (TT_Build_CMaps) [!FT_CONFIG_OPTION_USE_CMAPS]: |
michael@0 | 8604 | Removed. |
michael@0 | 8605 | * src/sfnt/ttcmap0.c: Declare TT_Build_CMaps only for |
michael@0 | 8606 | FT_CONFIG_OPTION_USE_CMAPS. |
michael@0 | 8607 | |
michael@0 | 8608 | 2002-04-27 Werner Lemberg <wl@gnu.org> |
michael@0 | 8609 | |
michael@0 | 8610 | * src/cache/ftccache.c (ftc_cache_lookup), |
michael@0 | 8611 | src/cache/ftccmap.c (ftc_cmap_family_init), |
michael@0 | 8612 | src/cache/ftcmanag.c (ftc_family_table_alloc), |
michael@0 | 8613 | src/cache/ftcsbits.c (FTC_SBit_Cache_Lookup): Use FTC_Err_*. |
michael@0 | 8614 | src/cache/ftcimage.c (FTC_Image_Cache_Lookup): Use FTC_Err_*. |
michael@0 | 8615 | (FTC_ImageCache_Lookup): Fix handling of invalid arguments. |
michael@0 | 8616 | |
michael@0 | 8617 | 2002-04-22 Werner Lemberg <wl@gnu.org> |
michael@0 | 8618 | |
michael@0 | 8619 | * builds/unix/configure.ac: Set `version_info' to 9:1:3 (FT2 |
michael@0 | 8620 | version 2.0.9 has 9:0:3). |
michael@0 | 8621 | * builds/unix/configure: Regenerated (using autoconf 2.53). |
michael@0 | 8622 | |
michael@0 | 8623 | 2002-04-19 Werner Lemberg <wl@gnu.org> |
michael@0 | 8624 | |
michael@0 | 8625 | * src/pfr/pfrload.c (pfr_extra_items_farse): Fix debug message. |
michael@0 | 8626 | (pfr_phy_font_load): s/size/Size/ for local variable to avoid |
michael@0 | 8627 | compiler warning. |
michael@0 | 8628 | * src/pfr/pfrobjs.c (pfr_face_init): Fix debug message. |
michael@0 | 8629 | (pfr_slot_load): Remove redundant local variable. |
michael@0 | 8630 | |
michael@0 | 8631 | 2002-04-19 David Turner <david@freetype.org> |
michael@0 | 8632 | |
michael@0 | 8633 | Adding a PFR font driver to the FreeType sources. Note that it |
michael@0 | 8634 | doesn't support embedded bitmaps or kerning tables yet. |
michael@0 | 8635 | |
michael@0 | 8636 | src/pfr/*: New files. |
michael@0 | 8637 | |
michael@0 | 8638 | * include/freetype/config/ftmodule.h, |
michael@0 | 8639 | include/freetype/internal/fttrace.h, src/Jamefile: Updated. |
michael@0 | 8640 | |
michael@0 | 8641 | * src/type1/t1gload.h (T1_Load_Glyph), src/type1/t1gload.c |
michael@0 | 8642 | (T1_Load_Glyph): Fixed incorrect parameter sign-ness in callback |
michael@0 | 8643 | function. |
michael@0 | 8644 | |
michael@0 | 8645 | * include/freetype/internal/ftmemory.h (FT_MEM_ZERO, FT_ZERO): New |
michael@0 | 8646 | macros. |
michael@0 | 8647 | |
michael@0 | 8648 | * include/freetype/internal/ftstream.h (FT_NEXT_OFF3, FT_NEXT_UOFF3, |
michael@0 | 8649 | FT_NEXT_OFF3_LE, FT_NEXT_UOFF3_LE): New macros to parse in-memory |
michael@0 | 8650 | 24-bit integers. |
michael@0 | 8651 | |
michael@0 | 8652 | 2002-04-18 David Turner <david@freetype.org> |
michael@0 | 8653 | |
michael@0 | 8654 | * src/base/ftobjs.c, builds/win32/ftdebug.c, |
michael@0 | 8655 | builds/amiga/src/base/ftdebug.c: Version 2.1.0 couldn't be linked |
michael@0 | 8656 | against applications in Win32 and Amiga builds due to changes to |
michael@0 | 8657 | `src/base/ftdebug.c' that were not properly propagated to |
michael@0 | 8658 | `builds/win32' and `builds/amiga'. This has been fixed. |
michael@0 | 8659 | |
michael@0 | 8660 | * include/freetype/internal/ftobject.h, |
michael@0 | 8661 | include/freetype/internal/ftexcept.h, include/freetype/ftsysmem.h, |
michael@0 | 8662 | include/freetype/ftsysio.h, src/base/ftsysmem.c, src/base/ftsysio.c: |
michael@0 | 8663 | New experimental files. |
michael@0 | 8664 | |
michael@0 | 8665 | 2002-04-17 David Turner <david@freetype.org> |
michael@0 | 8666 | |
michael@0 | 8667 | |
michael@0 | 8668 | * Version 2.1.0 released. |
michael@0 | 8669 | ========================= |
michael@0 | 8670 | |
michael@0 | 8671 | |
michael@0 | 8672 | 2002-04-17 Michael Jansson <mjan@em2-solutions.com> |
michael@0 | 8673 | |
michael@0 | 8674 | * src/type1/t1gload.c (T1_Compute_Max_Advance): Fixed a small bug |
michael@0 | 8675 | that prevented the function to return the correct value. |
michael@0 | 8676 | |
michael@0 | 8677 | 2002-04-16 Francesco Zappa Nardelli <Francesco.Zappa.Nardelli@ens.fr> |
michael@0 | 8678 | |
michael@0 | 8679 | * src/pcf/pcfread (pcf_get_accell): Fix parsing of accelerator |
michael@0 | 8680 | tables. |
michael@0 | 8681 | |
michael@0 | 8682 | 2002-04-15 David Turner <david@freetype.org> |
michael@0 | 8683 | |
michael@0 | 8684 | * docs/FTL.txt: Formatting. |
michael@0 | 8685 | |
michael@0 | 8686 | * include/freetype/config/ftoption.h: Reduce the size of the |
michael@0 | 8687 | render pool from 32kByte to 16kByte. |
michael@0 | 8688 | |
michael@0 | 8689 | * src/pcf/pcfread.c (pcf_seek_to_table_type): Remove compiler |
michael@0 | 8690 | warning. |
michael@0 | 8691 | |
michael@0 | 8692 | * include/freetype/config/ftoption.h (FT_MAX_EXTENSIONS): Removed. |
michael@0 | 8693 | |
michael@0 | 8694 | * docs/CHANGES: Preparing 2.1.0 release. |
michael@0 | 8695 | |
michael@0 | 8696 | 2002-04-13 Werner LEMBERG <wl@gnu.org> |
michael@0 | 8697 | |
michael@0 | 8698 | * src/cff/cffgload.c (CFF_Parse_CharStrings): s/rand/Rand/ to avoid |
michael@0 | 8699 | compiler warning. |
michael@0 | 8700 | |
michael@0 | 8701 | 2002-04-12 David Turner <david@freetype.org> |
michael@0 | 8702 | |
michael@0 | 8703 | * README.UNX: Updated the Unix-specific quick-compilation guide to |
michael@0 | 8704 | warn about the GNU Make requirement at compile time. |
michael@0 | 8705 | |
michael@0 | 8706 | * include/freetype/config/ftstdlib.h, |
michael@0 | 8707 | include/freetype/config/ftconfig.h, |
michael@0 | 8708 | include/freetype/config/ftheader.h, |
michael@0 | 8709 | include/freetype/internal/ftmemory.h, |
michael@0 | 8710 | include/freetype/internal/ftobjs.h, |
michael@0 | 8711 | |
michael@0 | 8712 | src/autohint/ahoptim.c, |
michael@0 | 8713 | |
michael@0 | 8714 | src/base/ftdbgmem.c, src/base/ftdebug.c, src/base/ftmac.c, |
michael@0 | 8715 | src/base/ftobjs.c, src/base/ftsystem.c, |
michael@0 | 8716 | |
michael@0 | 8717 | src/cache/ftcimage.c, src/cache/ftcsbits.c, |
michael@0 | 8718 | |
michael@0 | 8719 | src/cff/cffdriver.c, src/cff/cffload.c, src/cff/cffobjs.c, |
michael@0 | 8720 | |
michael@0 | 8721 | src/cid/cidload.c, src/cid/cidparse.c, src/cid/cidriver.c, |
michael@0 | 8722 | |
michael@0 | 8723 | src/pcf/pcfdriver.c, src/pcf/pcfread.c, |
michael@0 | 8724 | |
michael@0 | 8725 | src/psaux/t1cmap.c, src/psaux/t1decode.c, |
michael@0 | 8726 | |
michael@0 | 8727 | src/pshinter/pshalgo1.c, src/pshinter/pshalgo2.c, |
michael@0 | 8728 | src/pshinter/pshrec.c, |
michael@0 | 8729 | |
michael@0 | 8730 | src/psnames/psmodule.c, |
michael@0 | 8731 | |
michael@0 | 8732 | src/raster/ftraster.c, |
michael@0 | 8733 | |
michael@0 | 8734 | src/sfnt/sfdriver.c, src/sfnt/ttload.c, |
michael@0 | 8735 | |
michael@0 | 8736 | src/smooth/ftgrays.c, |
michael@0 | 8737 | |
michael@0 | 8738 | src/type1/t1afm.c, src/type1/t1driver.c, src/type1/t1gload.c, |
michael@0 | 8739 | src/type1/t1load.c, src/type1/t1objs.c, src/type1/t1parse.c, |
michael@0 | 8740 | |
michael@0 | 8741 | builds/unix/ftconfig.in, builds/vms/ftconfig.h, |
michael@0 | 8742 | |
michael@0 | 8743 | builds/amiga/src/base/ftdebug.c: |
michael@0 | 8744 | |
michael@0 | 8745 | Added the new configuration file `ftstdlib.h' used to define |
michael@0 | 8746 | aliases for all ISO C library functions used by the engine |
michael@0 | 8747 | (e.g. strlen, qsort, setjmp, etc.). |
michael@0 | 8748 | |
michael@0 | 8749 | This eases the porting of FreeType 2 to environments like |
michael@0 | 8750 | XFree86 modules/extensions. |
michael@0 | 8751 | |
michael@0 | 8752 | Also removed many #include <string.h>, #include <stdlib.h>, etc. |
michael@0 | 8753 | from the engine's sources where they are not needed. |
michael@0 | 8754 | |
michael@0 | 8755 | * src/sfnt/ttpost.c: Use macro name for psnames.h. |
michael@0 | 8756 | |
michael@0 | 8757 | 2002-04-12 Vincent Caron <v.caron@zerodeux.net> |
michael@0 | 8758 | |
michael@0 | 8759 | * configure, builds/detect.mk: Updated the build system to print |
michael@0 | 8760 | a warning message in case GNU Make isn't used to build the library. |
michael@0 | 8761 | |
michael@0 | 8762 | 2002-04-11 David Turner <david@freetype.org> |
michael@0 | 8763 | |
michael@0 | 8764 | * README, docs/CHANGES, Jamfile.in: Updates for the 2.1.0 release. |
michael@0 | 8765 | |
michael@0 | 8766 | * docs/FTL.txt: Updated license text to provide a preferred |
michael@0 | 8767 | disclaimer and adjust copyright dates/extents. |
michael@0 | 8768 | |
michael@0 | 8769 | * include/freetype/cache/ftcglyph.h: Removing obsolete (and |
michael@0 | 8770 | confusing) comment. |
michael@0 | 8771 | |
michael@0 | 8772 | * Jamfile.in: New file. |
michael@0 | 8773 | |
michael@0 | 8774 | 2002-04-11 Maxim Shemanarev <mcseemagg@yahoo.com> |
michael@0 | 8775 | |
michael@0 | 8776 | * src/smooth/ftgrays.c (gray_hline): Minor optimization. |
michael@0 | 8777 | |
michael@0 | 8778 | 2002-04-02 Werner Lemberg <wl@gnu.org> |
michael@0 | 8779 | |
michael@0 | 8780 | Fixes from the stable branch: |
michael@0 | 8781 | |
michael@0 | 8782 | * include/freetype/config/ftoption.h (FT_CONFIG_OPTION_OLD_CALCS): |
michael@0 | 8783 | Removed. |
michael@0 | 8784 | [FT_CONFIG_OPTION_OLD_CALCS]: Removed. |
michael@0 | 8785 | * include/freetype/internal/ftcalc.h, src/base/ftcalc.c |
michael@0 | 8786 | [FT_CONFIG_OPTION_OLD_CALCS]: Removed. |
michael@0 | 8787 | |
michael@0 | 8788 | * src/base/fttrigon.c (FT_Vector_Length): Change algorithm to match |
michael@0 | 8789 | output of FreeType 1. |
michael@0 | 8790 | |
michael@0 | 8791 | * src/pshinter/pshglob.c (psh_globals_scale_widths): Fixed a small |
michael@0 | 8792 | bug that created un-even stem widths when hinting Postscript fonts. |
michael@0 | 8793 | |
michael@0 | 8794 | * src/type1/t1driver.c, src/type1/t1parse.c: 16bit fixes. |
michael@0 | 8795 | |
michael@0 | 8796 | 2002-04-01 Werner Lemberg <wl@gnu.org> |
michael@0 | 8797 | |
michael@0 | 8798 | * src/truetype/ttgload.c: 16bit fixes. |
michael@0 | 8799 | (TT_Load_Simple_Glyph): Improve debug messages. |
michael@0 | 8800 | (load_truetype_glyph): Remove dead code. |
michael@0 | 8801 | * src/truetype/ttinterp.c: 16bit fixes. |
michael@0 | 8802 | * src/truetype/ttobjs.c: Ditto. |
michael@0 | 8803 | |
michael@0 | 8804 | * include/freetype/ftsnames.h, include/freetype/internal/sfnt.h, |
michael@0 | 8805 | src/cff/cffload.h, src/psaux/psobjs.h, src/truetype/ttinterp.[ch], |
michael@0 | 8806 | src/sfnt/ttpost.h: s/index/idx/. |
michael@0 | 8807 | |
michael@0 | 8808 | 2002-03-31 Yao Zhang <yaoz@vidar.niaaa.nih.gov> |
michael@0 | 8809 | |
michael@0 | 8810 | * src/truetype/ttobjs.c (TT_Size_Init): Fix typo. |
michael@0 | 8811 | |
michael@0 | 8812 | 2002-03-31 Werner Lemberg <wl@gnu.org> |
michael@0 | 8813 | |
michael@0 | 8814 | * src/otlayout/otlcommn.c, src/otlayout/otlcommn.h: s/index/idx/. |
michael@0 | 8815 | * src/psaux/t1cmap.c: Ditto. |
michael@0 | 8816 | * src/sfnt/ttcmap0.c: Ditto. |
michael@0 | 8817 | |
michael@0 | 8818 | * include/freetype/internal/tttypes.h, |
michael@0 | 8819 | include/freetype/internal/sfnt.h (TT_Goto_Table_Func): Renamed to ... |
michael@0 | 8820 | (TT_Loader_GotoTableFunc): This. |
michael@0 | 8821 | * src/psaux/t1decode.c (T1_Decoder_Parse_Charstrings): Fix debug |
michael@0 | 8822 | messages. |
michael@0 | 8823 | * src/psnames/psmodule.c (psnames_interface) |
michael@0 | 8824 | [!FT_CONFIG_OPTION_ADOBE_GLYPH_LIST]: Fix typo. |
michael@0 | 8825 | * src/sfnt/sfdriver.c (get_sfnt_table): 16bit fix. |
michael@0 | 8826 | * src/sfnt/ttcmap.c: 16bit fixes (0xFFFF -> 0xFFFFU). |
michael@0 | 8827 | * src/sfnt/ttcmap0.c: 16bit fixes. |
michael@0 | 8828 | (TT_Build_CMaps): Simplify debug messages. |
michael@0 | 8829 | (tt_cmap12_char_next): Fix offset. |
michael@0 | 8830 | * src/sfnt/ttload.c (TT_Load_Names, TT_Load_CMap): Fix debug |
michael@0 | 8831 | messages. |
michael@0 | 8832 | (TT_Load_OS2): 16bit fix. |
michael@0 | 8833 | |
michael@0 | 8834 | 2002-03-30 David Turner <david@freetype.org> |
michael@0 | 8835 | |
michael@0 | 8836 | * include/freetype/internal/tttypes.h: Adding comments to some of |
michael@0 | 8837 | the TT_FaceRec fields. |
michael@0 | 8838 | |
michael@0 | 8839 | * src/sfnt/ttcmap0.c (TT_Build_CMaps): Removed compiler warnings. |
michael@0 | 8840 | |
michael@0 | 8841 | * src/sfnt/sfobjs.c (tt_name_entry_ascii_from_{utf16,ucs4,other}: |
michael@0 | 8842 | New functions. |
michael@0 | 8843 | (tt_face_get_name): Use them to properly extract an ascii font name. |
michael@0 | 8844 | |
michael@0 | 8845 | 2002-03-30 Werner Lemberg <wl@gnu.org> |
michael@0 | 8846 | |
michael@0 | 8847 | * include/freetype/t1tables.h (t1_blend_max): Fix typo. |
michael@0 | 8848 | * src/base/ftstream.c: Simplify FT_ERROR calls. |
michael@0 | 8849 | * src/cff/cffdrivr.c (cff_get_glyph_name): Fix debug message. |
michael@0 | 8850 | |
michael@0 | 8851 | * src/cff/cffobjs.c (CFF_Driver_Init, CFF_Driver_Done) |
michael@0 | 8852 | [TT_CONFIG_OPTION_EXTEND_ENGINE]: Removed. |
michael@0 | 8853 | * src/cff/sfobjs.c (SFNT_Load_Face) |
michael@0 | 8854 | [TT_CONFIG_OPTION_EXTEND_ENGINE]: Ditto. |
michael@0 | 8855 | * src/truetype/ttobjs.c (TT_Init_Driver, TT_Done_Driver) |
michael@0 | 8856 | [TT_CONFIG_OPTION_EXTEND_ENGINE]: Ditto. |
michael@0 | 8857 | |
michael@0 | 8858 | * src/truetype/ttdriver.c, src/truetype/ttobjs.c, |
michael@0 | 8859 | src/truetype/ttobjs.h: Renaming driver functions to the |
michael@0 | 8860 | FT_<Subject>_<Action> scheme: |
michael@0 | 8861 | |
michael@0 | 8862 | TT_Init_Driver => TT_Driver_Init |
michael@0 | 8863 | TT_Done_Driver => TT_Driver_Done |
michael@0 | 8864 | TT_Init_Face => TT_Face_Init |
michael@0 | 8865 | TT_Done_Face => TT_Face_Done |
michael@0 | 8866 | TT_Init_Size => TT_Size_Init |
michael@0 | 8867 | TT_Done_Size => TT_Size_Done |
michael@0 | 8868 | TT_Reset_Size => TT_Size_Reset |
michael@0 | 8869 | |
michael@0 | 8870 | 2002-03-29 Werner Lemberg <wl@gnu.org> |
michael@0 | 8871 | |
michael@0 | 8872 | * builds/vms/ftconfig.h: Rename LOCAL_DEF and LOCAL_FUNC to |
michael@0 | 8873 | FT_LOCAL and FT_LOCAL_DEF, respectively, as with other ftconfig.h |
michael@0 | 8874 | files. |
michael@0 | 8875 | * builds/unix/ftconfig.in: Add argument to FT_LOCAL and |
michael@0 | 8876 | FT_LOCAL_DEF. |
michael@0 | 8877 | * src/truetype/ttinterp.c: s/FT_Assert/FT_ASSERT/. |
michael@0 | 8878 | * builds/unix/configure.ac: Temporarily deactivate creation of |
michael@0 | 8879 | ../../Jamfile. |
michael@0 | 8880 | * builds/unix/configure: Updated. |
michael@0 | 8881 | |
michael@0 | 8882 | 2002-03-28 KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> |
michael@0 | 8883 | |
michael@0 | 8884 | * src/sfnt/sfdriver.c (get_sfnt_postscript_name): Fix serious typos. |
michael@0 | 8885 | |
michael@0 | 8886 | 2002-03-28 Werner Lemberg <wl@gnu.org> |
michael@0 | 8887 | |
michael@0 | 8888 | * include/freetype/internal/psaux.h (PSAux_ServiceRec): Fix |
michael@0 | 8889 | compiler warnings. |
michael@0 | 8890 | * include/freetype/internal/t1types.h (T1_FaceRec): Use `const' for |
michael@0 | 8891 | some members. |
michael@0 | 8892 | * src/base/ftapi.c (FT_New_Memory_Stream): Fix typos. |
michael@0 | 8893 | * src/psaux/t1cmap.c (t1_cmap_std_init, t1_cmap_unicode_init): Add |
michael@0 | 8894 | cast. |
michael@0 | 8895 | (t1_cmap_{standard,expert,custom,unicode}_class_rec): Use |
michael@0 | 8896 | `FT_CALLBACK_TABLE_DEF'. |
michael@0 | 8897 | * src/psaux/t1cmap.h: Updated. |
michael@0 | 8898 | * src/sfnt/ttcmap0.c (TT_Build_CMaps): Use `ft_encoding_none' |
michael@0 | 8899 | instead of zero. |
michael@0 | 8900 | * src/type1/t1objs.c (T1_Face_Init): Use casts. |
michael@0 | 8901 | |
michael@0 | 8902 | 2002-03-26 David Turner <david@freetype.org> |
michael@0 | 8903 | |
michael@0 | 8904 | * src/sfnt/sfdriver.c, src/sfnt/sfobjs.c, src/sfnt/ttcmap0.c: |
michael@0 | 8905 | Fixed a small bug in the FT_CMaps support code. |
michael@0 | 8906 | |
michael@0 | 8907 | 2002-03-25 David Turner <david@freetype.org> |
michael@0 | 8908 | |
michael@0 | 8909 | * src/truetype/ttinterp.c (Norm): Replaced with... |
michael@0 | 8910 | (TT_VecLen): This. |
michael@0 | 8911 | (TT_MulFix14, TT_DotFix14): New functions. |
michael@0 | 8912 | (Project, Dual_Project, Free_Project, Compute_Point_Displacement, |
michael@0 | 8913 | Ins_SHPIX, Ins_MIAP, Ins_MIRP): Use them. |
michael@0 | 8914 | [FT_CONFIG_OPTION_OLD_CALCS]: Removed all code. |
michael@0 | 8915 | |
michael@0 | 8916 | 2002-03-22 David Turner <david@freetype.org> |
michael@0 | 8917 | |
michael@0 | 8918 | * src/base/ftobjs.c, src/sfnt/ttcmap0.c, src/type1/t1objs.c: |
michael@0 | 8919 | Various fixes to make the FT_CMaps support work correctly (more |
michael@0 | 8920 | tests are still needed). |
michael@0 | 8921 | |
michael@0 | 8922 | * include/freetype/internal/ftobjs.h, src/sfnt/Jamfile, |
michael@0 | 8923 | src/sfnt/rules.mk, src/sfnt/sfnt.c, src/sfnt/sfobjs.c, |
michael@0 | 8924 | src/sfnt/ttload.c, src/sfnt/ttcmap0.c, src/sfnt/ttcmap0.h: Updated |
michael@0 | 8925 | the SFNT charmap support to use FT_CMaps. |
michael@0 | 8926 | |
michael@0 | 8927 | * include/freetype/fterrdef.h: New file. |
michael@0 | 8928 | * include/freetype/fterrors.h: Include it. It contains all error |
michael@0 | 8929 | codes. |
michael@0 | 8930 | * include/freetype/config/ftheader.h (FT_ERROR_DEFINITIONS_H): New |
michael@0 | 8931 | macro. |
michael@0 | 8932 | |
michael@0 | 8933 | * include/freetype/internal/ftmemory.h, and a lot of other files: |
michael@0 | 8934 | Changed the names of memory macros. Examples: |
michael@0 | 8935 | |
michael@0 | 8936 | MEM_Set => FT_MEM_SET |
michael@0 | 8937 | MEM_Copy => FT_MEM_COPY |
michael@0 | 8938 | MEM_Move => FT_MEM_MOVE |
michael@0 | 8939 | |
michael@0 | 8940 | ALLOC => FT_ALLOC |
michael@0 | 8941 | FREE => FT_FREE |
michael@0 | 8942 | REALLOC = >FT_REALLOC |
michael@0 | 8943 | |
michael@0 | 8944 | FT_NEW was introduced to allocate a new object from a _typed_ |
michael@0 | 8945 | pointer. |
michael@0 | 8946 | |
michael@0 | 8947 | Note that ALLOC_ARRAY and REALLOC_ARRAY have been replaced by |
michael@0 | 8948 | FT_NEW_ARRAY and FT_RENEW_ARRAY which take _typed_ pointer |
michael@0 | 8949 | arguments. |
michael@0 | 8950 | |
michael@0 | 8951 | This results in _lots_ of sources being changed, but makes the code |
michael@0 | 8952 | more generic and less error-prone. |
michael@0 | 8953 | |
michael@0 | 8954 | * include/freetype/internal/ftstream.h, src/base/ftstream.c, |
michael@0 | 8955 | src/cff/cffload.c, src/pcf/pcfread.c, src/sfnt/ttcmap.c, |
michael@0 | 8956 | src/sfnt/ttcmap0.c, src/sfnt/ttload.c, src/sfnt/ttpost.c, |
michael@0 | 8957 | src/sfnt/ttsbit.c, src/truetype/ttgload.c, src/truetype/ttpload.c, |
michael@0 | 8958 | src/winfonts/winfnt.c: Changed the definitions of stream macros. |
michael@0 | 8959 | Examples: |
michael@0 | 8960 | |
michael@0 | 8961 | NEXT_Byte => FT_NEXT_BYTE |
michael@0 | 8962 | NEXT_Short => FT_NEXT_SHORT |
michael@0 | 8963 | NEXT_UShortLE => FT_NEXT_USHORT_LE |
michael@0 | 8964 | READ_Short => FT_READ_SHORT |
michael@0 | 8965 | GET_Long => FT_GET_LONG |
michael@0 | 8966 | etc. |
michael@0 | 8967 | |
michael@0 | 8968 | Also introduced the FT_PEEK_XXXX functions. |
michael@0 | 8969 | |
michael@0 | 8970 | * src/cff/cffobjs.c (CFF_Build_Unicode_Charmap): Removed commented |
michael@0 | 8971 | out function. |
michael@0 | 8972 | (find_encoding): Removed. |
michael@0 | 8973 | (CFF_Face_Init): Remove charmap support. |
michael@0 | 8974 | |
michael@0 | 8975 | * include/freetype/config/ftoption.h (FT_CONFIG_OPTION_USE_CMAPS, |
michael@0 | 8976 | TT_CONFIG_CMAP_FORMAT{0,2,4,6,8,10,12}): New macros to fine-tune |
michael@0 | 8977 | support of cmaps. |
michael@0 | 8978 | |
michael@0 | 8979 | 2002-03-21 David Turner <david@freetype.org> |
michael@0 | 8980 | |
michael@0 | 8981 | * src/base/ftobjs.c, src/pcf/pcfdriver.c, src/pcf/pcfread.c: Updated |
michael@0 | 8982 | to new FT_CMap definitions. |
michael@0 | 8983 | |
michael@0 | 8984 | * src/psaux/t1cmap.h, src/psaux/t1cmap.c, src/type1/t1cmap.h, |
michael@0 | 8985 | src/type1/t1cmap.c: Updating and moving the Type 1 FT_CMap support |
michael@0 | 8986 | from `src/type1' to `src/psaux' since it is going to be shared by |
michael@0 | 8987 | the Type 1 and CID font drivers. |
michael@0 | 8988 | |
michael@0 | 8989 | * src/psaux/Jamfile, src/psaux/psaux.c, src/psaux/psauxmod.c, |
michael@0 | 8990 | src/psaux/rules.mk, include/freetype/internal/psaux.h: Added support |
michael@0 | 8991 | for Type 1 FT_CMaps. |
michael@0 | 8992 | |
michael@0 | 8993 | 2002-03-20 David Turner <david@freetype.org> |
michael@0 | 8994 | |
michael@0 | 8995 | * src/base/ftgloadr.c (FT_GlyphLoader_CheckSubGlyphs): Fixed a |
michael@0 | 8996 | memory allocation bug that was due to un-careful renaming of the |
michael@0 | 8997 | FT_SubGlyph type. |
michael@0 | 8998 | |
michael@0 | 8999 | * src/base/ftdbgmem.c (ft_mem_table_destroy): Fixed a small bug that |
michael@0 | 9000 | caused the library to crash with Electric Fence when memory |
michael@0 | 9001 | debugging is used. |
michael@0 | 9002 | |
michael@0 | 9003 | * Renaming stream macros. Examples: |
michael@0 | 9004 | |
michael@0 | 9005 | FILE_Skip => FT_STREAM_SKIP |
michael@0 | 9006 | FILE_Read => FT_STREAM_READ |
michael@0 | 9007 | ACCESS_Frame => FT_FRAME_ENTER |
michael@0 | 9008 | FORGET_Frame => FT_FRAME_EXIT |
michael@0 | 9009 | etc. |
michael@0 | 9010 | |
michael@0 | 9011 | * src/sfnt/sfdriver.c (get_sfnt_postscript_name): Fixed memory leak. |
michael@0 | 9012 | |
michael@0 | 9013 | * include/freetype/internal/ftobjs.h: Changing the definition of |
michael@0 | 9014 | FT_CMap_CharNextFunc slightly. |
michael@0 | 9015 | |
michael@0 | 9016 | * src/cff/*.c: Updating CFF type definitions. |
michael@0 | 9017 | |
michael@0 | 9018 | 2002-03-14 David Turner <david@freetype.org> |
michael@0 | 9019 | |
michael@0 | 9020 | * include/freetype/internal/autohint.h, src/autohint/ahmodule.c, |
michael@0 | 9021 | src/base/ftapi.c, src/base/ftobjs.c: Updating the type definitions |
michael@0 | 9022 | for the auto-hinter module. |
michael@0 | 9023 | |
michael@0 | 9024 | FT_AutoHinter_Interface => FT_AutoHinter_ServiceRec |
michael@0 | 9025 | FT_AutoHinter_Interface* => FT_AutoHinter_Service |
michael@0 | 9026 | etc. |
michael@0 | 9027 | |
michael@0 | 9028 | FT_AutoHinter_Get_Global_Func => FT_AutoHinter_GlobalGetFunc |
michael@0 | 9029 | FT_AutoHinter_Done_Global_Func => FT_AutoHinter_GlobalDoneFunc |
michael@0 | 9030 | etc. |
michael@0 | 9031 | |
michael@0 | 9032 | * ahloader.h [_STANDALONE_]: Removed all conditional code. |
michael@0 | 9033 | |
michael@0 | 9034 | * include/freetype/internal/cfftypes.h, src/cff/*.c: Updating the |
michael@0 | 9035 | type definitions of the CFF font driver. |
michael@0 | 9036 | |
michael@0 | 9037 | CFF_Font => CFF_FontRec |
michael@0 | 9038 | CFF_Font* => CFF_Font |
michael@0 | 9039 | etc. |
michael@0 | 9040 | |
michael@0 | 9041 | * include/freetype/internal/fnttypes.h, src/winfonts/*.c: Updating |
michael@0 | 9042 | type definitions of the Windows FNT font driver. |
michael@0 | 9043 | |
michael@0 | 9044 | * include/freetype/internal/ftdriver.h, |
michael@0 | 9045 | include/freetype/internal/ftobjs.h, src/base/ftapi.c, |
michael@0 | 9046 | src/base/ftobjs.c, src/cff/cffdrivr.c, src/cff/cffdrivr.h, |
michael@0 | 9047 | src/cid/cidriver.c, src/cid/cidriver.h, src/pcf/pcfdriver.c, |
michael@0 | 9048 | src/pcf/pcfdriver.h, src/truetype/ttdriver.c, |
michael@0 | 9049 | src/truetype/ttdriver.h, src/type1/t1driver.c, src/type1/t1driver.h, |
michael@0 | 9050 | src/winfonts/winfnt.c, src/winfonts/winfnt.h: Updating type |
michael@0 | 9051 | definitions for font drivers. |
michael@0 | 9052 | |
michael@0 | 9053 | FTDriver_initFace => FT_Face_InitFunc |
michael@0 | 9054 | FTDriver_initGlyphSlot => FT_Slot_InitFunc |
michael@0 | 9055 | etc. |
michael@0 | 9056 | |
michael@0 | 9057 | * src/cid/cidobjs.c (CID_Face_Init): Remove dead code. |
michael@0 | 9058 | |
michael@0 | 9059 | * include/freetype/internal/ftobjs.h, src/base/ftobjs.c: Updated a |
michael@0 | 9060 | few face method definitions: |
michael@0 | 9061 | |
michael@0 | 9062 | FT_PSName_Requester => FT_Face_GetPostscriptNameFunc |
michael@0 | 9063 | FT_Glyph_Name_Requester => FT_Face_GetGlyphNameFunc |
michael@0 | 9064 | FT_Name_Index_Requester => FT_Face_GetGlyphNameIndexFunc |
michael@0 | 9065 | |
michael@0 | 9066 | * src/base/ftapi.c: New file. It contains backwards compatibility |
michael@0 | 9067 | functions. |
michael@0 | 9068 | |
michael@0 | 9069 | * include/freetype/internal/psaux.h, src/cid/cidload.c, |
michael@0 | 9070 | src/cidtoken.h, src/psaux/psobjs.c, src/psaux/psobjs.h, |
michael@0 | 9071 | src/psaux/t1decode.c, stc/type1/t1load.c, src/type1/t1tokens.h: |
michael@0 | 9072 | Updated common PostScript type definitions. |
michael@0 | 9073 | Renamed all enumeration values like to uppercase variants: |
michael@0 | 9074 | |
michael@0 | 9075 | t1_token_any => T1_TOKEN_TYPE_ANY |
michael@0 | 9076 | t1_field_cid_info => T1_FIELD_LOCATION_CID_INFO |
michael@0 | 9077 | etc. |
michael@0 | 9078 | |
michael@0 | 9079 | * include/freetype/internal/psglobals.h: Removed. |
michael@0 | 9080 | * include/freetype/internal/pshints.h, src/pshinter/pshglob.h: |
michael@0 | 9081 | Updated. |
michael@0 | 9082 | |
michael@0 | 9083 | * include/freetype/internal/tttypes.h, |
michael@0 | 9084 | include/freetype/internal/sfnt.h, src/base/ftnames.c, |
michael@0 | 9085 | src/cff/cffdrivr.c, src/sfnt/*.c, src/truetype/*.c: Updated |
michael@0 | 9086 | SFNT/TrueType type definitions. |
michael@0 | 9087 | |
michael@0 | 9088 | * include/freetype/freetype.h, include/freetype/internal/ftgloadr.h: |
michael@0 | 9089 | Updating type definitions for the glyph loader. |
michael@0 | 9090 | |
michael@0 | 9091 | 2002-03-13 Antoine Leca <antoine@oriolnet.com> |
michael@0 | 9092 | |
michael@0 | 9093 | * include/freetype/config/ftoption.h: Changed the automatic |
michael@0 | 9094 | detection of Microsoft C compilers to automatically support 64-bit |
michael@0 | 9095 | integers only since revision 9.00 (i.e. >= Visual C++ 2.0). |
michael@0 | 9096 | |
michael@0 | 9097 | 2002-03-08 Werner Lemberg <wl@gnu.org> |
michael@0 | 9098 | |
michael@0 | 9099 | * src/base/ftutil.c (FT_Realloc): Use MEM_Set instead of memset. |
michael@0 | 9100 | |
michael@0 | 9101 | 2002-03-07 Werner Lemberg <wl@gnu.org> |
michael@0 | 9102 | |
michael@0 | 9103 | * src/base/ftdbgmem.c (ft_mem_table_resize, ft_mem_table_new, |
michael@0 | 9104 | ft_mem_table_set, ft_mem_debug_alloc, ft_mem_debug_free, |
michael@0 | 9105 | ft_mem_debug_realloc, ft_mem_debug_done, FT_Alloc_Debug, |
michael@0 | 9106 | FT_Realloc_Debug, FT_Free_Debug): Fix compiler warnings. |
michael@0 | 9107 | * src/base/ftcalc.c (FT_MulFix): Ditto. |
michael@0 | 9108 | * src/cff/cffdrivr.c (cff_get_name_index): Ditto. |
michael@0 | 9109 | * src/cff/cffobjs.c (CFF_Size_Get_Global_Funcs, CFF_Size_Init, |
michael@0 | 9110 | CFF_GlyphSlot_Init): Ditto. |
michael@0 | 9111 | * src/cid/cidobjs.c (CID_GlyphSlot_Init, |
michael@0 | 9112 | CID_Size_Get_Globals_Funcs): Ditto. |
michael@0 | 9113 | * src/type1/t1objs.c (T1_Size_Get_Globals_Funcs, T1_GlyphSlot_Init): |
michael@0 | 9114 | Ditto. |
michael@0 | 9115 | * src/pshinter/pshmod.c (pshinter_interface): Use `static const'. |
michael@0 | 9116 | * src/winfonts/winfnt.c (FNT_Get_Next_Char): Remove unused |
michael@0 | 9117 | variables. |
michael@0 | 9118 | |
michael@0 | 9119 | * include/freetype/internal/psaux.h (T1_Builder_Funcs): Renamed |
michael@0 | 9120 | to... |
michael@0 | 9121 | (T1_Builder_FuncsRec): This. |
michael@0 | 9122 | (T1_Builder_Funcs): New typedef. |
michael@0 | 9123 | (PSAux_Interface): Remove compiler warnings. |
michael@0 | 9124 | * src/psaux/psauxmod.c (t1_builder_funcs), src/psaux/psobjs.h |
michael@0 | 9125 | (t1_builder_funcs): Updated. |
michael@0 | 9126 | |
michael@0 | 9127 | * src/pshinter/pshglob.h (PSH_Blue_Align): Replaced with ... |
michael@0 | 9128 | (PSH_BLUE_ALIGN_{NONE,TOP,BOT}): New defines. |
michael@0 | 9129 | (PSH_AlignmentRec): Updated. |
michael@0 | 9130 | |
michael@0 | 9131 | * include/freetype/internal/ftstream.h (GET_Char, GET_Byte): Fix |
michael@0 | 9132 | typo. |
michael@0 | 9133 | * include/freetype/internal/ftgloadr.h (FT_SubGlyph): Ditto. |
michael@0 | 9134 | * src/base/ftstream (FT_Get_Char): Rename to... |
michael@0 | 9135 | (FT_Stream_Get_Char): This. |
michael@0 | 9136 | |
michael@0 | 9137 | * src/base/ftnames.c (FT_Get_Sfnt_Name): s/index/idx/ -- `index' is |
michael@0 | 9138 | a built-in function in gcc, causing warning messages with gcc 3.0. |
michael@0 | 9139 | * src/autohint/ahglyph.c (ah_outline_load): Ditto. |
michael@0 | 9140 | * src/autohint/ahglobal.c (ah_hinter_compute_blues): Ditto. |
michael@0 | 9141 | * src/cache/ftcmanag.c (ftc_family_table_alloc, |
michael@0 | 9142 | ftc_family_table_free, FTC_Manager_Done, FTC_Manager_Register_Cache): |
michael@0 | 9143 | Ditto. |
michael@0 | 9144 | * src/cff/cffload.c (cff_new_index, cff_done_index, |
michael@0 | 9145 | cff_explicit_index, CFF_Access_Element, CFF_Forget_Element, |
michael@0 | 9146 | CFF_Get_Name, CFF_Get_String, CFF_Load_SubFont, CFF_Load_Font, |
michael@0 | 9147 | CFF_Done_Font): Ditto. |
michael@0 | 9148 | * src/psaux/psobjs.c (PS_Table_Add, PS_Parser_LoadField): Ditto. |
michael@0 | 9149 | * src/psaux/t1decode.c (T1_Decoder_Parse_Charstrings): Ditto. |
michael@0 | 9150 | * src/pshinter/pshrec.c (ps_mask_test_bit, ps_mask_clear_bit, |
michael@0 | 9151 | ps_mask_set_bit, ps_dimension_add_t1stem, ps_hints_t1stem3, |
michael@0 | 9152 | * src/pshinter/pshalgo1.c (psh1_hint_table_record, |
michael@0 | 9153 | psh1_hint_table_record_mask, psh1_hint_table_activate_mask): Ditto. |
michael@0 | 9154 | * src/pshinter/pshalgo2.c (psh2_hint_table_record, |
michael@0 | 9155 | psh2_hint_table_record_mask, psh2_hint_table_activate_mask): Ditto. |
michael@0 | 9156 | * src/sfnt/ttpost.c (Load_Format_20, Load_Format_25, |
michael@0 | 9157 | TT_Get_PS_Name): Ditto. |
michael@0 | 9158 | * src/truetype/ttgload.c (TT_Get_Metrics, Get_HMetrics, |
michael@0 | 9159 | load_truetype_glyph): Ditto. |
michael@0 | 9160 | * src/type1/t1load.c (parse_subrs, T1_Open_Face): Ditto. |
michael@0 | 9161 | * src/type1/t1afm.c (T1_Get_Kerning): Ditto. |
michael@0 | 9162 | * include/freetype/cache/ftcmanag.h (ftc_family_table_free): Ditto. |
michael@0 | 9163 | |
michael@0 | 9164 | 2002-03-06 David Turner <david@freetype.org> |
michael@0 | 9165 | |
michael@0 | 9166 | * src/type1/t1objs.c (T1_Face_Init), src/cid/cidobjs.c |
michael@0 | 9167 | (CID_Face_Init): Fixed another bug related to the |
michael@0 | 9168 | ascender/descender/text height of Postscript fonts. |
michael@0 | 9169 | |
michael@0 | 9170 | * src/pshinter/pshalgo2.c (print_zone): Renamed to ... |
michael@0 | 9171 | (psh2_print_zone): This. |
michael@0 | 9172 | * src/pshinter/pshalgo1.c (print_zone): Renamed to ... |
michael@0 | 9173 | (psh1_print_zone): This. |
michael@0 | 9174 | |
michael@0 | 9175 | * include/freetype/freetype.h, include/freetype/internal/ftobjs.h, |
michael@0 | 9176 | src/base/ftobjs.c: Adding the new FT_Library_Version API to return |
michael@0 | 9177 | the library's current version in dynamic links. |
michael@0 | 9178 | * src/base/ftinit.c (FT_Init_FreeType): Updated. |
michael@0 | 9179 | |
michael@0 | 9180 | 2002-03-06 Werner Lemberg <wl@gnu.org> |
michael@0 | 9181 | |
michael@0 | 9182 | * src/pshinter/pshglob.h (PSH_DimensionRec): s/std/stdw/. |
michael@0 | 9183 | * src/pshinter/pshglob.c (psh_global_scale_widths, |
michael@0 | 9184 | psh_dimension_snap_width, psh_globals_destroy, psh_globals_new): |
michael@0 | 9185 | Ditto. |
michael@0 | 9186 | |
michael@0 | 9187 | 2002-03-05 David Turner <david@freetype.org> |
michael@0 | 9188 | |
michael@0 | 9189 | * src/type1/t1objs.c (T1_Face_Init), src/cff/cffobjs.c |
michael@0 | 9190 | (CFF_Face_Init), src/cid/cidobjs.c (CID_Face_Init): Removing the bug |
michael@0 | 9191 | that returned global BBox values in 16.16 fixed format (instead of |
michael@0 | 9192 | integer font units). |
michael@0 | 9193 | |
michael@0 | 9194 | * src/cid/cidriver.c (cid_get_postscript_name): Fixed a bug that |
michael@0 | 9195 | caused the CID driver to return Postscript font names with a leading |
michael@0 | 9196 | slash (`/') as in `/MOEKai-Regular'. |
michael@0 | 9197 | |
michael@0 | 9198 | * src/sfnt/ttload.c (TT_Load_Names), src/sfnt/sfobjs.c (Get_Name), |
michael@0 | 9199 | src/sfnt/sfdriver.c (get_sfnt_postscript_name): Fixed the loader so |
michael@0 | 9200 | that it accepts broken fonts like `foxjump.ttf', which made FreeType |
michael@0 | 9201 | crash when trying to load them. |
michael@0 | 9202 | |
michael@0 | 9203 | Also improved the name table parser to be able to load |
michael@0 | 9204 | Windows-encoded entries before Macintosh or Unicode ones, since it |
michael@0 | 9205 | seems some fonts don't have reliable values here anyway. |
michael@0 | 9206 | |
michael@0 | 9207 | * include/freetype/internal/psnames.h: Add typedef for |
michael@0 | 9208 | `PSNames_Service'. |
michael@0 | 9209 | |
michael@0 | 9210 | 2002-03-05 Werner Lemberg <wl@gnu.org> |
michael@0 | 9211 | |
michael@0 | 9212 | * builds/unix/aclocal.m4, builds/unix/ltmain.sh: Update to libtool |
michael@0 | 9213 | 1.4.2. |
michael@0 | 9214 | Apply a small patch for AIX to make shared libraries work (this |
michael@0 | 9215 | patch is already in the CVS version of libtool). |
michael@0 | 9216 | |
michael@0 | 9217 | * builds/unix/config.sub, builds/unix/config.guess: Updated to |
michael@0 | 9218 | recent versions. |
michael@0 | 9219 | |
michael@0 | 9220 | * builds/unix/configure.ac: Fix typo |
michael@0 | 9221 | (AC_CONFIG_FILE->AC_CONFIG_FILES). |
michael@0 | 9222 | |
michael@0 | 9223 | * builds/unix/configure: Regenerated. |
michael@0 | 9224 | |
michael@0 | 9225 | 2002-02-28 David Turner <david@freetype.org> |
michael@0 | 9226 | |
michael@0 | 9227 | * include/freetype/ftconfig.h: Changed `FT_LOCAL xxxx' to |
michael@0 | 9228 | `FT_LOCAL( xxxx )' everywhere in the source. The same goes for |
michael@0 | 9229 | `FT_LOCAL_DEF xxxx' which is translated to `FT_LOCAL_DEF( xxxxx )'. |
michael@0 | 9230 | |
michael@0 | 9231 | * include/freetype/freetype.h (FREETYPE_MINOR, FREETYPE_PATCH): |
michael@0 | 9232 | Changing version to 2.1.0 to indicate an unstable branch. |
michael@0 | 9233 | Added the declarations of FT_Get_First_Char and FT_Get_Next_Char. |
michael@0 | 9234 | |
michael@0 | 9235 | * src/base/ftobjs.c: Implement FT_Get_First_Char and |
michael@0 | 9236 | FT_Get_Next_Char. |
michael@0 | 9237 | |
michael@0 | 9238 | * include/freetype/t1tables.h: Renaming structure types. This |
michael@0 | 9239 | |
michael@0 | 9240 | typedef T1_Struct_ |
michael@0 | 9241 | { |
michael@0 | 9242 | } T1_Struct; |
michael@0 | 9243 | |
michael@0 | 9244 | becomes |
michael@0 | 9245 | |
michael@0 | 9246 | typedef PS_StructRec_ |
michael@0 | 9247 | { |
michael@0 | 9248 | } PS_StructRec, *PS_Struct; |
michael@0 | 9249 | |
michael@0 | 9250 | typedef PS_StructRec T1_Struct; /* backwards-compatibility */ |
michael@0 | 9251 | |
michael@0 | 9252 | Hence, we increase the coherency of the source code by effectively |
michael@0 | 9253 | using the `Rec' prefix for structure types. |
michael@0 | 9254 | |
michael@0 | 9255 | 2002-02-27 David Turner <david@freetype.org> |
michael@0 | 9256 | |
michael@0 | 9257 | * src/sfnt/ttload.c (TT_Load_Names): Simplifying and securing the |
michael@0 | 9258 | names table loader. Invalid individual name entries are now handled |
michael@0 | 9259 | correctly. This allows the loading of very buggy fonts like |
michael@0 | 9260 | `foxjump.ttf' without allocating tons of memory and causing crashes. |
michael@0 | 9261 | |
michael@0 | 9262 | * src/otlayout/otlcommon.h, src/otlayout/otlcommon.c: Adding (still |
michael@0 | 9263 | experimental) code for OpenType Layout tables validation and |
michael@0 | 9264 | parsing. |
michael@0 | 9265 | |
michael@0 | 9266 | * src/type1/t1cmap.h, src/type1/t1cmap.c: Adding (still |
michael@0 | 9267 | experimental) code for Type 1 charmap processing. |
michael@0 | 9268 | |
michael@0 | 9269 | * src/sfnt/ttcmap0.c: New file. It contains a new, still |
michael@0 | 9270 | experimental SFNT charmap processing support. |
michael@0 | 9271 | |
michael@0 | 9272 | * include/freetype/internal/ftobjs.h: Adding validation support as |
michael@0 | 9273 | well as internal charmap object definitions (FT_CMap != FT_CharMap). |
michael@0 | 9274 | |
michael@0 | 9275 | 2002-02-24 David Turner <david@freetype.org> |
michael@0 | 9276 | |
michael@0 | 9277 | * Renaming stream functions to the FT_<Subject>_<Action> scheme: |
michael@0 | 9278 | |
michael@0 | 9279 | FT_Seek_Stream => FT_Stream_Seek |
michael@0 | 9280 | FT_Skip_Stream => FT_Stream_Skip |
michael@0 | 9281 | FT_Read_Stream => FT_Stream_Read |
michael@0 | 9282 | FT_Read_Stream_At => FT_Stream_Read_At |
michael@0 | 9283 | FT_Access_Frame => FT_Stream_Enter_Frame |
michael@0 | 9284 | FT_Forget_Frame => FT_Stream_Exit_Frame |
michael@0 | 9285 | FT_Extract_Frame => FT_Stream_Extract_Frame |
michael@0 | 9286 | FT_Release_Frame => FT_Stream_Release_Frame |
michael@0 | 9287 | FT_Get_XXXX => FT_Stream_Get_XXXX |
michael@0 | 9288 | FT_Read_XXXX => FT_Stream_Read_XXXX |
michael@0 | 9289 | |
michael@0 | 9290 | FT_New_Stream( filename, stream ) => |
michael@0 | 9291 | FT_Stream_Open( stream, filename ) |
michael@0 | 9292 | |
michael@0 | 9293 | (The function doesn't create the FT_Stream structure, it simply |
michael@0 | 9294 | initializes it for reading.) |
michael@0 | 9295 | |
michael@0 | 9296 | FT_New_Memory_Stream( library, FT_Byte* base, size, stream ) => |
michael@0 | 9297 | FT_Stream_Open_Memory( stream, const FT_Byte* base, size ) |
michael@0 | 9298 | |
michael@0 | 9299 | FT_Done_Stream => FT_Stream_Close |
michael@0 | 9300 | FT_Stream_IO => FT_Stream_IOFunc |
michael@0 | 9301 | FT_Stream_Close => FT_Stream_CloseFunc |
michael@0 | 9302 | |
michael@0 | 9303 | ft_close_stream => ft_ansi_stream_close (in base/ftsystem.c only) |
michael@0 | 9304 | ft_io_stream => ft_ansi_stream_io (in base/ftsystem.c only) |
michael@0 | 9305 | |
michael@0 | 9306 | * src/base/ftutil.c: New file. Contains all memory and list |
michael@0 | 9307 | management code (previously in `ftobjs.c' and `ftlist.c', |
michael@0 | 9308 | respectively). |
michael@0 | 9309 | |
michael@0 | 9310 | * include/freetype/internal/ftobjs.h: Moving all code related to |
michael@0 | 9311 | glyph loaders to ... |
michael@0 | 9312 | * include/freetype/internal/ftgloadr.h: This new file. |
michael@0 | 9313 | `FT_GlyphLoader' is now a pointer to the structure |
michael@0 | 9314 | `FT_GlyphLoaderRec'. |
michael@0 | 9315 | (ft_glyph_own_bitmap): Renamed to ... |
michael@0 | 9316 | (FT_GLYPH_OWN_BITMAP): This. |
michael@0 | 9317 | * src/base/ftobjs.c: Moving all code related to glyph loaders |
michael@0 | 9318 | to ... |
michael@0 | 9319 | * src/base/ftgloadr.c: This new file. |
michael@0 | 9320 | |
michael@0 | 9321 | 2002-02-22 Werner Lemberg <wl@gnu.org> |
michael@0 | 9322 | |
michael@0 | 9323 | * include/freetype/internal/ftdebug.h (FT_Trace): Remove comma in |
michael@0 | 9324 | enum to avoid compiler warnings. |
michael@0 | 9325 | |
michael@0 | 9326 | 2002-02-21 David Turner <david@freetype.org> |
michael@0 | 9327 | |
michael@0 | 9328 | Modified the debug sub-system initialization. Trace levels can now |
michael@0 | 9329 | be specified within the `FT2_DEBUG' environment variable. See the |
michael@0 | 9330 | comments within `ftdebug.c' for more details. |
michael@0 | 9331 | |
michael@0 | 9332 | * src/base/ftdebug.c: (FT_SetTraceLevel): Removed. |
michael@0 | 9333 | (ft_debug_init): New function. |
michael@0 | 9334 | (ft_debug_dummy): Removed. |
michael@0 | 9335 | Updated to changes in ftdebug.h |
michael@0 | 9336 | |
michael@0 | 9337 | * include/freetype/internal/ftdebug.h: Always define |
michael@0 | 9338 | FT_DEBUG_LEVEL_ERROR if FT_DEBUG_LEVEL_TRACE is defined. |
michael@0 | 9339 | (FT_Assert): Renamed to ... |
michael@0 | 9340 | (FT_ASSERT): This. |
michael@0 | 9341 | Some stuff from ftdebug.h has been moved to ... |
michael@0 | 9342 | |
michael@0 | 9343 | * include/freetype/internal/fttrace.h: New file, to define the trace |
michael@0 | 9344 | levels used for debugging. It is used both to define enums and |
michael@0 | 9345 | toggle names for FT2_DEBUG. |
michael@0 | 9346 | |
michael@0 | 9347 | * include/freetype/internal/internal.h: Updated. |
michael@0 | 9348 | |
michael@0 | 9349 | * src/base/ftobjs.c, src/base/ftstream.c: Updated. |
michael@0 | 9350 | |
michael@0 | 9351 | * include/freetype/internal/ftextend.h, src/base/ftextend.c: |
michael@0 | 9352 | Removed. Both files are now completely obsolete. |
michael@0 | 9353 | * src/base/Jamfile, src/base/rules.mk: Updated. |
michael@0 | 9354 | |
michael@0 | 9355 | * include/freetype/fterrors.h: Adding `#undef FT_ERR_CAT' and |
michael@0 | 9356 | `#undef FT_ERR_XCAT' to avoid warnings with certain compilers (like |
michael@0 | 9357 | LCC). |
michael@0 | 9358 | |
michael@0 | 9359 | * src/pshinter/pshalgo2.c (print_zone): Renamed to ... |
michael@0 | 9360 | (psh2_print_zone): This to avoid errors during compilation of debug |
michael@0 | 9361 | library. |
michael@0 | 9362 | |
michael@0 | 9363 | * src/smooth/ftgrays.c (FT_COMPONENT): Change definition to as |
michael@0 | 9364 | `trace_smooth'. |
michael@0 | 9365 | |
michael@0 | 9366 | 2002-02-20 David Turner <david@freetype.org> |
michael@0 | 9367 | |
michael@0 | 9368 | * README: Adding `devel@freetype.org' address for bug reports. |
michael@0 | 9369 | |
michael@0 | 9370 | 2002-02-20 Werner Lemberg <wl@gnu.org> |
michael@0 | 9371 | |
michael@0 | 9372 | * builds/unix/install.mk (check): New dummy target. |
michael@0 | 9373 | (.PHONY): Add it. |
michael@0 | 9374 | |
michael@0 | 9375 | 2002-02-19 Werner Lemberg <wl@gnu.org> |
michael@0 | 9376 | |
michael@0 | 9377 | * builds/freetype.mk (FT_CFLAGS): Use $(INCLUDE_FLAGS) first. |
michael@0 | 9378 | |
michael@0 | 9379 | * src/cache/ftccache.c (ftc_cache_resize): Mark `error' as unused |
michael@0 | 9380 | to avoid compiler warning. |
michael@0 | 9381 | * src/cff/cffload.c (CFF_Get_String): Ditto. |
michael@0 | 9382 | * src/cff/cffobjs.c (CFF_StrCopy): Ditto. |
michael@0 | 9383 | * src/psaux/psobjs.c (PS_Table_Done): Ditto. |
michael@0 | 9384 | * src/pcf/pcfread.c (pcf_seek_to_table_type): Ditto. |
michael@0 | 9385 | * src/sfnt/sfdriver.c (get_sfnt_postscript_name): Ditto. |
michael@0 | 9386 | (pcf_get_bitmaps): The same for `sizebitmaps'. |
michael@0 | 9387 | * src/psaux/t1decode.c (T1_Decode_Parse_Charstrings): The same for |
michael@0 | 9388 | `orig_y'. |
michael@0 | 9389 | (t1operator_seac): Comment out more dead code. |
michael@0 | 9390 | * src/pshinter/pshalgo2.c (ps2_hints_apply): Add `DEBUG_HINTER' |
michael@0 | 9391 | conditional. |
michael@0 | 9392 | * src/truetype/ttgload.c (TT_Process_Simple_Glyph, |
michael@0 | 9393 | load_truetype_glyph): Add `TT_CONFIG_OPTION_BYTECODE_INTERPRETER' |
michael@0 | 9394 | conditional. |
michael@0 | 9395 | |
michael@0 | 9396 | 2002-02-18 Werner Lemberg <wl@gnu.org> |
michael@0 | 9397 | |
michael@0 | 9398 | * src/autohint/ahglyph.c (ah_outline_link_segments): Remove unused |
michael@0 | 9399 | variables. |
michael@0 | 9400 | * src/autohint/ahhint.c (ah_align_serif_edge): Use FT_UNUSED instead |
michael@0 | 9401 | of UNUSED. |
michael@0 | 9402 | * src/autohint/ahmodule.c (ft_autohinter_reset): Ditto. |
michael@0 | 9403 | * src/pshinter/pshrec.c (ps_mask_table_merge): Fix typo in variable |
michael@0 | 9404 | swapping code. |
michael@0 | 9405 | * src/pshinter/pshglob.h (PSH_Blue_Align): Add PSH_BLUE_ALIGN_NONE. |
michael@0 | 9406 | * src/pshinter/pshglob.c (psh_blues_snap_stem): Use it. |
michael@0 | 9407 | * src/pshinter/pshalgo1.c (psh1_hint_table_optimize): Ditto. |
michael@0 | 9408 | * src/pshinter/pshalgo2.c (psh2_hint_align): Ditto. |
michael@0 | 9409 | * include/freetype/internal/ftobjs.h (UNUSED): Removed. |
michael@0 | 9410 | |
michael@0 | 9411 | 2002-02-10 Roberto Alameda <ojancano@geekmail.de> |
michael@0 | 9412 | |
michael@0 | 9413 | Add support for ISOLatin1 PS encoding. |
michael@0 | 9414 | |
michael@0 | 9415 | * include/freetype/freetype.h (ft_encoding_latin_1): New tag |
michael@0 | 9416 | (`lat1'). |
michael@0 | 9417 | * include/freetype/internal/t1types.h (T1_Encoding_Type): Add |
michael@0 | 9418 | `t1_encoding_isolatin1'. |
michael@0 | 9419 | * src/type1/t1driver.c (Get_Char_Index, Get_Next_Char): Handle |
michael@0 | 9420 | ft_encoding_latin_1. |
michael@0 | 9421 | * src/type1/t1load.c (parse_encoding): Handle `ISOLatin1Encoding'. |
michael@0 | 9422 | * src/type1/t1objs.c (T1_Face_Init): Handle `t1_encoding_isolatin1'. |
michael@0 | 9423 | |
michael@0 | 9424 | ---------------------------------------------------------------------------- |
michael@0 | 9425 | |
michael@0 | 9426 | Copyright 2002, 2003, 2004, 2005, 2007, 2008 by |
michael@0 | 9427 | David Turner, Robert Wilhelm, and Werner Lemberg. |
michael@0 | 9428 | |
michael@0 | 9429 | This file is part of the FreeType project, and may only be used, modified, |
michael@0 | 9430 | and distributed under the terms of the FreeType project license, |
michael@0 | 9431 | LICENSE.TXT. By continuing to use, modify, or distribute this file you |
michael@0 | 9432 | indicate that you have read the license and understand and accept it |
michael@0 | 9433 | fully. |
michael@0 | 9434 | |
michael@0 | 9435 | |
michael@0 | 9436 | Local Variables: |
michael@0 | 9437 | version-control: never |
michael@0 | 9438 | coding: utf-8 |
michael@0 | 9439 | End: |