David Turner | 1ae134a | 2006-02-21 16:50:17 +0000 | [diff] [blame^] | 1 | 2006-02-21 David Turner <david@freetype.org> |
| 2 | |
| 3 | * src/sfnt/sfobjs.c (sfnt_face_load): fixed silly bug that |
| 4 | prevented embedded bitmaps from being correctly listed and used |
| 5 | |
| 6 | * src/pfr/pfrsbit.c: fixed handling of character advances |
| 7 | |
David Turner | dd0f360 | 2006-02-20 23:50:21 +0000 | [diff] [blame] | 8 | 2006-02-20 David Turner <david@freetype.org> |
| 9 | |
Werner Lemberg | d41aecd | 2006-02-21 08:08:14 +0000 | [diff] [blame] | 10 | Support binary compatibility with the X.Org server's Xfont library. |
| 11 | Note that this change unfortunately prevents memory optimizations |
| 12 | for the embedded bitmap loader. |
David Turner | dd0f360 | 2006-02-20 23:50:21 +0000 | [diff] [blame] | 13 | |
Werner Lemberg | d41aecd | 2006-02-21 08:08:14 +0000 | [diff] [blame] | 14 | * include/freetype/internal/sfnt.h (SFNT_Interface): Move |
| 15 | `set_sbit_strike' and `load_sbit_metrics' fields to the location of |
| 16 | version 2.1.8. |
David Turner | dd0f360 | 2006-02-20 23:50:21 +0000 | [diff] [blame] | 17 | |
Werner Lemberg | d41aecd | 2006-02-21 08:08:14 +0000 | [diff] [blame] | 18 | * src/sfnt/sfdriver.c (tt_face_set_sbit_strike_stub): Call |
| 19 | FT_Size_Request. |
| 20 | (sfnt_interface): Updated. |
| 21 | |
| 22 | * src/sfnt/ttsbit.c [FT_CONFIG_OPTION_OLD_INTERNALS]: Don't load |
| 23 | ttsbit0.c. |
| 24 | (tt_load_sbit_metrics): Make `sbit_small_metrics_fields' static. |
| 25 | |
| 26 | * src/sfnt/ttsbit.h: Updated. |
David Turner | dd0f360 | 2006-02-20 23:50:21 +0000 | [diff] [blame] | 27 | |
David Turner | 0880ac3 | 2006-02-17 17:23:13 +0000 | [diff] [blame] | 28 | 2006-02-17 David Turner <david@freetype.org> |
| 29 | |
Werner Lemberg | f145e31 | 2006-02-19 16:12:18 +0000 | [diff] [blame] | 30 | * builds/unix/unix-cc.in (LINK_LIBRARY): Don't filter out exported |
| 31 | functions anymore. This ensures that all FT_BASE internal functions |
| 32 | are available for dynamic linking. |
| 33 | |
| 34 | * include/freetype/ftcache.h (FTC_IMAGE_TYPE_COMPARE, |
| 35 | FTC_IMAGE_TYPE_HASH), src/cache/ftcbasic.c (FTC_OldFontRec, |
| 36 | FTC_OldImageDescRec, FTC_ImageCache_Lookup, FTC_Image_Cache_New, |
| 37 | FTC_OldImage_Desc, FTC_OLD_IMAGE_FORMAT, ftc_old_image_xxx, |
| 38 | ftc_image_type_from_old_desc, FTC_Image_Cache_Lookup, |
| 39 | FTC_SBitCache_Lookup, FTC_SBit_Cache_New, FTC_SBit_Cache_Lookup) |
| 40 | [FT_CONFIG_OPTION_OLD_INTERNALS]: Try to revive old functions of the |
| 41 | cache sub-system. We try to recognize old legacy signatures with a |
| 42 | gross hack (hope it works). |
David Turner | 0880ac3 | 2006-02-17 17:23:13 +0000 | [diff] [blame] | 43 | |
Werner Lemberg | 1fae669 | 2006-02-17 16:16:40 +0000 | [diff] [blame] | 44 | 2006-02-17 Werner Lemberg <wl@gnu.org> |
| 45 | |
| 46 | * devel/ftoption.h: Synchronize with |
| 47 | include/freetype/config/ftoption.h. |
| 48 | |
David Turner | cda2d95 | 2006-02-16 22:45:31 +0000 | [diff] [blame] | 49 | 2006-02-16 David Turner <david@freetype.org> |
| 50 | |
Werner Lemberg | 8e6f8c4 | 2006-02-17 08:07:09 +0000 | [diff] [blame] | 51 | Massive changes to the internals to respect the internal object |
| 52 | layouts and exported functions of FreeType 2.1.7. Note that the |
| 53 | cache sub-system cannot be fully retrofitted, unfortunately. |
David Turner | cda2d95 | 2006-02-16 22:45:31 +0000 | [diff] [blame] | 54 | |
Werner Lemberg | 8e6f8c4 | 2006-02-17 08:07:09 +0000 | [diff] [blame] | 55 | * include/freetype/config/ftoption.h |
| 56 | (FT_CONFIG_OPTION_OLD_INTERNALS): New macro. |
| 57 | |
| 58 | * include/freetype/ftcache.h, include/freetype/cache/ftccache.h, |
| 59 | include/freetype/cache/ftccmap.h, |
| 60 | include/freetype/internal/ftcalc.h, |
| 61 | include/freetype/internal/ftdriver.h, |
| 62 | include/freetype/internal/ftmemory.h, |
| 63 | include/freetype/internal/ftobjs.h, |
| 64 | include/freetype/internal/psaux.h, include/freetype/internal/sfnt.h, |
| 65 | include/freetype/internal/t1types.h, |
| 66 | include/freetype/internal/tttypes.h, src/base/ftcalc.c, |
| 67 | src/base/ftdbgmem.c, src/base/ftobjs.c, src/base/ftutil.c, |
| 68 | src/bdf/bdfdrivr.c, src/cache/ftccache.c, src/cache/ftccback.h, |
| 69 | src/cache/ftcmanag.c, src/cff/cffdrivr.c, src/cid/cidriver.c, |
| 70 | src/pcf/pcfdrivr.c, src/pfr/pfrdrivr.c, src/psaux/psauxmod.c, |
| 71 | src/sfnt/sfdriver.c, src/truetype/ttdriver.c, src/type1/t1driver.c, |
| 72 | src/type1/t1objs.c, src/type42/t42drivr.c, src/winfonts/winfnt.c: |
| 73 | Use FT_CONFIG_OPTION_OLD_INTERNALS to revive old functions and data |
| 74 | structures. |
| 75 | |
| 76 | Move newly added structure elements to the end of the affected |
| 77 | structure and add stub fields (if FT_CONFIG_OPTION_OLD_INTERNALS is |
| 78 | defined) to assure binary compatibility with older FreeType |
| 79 | versions. |
| 80 | Use FT_CONFIG_OPTION_OLD_INTERNALS to add function stubs for old |
| 81 | functions: |
| 82 | |
| 83 | ft_stub_set_char_sizes |
| 84 | ft_stub_set_pixel_sizes |
| 85 | |
| 86 | Rename the following internal functions to provide the old function |
| 87 | names as stubs: |
| 88 | |
| 89 | FT_Alloc -> ft_mem_alloc |
| 90 | FT_QAlloc -> ft_mem_qalloc |
| 91 | FT_Realloc -> ft_mem_realloc |
| 92 | FT_QRealloc -> ft_mem_qrealloc |
| 93 | FT_Free -> ft_mem_free |
| 94 | FT_Alloc_Debug -> ft_mem_alloc_debug |
| 95 | FT_QAlloc_Debug -> ft_mem_qalloc_debug |
| 96 | FT_Realloc_Debug -> ft_mem_realloc_debug |
| 97 | FT_QRealloc_Debug -> ft_mem_qrealloc_debug |
| 98 | FT_Free_Debug -> ft_mem_free_debug |
David Turner | cda2d95 | 2006-02-16 22:45:31 +0000 | [diff] [blame] | 99 | |
Wu, Chia-I (吳佳一) | 0d565fd | 2006-02-15 07:44:31 +0000 | [diff] [blame] | 100 | 2006-02-15 Chia-I Wu <b90201047@ntu.edu.tw> |
| 101 | |
| 102 | * include/freetype/internal/ftobjs.h (FT_Face_InternalRec): Remove |
| 103 | unused `max_points' and `max_contours'. |
David Turner | cda2d95 | 2006-02-16 22:45:31 +0000 | [diff] [blame] | 104 | |
Wu, Chia-I (吳佳一) | 0d565fd | 2006-02-15 07:44:31 +0000 | [diff] [blame] | 105 | * src/cid/cidobjs.c (cid_face_init), src/type1/t1objs.c |
| 106 | (T1_Face_Init), src/type42/t42objs.c (T42_Face_Init): Update. |
| 107 | |
| 108 | * include/freetype/internal/tttypes.h (TT_FaceRec): Remove unused |
| 109 | `max_components'. |
| 110 | |
| 111 | * src/truetype/ttinterp.h (TT_ExecContextRec): Remove unused |
| 112 | `loadSize' and `loadStack'. |
| 113 | |
| 114 | * src/truetype/ttinterp.c (TT_Done_Context, TT_Load_Context), |
| 115 | src/sfnt/ttload.c (tt_face_load_maxp): Update. |
| 116 | |
| 117 | * src/cff/cffobjs.h (cff_size_select), src/sfnt/sfdriver.c |
| 118 | (sfnt_interface), src/truetype/ttdriver.c (tt_size_request): Fix |
| 119 | compiler errors/warnings when TT_CONFIG_OPTION_EMBEDDED_BITMAPS is not |
| 120 | defined. |
| 121 | |
| 122 | * src/sfnt/ttmtx.c (tt_face_load_hmtx, tt_face_get_metrics): Fix |
| 123 | possible segment faults for the non-FT_OPTIMIZE_MEMORY'ed versions. |
| 124 | (finally!) |
| 125 | |
Werner Lemberg | 8e6f8c4 | 2006-02-17 08:07:09 +0000 | [diff] [blame] | 126 | |
Wu, Chia-I (吳佳一) | 0d565fd | 2006-02-15 07:44:31 +0000 | [diff] [blame] | 127 | For most OpenType tables, `tt_face_load_xxxx' simply loads the table |
| 128 | and `face->root' is set later in `sfnt_load_face'. Here, we try to |
Werner Lemberg | 8e6f8c4 | 2006-02-17 08:07:09 +0000 | [diff] [blame] | 129 | make this work for _all_ tables. Also improve tracing messages. |
Wu, Chia-I (吳佳一) | 0d565fd | 2006-02-15 07:44:31 +0000 | [diff] [blame] | 130 | |
| 131 | * src/sfnt/ttsbit.c, src/sfnt/ttsbit0.c, src/sfnt/ttload.c, |
| 132 | src/sfnt/ttmtx.c: all `tt_face_load_xxxx' should load the table and |
| 133 | then exit. Error handling or setting face->root is done later in |
| 134 | `sfnt_load_face'. |
Wu, Chia-I (吳佳一) | 0d565fd | 2006-02-15 07:44:31 +0000 | [diff] [blame] | 135 | |
| 136 | * src/sfnt/sfobjs.c (sfnt_load_face): Work harder. |
| 137 | Mac bitmap-only fonts are not scalable. |
| 138 | Check that `face->header.Units_Per_EM' is not zero. |
Werner Lemberg | 8e6f8c4 | 2006-02-17 08:07:09 +0000 | [diff] [blame] | 139 | (LOAD_, LOADM_): Emit pretty trace messages. |
Wu, Chia-I (吳佳一) | 0d565fd | 2006-02-15 07:44:31 +0000 | [diff] [blame] | 140 | |
Werner Lemberg | 8e6f8c4 | 2006-02-17 08:07:09 +0000 | [diff] [blame] | 141 | * src/sfnt/ttsbit0.c (tt_face_load_strike_metrics): Read metrics |
| 142 | from `eblc'. |
Wu, Chia-I (吳佳一) | 0d565fd | 2006-02-15 07:44:31 +0000 | [diff] [blame] | 143 | |
| 144 | * src/sfnt/ttcmap.c (tt_face_build_cmaps), src/sfnt/ttpost.c |
| 145 | (load_format_20, load_format_25, tt_face_get_ps_name): Use |
| 146 | face->max_profile.numGlyphs, instead of face->root.num_glyphs. |
| 147 | |
Werner Lemberg | 5225402 | 2006-02-15 06:05:52 +0000 | [diff] [blame] | 148 | 2006-02-14 Werner Lemberg <wl@gnu.org> |
| 149 | |
| 150 | * include/freetype/ftoutln.h (FT_Outline_Embolden): Mention in |
| 151 | documentation that negative strength values are possible. |
| 152 | Give an example call. |
| 153 | |
| 154 | * include/freetype/freetype.h (FT_GlyphSlotRec): Improve |
| 155 | documentation of `outline' field. |
| 156 | |
| 157 | * src/sfnt/sfobjc.s: Inckude FT_INTERNAL_DEBUG_H. |
| 158 | * src/sfnt/sfdriver.c: Include ttmtx.h. |
| 159 | |
| 160 | * src/autofit/afcjk.c: Include aftypes.h and aflatin.h. |
| 161 | |
Wu, Chia-I (吳佳一) | 9a2b3b6 | 2006-02-14 08:37:03 +0000 | [diff] [blame] | 162 | 2006-02-14 Chia-I Wu <b90201047@ntu.edu.tw> |
| 163 | |
Wu, Chia-I (吳佳一) | 3dc0018 | 2006-02-14 13:36:28 +0000 | [diff] [blame] | 164 | * src/sfnt/ttmtx.c (tt_face_get_metrics): Typo. |
| 165 | |
| 166 | 2006-02-14 Chia-I Wu <b90201047@ntu.edu.tw> |
| 167 | |
Wu, Chia-I (吳佳一) | 9a2b3b6 | 2006-02-14 08:37:03 +0000 | [diff] [blame] | 168 | * src/sfnt/ttmtx.c (tt_face_load_hhea, tt_face_load_hmtx): Simply |
| 169 | return error if table is missing. |
| 170 | Check table length in non-FT_OPTIMIZE_MEMORY'ed `tt_face_load_hmtx'. |
| 171 | |
| 172 | * src/sfnt/sfobjs.c (sfnt_load_face): Take care of missing metrics |
Werner Lemberg | 5225402 | 2006-02-15 06:05:52 +0000 | [diff] [blame] | 173 | tables. The last change makes Mac bitmap-only font not load and |
| 174 | this fixes it. |
Wu, Chia-I (吳佳一) | 9a2b3b6 | 2006-02-14 08:37:03 +0000 | [diff] [blame] | 175 | |
Werner Lemberg | 5225402 | 2006-02-15 06:05:52 +0000 | [diff] [blame] | 176 | * src/truetype/ttgload.c (load_truetype_glyph): Fix compilation |
| 177 | error when FT_CONFIG_OPTION_INCREMENTAL is defined. |
Wu, Chia-I (吳佳一) | 9a2b3b6 | 2006-02-14 08:37:03 +0000 | [diff] [blame] | 178 | |
Wu, Chia-I (吳佳一) | f5aa47b | 2006-02-14 06:40:10 +0000 | [diff] [blame] | 179 | 2006-02-13 Chia-I Wu <b90201047@ntu.edu.tw> |
| 180 | |
Wu, Chia-I (吳佳一) | 35222ff | 2006-02-14 07:25:57 +0000 | [diff] [blame] | 181 | Clean up the SFNT_Interface. In this final pass, `load_hmtx' is |
| 182 | splitted from `load_hhea'. |
| 183 | |
| 184 | * include/freetype/internal/sfnt.h, src/sfnt/sfdriver.c, |
| 185 | src/sfnt/ttmtx.c, src/sfnt/ttmtx.h: Split `hmtx' from `hhea'. |
| 186 | |
| 187 | * src/sfnt/sfobjs.c (sfnt_load_face): Update. |
| 188 | |
| 189 | 2006-02-13 Chia-I Wu <b90201047@ntu.edu.tw> |
| 190 | |
Wu, Chia-I (吳佳一) | e0decd1 | 2006-02-14 07:20:06 +0000 | [diff] [blame] | 191 | * src/sfnt/ttmtx.h, src/sfnt/ttmtx.c: Why are there two copies of |
| 192 | code... |
| 193 | |
| 194 | 2006-02-13 Chia-I Wu <b90201047@ntu.edu.tw> |
| 195 | |
Werner Lemberg | 5225402 | 2006-02-15 06:05:52 +0000 | [diff] [blame] | 196 | Clean up the SFNT_Interface. In this pass, we want to treat the |
| 197 | font directory (offset table and table directory) as a normal table |
| 198 | like the others. This also means that TTCs are no longer recognized |
| 199 | there but in `init_face'. |
Wu, Chia-I (吳佳一) | 65863a5 | 2006-02-14 07:01:29 +0000 | [diff] [blame] | 200 | |
| 201 | * include/freetype/internal/sfnt.h (SFNT_Interface), |
| 202 | src/sfnt/sfdriver.c: `load_sfnt_header' and `load_directory' are |
| 203 | combined and renamed to `load_font_dir'. |
| 204 | |
| 205 | * src/sfnt/ttload.h, src/sfnt/ttload.c: |
| 206 | s/sfnt_dir_check/check_table_dir/. |
| 207 | `sfnt_init' is moved to sfobjs.c and renamed to `sfnt_open_font'. |
| 208 | `tt_face_load_sfnt_header' and `tt_face_load_directory' are combined |
| 209 | and renamed to `tt_face_load_font_dir'. |
| 210 | |
| 211 | * src/sfnt/sfobjs.c (sfnt_init_face): Recognize TTC here. |
| 212 | |
| 213 | 2006-02-13 Chia-I Wu <b90201047@ntu.edu.tw> |
| 214 | |
Wu, Chia-I (吳佳一) | f5aa47b | 2006-02-14 06:40:10 +0000 | [diff] [blame] | 215 | Clean up the SFNT_Interface. Table loading functions are now named |
Werner Lemberg | 5225402 | 2006-02-15 06:05:52 +0000 | [diff] [blame] | 216 | after the tables' tags; `hdmx' is TrueType-specific and thus the |
| 217 | code is moved to the truetype module; `get_metrics' is moved here |
| 218 | from the truetype module so that the code can be shared with the cff |
| 219 | module. |
Wu, Chia-I (吳佳一) | f5aa47b | 2006-02-14 06:40:10 +0000 | [diff] [blame] | 220 | |
| 221 | This pass involves no real changes. That is, the code is moved |
| 222 | verbatim mostly. The only exception is the return value of |
| 223 | `tt_face_get_metrics'. |
| 224 | |
| 225 | * include/freetype/internal/sfnt.h, src/sfnt/rules.mk, |
| 226 | src/sfnt/sfdriver.c, src/sfnt/sfnt.c, src/sfnt/sfobjs.c, |
| 227 | src/sfnt/ttload.c, src/sfnt/ttload.h, src/sfnt/ttsbit.c, |
| 228 | src/sfnt/ttsbit.h, src/sfnt/ttsbit0.c: Clean up the SFNT_Interface. |
David Turner | cda2d95 | 2006-02-16 22:45:31 +0000 | [diff] [blame] | 229 | |
Werner Lemberg | 5225402 | 2006-02-15 06:05:52 +0000 | [diff] [blame] | 230 | * src/sfnt/ttmtx.c, src/sfnt/ttmtx.h: New files. Metrics-related |
| 231 | tables' loading and parsing code is moved to here. |
| 232 | Move `tt_face_get_metrics' here from the truetype module. The |
| 233 | return value is changed from `void' to `FT_Error'. |
Wu, Chia-I (吳佳一) | f5aa47b | 2006-02-14 06:40:10 +0000 | [diff] [blame] | 234 | |
| 235 | * include/freetype/internal/fttrace.h: New trace: ttmtx. |
| 236 | |
| 237 | * src/truetype/ttpload.c, src/truetype/ttpload.h: `hdmx' loading and |
| 238 | parsing code is moved here. |
| 239 | New function `tt_face_load_prep' splitted from `tt_face_load_fpgm'. |
| 240 | `tt_face_load_fpgm' returns `FT_Err_Ok' if `fpgm' doesn't exist. |
| 241 | |
| 242 | * src/cff/cffgload.c, src/cff/cffobjs.c: Update. |
| 243 | |
| 244 | * src/truetype/ttgload.c, src/truetype/ttobjs.c: Update. |
| 245 | |
Wu, Chia-I (吳佳一) | f9a6913 | 2006-02-11 12:12:02 +0000 | [diff] [blame] | 246 | 2006-02-11 Chia-I Wu <b90201047@ntu.edu.tw> |
| 247 | |
Wu, Chia-I (吳佳一) | 4c507ff | 2006-02-11 13:22:37 +0000 | [diff] [blame] | 248 | * src/autofit/afcjk.c (af_cjk_metrics_init): Fix a stupid bug... |
| 249 | |
| 250 | * src/autofit/aflatin.c (af_latin_metrics_init_widths): Use |
Werner Lemberg | d39fda2 | 2006-02-12 21:49:21 +0000 | [diff] [blame] | 251 | AF_LatinMetricsRec as the dummy metrics because we cast the metrics |
| 252 | to it later in `af_latin_hints_link_segments'. |
Wu, Chia-I (吳佳一) | 4c507ff | 2006-02-11 13:22:37 +0000 | [diff] [blame] | 253 | |
| 254 | 2006-02-11 Chia-I Wu <b90201047@ntu.edu.tw> |
| 255 | |
Wu, Chia-I (吳佳一) | f9a6913 | 2006-02-11 12:12:02 +0000 | [diff] [blame] | 256 | * include/freetype/config/ftoption.h (AF_CONFIG_OPTION_CJK): #define |
Werner Lemberg | d39fda2 | 2006-02-12 21:49:21 +0000 | [diff] [blame] | 257 | to enable autofit CJK script support. (#define'd by default.) |
Wu, Chia-I (吳佳一) | f9a6913 | 2006-02-11 12:12:02 +0000 | [diff] [blame] | 258 | |
| 259 | * src/autofit/aflatin.h (AF_LATIN_CONSTANT): New macro. |
| 260 | |
Werner Lemberg | d39fda2 | 2006-02-12 21:49:21 +0000 | [diff] [blame] | 261 | * src/autofit/aflatin.c (af_latin_metrics_init_widths): Make sure |
| 262 | that `edge_distance_threshold' is always set. |
| 263 | (af_latin_hints_link_segments): Potential divide-by-zero bug. |
Wu, Chia-I (吳佳一) | f9a6913 | 2006-02-11 12:12:02 +0000 | [diff] [blame] | 264 | Use latin constant in the scoring formula. |
| 265 | |
| 266 | * src/autofit/afcjk.c: Minor updates due to the above three changes. |
| 267 | |
| 268 | * docs/TODO, docs/CHANGES: Updated. |
| 269 | |
Wu, Chia-I (吳佳一) | 4cdb45c | 2006-02-09 14:17:04 +0000 | [diff] [blame] | 270 | 2006-02-09 Chia-I Wu <b90201047@ntu.edu.tw> |
| 271 | |
| 272 | Introduce experimental autofit CJK module based on akito's autohint |
| 273 | patch. You need to #define AF_MOD_CJK in afcjk.c to enable it. |
| 274 | |
| 275 | * src/autofit/afglobal.c, src/autofit/afcjk.h, src/autofit/afcjk.c, |
| 276 | src/autofit/rules.mk, src/autofit/autofit.c, src/autofit/aftypes.h: |
| 277 | Add CJK module based on akito's autohint patch. |
| 278 | |
| 279 | * src/autofit/afhints.h (AF_SegmentRec): New field `len' for the |
Werner Lemberg | d1d4bff | 2006-02-10 22:15:22 +0000 | [diff] [blame] | 280 | overlap length of the segments. |
| 281 | (AF_SEGMENT_LEN, AF_SEGMENT_DIST): New macros. |
Wu, Chia-I (吳佳一) | 4cdb45c | 2006-02-09 14:17:04 +0000 | [diff] [blame] | 282 | |
| 283 | * src/autofit/aflatin.h (af_latin_metrics_init_widths), |
Werner Lemberg | d1d4bff | 2006-02-10 22:15:22 +0000 | [diff] [blame] | 284 | src/autofit/aflatin.c (af_latin_metrics_init_widths): Made |
| 285 | `FT_LOCAL'. |
Wu, Chia-I (吳佳一) | 4cdb45c | 2006-02-09 14:17:04 +0000 | [diff] [blame] | 286 | Use the character given by the caller. |
| 287 | (af_latin_metrics_init_widths, af_latin_hints_link_segments): Scale |
| 288 | the thresholds. |
| 289 | |
| 290 | * src/autofit/afloader.c (af_loader_load_g): Respect |
| 291 | AF_SCALER_FLAG_NO_ADVANCE. |
| 292 | |
Werner Lemberg | 6be99f9 | 2006-02-09 07:38:57 +0000 | [diff] [blame] | 293 | 2006-02-09 Werner Lemberg <wl@gnu.org> |
Suzuki, Toshiya (鈴木俊哉) | 4f41d63 | 2006-02-09 01:43:00 +0000 | [diff] [blame] | 294 | |
Werner Lemberg | 6be99f9 | 2006-02-09 07:38:57 +0000 | [diff] [blame] | 295 | * src/cid/cidparse.c (cid_parse_new): Remove shadowing variable. |
Suzuki, Toshiya (鈴木俊哉) | 4f41d63 | 2006-02-09 01:43:00 +0000 | [diff] [blame] | 296 | |
Werner Lemberg | 6be99f9 | 2006-02-09 07:38:57 +0000 | [diff] [blame] | 297 | 2006-02-09 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> |
Suzuki, Toshiya (鈴木俊哉) | 458c342 | 2006-02-08 12:58:24 +0000 | [diff] [blame] | 298 | |
Werner Lemberg | 6be99f9 | 2006-02-09 07:38:57 +0000 | [diff] [blame] | 299 | * src/cid/cidparse.c (cid_parse_new): Fix for abnormally short or |
| 300 | broken CIDFont. Reported by Taek Kwan(TK) Lee (see ft-devel |
| 301 | 2005-11-02). |
| 302 | |
| 303 | 2006-02-08 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> |
| 304 | |
| 305 | * builds/unix/configure.ac: Fix bug for `--with-old-mac-fonts' |
| 306 | option on UNIX platform. It has been broken since 2006-01-11. |
Suzuki, Toshiya (鈴木俊哉) | 458c342 | 2006-02-08 12:58:24 +0000 | [diff] [blame] | 307 | |
Werner Lemberg | 38beff0 | 2006-02-01 05:14:25 +0000 | [diff] [blame] | 308 | 2006-02-01 Werner Lemberg <wl@gnu.org> |
| 309 | |
| 310 | * src/otvalid/module.mk: s/otvalid_module_class/otv_module_class/. |
| 311 | * src/gxvalid/module.mk: s/gxvalid_module_class/gxv_module_class/. |
| 312 | |
Werner Lemberg | 03379b6 | 2006-02-01 05:40:06 +0000 | [diff] [blame] | 313 | * builds/unix/unixddef.mk: Actually do define PLATFORM (fixing |
| 314 | change from 2006-01-31). |
| 315 | (TOP_DIR, OBJ_DIR): Update. |
| 316 | |
Werner Lemberg | 9a8006b | 2006-02-01 06:07:05 +0000 | [diff] [blame] | 317 | * builds/unix/install.mk (install): Fix path for ftmodule.h. |
| 318 | |
Werner Lemberg | 54a79c8 | 2006-02-01 07:54:07 +0000 | [diff] [blame] | 319 | * Makefile, *.mk, builds/unix/unix-cc.in, builds/unix-def.in: Use |
| 320 | `?=' where appropriate. |
Werner Lemberg | 8a4de0d | 2006-02-01 07:52:11 +0000 | [diff] [blame] | 321 | |
| 322 | * builds/detect.mk (TOP_DIR), builds/os2/os2-dev.mk (TOP_DIR), |
| 323 | builds/win32/w32-dev.mk (TOP_DIR): Removed. Defined elsewhere. |
| 324 | |
Werner Lemberg | 38beff0 | 2006-02-01 05:14:25 +0000 | [diff] [blame] | 325 | 2006-01-31 Werner Lemberg <wl@gnu.org> |
Werner Lemberg | 5993924 | 2006-01-31 20:17:42 +0000 | [diff] [blame] | 326 | |
| 327 | Implement new, simplified module selection. With GNU make it is now |
| 328 | sufficient to modify a single file, `modules.cfg', to control the |
| 329 | inclusion of modules and base extension files. |
| 330 | |
| 331 | This change also fixes the creation of ftmodule.h; it now depends on |
| 332 | `modules.cfg' and thus is rebuilt only if necessary. |
| 333 | |
| 334 | Finally, a version of `ftoption.h' in OBJ_DIR is preferred over the |
| 335 | default location. |
| 336 | |
| 337 | * modules.cfg: New file. |
| 338 | |
| 339 | * builds/freetype.mk: Don't include `modules.mk'. |
| 340 | Include all `rules.mk' files as specified in `modules.cfg'. |
| 341 | (FTOPTION_FLAG, FTOPTION_H): New variables. |
| 342 | (FT_CFLAGS): Add macro definition for FT_CONFIG_MODULES_H. |
| 343 | Add FTOPTION_FLAG. |
| 344 | ($(FT_INIT_OBJ)): Don't use FT_MODULE_LIST. |
| 345 | (CONFIG_H): Add FTMODULE_H and FTOPTION_H. |
| 346 | (INCLUDES): Add DEVEL_DIR. |
| 347 | (INCLUDE_FLAGS, FTSYS_SRC, FTSYS_OBJ, FTDEBUG_SRC, FTDEBUG_OBJ, |
| 348 | OBJ_M, OBJ_S): Use `:=', not `='. |
| 349 | (remove_ftmodule_h): New phony target to delete `ftmodule.h'. |
| 350 | (distclean): Add remove_ftmodule_h. |
| 351 | |
| 352 | * builds/modules.mk: (MODULE_LIST): Removed. |
| 353 | (make_module_list, clean_module_list): Replace targets |
| 354 | with... |
| 355 | (FTMODULE_H_INIT, FTMODULE_H_CREATE, FTMODULE_H_DONE): New |
| 356 | variables. Reason for the change is that it is not possible to have |
| 357 | a phony prerequisite which is run only if the target file must be |
| 358 | rebuilt (phony prerequisites act like subroutines and are *always* |
| 359 | executed). We only want to rebuild `ftmodule.h' if `module.cfg' is |
| 360 | changed. |
| 361 | Update all callers. |
| 362 | ($FTMODULE_H)): Rule to create `ftmodule.h', depending on |
| 363 | `modules.cfg'. |
| 364 | |
| 365 | * builds/toplevel.mk: Rewrite and simplify module handling. |
| 366 | (MODULES_CFG, FTMODULE_H): New variables. |
| 367 | Include MODULES_CFG. |
| 368 | (MODULES): New variable to include all `module.mk' and `rules.mk' |
| 369 | files. We no longer use make's `wildcard' function for this. |
| 370 | |
| 371 | * Makefile (USE_MODULES): Remove. Update all users. |
| 372 | (OBJ_DIR): Define it here. |
| 373 | |
| 374 | * src/*/module.mk: Change |
| 375 | |
| 376 | make_module_list: foo |
| 377 | foo: ... |
| 378 | |
| 379 | to |
| 380 | |
| 381 | FTMODULE_H_COMMANDS += FOO |
| 382 | define FOO |
| 383 | ... |
| 384 | endef |
| 385 | |
| 386 | in all files. `FTMODULE_H_COMMANDS' is used in `FTMODULE_H_CREATE'. |
| 387 | |
| 388 | * src/base/rules.mk (BASE_EXT_SRC): Use BASE_EXTENSIONS. |
| 389 | |
| 390 | * builds/unix/detect.mk (setup): Always execute `configure' script. |
| 391 | (have_mk): Rename to... |
| 392 | (have_Makefile): This. |
| 393 | Don't use `strip' function. |
| 394 | |
| 395 | * builds/unix/unix.mk: Include `install.mk' only if BUILD_PROJECT is |
| 396 | defined. |
| 397 | (have_mk): Don't use `strip' function. |
| 398 | Test for unix-def.mk in OBJ_DIR, not BUILD_DIR (and invert the test |
| 399 | accordingly). |
| 400 | |
| 401 | * builds/unix/install.mk (install, uninstall): Handle `ftmodule.h'. |
| 402 | |
| 403 | * builds/os2/os2-dev.mk, builds/unix/unix-dev.mk, |
| 404 | builds/win32/w32-bccd.mk, builds/win32/w32-dev.mk: Don't define |
| 405 | BUILD_DIR but DEVEL_DIR for development header files. |
| 406 | |
| 407 | * builds/ansi/ansi-def.mk (TOP_DIR, OBJ_DIR), |
| 408 | builds/beos/beos-def.mk (TOP_DIR, OBJ_DIR), builds/unix/unix-def.in |
| 409 | (TOP_DIR, OBJ_DIR): Removed. Defined elsewhere. |
| 410 | |
| 411 | * builds/dos/dos-def.mk (OBJ_DIR), builds/os2/os2-def.mk (OBJ_DIR), |
| 412 | builds/win32/win32-def.mk (OBJ_DIR): Removed. Defined elsewhere. |
| 413 | |
| 414 | * builds/unix/unixddef.mk: Don't define BUILD_DIR but DEVEL_DIR for |
| 415 | development header files. |
| 416 | Don't define PLATFORM. |
| 417 | |
| 418 | * configure: Copy `modules.cfg' to builddir if builddir != srcdir. |
| 419 | Update snippet taken from autoconf's m4sh.m4 to current CVS version. |
| 420 | Be more verbose. |
| 421 | |
| 422 | * include/freetype/config/ftmodule.h: Add comments -- this file is |
| 423 | no longer used if FreeType is built with GNU make. |
| 424 | |
| 425 | * docs/CHANGES, docs/CUSTOMIZE, docs/INSTALL, docs/INSTALL.ANY, |
| 426 | docs/INSTALL.GNU, docs/INSTALL.UNX: Document new build mechanism. |
| 427 | Other minor updates. |
| 428 | |
| 429 | * modules.txt: Removed. Contents included in `modules.cfg'. |
| 430 | |
| 431 | |
| 432 | * include/freetype/internal/ftmemory.h (FT_QAlloc_Debug, |
| 433 | FT_Free_Debug) [FT_STRICT_ALIASING]: Fix typos. |
| 434 | |
| 435 | * src/base/ftdbgmem.c (FT_Alloc_Debug, FT_Realloc_Debug, |
| 436 | FT_QAlloc_Debug, FT_QRealloc_Debug, FT_Free_Debug) |
| 437 | [FT_STRICT_ALIASING]: Implement. |
| 438 | |
Wu, Chia-I (吳佳一) | 98d802b | 2006-01-31 07:01:24 +0000 | [diff] [blame] | 439 | 2006-01-31 Chia-I Wu <b90201047@ntu.edu.tw> |
| 440 | |
Wu, Chia-I (吳佳一) | 5d14685 | 2006-01-31 10:29:44 +0000 | [diff] [blame] | 441 | * src/cff/cffobjs.c (cff_face_init), src/cid/cidobjs.c |
Werner Lemberg | 5993924 | 2006-01-31 20:17:42 +0000 | [diff] [blame] | 442 | (cid_face_init), src/pfr/pfrobjs.c (pfr_face_init), |
| 443 | src/type1/t1objs.c (T1_Face_Init): Set face->height to MAX(1.2 * |
| 444 | units_per_EM, ascender - descender). |
Wu, Chia-I (吳佳一) | 5d14685 | 2006-01-31 10:29:44 +0000 | [diff] [blame] | 445 | |
| 446 | 2006-01-31 Chia-I Wu <b90201047@ntu.edu.tw> |
| 447 | |
Wu, Chia-I (吳佳一) | 98d802b | 2006-01-31 07:01:24 +0000 | [diff] [blame] | 448 | * include/freetype/internal/t1types.h (AFM_FontInfo), |
| 449 | src/psaux/afmparse.c, src/tools/test_afm.c: Read `FontBBox', |
| 450 | `Ascender', and `Descender' from an AFM. |
| 451 | |
| 452 | * src/type1/t1afm.c (T1_Read_Metrics): Use the metrics from the AFM. |
| 453 | |
Werner Lemberg | 5993924 | 2006-01-31 20:17:42 +0000 | [diff] [blame] | 454 | * include/freetype/freetype.h (FT_FaceRec): Mention that fields may |
| 455 | be changed after file attachment. |
Wu, Chia-I (吳佳一) | 98d802b | 2006-01-31 07:01:24 +0000 | [diff] [blame] | 456 | |
Werner Lemberg | 7596fd3 | 2006-01-28 16:29:29 +0000 | [diff] [blame] | 457 | 2006-01-28 Werner Lemberg <wl@gnu.org> |
| 458 | |
| 459 | * src/*/module.mk (.PHONY): Add. |
| 460 | |
Werner Lemberg | 68a15eb | 2006-01-28 07:30:58 +0000 | [diff] [blame] | 461 | 2006-01-27 Werner Lemberg <wl@gnu.org> |
| 462 | |
| 463 | * README, docs/FTL.TXT: Fix email address for bug reports. |
| 464 | Other minor formatting. |
| 465 | |
Werner Lemberg | f6a2550 | 2006-01-28 10:38:15 +0000 | [diff] [blame] | 466 | * devel/ftoption.h: Synchronize with |
| 467 | include/freetype/config/ftoption.h. |
| 468 | |
| 469 | * src/autofit/module.mk (add_autofit_module), src/bdf/module.mk |
| 470 | (add_bdf_module), src/type42/module.mk (add_type42_driver): Fix |
| 471 | whitespace. |
| 472 | |
| 473 | * src/smooth/module.mk (add_smooth_renderer): Add lcd and lcdv |
| 474 | renderer classes. |
| 475 | |
David Turner | ff0e9e6 | 2006-01-27 09:15:53 +0000 | [diff] [blame] | 476 | 2006-01-27 David Turner <david@freetype.org> |
| 477 | |
Werner Lemberg | 68a15eb | 2006-01-28 07:30:58 +0000 | [diff] [blame] | 478 | * builds/unix/configure.ac: Fix build problem on Cygwin. |
David Turner | cda2d95 | 2006-02-16 22:45:31 +0000 | [diff] [blame] | 479 | |
Werner Lemberg | 68a15eb | 2006-01-28 07:30:58 +0000 | [diff] [blame] | 480 | * builds/unix/install.mk (install): Don't install the internal |
| 481 | headers, and remove existing ones if found in the target install |
| 482 | directory. |
David Turner | 7213b4f | 2006-01-27 16:42:32 +0000 | [diff] [blame] | 483 | |
Werner Lemberg | 68a15eb | 2006-01-28 07:30:58 +0000 | [diff] [blame] | 484 | * src/autofit/afwarp.c: Add simple #ifdef to prevent compilation |
| 485 | if the warp hinter isn't active (it shouldn't, still experimental). |
David Turner | 6a681fa | 2006-01-27 12:11:22 +0000 | [diff] [blame] | 486 | |
Werner Lemberg | 68a15eb | 2006-01-28 07:30:58 +0000 | [diff] [blame] | 487 | * Jamfile, include/freetype/config/ftmodule.h: Remove `gxvalid' |
Werner Lemberg | be3c981 | 2006-01-27 14:16:16 +0000 | [diff] [blame] | 488 | and `otvalid' from the list of modules that are linked statically |
| 489 | to a given FreeType library. Functionality has been moved to the |
| 490 | `ftvalid' CVS module. |
David Turner | 6a681fa | 2006-01-27 12:11:22 +0000 | [diff] [blame] | 491 | |
Werner Lemberg | be3c981 | 2006-01-27 14:16:16 +0000 | [diff] [blame] | 492 | Note also that current Make-based build system still compiles the |
| 493 | modules though. |
David Turner | 6a681fa | 2006-01-27 12:11:22 +0000 | [diff] [blame] | 494 | |
Werner Lemberg | be3c981 | 2006-01-27 14:16:16 +0000 | [diff] [blame] | 495 | * include/freetype/config/ftoption.h (FT_STRICT_ALIASING): New macro |
| 496 | which controls the definitions of the memory management functions to |
| 497 | avoid warnings with recent versions of GCC. This macro is only here |
| 498 | to be disabled, in case we detect problems with the new scheme. |
David Turner | 6a681fa | 2006-01-27 12:11:22 +0000 | [diff] [blame] | 499 | |
Werner Lemberg | be3c981 | 2006-01-27 14:16:16 +0000 | [diff] [blame] | 500 | NOTE: Disable macro to use the memory debugger -- this will be fixed |
| 501 | later! |
| 502 | |
| 503 | * include/freetype/internal/ftmemory.h, src/base/ftutil.c (FT_Alloc, |
| 504 | FT_QAlloc, FT_Realloc, FT_QRealloc, FT_Free) [FT_STRICT_ALIASING]: |
| 505 | New versions. |
| 506 | |
| 507 | |
| 508 | * builds/win32/visualc/freetype.dsp: Updating project file to |
| 509 | define FT2_BUILD_LIBRARY, and remove gxvalid + otvalid modules from |
| 510 | compilation. |
| 511 | |
| 512 | |
| 513 | * builds/freetype.mk (FT_CFLAGS), Jamfile (DEFINES): Define the |
| 514 | macro FT2_BUILD_LIBRARY when compiling the library. |
| 515 | |
| 516 | * include/freetype/config/ftheader.h: Remove inclusions of internal |
| 517 | headers except if the macro FT2_BUILD_LIBRARY is defined. |
| 518 | |
| 519 | |
| 520 | * include/freetype/internal/psaux.h (AFM_KernPair, AFM_TrackKern, |
| 521 | AFM_FontInfo): Move structure declarations to... |
| 522 | * include/freetype/internal/t1types.h: This file. |
| 523 | |
| 524 | |
| 525 | * (many files): Fix compiler warnings. |
| 526 | Various minor reorganizations. |
| 527 | |
| 528 | |
| 529 | * src/cff/cffload.c (cff_font_done): Don't free static array |
| 530 | `subfonts'. |
| 531 | |
| 532 | * src/otvalid/otvcommn.c (otv_ClassDef_validate), |
| 533 | src/otvalid/otvgpos.c (otv_x_sxy): Fix debugging information. |
| 534 | |
Werner Lemberg | 68a15eb | 2006-01-28 07:30:58 +0000 | [diff] [blame] | 535 | |
| 536 | Get rid of writable static variables (i.e., the string table) in |
| 537 | afmparse, and fix compilation in FT2_MULTI mode. |
| 538 | |
Werner Lemberg | be3c981 | 2006-01-27 14:16:16 +0000 | [diff] [blame] | 539 | * src/psaux/afmparse.c: Include ft2build.h and FT_FREETYPE_H. |
| 540 | (AFM_MAX_ARGUMENTS): Define... |
| 541 | * src/psaux/afmparse.h: Here. |
| 542 | * src/psaux/Jamfile (_sources): Add afmparse. |
| 543 | |
| 544 | * src/psaux/psconv.c: Include psconv.h. |
| 545 | |
| 546 | * src/type1/t1afm.c: Don't include FT_INTERNAL_TYPE1_TYPES_H but |
| 547 | FT_INTERNAL_POSTSCRIPT_AUX_H. |
| 548 | * src/type1/t1afm.h: Include FT_INTERNAL_TYPE1_TYPES_H. |
David Turner | ff0e9e6 | 2006-01-27 09:15:53 +0000 | [diff] [blame] | 549 | |
Wu, Chia-I (吳佳一) | 4c6234d | 2006-01-23 10:46:38 +0000 | [diff] [blame] | 550 | 2006-01-23 Chia-I Wu <b90201047@ntu.edu.tw> |
| 551 | |
Wu, Chia-I (吳佳一) | bcc438b | 2006-01-23 14:12:40 +0000 | [diff] [blame] | 552 | * include/freetype/freetype.h (FT_Select_Size): Rename the second |
| 553 | argument from `idx' to `strike_index'. |
| 554 | (FT_Size_Request_Type): Add FT_SIZE_REQUEST_TYPE_MAX to the end of |
| 555 | this enum. |
| 556 | |
| 557 | * include/freetype/internal/ftobjs.h (FT_REQUEST_WIDTH, |
| 558 | FT_REQUEST_HEIGHT): New macros to get the width and height of a |
| 559 | request, in fractional pixels. |
| 560 | |
| 561 | * include/freetype/internal/ftobjs.h (FT_Select_Metrics, |
| 562 | FT_Request_Metrics), src/base/ftobjs.c (FT_Select_Metrics, |
| 563 | FT_Request_Metrics): New base functions to set the font metrics. They |
| 564 | were part of FT_Select_Size/FT_Request_Size and are made independent |
| 565 | functions so that metrics are not set again and again. |
| 566 | |
| 567 | * src/base/ftobjs.c (FT_Select_Size, FT_Request_Size): Metrics are set |
| 568 | only when driver's size_select/size_request is NULL. That is, drivers |
| 569 | should set the metrics themselves. |
| 570 | (FT_Match_Size): Round before matching. This was what we did and it |
| 571 | does cause some problems without rounding. |
| 572 | |
| 573 | * src/cff/cffobjs.c (cff_size_select), src/truetype/ttdriver.c |
| 574 | (tt_size_select): Set the font metrics. |
| 575 | s/index/strike_index/. |
| 576 | The scaled metrics are always preferred over strikes' metrics, even |
| 577 | when some strike is selected. This is done because the strikes' |
| 578 | metrics are not reliable, e.g., the sign of the descender is wrong for |
| 579 | some fonts. |
| 580 | |
| 581 | * src/cff/cffobjs.c (cff_size_request), src/truetype/ttdriver.c |
| 582 | (tt_size_request): Set the font metrics. |
| 583 | Call cff_size_select/tt_size_select when some strike is matched. |
| 584 | |
| 585 | * src/bdf/bdfdrivr.c, src/cff/cffobjs.c, src/cid/cidobjs.c, |
| 586 | src/pcf/pcfdrivr.c, src/truetype/ttdriver.c, src/type1/t1objs.c, |
| 587 | src/type1/t1objs.h, src/type42/t42objs.c, src/winfonts/winfnt.c: |
| 588 | Set the font metrics. |
| 589 | s/index/strike_index/. |
| 590 | |
| 591 | * src/tools/test_afm.c, src/psaux/psconv.c: Older versions of these |
| 592 | files were committed. Just a catch-up. |
| 593 | (PS_Conv_ToFixed): Remove the `goto'. |
| 594 | (PS_Conv_ASCIIHexDecode, PS_Conv_EexecDecode): Speed up a little. |
| 595 | |
| 596 | * src/sfnt/ttsbit.c (tt_face_load_sbit_strikes, |
| 597 | tt_face_load_strike_metrics), src/sfnt/ttsbit0.c |
| 598 | (tt_face_load_sbit_strikes, tt_face_load_strike_metrics): The |
| 599 | advertised metrics in `available_sizes' are different from those |
| 600 | actually used. |
| 601 | |
| 602 | 2006-01-23 Chia-I Wu <b90201047@ntu.edu.tw> |
| 603 | |
Wu, Chia-I (吳佳一) | 4c6234d | 2006-01-23 10:46:38 +0000 | [diff] [blame] | 604 | * src/psaux/psaux.c src/psaux/psauxmod.c src/type1/t1driver.c: Make |
| 605 | AFM parser optional, controlled by `T1_CONFIG_OPTION_NO_AFM'. |
| 606 | |
Werner Lemberg | ed70ca5 | 2006-01-23 07:28:03 +0000 | [diff] [blame] | 607 | 2006-01-22 Werner Lemberg <wl@gnu.org> |
| 608 | |
| 609 | * builds/unix/install-sh, builds/unix/mkinstalldirs: Updated from |
| 610 | `texinfo' CVS module at savannah.gnu.org. |
| 611 | |
Werner Lemberg | 1be9ebf | 2006-01-22 06:58:16 +0000 | [diff] [blame] | 612 | 2006-01-21 Werner Lemberg <wl@gnu.org> |
| 613 | |
| 614 | * src/autofit/rules.mk (AUTOF_DRV_SRC): Add afwarp.c. |
| 615 | |
Werner Lemberg | b36bf52 | 2006-01-22 07:09:54 +0000 | [diff] [blame] | 616 | * src/autofit/afloader.c (af_loader_load_g): Move AF_USE_WARPER up |
| 617 | to avoid compiler warnings. |
| 618 | |
| 619 | * src/autofit/afwarp.c (af_warper_compute_line_best): Remove |
| 620 | shadowing variable declarations. |
| 621 | Fix warning parameters and replace printf with AF_LOG. |
| 622 | (af_warper_compute): Remove unused variable. |
| 623 | |
David Turner | bb4edc9 | 2006-01-21 14:31:45 +0000 | [diff] [blame] | 624 | 2006-01-20 David Turner <david@freetype.org> |
| 625 | |
Werner Lemberg | 1be9ebf | 2006-01-22 06:58:16 +0000 | [diff] [blame] | 626 | Adding experimental implementation of `warp hinting' (new hinting |
| 627 | algorithm for gray-level and LCD rendering). It is disabled by |
| 628 | default, you need to #define AF_USE_WARPER in aftypes.h. |
| 629 | |
| 630 | * src/autofit/afhints.c (af_glyph_hints_scale_dim) [AF_USE_WARPER]: |
| 631 | New function. |
| 632 | * src/autofit/afhints.h: Updated. |
| 633 | |
| 634 | * src/autofit/aflatin.c [AF_USE_WARPER]: Include afwarp.h. |
| 635 | (af_latin_hints_init) [AF_USE_WARPER]: Reset mode to |
| 636 | FT_RENDER_MODE_NORMAL if an LCD mode is selected. |
| 637 | (af_latin_hints_apply) [AF_USE_WARPER]: Call af_warper_compute |
| 638 | appropriately. |
| 639 | |
| 640 | * src/autofit/afloader.c (af_loader_load_g) [!AF_USER_WARPER]: |
| 641 | Isolate code for adjusting metrics. |
| 642 | |
| 643 | * src/autofit/aftypes.h (AF_USE_WARPER): New macro (commented out by |
| 644 | default). |
| 645 | |
| 646 | * src/autofit/afwarp.c, src/autofit/afwarp.h: New files. |
| 647 | |
| 648 | * src/autofit/autofit.c [AF_USE_WARPER]: Include afwarp.c. |
| 649 | |
| 650 | * src/autofit/Jamfile (_sources): Add afwarp. |
David Turner | bb4edc9 | 2006-01-21 14:31:45 +0000 | [diff] [blame] | 651 | |
David Turner | 8c16ed3 | 2006-01-19 13:10:49 +0000 | [diff] [blame] | 652 | 2006-01-19 David Turner <david@freetype.org> |
| 653 | |
Werner Lemberg | e7be64e | 2006-01-21 17:27:32 +0000 | [diff] [blame] | 654 | * src/sfnt/ttsbit0.c (tt_face_load_strike_metrics): Fix small bug |
| 655 | that prevented compilation when FT_OPTIMIZE_MEMORY is defined. |
David Turner | 8c16ed3 | 2006-01-19 13:10:49 +0000 | [diff] [blame] | 656 | |
Werner Lemberg | 8b56063 | 2006-01-19 08:30:58 +0000 | [diff] [blame] | 657 | 2006-01-19 Brian Weed <bw@imaginengine.com> |
| 658 | |
| 659 | * builds/win32/visualc/freetype.dsp: Updated. |
| 660 | |
Werner Lemberg | 47bf95d | 2006-01-17 16:55:32 +0000 | [diff] [blame] | 661 | 2006-01-17 Werner Lemberg <wl@gnu.org> |
| 662 | |
| 663 | Use pscmap service in CFF module. |
| 664 | |
| 665 | * src/cff/cffcmap.c (cff_cmap_uni_pair_compare): Removed. |
| 666 | (cff_sid_to_glyph_name): New function. |
| 667 | (cff_cmap_unicode_init, cff_cmap_unicode_done, |
| 668 | cff_cmap_unicode_char_index, cff_cmap_unicode_char next): Use pscmap |
| 669 | service. |
| 670 | (cff_cmap_unicode_class_rec): Updated. |
| 671 | * src/cff/cffcmap.h (CFF_CMapUnicode, CFF_CMap_UniPair): Removed. |
| 672 | |
| 673 | |
| 674 | * src/psnames/psmodule.c (ps_unicodes_char_next): Fix `unicode' |
| 675 | return value. |
| 676 | |
| 677 | |
| 678 | * src/psaux/afmparse.c (afm_parser_read_vals): Use double casting |
Werner Lemberg | e7be64e | 2006-01-21 17:27:32 +0000 | [diff] [blame] | 679 | to avoid compiler warnings regarding type-punning. |
Werner Lemberg | 47bf95d | 2006-01-17 16:55:32 +0000 | [diff] [blame] | 680 | |
Wu, Chia-I (吳佳一) | 108fdbb | 2006-01-16 15:35:56 +0000 | [diff] [blame] | 681 | 2006-01-16 Chia-I Wu <b90201047@ntu.edu.tw> |
| 682 | |
| 683 | * src/psaux/afmparse.c, src/psaux/afmparse.h: New files which |
Werner Lemberg | ce94c7a | 2006-01-16 22:35:33 +0000 | [diff] [blame] | 684 | implement an AFM parser. |
Wu, Chia-I (吳佳一) | 108fdbb | 2006-01-16 15:35:56 +0000 | [diff] [blame] | 685 | |
| 686 | * src/psaux/psconv.c, src/psaux/psconv.h: New files to provide |
Werner Lemberg | ce94c7a | 2006-01-16 22:35:33 +0000 | [diff] [blame] | 687 | conversion functions (e.g., PS real number => FT_Fixed) for the |
| 688 | PS_Parser and AFM_Parser. Some of the functions are taken, with |
| 689 | some modifications, from the file psobjs.c. |
Wu, Chia-I (吳佳一) | 108fdbb | 2006-01-16 15:35:56 +0000 | [diff] [blame] | 690 | |
| 691 | * src/psaux/psobjs.c: Use functions from psconv.c. |
| 692 | |
Werner Lemberg | ce94c7a | 2006-01-16 22:35:33 +0000 | [diff] [blame] | 693 | * include/freetype/internal/psaux.h, src/psaux/psauxmod.c: Add |
Wu, Chia-I (吳佳一) | 108fdbb | 2006-01-16 15:35:56 +0000 | [diff] [blame] | 694 | `AFM_Parser' to the `psaux' service. |
| 695 | |
Werner Lemberg | ce94c7a | 2006-01-16 22:35:33 +0000 | [diff] [blame] | 696 | * src/psaux/psaux.c, src/psaux/rules.mk (PSAUX_DRV_SRC): Include |
| 697 | those new files. |
Wu, Chia-I (吳佳一) | 108fdbb | 2006-01-16 15:35:56 +0000 | [diff] [blame] | 698 | |
| 699 | * src/tools/test_afm.c: A test program for AFM parser. |
| 700 | |
Werner Lemberg | ce94c7a | 2006-01-16 22:35:33 +0000 | [diff] [blame] | 701 | * include/freetype/internal/services/svkern.h: New file providing a |
| 702 | `Kerning' service. It is currently only used to get the track |
| 703 | kerning information. |
| 704 | |
| 705 | * include/freetype/internal/ftserv.h (FT_SERVICE_KERNING_H): New |
| 706 | macro. |
Wu, Chia-I (吳佳一) | 108fdbb | 2006-01-16 15:35:56 +0000 | [diff] [blame] | 707 | |
| 708 | * src/type1/t1driver.c, src/type1/t1objs.c, src/type1/t1afm.c, |
| 709 | src/type1/t1afm.h: Update to use the AFM parser. |
| 710 | Provide the `Kerning' service. |
| 711 | |
| 712 | * include/freetype/freetype.h, src/base/ftobjs.c: New API |
| 713 | `FT_Get_Track_Kerning'. |
| 714 | |
Wu, Chia-I (吳佳一) | e5ff059 | 2006-01-15 06:00:49 +0000 | [diff] [blame] | 715 | 2006-01-15 Chia-I Wu <b90201047@ntu.edu.tw> |
| 716 | |
Wu, Chia-I (吳佳一) | ea1e8d3 | 2006-01-15 15:01:45 +0000 | [diff] [blame] | 717 | * include/freetype/internal/ftobjs.h, src/base/ftobjs.c, |
| 718 | src/bdf/bdfdrivr.c, src/cff/cffgload.c, src/cid/cidgload.c, |
| 719 | src/pcf/pcfdrivr.c, src/type1/t1gload.c, src/winfonts/winfnt.c: |
| 720 | s/ft_fake_vertical_metrics/ft_synthesize_vertical_metrics/. |
| 721 | |
| 722 | * docs/CHANGES: Mention that vertical metrics are synthesized for |
| 723 | fonts not having this info. |
| 724 | |
| 725 | 2006-01-15 Chia-I Wu <b90201047@ntu.edu.tw> |
| 726 | |
Wu, Chia-I (吳佳一) | 212aee0 | 2006-01-15 06:24:53 +0000 | [diff] [blame] | 727 | * include/freetype/internal/ftobjs.h (ft_fake_vertical_metrics), |
Werner Lemberg | 1723dcc | 2006-01-15 07:30:32 +0000 | [diff] [blame] | 728 | src/base/ftobjs.c (ft_fake_vertical_metrics): New function to fake |
Wu, Chia-I (吳佳一) | 212aee0 | 2006-01-15 06:24:53 +0000 | [diff] [blame] | 729 | vertical metrics. |
| 730 | |
| 731 | * src/cff/cffgload.c, src/cid/cidgload.c, src/pcf/pcfdrivr.c, |
Werner Lemberg | 1723dcc | 2006-01-15 07:30:32 +0000 | [diff] [blame] | 732 | src/type1/t1gload.c, src/winfonts/winfnt.c: Fake vertical metrics, |
| 733 | which are monotone. |
Wu, Chia-I (吳佳一) | 212aee0 | 2006-01-15 06:24:53 +0000 | [diff] [blame] | 734 | |
| 735 | * src/truetype/ttgload.c (compute_glyph_metrics): Some fixes and |
Werner Lemberg | 1723dcc | 2006-01-15 07:30:32 +0000 | [diff] [blame] | 736 | formattings in vertical metrics faking. There is still room for |
| 737 | improvements (and so does the CFF module). |
Wu, Chia-I (吳佳一) | 212aee0 | 2006-01-15 06:24:53 +0000 | [diff] [blame] | 738 | |
| 739 | 2006-01-15 Chia-I Wu <b90201047@ntu.edu.tw> |
| 740 | |
Wu, Chia-I (吳佳一) | e5ff059 | 2006-01-15 06:00:49 +0000 | [diff] [blame] | 741 | * src/bdf/bdfdrivr.c (BDF_Glyph_Load), src/pcf/pcfdrivr.c |
| 742 | (PCF_Glyph_Load), src/winfonts/winfnt.c (FNT_Load_Glyph): Don't set |
Werner Lemberg | 1723dcc | 2006-01-15 07:30:32 +0000 | [diff] [blame] | 743 | the linear advance fields as they are only used by the outline |
| 744 | glyphs. |
Wu, Chia-I (吳佳一) | e5ff059 | 2006-01-15 06:00:49 +0000 | [diff] [blame] | 745 | |
Werner Lemberg | 1723dcc | 2006-01-15 07:30:32 +0000 | [diff] [blame] | 746 | * include/freetype/freetype.h: Documentation updates and |
| 747 | clarifications. |
Wu, Chia-I (吳佳一) | e5ff059 | 2006-01-15 06:00:49 +0000 | [diff] [blame] | 748 | The meaning of FT_LOAD_FORCE_AUTOHINT is changed so that no real |
| 749 | change need be made to the code. |
| 750 | |
| 751 | * src/base/ftobjs.c (FT_Load_Glyph): Resolve flag dependencies and |
| 752 | decide whether to use the auto-hinter according to documentation. |
| 753 | There should to be no real difference. |
Werner Lemberg | 1723dcc | 2006-01-15 07:30:32 +0000 | [diff] [blame] | 754 | Some checks (e.g., is text height positve?) after the glyph is |
| 755 | loaded. |
Wu, Chia-I (吳佳一) | e5ff059 | 2006-01-15 06:00:49 +0000 | [diff] [blame] | 756 | (FT_Select_Size, FT_Request_Size): Scales are set to wrong values. |
| 757 | Be careful that scales won't be negative. |
| 758 | |
Wu, Chia-I (吳佳一) | e33dc2e | 2006-01-14 05:09:30 +0000 | [diff] [blame] | 759 | 2006-01-14 Chia-I Wu <b90201047@ntu.edu.tw> |
| 760 | |
| 761 | * docs/CHANGES: Mention the size selection change. |
| 762 | |
| 763 | * src/bdf/bdfdrivr.c (BDF_Size_Request, BDF_Size_Select), |
| 764 | src/pcf/pcfdrivr.c (PCF_Size_Request, PCF_Size_Select), |
| 765 | src/winfonts/winfnt.c (FNT_Size_Request, FNT_Size_Select): Do size |
Werner Lemberg | 3d8eeb8 | 2006-01-14 07:10:45 +0000 | [diff] [blame] | 766 | matching for requests of type NOMINAL and REAL_DIM. |
Wu, Chia-I (吳佳一) | e33dc2e | 2006-01-14 05:09:30 +0000 | [diff] [blame] | 767 | |
| 768 | * src/winfonts/winfnt.c (FNT_Face_Init): Print trace message when |
| 769 | `pixel_height' is used for nominal height. |
| 770 | |
| 771 | * src/base/ftobjs.c (FT_Request_Size): Call `FT_Match_Size' if the |
| 772 | face is bitmap only and driver doesn't provide `request_size'. This |
| 773 | is added merely for completion as no driver satisfies the conditions. |
| 774 | |
Wu, Chia-I (吳佳一) | fa7d6ab | 2006-01-13 12:21:31 +0000 | [diff] [blame] | 775 | 2006-01-13 Chia-I Wu <b90201047@ntu.edu.tw> |
| 776 | |
| 777 | Introduce new size selection interface. |
| 778 | |
Werner Lemberg | f1c2b91 | 2006-01-13 14:53:28 +0000 | [diff] [blame] | 779 | * include/freetype/internal/ftdriver.h (struct FT_Driver_ClassRec): |
Wu, Chia-I (吳佳一) | fa7d6ab | 2006-01-13 12:21:31 +0000 | [diff] [blame] | 780 | Replace `set_char_sizes' and `set_pixel_sizes' by `request_size' and |
| 781 | `select_size'. |
| 782 | |
| 783 | * include/freetype/freetype.h (FT_Select_Size, FT_Size_Request_Type, |
| 784 | FT_Size_Request, FT_Request_Size, FT_Select_Size), src/base/ftobjs.c |
| 785 | (FT_Select_Size, FT_Request_Size): API additions to export the new |
| 786 | size selection interface. |
| 787 | |
| 788 | * src/base/ftobjs.c (FT_Set_Char_Size, FT_Set_Pixel_Sizes): Use |
| 789 | `FT_Request_Size'. |
| 790 | |
| 791 | * include/freetype/internal/ftobjs.h (FT_Match_Size), |
| 792 | src/base/ftobjs.c (FT_Match_Size): New function to match a size |
| 793 | request against `available_sizes'. Drivers supporting bitmap strikes |
| 794 | can use this function to implement `request_size'. |
| 795 | |
| 796 | * src/bdf/bdfdrivr.c, src/cid/cidobjs.c, src/cid/cidobjs.h, |
| 797 | src/cid/cidriver.c, src/pcf/pcfdrivr.c, src/type1/t1driver.c, |
| 798 | src/type1/t1objs.c, src/type1/t1objs.h, src/type42/t42drivr.c, |
| 799 | src/type42/t42objs.c, src/type42/t42objs.h, src/winfonts/winfnt.c: |
| 800 | Update to new size selection interface. |
| 801 | |
| 802 | * src/cff/cffdrivr.c, src/cff/cffgload.c, src/cff/cffobjs.c, |
| 803 | src/cff/cffobjs.h, src/truetype/ttdriver.c, src/truetype/ttgload.c, |
| 804 | src/truetype/ttobjs.c, src/truetype/ttobjs.h: Update to new size |
| 805 | selection interface. |
| 806 | Make `strike_index' FT_ULong and always defined. |
| 807 | Use `load_strike_metrics' provided by SFNT interface. |
| 808 | |
| 809 | 2006-01-13 Chia-I Wu <b90201047@ntu.edu.tw> |
| 810 | |
| 811 | * include/freetype/internal/sfnt.h (SFNT_Interface): New method |
| 812 | `load_strike_metrics' used to load the strike's metrics. |
| 813 | |
| 814 | * src/sfnt/sfdriver.c, src/sfnt/ttsbit.c, src/sfnt/ttsbit.h, |
| 815 | src/sfnt/ttsbit0.c: New function `tt_face_load_strike_metrics'. |
| 816 | |
| 817 | * src/pfr/pfrobjs.c (pfr_face_init): Set FT_Bitmap_Size correctly. |
| 818 | |
| 819 | * src/winfonts/winfnt.c (FNT_Face_Init): Use `nominal_point_size' for |
| 820 | nominal size unless it is obviously incorrect. |
| 821 | |
| 822 | * include/freetype/freetype.h (FT_Bitmap_Size): Update the comments on |
| 823 | FNT driver. |
| 824 | |
Werner Lemberg | 8ab0979 | 2006-01-12 08:12:27 +0000 | [diff] [blame] | 825 | 2006-01-12 Werner Lemberg <wl@gnu.org> |
| 826 | |
| 827 | Prepare use of pscmap service within CFF module. |
| 828 | |
| 829 | * include/freetype/internal/services/svpscmap.h: Include |
| 830 | FT_INTERNAL_OBJECTS_H. |
| 831 | (PS_Unicode_Index_Func): Removed. Unused. |
| 832 | (PS_Macintosh_Name_Func): Renamed to... |
| 833 | (PS_Macintosh_NameFunc): This. |
| 834 | Update all callers. |
| 835 | (PS_Adobe_Std_Strings_Func): Renamed to... |
| 836 | (PS_Adobe_Std_StringsFunc): This. |
| 837 | Update all callers. |
| 838 | (PS_UnicodesRec): This is the former `PS_Unicodes' structure. |
| 839 | Add `cmap' member. |
| 840 | Update all callers. |
| 841 | (PS_Unicodes): This is now a typedef'd pointer to PS_UnicodesRec. |
| 842 | Update all callers. |
| 843 | (PS_Glyph_NameFunc): New typedef. |
| 844 | (PS_Unicodes_InitFunc): Change arguments to expect a function |
| 845 | and generic data pointer which returns a glyph name from a given |
| 846 | index. |
| 847 | |
| 848 | * src/psnames/psmodule.c (ps_unicodes_init, ps_unicodes_char_index, |
| 849 | ps_unicodes_char_next, pscmaps_interface): Updated. |
| 850 | |
| 851 | * include/freetype/internal/t1types.h (T1_FaceRec): Updated. |
| 852 | |
| 853 | * src/psaux/t1cmap.h (T1_CmapStdRec): Updated. |
| 854 | (T1_CmapUnicode, T1_CmapUnicodeRec): Removed. |
| 855 | |
| 856 | * src/psaux/t1cmap.c (t1_get_glyph_name): New callback function. |
| 857 | (t1_cmap_unicode_init, t1_cmap_unicode_done, |
| 858 | t1_cmap_unicode_char_index, t1_cmap_unicode_char_next, |
| 859 | t1_cmap_unicode_class_rec): Updated. |
| 860 | |
| 861 | * src/type42/t42types.h (T42_FaceRec): Updated. |
| 862 | |
| 863 | 2006-01-11 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> |
Suzuki, Toshiya (鈴木俊哉) | 356a4d8 | 2006-01-12 03:33:16 +0000 | [diff] [blame] | 864 | |
| 865 | * include/freetype/ftmac.h: Add declaration of new functions |
| 866 | FT_New_Face_From_FSRef and FT_GetFile_From_Mac_ATS_Name that |
| 867 | were introduced by the jumbo patch on 2006-01-11. |
| 868 | |
Werner Lemberg | 8ab0979 | 2006-01-12 08:12:27 +0000 | [diff] [blame] | 869 | 2006-01-11 Werner Lemberg <wl@gnu.org> |
Suzuki, Toshiya (鈴木俊哉) | f8d16cc | 2006-01-11 09:28:38 +0000 | [diff] [blame] | 870 | |
Werner Lemberg | adf828f | 2006-01-11 10:08:49 +0000 | [diff] [blame] | 871 | Fix Savannah bug #15056 and use pscmap service in psaux module. |
Suzuki, Toshiya (鈴木俊哉) | f8d16cc | 2006-01-11 09:28:38 +0000 | [diff] [blame] | 872 | |
Werner Lemberg | adf828f | 2006-01-11 10:08:49 +0000 | [diff] [blame] | 873 | * include/freetype/internal/services/svpscmap.h (PS_UniMap): Use |
| 874 | FT_UInt32 for `glyph_index'. |
| 875 | (PS_Unicodes_InitFunc): Use FT_String for `glyph_names'. |
| 876 | (PS_Unicodes_CharIndexFunc): Use FT_UInt32 for `unicode'. |
| 877 | (PS_Unicodes_CharNextFunc): Make second argument a pointer to |
| 878 | FT_UInt32. |
Suzuki, Toshiya (鈴木俊哉) | f8d16cc | 2006-01-11 09:28:38 +0000 | [diff] [blame] | 879 | |
Werner Lemberg | adf828f | 2006-01-11 10:08:49 +0000 | [diff] [blame] | 880 | * src/psnames/psmodule.c (VARIANT_BIT, BASE_GLYPH): New macros. |
| 881 | (ps_unicode_value): Set VARIANT_BIT in return value if glyph is a |
| 882 | variant glyph (this is, it has non-leading `.' in its name). |
| 883 | (compare_uni_maps): Sort base glyphs before variant glyphs. |
| 884 | (ps_unicodes_init): Use FT_String for `glyph_names' argument. |
| 885 | Reallocate only if number of used entries is much smaller. |
| 886 | Updated to handle variant glyphs. |
| 887 | (ps_unicodes_char_index, ps_unicodes_char_next): Prefer base glyphs |
| 888 | over variant glyphs. |
| 889 | Simplify code. |
Suzuki, Toshiya (鈴木俊哉) | f8d16cc | 2006-01-11 09:28:38 +0000 | [diff] [blame] | 890 | |
Werner Lemberg | adf828f | 2006-01-11 10:08:49 +0000 | [diff] [blame] | 891 | * src/psaux/t1cmap.c (t1_cmap_uni_pair_compare): Removed. |
| 892 | (t1_cmap_unicode_init, t1_cmap_unicode_char_index, |
| 893 | t1_cmap_unicode_char_next): Use pscmap service. |
| 894 | (t1_cmap_unicode_done): Updated. |
| 895 | |
| 896 | * src/psaux/t1cmap.h (T1_CMapUniPair): Removed. |
| 897 | (T1_CMapUnicode): Use PS_Unicodes structure. |
| 898 | |
| 899 | 2006-01-11 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> |
| 900 | |
| 901 | Jumbo patch to fix `deprecated' warning of cross-build for Tiger on |
| 902 | Intel, as reported by Sean McBride <sean@rogue-research.com> on |
| 903 | 2005-08-24. |
| 904 | |
| 905 | * src/base/ftmac.c: Heavy change to build without deprecated Carbon |
| 906 | functions on Tiger. |
| 907 | |
| 908 | * builds/unix/configure.ac: Add options and autochecks for Carbon |
| 909 | functions availabilities, for MacOS X. |
| 910 | |
| 911 | * builds/mac/ascii2mpw.py: Add converter for character `\305'. |
Suzuki, Toshiya (鈴木俊哉) | f8d16cc | 2006-01-11 09:28:38 +0000 | [diff] [blame] | 912 | * builds/mac/FreeType.m68k_{far|cfm}.make.txt: Add conditional |
Werner Lemberg | adf828f | 2006-01-11 10:08:49 +0000 | [diff] [blame] | 913 | macros to avoid unavailable functions. |
| 914 | ftmac.c must be compiled without `-strict ansi', because it disables |
| 915 | cpp macro to use ToolBox system call. |
| 916 | |
| 917 | * builds/mac/FreeType.ppc_{classic|carbon}.make.txt: Add conditional |
| 918 | macros to avoid unavailable functions. |
Suzuki, Toshiya (鈴木俊哉) | f8d16cc | 2006-01-11 09:28:38 +0000 | [diff] [blame] | 919 | |
| 920 | * builds/mac/README: Detailed notes on function availabilities. |
| 921 | |
| 922 | * docs/CHANGES: Notes about (possible) incompatibilities. |
| 923 | |
Werner Lemberg | e8f92af | 2006-01-08 13:43:30 +0000 | [diff] [blame] | 924 | 2006-01-08 Werner Lemberg <wl@gnu.org> |
| 925 | |
Werner Lemberg | 6cdab92 | 2006-01-08 22:34:01 +0000 | [diff] [blame] | 926 | * docs/CHANGES: Updated. |
| 927 | |
| 928 | 2006-01-08 Huw D M Davies <h.davies1@physics.ox.ac.uk> |
| 929 | |
| 930 | * include/freetype/ftmodapi.h (FT_Module_Get_Flags): New |
| 931 | declaration. |
| 932 | |
| 933 | * src/base/ftobjs.c (FT_Module_Get_Flags): New function. |
| 934 | |
| 935 | 2006-01-07 Werner Lemberg <wl@gnu.org> |
| 936 | |
Werner Lemberg | e8f92af | 2006-01-08 13:43:30 +0000 | [diff] [blame] | 937 | * src/pcf/pcfread.c (pcf_get_bitmaps): Remove unused variable |
Werner Lemberg | 30bd284 | 2006-01-08 19:38:42 +0000 | [diff] [blame] | 938 | `bitmaps'. Reported by Yu Lei <yulei0@gmail.com>. |
| 939 | |
| 940 | * src/base/ftutil.c (ft_highpow2): s/FT_BASE/FT_BASE_DEF/. |
| 941 | Reported by Niels Boldt <nielsboldt@gmail.com>. |
Werner Lemberg | e8f92af | 2006-01-08 13:43:30 +0000 | [diff] [blame] | 942 | |
| 943 | 2005-12-28 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> |
Suzuki, Toshiya (鈴木俊哉) | 3dfcef6 | 2005-12-28 06:47:12 +0000 | [diff] [blame] | 944 | |
Werner Lemberg | 05cda08 | 2006-01-08 13:37:15 +0000 | [diff] [blame] | 945 | * src/sfnt/sfnt/ttbdf.c: Add newline '\n' to the end of file, for |
| 946 | MPW compiler. |
Suzuki, Toshiya (鈴木俊哉) | 3dfcef6 | 2005-12-28 06:47:12 +0000 | [diff] [blame] | 947 | |
David Turner | e6bb953 | 2005-12-23 13:32:06 +0000 | [diff] [blame] | 948 | 2005-12-23 David Turner <david@freetype.org> |
| 949 | |
Werner Lemberg | 083ba0b | 2005-12-23 15:10:54 +0000 | [diff] [blame] | 950 | * Jamfile (RefDoc), docs/reference/README: Fix it so that `jam |
| 951 | refdoc' works correctly to generate the API reference in |
| 952 | `docs/reference'. |
David Turner | e6bb953 | 2005-12-23 13:32:06 +0000 | [diff] [blame] | 953 | |
Werner Lemberg | 083ba0b | 2005-12-23 15:10:54 +0000 | [diff] [blame] | 954 | * src/tools/docmaker/tohtml.py (print_html_field, |
| 955 | print_html_field_list): Update to output nicer fields lists in the |
| 956 | API reference. |
David Turner | e6bb953 | 2005-12-23 13:32:06 +0000 | [diff] [blame] | 957 | |
| 958 | * src/base/ftobjs.c (FT_Load_Glyph): FT_LOAD_TARGET_LIGHT now |
Werner Lemberg | 083ba0b | 2005-12-23 15:10:54 +0000 | [diff] [blame] | 959 | forces auto-hinting. |
David Turner | e6bb953 | 2005-12-23 13:32:06 +0000 | [diff] [blame] | 960 | |
Werner Lemberg | 083ba0b | 2005-12-23 15:10:54 +0000 | [diff] [blame] | 961 | * freetype/freetype.h: Updating the documentation for |
| 962 | FT_LOAD_TARGET_XXX and FT_Render_Mode values. |
David Turner | e6bb953 | 2005-12-23 13:32:06 +0000 | [diff] [blame] | 963 | |
Werner Lemberg | 6be99f9 | 2006-02-09 07:38:57 +0000 | [diff] [blame] | 964 | 2005-12-23 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> |
Suzuki, Toshiya (鈴木俊哉) | 53be6e9 | 2005-12-23 12:22:46 +0000 | [diff] [blame] | 965 | |
Werner Lemberg | 083ba0b | 2005-12-23 15:10:54 +0000 | [diff] [blame] | 966 | * src/base/ftmac.c (FT_New_Face_From_Suitcase): Count scalable faces |
| 967 | in supported formats (sfnt, LWFN) only, and ignore bitmap faces in |
| 968 | unsupported formats (fbit, NFNT). The number of available faces are |
| 969 | passed via face->num_faces. If bitmap faces are embedded in sfnt |
| 970 | resource, face->num_fixed_size is correctly set. In public API, |
| 971 | FT_New_Face() and FT_New_Face_From_FSSpec() count the faces as |
| 972 | FT_GetFile_From_Mac_Name(), which ignores NFNT resources. |
Suzuki, Toshiya (鈴木俊哉) | 53be6e9 | 2005-12-23 12:22:46 +0000 | [diff] [blame] | 973 | |
| 974 | * doc/CHANGES: Mention the changes. |
| 975 | |
Wu, Chia-I (吳佳一) | ce34d12 | 2005-12-17 13:12:49 +0000 | [diff] [blame] | 976 | 2005-12-17 Chia-I Wu <b90201047@ntu.edu.tw> |
| 977 | |
| 978 | * src/truetype/ttinterp.c (Update_Max): Set current size of buffer |
| 979 | correctly (so that memory debug system won't panic). |
| 980 | |
Wu, Chia-I (吳佳一) | dcb8b71 | 2005-12-16 14:27:14 +0000 | [diff] [blame] | 981 | 2005-12-16 Chia-I Wu <b90201047@ntu.edu.tw> |
| 982 | |
| 983 | * include/freetype/internal/ftobjs.h (ft_glyphslot_grid_fit_metrics), |
| 984 | src/base/ftobjs.c (ft_glyphslot_grid_fit_metrics): Removed. |
| 985 | |
| 986 | * src/base/ftobjs.c (ft_recompute_scaled_metrics): Do not round. |
| 987 | |
| 988 | * src/cff/cffgload.c (cff_slot_load), src/cid/cidgload.c |
| 989 | (cid_slot_load_glyph), src/truetype/ttgload.c (compute_glyph_metrics), |
| 990 | src/type1/t1gload.c (T1_Load_Glyph): Do not round glyph metrics. |
| 991 | |
| 992 | * doc/CHANGES: Mention the changes. |
| 993 | |
David Turner | 5b5f382 | 2005-12-14 16:37:15 +0000 | [diff] [blame] | 994 | 2005-12-13 David Turner <david@freetype.org> |
| 995 | |
Werner Lemberg | b79b513 | 2005-12-20 12:01:58 +0000 | [diff] [blame] | 996 | Change the implementation of the LIGHT hinting mode to completely |
| 997 | disable horizontal hinting. This is an experimental effort to |
| 998 | integrate David Chester's latest patch without affecting the other |
| 999 | hinting modes as well. |
David Turner | 5b5f382 | 2005-12-14 16:37:15 +0000 | [diff] [blame] | 1000 | |
Werner Lemberg | b79b513 | 2005-12-20 12:01:58 +0000 | [diff] [blame] | 1001 | Note that this doesn't force auto-hinting for all fonts, however. |
David Turner | 5b5f382 | 2005-12-14 16:37:15 +0000 | [diff] [blame] | 1002 | |
Werner Lemberg | b79b513 | 2005-12-20 12:01:58 +0000 | [diff] [blame] | 1003 | * src/autofit/afhints.c (af_glyph_hints_reload): Don't set |
| 1004 | scaler_fiags here but... |
| 1005 | (af_glyph_hints_rescale): Here. |
David Turner | 8def3c8 | 2005-12-14 16:38:31 +0000 | [diff] [blame] | 1006 | |
Werner Lemberg | b79b513 | 2005-12-20 12:01:58 +0000 | [diff] [blame] | 1007 | * src/autofit/aflatin.c (af_latin_hints_init): Disable horizontal |
| 1008 | hinting for `light' hinting mode. |
David Turner | db0182f | 2005-12-14 21:16:33 +0000 | [diff] [blame] | 1009 | |
David Turner | db0182f | 2005-12-14 21:16:33 +0000 | [diff] [blame] | 1010 | |
Werner Lemberg | b79b513 | 2005-12-20 12:01:58 +0000 | [diff] [blame] | 1011 | * Jamfile: Small fix to ensure that ftexport.sym is placed into the |
| 1012 | same location as other generated objects (i.e., within the `objs' |
| 1013 | directory of the current directory). |
David Turner | db0182f | 2005-12-14 21:16:33 +0000 | [diff] [blame] | 1014 | |
Werner Lemberg | b79b513 | 2005-12-20 12:01:58 +0000 | [diff] [blame] | 1015 | |
| 1016 | Add support for an embedded `BDF ' table within SFNT-based bitmap |
| 1017 | font files. This is used to store atoms & properties from the |
| 1018 | original BDF fonts that were used to generate the font file. |
| 1019 | |
| 1020 | The feature is controlled by TT_CONFIG_OPTION_BDF within |
| 1021 | `ftoption.h' and is used to implement FT_Get_BDF_Property for these |
| 1022 | font files. |
| 1023 | |
| 1024 | At the moment, this is still experimental, the BDF table format |
| 1025 | isn't cast into stone yet. |
| 1026 | |
| 1027 | * include/freetype/config/ftoption.h (TT_CONFIG_OPTION_BDF): New |
| 1028 | macro. |
| 1029 | |
| 1030 | * include/freetype/config/ftstdlib.h (ft_memchr): New macro. |
| 1031 | |
| 1032 | * include/freetype/internal/tttypes.h (TT_BDFRec, TT_BDF) |
| 1033 | [TT_CONFIG_OPTION_BDF]: New structure. |
| 1034 | (TT_FaceRec) [TT_CONFIG_OPTION_BDF]: New member `bdf'. |
| 1035 | |
| 1036 | * include/freetype/ttags.h (TTAG_BDF): New macro. |
| 1037 | |
| 1038 | * src/sfnt/Jamfile (_sources): Add ttbdf. |
| 1039 | |
| 1040 | * src/sfnt/rules.mk (SFNT_DRV_SRC): Add ttbdf.c. |
| 1041 | |
| 1042 | * src/sfnt/sfdriver.c [TT_CONFIG_OPTION_BDF]: Include ttbdf.h and |
| 1043 | FT_SERVICE_BDF_H. |
| 1044 | (sfnt_get_charset_it) [TT_CONFIG_OPTION_BDF]: New function. |
| 1045 | (sfnt_service_bdf) [TT_CONFIG_OPTION_BDF]: New service. |
| 1046 | (sfnt_servives) [TT_CONFIG_OPTION_BDF]: Add sfnt_service_bdf. |
| 1047 | |
| 1048 | * src/sfnt/sfnt.c [TT_CONFIG_OPTION_BDF]: Include ttbdf.c. |
| 1049 | |
| 1050 | * src/sfnt/sfobjs.c [TT_CONFIG_OPTION_BDF]: Include ttbdf.h. |
| 1051 | (sfnt_done_face) [TT_CONFIG_OPTION_BDF]: Call |
| 1052 | tt_face_free_bdf_props. |
| 1053 | |
| 1054 | * src/sfnt/ttbdf.h, src/sfnt/ttbdf.c: New files. |
David Turner | 89a2a4b | 2005-12-14 20:38:15 +0000 | [diff] [blame] | 1055 | |
Werner Lemberg | 364db08 | 2005-12-07 20:34:11 +0000 | [diff] [blame] | 1056 | 2005-12-07 Werner Lemberg <wl@gnu.org> |
| 1057 | |
| 1058 | * src/sfnt/sfobjc.c (sfnt_init_face): Move tag check to... |
| 1059 | * src/sfnt/ttload.c (sfnt_init): Here, before handling TTCs. |
| 1060 | |
Wu, Chia-I (吳佳一) | a3690cd | 2005-12-06 08:24:01 +0000 | [diff] [blame] | 1061 | 2005-12-06 Chia-I Wu <b90201047@ntu.edu.tw> |
| 1062 | |
| 1063 | * src/truetype/ttobjs.c (tt_size_init): size->ttmetrics.valid is |
| 1064 | initialized twice. |
| 1065 | size->strike_index is not initialized. |
| 1066 | |
Werner Lemberg | 2a0903a | 2005-12-03 08:13:43 +0000 | [diff] [blame] | 1067 | 2005-12-02 Taek Kwan(TK) Lee <taeklee@gmail.com> |
| 1068 | |
Werner Lemberg | 3b8db66 | 2005-12-06 10:47:44 +0000 | [diff] [blame] | 1069 | * src/type42/t42objs.c (T42_Face_Init): Replace call to |
Werner Lemberg | 2a0903a | 2005-12-03 08:13:43 +0000 | [diff] [blame] | 1070 | FT_New_Memory_Face with call to FT_Open_Face to pass `params'. |
| 1071 | |
Werner Lemberg | b797fdb | 2005-11-30 08:48:32 +0000 | [diff] [blame] | 1072 | 2005-11-30 Werner Lemberg <wl@gnu.org> |
| 1073 | |
| 1074 | * docs/CHANGES: Document ftdump's `-v' option. |
Werner Lemberg | b5d88e8 | 2005-11-30 08:55:51 +0000 | [diff] [blame] | 1075 | Document latest charmap code changes. |
Werner Lemberg | b797fdb | 2005-11-30 08:48:32 +0000 | [diff] [blame] | 1076 | |
Werner Lemberg | 44e47d5 | 2005-11-30 18:47:49 +0000 | [diff] [blame] | 1077 | * src/sfnt/ttcmap.c, src/sfnt/ttcmap.h: |
| 1078 | s/TT_CMAP_FLAG_OVERLAPPED/TT_CMAP_FLAG_OVERLAPPING/. |
| 1079 | |
Wu, Chia-I (吳佳一) | a28bc4c | 2005-11-30 02:39:10 +0000 | [diff] [blame] | 1080 | 2005-11-30 Chia-I Wu <b90201047@ntu.edu.tw> |
| 1081 | |
| 1082 | * src/sfnt/ttcmap.c (tt_cmap4_char_map_binary, |
| 1083 | tt_cmap12_char_map_binary): Fix compiler warnings. |
| 1084 | |
Wu, Chia-I (吳佳一) | 569ec4e | 2005-11-29 11:27:51 +0000 | [diff] [blame] | 1085 | 2005-11-29 Chia-I Wu <b90201047@ntu.edu.tw> |
| 1086 | |
Werner Lemberg | 44e47d5 | 2005-11-30 18:47:49 +0000 | [diff] [blame] | 1087 | Major update to distinguish between unsorted and overlapping |
| 1088 | segments for cmap format 4. For overlapping but sorted segments, |
| 1089 | which is previously considered unsorted, we still use binary search. |
Wu, Chia-I (吳佳一) | a091134 | 2005-11-29 11:32:53 +0000 | [diff] [blame] | 1090 | |
David Turner | 5b5f382 | 2005-12-14 16:37:15 +0000 | [diff] [blame] | 1091 | * src/sfnt/ttcmap.h (TT_CMapRec_): Replace `unsorted' by `flags'. |
Wu, Chia-I (吳佳一) | a091134 | 2005-11-29 11:32:53 +0000 | [diff] [blame] | 1092 | (TT_CMAP_FLAG_UNSORTED, TT_CMAP_FLAG_OVERLAPPED): New macros. |
| 1093 | |
| 1094 | * src/sfnt/ttcmap.c (OPT_CMAP4): Removed as it is always defined. |
David Turner | 5b5f382 | 2005-12-14 16:37:15 +0000 | [diff] [blame] | 1095 | (TT_CMap4Rec_): Remove `old_charcode' and `table_length'. |
Wu, Chia-I (吳佳一) | a091134 | 2005-11-29 11:32:53 +0000 | [diff] [blame] | 1096 | (tt_cmap4_reset): Removed. |
| 1097 | (tt_cmap4_init): Updated accordingly. |
| 1098 | (tt_cmap4_next): Updated accordingly. |
Werner Lemberg | 44e47d5 | 2005-11-30 18:47:49 +0000 | [diff] [blame] | 1099 | Take care of overlapping segments. |
Wu, Chia-I (吳佳一) | a091134 | 2005-11-29 11:32:53 +0000 | [diff] [blame] | 1100 | (tt_cmap4_validate): Make sure the subtable is large enough. |
| 1101 | Do not check glyph_ids because some fonts set the length wrongly. |
Werner Lemberg | 05cda08 | 2006-01-08 13:37:15 +0000 | [diff] [blame] | 1102 | Also, if all segments have offset 0, glyph_ids is always invalid. |
Werner Lemberg | 44e47d5 | 2005-11-30 18:47:49 +0000 | [diff] [blame] | 1103 | It does not cause any problem so far only because the check misses |
Wu, Chia-I (吳佳一) | a091134 | 2005-11-29 11:32:53 +0000 | [diff] [blame] | 1104 | equality. |
Werner Lemberg | 44e47d5 | 2005-11-30 18:47:49 +0000 | [diff] [blame] | 1105 | Distinguish between unsorted and overlapping segments. |
| 1106 | (tt_cmap4_char_map_linear, tt_cmap4_char_map_binary): New functions |
| 1107 | to do `charcode => glyph index' by linear/binary search. |
Wu, Chia-I (吳佳一) | a091134 | 2005-11-29 11:32:53 +0000 | [diff] [blame] | 1108 | (tt_cmap4_char_index, tt_cmap4_char_next): Use |
| 1109 | tt_cmap4_char_map_linear and tt_cmap4_char_map_binary. |
| 1110 | (tt_face_build_cmaps): Treat the return value of validator as flags |
| 1111 | for cmap. |
| 1112 | |
| 1113 | 2005-11-29 Chia-I Wu <b90201047@ntu.edu.tw> |
| 1114 | |
Werner Lemberg | 44e47d5 | 2005-11-30 18:47:49 +0000 | [diff] [blame] | 1115 | * src/sfnt/ttcmap.c (TT_CMap12Rec_, tt_cmap12_init, tt_cmap12_next): |
| 1116 | New structures and functions for fast `next char'. |
| 1117 | (tt_cmap12_char_map_binary): New function to do `charcode => glyph |
| 1118 | index' by binary search. |
Wu, Chia-I (吳佳一) | 569ec4e | 2005-11-29 11:27:51 +0000 | [diff] [blame] | 1119 | (tt_cmap12_char_index, tt_cmap12_char_next): Use |
| 1120 | tt_cmap12_char_map_binary. |
| 1121 | (tt_face_build_cmaps): Check table and offset correctly (equality is |
| 1122 | missing). |
| 1123 | |
Detlef Würkner | df1598e | 2005-11-25 08:04:09 +0000 | [diff] [blame] | 1124 | 2005-11-15 Detlef Würkner <TetiSoft@apg.lahn.de> |
| 1125 | |
| 1126 | * builds/amiga/smakefile: Adjusted the compiler options |
| 1127 | to the current sources, now really builds the gxvalid, gzip |
| 1128 | and psnames modules. |
| 1129 | |
| 1130 | * builds/amiga/src/base/ftsystem.c: The assumed Seek() position |
| 1131 | in the file cache was off by one byte which could cause false |
| 1132 | errors in font files. |
| 1133 | |
Werner Lemberg | 6be99f9 | 2006-02-09 07:38:57 +0000 | [diff] [blame] | 1134 | 2005-11-24 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> |
Suzuki, Toshiya (鈴木俊哉) | 6b1c597 | 2005-11-24 05:16:57 +0000 | [diff] [blame] | 1135 | |
| 1136 | * builds/mac/FreeType.m68k_far.make.txt, |
| 1137 | builds/mac/FreeType.m68k_cfm.make.txt, |
| 1138 | builds/mac/FreeType.ppc_classic.make.txt, |
| 1139 | builds/mac/FreeType.ppc_carbon.make.txt: |
| 1140 | Updated for MPW to build all available modules. |
| 1141 | |
Werner Lemberg | 67ba211 | 2005-11-21 17:32:03 +0000 | [diff] [blame] | 1142 | 2005-11-21 Håvard Wall <haavardw@ifi.uio.no> |
| 1143 | |
| 1144 | * src/bdf/bdfdrivr.c (bdf_interpret_style, BDF_Face_Done): Fix small |
| 1145 | memory leak. |
| 1146 | |
Werner Lemberg | 840232a | 2005-11-21 12:36:42 +0000 | [diff] [blame] | 1147 | 2005-11-21 Werner Lemberg <wl@gnu.org> |
| 1148 | |
| 1149 | * src/sfnt/ttload.c (sfnt_init): Add tracing message. |
| 1150 | |
Wu, Chia-I (吳佳一) | d81947e | 2005-11-21 03:04:03 +0000 | [diff] [blame] | 1151 | 2005-11-21 Chia-I Wu <b90201047@ntu.edu.tw> |
| 1152 | |
Werner Lemberg | 840232a | 2005-11-21 12:36:42 +0000 | [diff] [blame] | 1153 | * src/sfnt/ttsbit0.c (tt_sbit_decoder_load_image): Image_offset was |
Werner Lemberg | 05cda08 | 2006-01-08 13:37:15 +0000 | [diff] [blame] | 1154 | added twice to image_start if image_format was 2 or 5. |
Wu, Chia-I (吳佳一) | 275be9b | 2005-11-21 03:05:34 +0000 | [diff] [blame] | 1155 | |
| 1156 | 2005-11-21 Chia-I Wu <b90201047@ntu.edu.tw> |
| 1157 | |
Wu, Chia-I (吳佳一) | d81947e | 2005-11-21 03:04:03 +0000 | [diff] [blame] | 1158 | * src/sfnt/sfobjs.c (sfnt_init_face): Check that format_tag is known |
| 1159 | before loading the table directory. |
| 1160 | |
| 1161 | * src/sfnt/ttload.c (tt_face_load_sfnt_header, |
| 1162 | tt_face_load_directory): Delay sfnt_dir_check from |
| 1163 | tt_face_load_sfnt_header to tt_face_load_directory. |
| 1164 | |
Wu, Chia-I (吳佳一) | 6f1eca0 | 2005-11-20 08:24:24 +0000 | [diff] [blame] | 1165 | 2005-11-20 Chia-I Wu <b90201047@ntu.edu.tw> |
| 1166 | |
| 1167 | * src/sfnt/ttload.c (sfnt_dir_check): Clean up and return correct |
| 1168 | error code. |
| 1169 | (sfnt_init): New function to fill in face->ttc_header. A non-TTC font |
| 1170 | is synthesized into a TTC font with one offset table. |
| 1171 | (tt_face_load_sfnt_header): Use sfnt_init. |
Werner Lemberg | 05cda08 | 2006-01-08 13:37:15 +0000 | [diff] [blame] | 1172 | Fix an invalid access if the font is TTC and face_index is -1. |
Wu, Chia-I (吳佳一) | 6f1eca0 | 2005-11-20 08:24:24 +0000 | [diff] [blame] | 1173 | |
Werner Lemberg | 1a293d6 | 2005-11-18 08:23:06 +0000 | [diff] [blame] | 1174 | 2005-11-18 Werner Lemberg <wl@gnu.org> |
| 1175 | |
| 1176 | * src/sfnt/ttload.c (tt_face_load_metrics): Ignore excess number |
| 1177 | of metrics instead of aborting. Patch suggested by Derek Noonburg. |
| 1178 | |
Werner Lemberg | 6c99045 | 2005-11-18 21:10:59 +0000 | [diff] [blame] | 1179 | * src/cff/cffgload.c (cff_slot_load), src/cid/cidgload.c |
| 1180 | (cid_slot_load_glyph), src/type1/t1gload.c (T1_Load_Glyph): Scale |
| 1181 | the glyph properly if no hinter is available. |
| 1182 | |
| 1183 | * docs/CHANGES: Mention scaling bug. |
| 1184 | |
Suzuki, Toshiya (鈴木俊哉) | 8d81d41 | 2005-11-18 07:47:06 +0000 | [diff] [blame] | 1185 | 2005-11-18 susuzki toshiya <mpsuzuki@hiroshima-u.ac.jp> |
| 1186 | |
| 1187 | * include/freetype/ftgxval.h, src/base/ftgxval.c |
| 1188 | (FT_TrueTypeGX_Free, FT_ClassicKern_Free): New functions to free |
| 1189 | buffers allocated by gxvalid module. |
| 1190 | * include/freetype/ftotval.h, src/base/ftotval.c |
| 1191 | (FT_OpenType_Free): New function to free buffer allocated by |
| 1192 | otvalid module. |
| 1193 | |
Wu, Chia-I (吳佳一) | cb18238 | 2005-11-18 04:29:31 +0000 | [diff] [blame] | 1194 | 2005-11-18 Chia-I Wu <b90201047@ntu.edu.tw> |
| 1195 | |
| 1196 | * builds/unix/ftsystem.c (FT_Stream_Open, FT_New_Memory, |
| 1197 | FT_Done_Memory), builds/vms/ftsystem.c (FT_Stream_Open, FT_New_Memory, |
| 1198 | FT_Done_Memory), builds/win32/ftdebug.c (FT_Message, FT_Panic): |
| 1199 | s/FT_EXPORT/FT_BASE/. |
| 1200 | |
Detlef Würkner | 4859ac4 | 2005-11-17 14:21:07 +0000 | [diff] [blame] | 1201 | 2005-11-17 Detlef Würkner <TetiSoft@apg.lahn.de> |
| 1202 | |
Detlef Würkner | 0acfc1f | 2005-11-17 16:54:54 +0000 | [diff] [blame] | 1203 | * builds/amiga/src/base/ftdebug.c (FT_Trace_Get_Count, |
| 1204 | FT_Trace_Get_Name, FT_Message, FT_Panic), |
| 1205 | builds/amiga/src/base/ftsystem.c (FT_New_Memory, FT_Done_Memory, |
| 1206 | FT_Stream_Open): s/FT_EXPORT/FT_BASE/. |
| 1207 | |
| 1208 | 2005-11-17 Detlef Würkner <TetiSoft@apg.lahn.de> |
| 1209 | |
Werner Lemberg | 1a293d6 | 2005-11-18 08:23:06 +0000 | [diff] [blame] | 1210 | * builds/amiga/makefile, builds/amiga/makefile.os4, |
Detlef Würkner | df1598e | 2005-11-25 08:04:09 +0000 | [diff] [blame] | 1211 | builds/amiga/smakefile, |
Detlef Würkner | 4859ac4 | 2005-11-17 14:21:07 +0000 | [diff] [blame] | 1212 | builds/amiga/include/freetype/config/ftmodule.h: Updated the Amiga |
Werner Lemberg | 1a293d6 | 2005-11-18 08:23:06 +0000 | [diff] [blame] | 1213 | build files (added support for the gxvalid module). |
Detlef Würkner | 4859ac4 | 2005-11-17 14:21:07 +0000 | [diff] [blame] | 1214 | |
Werner Lemberg | cfc0cf2 | 2005-11-17 08:12:00 +0000 | [diff] [blame] | 1215 | 2005-11-17 Werner Lemberg <wl@gnu.org> |
| 1216 | |
| 1217 | Add vertical metrics support to OpenType CFF outlines. Based on a |
Werner Lemberg | 1a293d6 | 2005-11-18 08:23:06 +0000 | [diff] [blame] | 1218 | patch from Mike Moening <MikeM@RetekSolutions.com>. |
Werner Lemberg | cfc0cf2 | 2005-11-17 08:12:00 +0000 | [diff] [blame] | 1219 | |
| 1220 | * src/cff/cffgload.c (cff_face_get_vertical_metrics): New function. |
| 1221 | (cff_slot_load): Use cff_face_get_vertical_metrics. |
| 1222 | |
| 1223 | * docs/CHANGES: Updated. |
| 1224 | |
Wu, Chia-I (吳佳一) | 35bfc0f | 2005-11-17 01:53:07 +0000 | [diff] [blame] | 1225 | 2005-11-17 Chia-I Wu <b90201047@ntu.edu.tw> |
| 1226 | |
| 1227 | * src/base/ftcalc.c (FT_MulTo64): Commented out. |
| 1228 | |
Werner Lemberg | cfc0cf2 | 2005-11-17 08:12:00 +0000 | [diff] [blame] | 1229 | * include/freetype/internal/ftcalc.h (FT_SqrtFixed), |
| 1230 | src/base/ftcalc.c (FT_SqrtFixed), |
| 1231 | include/freetype/internal/ftdebug.h (FT_Trace_Get_Count, |
| 1232 | FT_Trace_Get_Name, FT_Message, FT_Panic), src/base/ftdebug.c |
Wu, Chia-I (吳佳一) | 35bfc0f | 2005-11-17 01:53:07 +0000 | [diff] [blame] | 1233 | (FT_Trace_Get_Count, FT_Trace_Get_Name, FT_Message, FT_Panic), |
Werner Lemberg | cfc0cf2 | 2005-11-17 08:12:00 +0000 | [diff] [blame] | 1234 | include/freetype/internal/ftobjs.h (FT_New_Memory, FT_Done_Memory), |
| 1235 | include/freetype/internal/ftstream.h (FT_Stream_Open), |
| 1236 | src/base/ftsystem.c (FT_New_Memory, FT_Done_Memory, FT_Stream_Open): |
| 1237 | s/FT_EXPORT/FT_BASE/. |
Wu, Chia-I (吳佳一) | 35bfc0f | 2005-11-17 01:53:07 +0000 | [diff] [blame] | 1238 | |
Werner Lemberg | cfc0cf2 | 2005-11-17 08:12:00 +0000 | [diff] [blame] | 1239 | * builds/exports.mk: Manually add TT_New_Context to EXPORTS_LIST |
| 1240 | too. |
Wu, Chia-I (吳佳一) | 35bfc0f | 2005-11-17 01:53:07 +0000 | [diff] [blame] | 1241 | |
David Turner | f7cc181 | 2005-11-15 17:30:56 +0000 | [diff] [blame] | 1242 | 2005-11-15 David Turner <david@freetype.org> |
| 1243 | |
Werner Lemberg | 674ba91 | 2005-11-16 18:09:27 +0000 | [diff] [blame] | 1244 | * src/base/fttrigon.c (ft_trig_prenorm): Fix a bug that created |
David Turner | f7cc181 | 2005-11-15 17:30:56 +0000 | [diff] [blame] | 1245 | invalid computations, resulting in very weird bugs in TrueType |
Werner Lemberg | 674ba91 | 2005-11-16 18:09:27 +0000 | [diff] [blame] | 1246 | bytecode hinted fonts. |
David Turner | f7cc181 | 2005-11-15 17:30:56 +0000 | [diff] [blame] | 1247 | |
Werner Lemberg | 674ba91 | 2005-11-16 18:09:27 +0000 | [diff] [blame] | 1248 | * src/truetype/ttinterp.c (FT_UNUSED_EXEC): Don't perform a |
| 1249 | structure copy each time. |
David Turner | f7cc181 | 2005-11-15 17:30:56 +0000 | [diff] [blame] | 1250 | |
Werner Lemberg | d829ff7 | 2005-11-12 17:07:11 +0000 | [diff] [blame] | 1251 | 2005-11-11 Werner Lemberg <wl@gnu.org> |
| 1252 | |
| 1253 | * src/cache/ftccache.c (FTC_Cache_Clear), src/cache/ftcmanag.c |
| 1254 | (FTC_Manager_Check): Remove FT_EXPORT_DEF tag. |
| 1255 | |
David Turner | f7cc181 | 2005-11-15 17:30:56 +0000 | [diff] [blame] | 1256 | * src/base/ftcalc.c (FT_Add64): Remove FT_EXPORT_DEF tag. |
Werner Lemberg | d829ff7 | 2005-11-12 17:07:11 +0000 | [diff] [blame] | 1257 | (FT_Div64by32, FT_Sqrt32): Commented out. Unused. |
| 1258 | |
| 1259 | * include/freetype/internal/ftcalc.h (SQRT_32): Removed. Unused. |
| 1260 | (FT_Sqrt32): Commented out. Unused. |
| 1261 | |
| 1262 | * include/freetype/cache/ftccache.h: |
| 1263 | s/ftc_node_destroy/FTC_Node_Destroy/. |
| 1264 | |
| 1265 | * src/cache/ftccback.h (ftc_node_destroy): New declaration. |
| 1266 | |
| 1267 | * src/cache/ftccache.c (ftc_node_destroy): Use FT_LOCAL_DEF tag. |
| 1268 | (FTC_Node_Destroy): New exported wrapper function for |
| 1269 | ftc_node_destroy. |
| 1270 | |
| 1271 | * src/cache/ftcmanag.c: Include ftccback.c. |
| 1272 | |
Werner Lemberg | 4309edc | 2005-11-11 15:49:14 +0000 | [diff] [blame] | 1273 | 2005-11-10 Werner Lemberg <wl@gnu.org> |
| 1274 | |
| 1275 | * src/autofit/afangles.c, src/autofit/aftypes.h (af_angle_diff): |
| 1276 | Comment out. Unused. |
| 1277 | |
Werner Lemberg | f2c5330 | 2005-11-11 16:20:59 +0000 | [diff] [blame] | 1278 | * builds/exports.mk ($(EXPORTS_LIST)): Add TT_RunIns. |
| 1279 | |
Werner Lemberg | 4309edc | 2005-11-11 15:49:14 +0000 | [diff] [blame] | 1280 | 2005-11-10 Christian Biesinger <cbiesinger@web.de> |
| 1281 | |
| 1282 | * builds/beos/beos.mk: Call beos-def.mk before anything else to |
| 1283 | define the separator. |
| 1284 | |
| 1285 | * builds/unix/unix-cc.in (LINK_LIBRARY): Add `-no-undefined' flag. |
| 1286 | |
Werner Lemberg | ea4c3dc | 2005-11-08 09:10:16 +0000 | [diff] [blame] | 1287 | 2005-11-07 Werner Lemberg <wl@gnu.org> |
| 1288 | |
| 1289 | * src/type1/t1afm.c (T1_Read_PFM): Zero offset means `no kerning |
| 1290 | table available'. From Sergey Tolstov <stolstov@esri.com>. |
| 1291 | |
Werner Lemberg | b2d0253 | 2005-11-04 06:58:49 +0000 | [diff] [blame] | 1292 | 2005-11-03 Ville Syrjälä <syrjala@sci.fi> |
| 1293 | |
| 1294 | * src/base/ftobjs.c (FT_Open_Face): Avoid possible memory leak. |
| 1295 | |
| 1296 | 2005-11-02 Werner Lemberg <wl@gnu.org> |
| 1297 | |
| 1298 | Make compiling instructions in docs/CUSTOMIZE work again. |
| 1299 | |
| 1300 | * builds/unix/unix-cc.in (CPPFLAGS): New variable. |
| 1301 | (CFLAGS): Don't include @CPPFLAGS@. |
| 1302 | * builds/freetype.mk (FT_CFLAGS): Add CPPFLAGS. |
| 1303 | |
David Turner | dab2454 | 2005-11-02 09:24:00 +0000 | [diff] [blame] | 1304 | 2005-10-28 David Turner <david@freetype.org> |
| 1305 | |
Werner Lemberg | cee37a3 | 2005-11-12 07:34:40 +0000 | [diff] [blame] | 1306 | Update build system to support the generation of a list of exported |
| 1307 | symbols or Windows .DEF files by parsing the public headers with the |
Werner Lemberg | b2d0253 | 2005-11-04 06:58:49 +0000 | [diff] [blame] | 1308 | `apinames' tool located in src/tools/apinames.c. |
David Turner | dab2454 | 2005-11-02 09:24:00 +0000 | [diff] [blame] | 1309 | |
Werner Lemberg | b2d0253 | 2005-11-04 06:58:49 +0000 | [diff] [blame] | 1310 | Only tested on Unix at the moment. On Windows, the .DEF file is |
| 1311 | generated but isn't used yet to generate a DLL. |
David Turner | dab2454 | 2005-11-02 09:24:00 +0000 | [diff] [blame] | 1312 | |
Werner Lemberg | cee37a3 | 2005-11-12 07:34:40 +0000 | [diff] [blame] | 1313 | * builds/exports.mk: New file. |
David Turner | dab2454 | 2005-11-02 09:24:00 +0000 | [diff] [blame] | 1314 | |
Werner Lemberg | cee37a3 | 2005-11-12 07:34:40 +0000 | [diff] [blame] | 1315 | * builds/freetype.mk: Include exports.mk. |
| 1316 | (dll): New target. |
| 1317 | (clean_project_dos): Fix rule. |
David Turner | dab2454 | 2005-11-02 09:24:00 +0000 | [diff] [blame] | 1318 | |
Werner Lemberg | cee37a3 | 2005-11-12 07:34:40 +0000 | [diff] [blame] | 1319 | * builds/compiler/visualc.mk (TE), builds/dos/dos-def.mk (E), |
| 1320 | builds/os2/os2-def.mk (E), builds/win32/win32-def.mk (E): New |
| 1321 | variables for controlling executable extensions. |
David Turner | dab2454 | 2005-11-02 09:24:00 +0000 | [diff] [blame] | 1322 | |
Werner Lemberg | cee37a3 | 2005-11-12 07:34:40 +0000 | [diff] [blame] | 1323 | * builds/unix/unix-cc.in (EXPORTS_LIST, CCexe), |
| 1324 | builds/win32/w32-bcc.mk, builds/win32/w32-gcc.mk, |
| 1325 | builds/win32/w32-icc.mk, builds/win32/w32-icc.mk, |
| 1326 | builds/win32/w32-mingw32.mk, builds/win32/w32-vcc, |
| 1327 | builds/win32/w32-wat.mk (EXPORTS_LIST, EXPORT_OPTIONS, |
| 1328 | APINAMES_OPTIONS): New targets for controlling the `apinames' tool. |
| 1329 | |
| 1330 | * Jamfile (GenExportSymbols): Updated. |
| 1331 | |
| 1332 | |
| 1333 | * src/pfr/pfrtypes.h, src/pfr/pfrload.c, src/pfr/pfrobjs.c |
| 1334 | [!FT_OPTIMIZE_MEMORY]: Fold memory optimization code into |
| 1335 | FT_OPTIMIZE_MEMORY chunks for better maintainability and simplicity. |
| 1336 | |
| 1337 | |
| 1338 | * src/base/fttrigon.c (ft_trig_prenorm), src/base/ftcalc.c |
| 1339 | (FT_MulFix): Performance optimizations. |
| 1340 | |
| 1341 | |
| 1342 | * include/freetype/internal/ftgloadr.h (FT_GLYPHLOADER_CHECK_P, |
| 1343 | FT_GLYPHLOADER_CHECK_C, FT_GLYPHLOADER_CHECK_POINTS): New macros for |
| 1344 | checking points and contours. Update callers to use |
| 1345 | FT_GLYPHLOADER_CHECK_POINTS instead of FT_GlyphLoader_CheckPoints |
| 1346 | at profile-detected hot-spots. |
| 1347 | |
| 1348 | * src/base/ftgloadr.c (FT_GlyphLoader_CheckPoints): Set `adjust' |
| 1349 | to 0 to not call `AdjustPoints' every time. |
| 1350 | |
David Turner | dab2454 | 2005-11-02 09:24:00 +0000 | [diff] [blame] | 1351 | |
Werner Lemberg | b2d0253 | 2005-11-04 06:58:49 +0000 | [diff] [blame] | 1352 | * src/autofit/aftypes.h (AF_ANGLE_DIFF): New macro to inline |
| 1353 | FT_Angle_Diff. |
David Turner | dab2454 | 2005-11-02 09:24:00 +0000 | [diff] [blame] | 1354 | |
Werner Lemberg | cee37a3 | 2005-11-12 07:34:40 +0000 | [diff] [blame] | 1355 | * src/autofit/afhints.c (af_direction_compute): Re-implement. |
| 1356 | (af_glyph_hints_compute_inflections, af_glyph_hints_reload): Use |
Werner Lemberg | b2d0253 | 2005-11-04 06:58:49 +0000 | [diff] [blame] | 1357 | AF_ANGLE_DIFF to speed up the detection of inflexions. |
David Turner | dab2454 | 2005-11-02 09:24:00 +0000 | [diff] [blame] | 1358 | |
Werner Lemberg | cee37a3 | 2005-11-12 07:34:40 +0000 | [diff] [blame] | 1359 | |
| 1360 | * src/tools/apinames.c: Include <string.h>. |
| 1361 | (OutputFormat): New enumeration. |
| 1362 | (names_dump): Add two parameters to control output format and DLL |
| 1363 | name. |
| 1364 | (names_dump_windef): Removed. Code folded into `names_dump'. |
| 1365 | (read_header_file): Use isalnum, not isalpha. Otherwise function |
| 1366 | names with digits aren't read correctly. |
| 1367 | (usage): Updated. |
| 1368 | (main): New option `-o' to control output file name. |
| 1369 | New option `-d' to indicate DLL file name. |
| 1370 | Extend `-w' flag to handle Borland and Watcom compilers and linkers. |
| 1371 | |
Suzuki, Toshiya (鈴木俊哉) | 4511576 | 2005-10-28 15:39:58 +0000 | [diff] [blame] | 1372 | 2005-10-28 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> |
| 1373 | |
Suzuki, Toshiya (鈴木俊哉) | 69d4517 | 2005-10-28 16:03:06 +0000 | [diff] [blame] | 1374 | * builds/mac/ftlib.prj, builds/mac/freetype.mak: Removed. |
| 1375 | ftlib.prj is unmaintained and incompatible with current tree. |
| 1376 | freetype.mak is unrecoverably broken. |
| 1377 | |
| 1378 | * builds/mac/ftlib.prj.xml: Added. |
Werner Lemberg | 05cda08 | 2006-01-08 13:37:15 +0000 | [diff] [blame] | 1379 | Generated by Metrowerks CodeWarrior 9.0. |
Suzuki, Toshiya (鈴木俊哉) | 69d4517 | 2005-10-28 16:03:06 +0000 | [diff] [blame] | 1380 | |
| 1381 | * builds/mac/FreeType.m68k_far.make.txt, |
| 1382 | builds/mac/FreeType.m68k_cfm.make.txt, |
| 1383 | builds/mac/FreeType.ppc_classic.make.txt, |
| 1384 | builds/mac/FreeType.ppc_carbon.make.txt: Added. |
Werner Lemberg | 05cda08 | 2006-01-08 13:37:15 +0000 | [diff] [blame] | 1385 | Skeleton files of MPW makefiles. |
Suzuki, Toshiya (鈴木俊哉) | 69d4517 | 2005-10-28 16:03:06 +0000 | [diff] [blame] | 1386 | |
| 1387 | * builds/mac/ascii2mpw.py: Added. |
Werner Lemberg | 05cda08 | 2006-01-08 13:37:15 +0000 | [diff] [blame] | 1388 | Python script to make MPW makefile from skeleton. |
Suzuki, Toshiya (鈴木俊哉) | 69d4517 | 2005-10-28 16:03:06 +0000 | [diff] [blame] | 1389 | |
| 1390 | * builds/mac/README: Updated. |
| 1391 | Almost rewritten to use new files. |
| 1392 | |
| 1393 | 2005-10-28 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> |
| 1394 | |
Werner Lemberg | 05cda08 | 2006-01-08 13:37:15 +0000 | [diff] [blame] | 1395 | * src/base/ftmac.c: Fix invalid casts from NULL to integer typed |
| 1396 | variables. Advised by David Turner, Masatake YAMATO, Sean McBride, |
Suzuki, Toshiya (鈴木俊哉) | 4511576 | 2005-10-28 15:39:58 +0000 | [diff] [blame] | 1397 | and George Williams. |
| 1398 | |
Werner Lemberg | 4b5661c | 2005-10-27 21:28:35 +0000 | [diff] [blame] | 1399 | 2005-10-27 Werner Lemberg <wl@gnu.org> |
| 1400 | |
| 1401 | * include/freetype/ftsysmem.h, include/freetype/ftsysio.h: Removed. |
| 1402 | Obsolete. |
| 1403 | |
Werner Lemberg | 43b057b | 2005-10-26 18:37:40 +0000 | [diff] [blame] | 1404 | 2005-10-25 Werner Lemberg <wl@gnu.org> |
| 1405 | |
| 1406 | * src/sfnt/sfdriver.c (sfnt_interface): Move out |
| 1407 | `tt_face_get_kerning' from a #ifdef clause. Reported by Tony J. |
| 1408 | Ibbs <tibs@sj.co.uk>. |
| 1409 | |
Werner Lemberg | 6c0e734 | 2005-10-23 19:31:01 +0000 | [diff] [blame] | 1410 | 2005-10-23 Werner Lemberg <wl@gnu.org> |
| 1411 | |
| 1412 | * src/base/ftdbgmem.c (ft_mem_debug_realloc): Make it compile with |
| 1413 | C++. |
| 1414 | |
David Turner | 398d64c | 2005-10-21 10:01:25 +0000 | [diff] [blame] | 1415 | 2005-10-21 David Turner <david@freetype.org> |
| 1416 | |
Werner Lemberg | 90968f7 | 2005-10-22 10:34:45 +0000 | [diff] [blame] | 1417 | * src/base/ftdbgmem.c (ft_mem_table_set, ft_mem_debug_realloc): |
| 1418 | Another realloc memory counting bug fix. |
David Turner | 398d64c | 2005-10-21 10:01:25 +0000 | [diff] [blame] | 1419 | |
Werner Lemberg | 90968f7 | 2005-10-22 10:34:45 +0000 | [diff] [blame] | 1420 | * src/tools/Jamfile: Add missing file. |
David Turner | 398d64c | 2005-10-21 10:01:25 +0000 | [diff] [blame] | 1421 | |
Werner Lemberg | 90968f7 | 2005-10-22 10:34:45 +0000 | [diff] [blame] | 1422 | * src/lzw/Jamfile: Fix incorrect source file reference. |
David Turner | 398d64c | 2005-10-21 10:01:25 +0000 | [diff] [blame] | 1423 | |
David Turner | c1b6d08 | 2005-10-20 15:33:34 +0000 | [diff] [blame] | 1424 | 2005-10-20 David Turner <david@freetype.org> |
| 1425 | |
Werner Lemberg | 560d5fe | 2005-10-21 09:08:28 +0000 | [diff] [blame] | 1426 | * src/base/ftdbgmem.c (ft_mem_table_set, ft_mem_table_remove, |
| 1427 | ft_mem_debug_alloc, ft_mem_debug_free, ft_mem_debug_realloc): Fixes |
| 1428 | to better account for memory reallocations. |
David Turner | c1b6d08 | 2005-10-20 15:33:34 +0000 | [diff] [blame] | 1429 | |
Werner Lemberg | 560d5fe | 2005-10-21 09:08:28 +0000 | [diff] [blame] | 1430 | * src/lzw/ftlzw2.c, src/lzw/ftzopen.h, src/lzw/ftzopen.c, |
David Turner | 398d64c | 2005-10-21 10:01:25 +0000 | [diff] [blame] | 1431 | src/lzw/rules.mk: First version of LZW loader re-implementation. |
| 1432 | Apparently, this saves about 330 KB of heap memory when loading |
Werner Lemberg | 560d5fe | 2005-10-21 09:08:28 +0000 | [diff] [blame] | 1433 | timR24.pcf.Z. |
David Turner | c1b6d08 | 2005-10-20 15:33:34 +0000 | [diff] [blame] | 1434 | |
Wu, Chia-I (吳佳一) | 7e30776 | 2005-10-20 02:13:46 +0000 | [diff] [blame] | 1435 | 2005-10-20 Chia-I Wu <b90201047@ntu.edu.tw> |
| 1436 | |
| 1437 | * include/freetype/ftbitmap.h (FT_Bitmap_Copy, FT_Bitmap_Embolden), |
| 1438 | src/base/ftbdf.c (FT_Get_BDF_Property), src/cache/ftcmru.c |
Werner Lemberg | 560d5fe | 2005-10-21 09:08:28 +0000 | [diff] [blame] | 1439 | (FTC_MruList_Reset, FTC_MruList_Done, FTC_MruList_Lookup): Fix |
| 1440 | FT_EXPORT/FT_EXPORT_DEF tagging. |
Wu, Chia-I (吳佳一) | 7e30776 | 2005-10-20 02:13:46 +0000 | [diff] [blame] | 1441 | |
Wu, Chia-I (吳佳一) | 2293bb1 | 2005-10-19 08:07:38 +0000 | [diff] [blame] | 1442 | 2005-10-19 Chia-I Wu <b90201047@ntu.edu.tw> |
Werner Lemberg | 8e6c56f | 2005-10-18 06:09:13 +0000 | [diff] [blame] | 1443 | |
Werner Lemberg | 560d5fe | 2005-10-21 09:08:28 +0000 | [diff] [blame] | 1444 | * src/truetype/ttgload.c (TT_Load_Glyph): Allow size->ttmetrics to |
| 1445 | be invalid when FT_LOAD_NO_SCALE is set. |
Wu, Chia-I (吳佳一) | 2293bb1 | 2005-10-19 08:07:38 +0000 | [diff] [blame] | 1446 | |
| 1447 | 2005-10-17 David Turner <david@freetype.org> |
| 1448 | |
| 1449 | * src/base/ftobjs.c (FT_Open_Face): Don't call FT_New_GlyphSlot and |
| 1450 | FT_New_Size if we are opening a face with face_index < 0 (which is |
| 1451 | only used for testing the format). |
| 1452 | |
| 1453 | * src/gxvalid/gxvmort0.c (gxv_mort_subtable_type0_entry_validate): |
| 1454 | Remove compiler warning. |
Werner Lemberg | 8e6c56f | 2005-10-18 06:09:13 +0000 | [diff] [blame] | 1455 | |
| 1456 | 2005-10-16 David Turner <david@freetype.org> |
| 1457 | |
Wu, Chia-I (吳佳一) | 2293bb1 | 2005-10-19 08:07:38 +0000 | [diff] [blame] | 1458 | * src/tools/apinames.c: Add new tool to extract public API function |
| 1459 | names from header files. |
Werner Lemberg | 8e6c56f | 2005-10-18 06:09:13 +0000 | [diff] [blame] | 1460 | |
| 1461 | 2005-10-05 Werner Lemberg <wl@gnu.org> |
| 1462 | |
| 1463 | Add FT_FACE_FLAG_HINTER to indicate that a specific font driver has |
| 1464 | a hinting engine of its own. |
| 1465 | |
| 1466 | * include/freetype/freetype.h (FT_FACE_FLAG_HINTER): New macro. |
| 1467 | |
| 1468 | * src/cff/cffobjs.c (cff_face_init), src/cid/cidobjs.c |
| 1469 | (cid_face_init), src/truetype/ttobjs.c (tt_face_init) |
| 1470 | [TT_CONFIG_OPTION_BYTECODE_INTERPRETER], src/type1/t1objs.c |
| 1471 | (T1_Face_Init), src/type42/t42objs.c (T42_Face_Init) |
| 1472 | [TT_CONFIG_OPTION_BYTECODE_INTERPRETER]: Update face flags. |
| 1473 | |
| 1474 | * docs/CHANGES: Document it. |
| 1475 | |
| 1476 | 2005-09-27 Werner Lemberg <wl@gnu.org> |
| 1477 | |
| 1478 | * builds/unix/freetype2.m4: Add license exception so that the file |
| 1479 | can be used in any other autoconf script. |
| 1480 | |
| 1481 | 2005-09-26 David Turner <david@freetype.org> |
| 1482 | |
| 1483 | * src/autofit/aflatin.c (af_latin_compute_stem_width): Fix bad |
| 1484 | computation of the `vertical' flag, causing ugly things in LCD mode |
| 1485 | and others. |
| 1486 | |
| 1487 | 2005-09-23 David Turner <david@freetype.org> |
| 1488 | |
| 1489 | * src/autofit/aflatin.c (af_latin_hints_init): Fix a bug that |
| 1490 | prevented internal hint mode bitflags from being computed correctly. |
| 1491 | |
| 1492 | * src/base/Jamfile: Adding src/base/ftgxval.c. |
| 1493 | |
| 1494 | * src/gxvalid/gxvbsln.c, src/gxvalid/gxvcommn.c, |
| 1495 | src/gxvalid/gxvfeat.c, src/gxvalid/gxvjust.c, src/gxvalid/gxvkern.c, |
| 1496 | src/gxvalid/gxvlcar.c, src/gxvalid/gxvmort.c, |
| 1497 | src/gxvalid/gxvmort0.c, src/gxvalid/gxvmort1.c, |
| 1498 | src/gxvalid/gxvmort2.c, src/gxvalid/gxvmort4.c, |
| 1499 | src/gxvalid/gxvmort5.c, src/gxvalid/gxvmorx.c, |
| 1500 | src/gxvalid/gxvmorx0.c, src/gxvalid/gxvmorx1.c, |
| 1501 | src/gxvalid/gxvmorx2.c, src/gxvalid/gxvmorx5.c, |
| 1502 | src/gxvalid/gxvopbd.c, src/gxvalid/gxvprop.c, |
| 1503 | src/truetype/ttgload.c: Remove _many_ compiler warnings when |
| 1504 | compiling with Visual C++ at maximum level (/W4). |
| 1505 | |
| 1506 | * src/autofit/afangles.c (af_angle_atan): Replaced CORDIC-based |
| 1507 | implementation with one using lookup tables. This simple thing |
| 1508 | speeds up glyph loading by 18%, according to ftbench! |
| 1509 | |
| 1510 | * src/sfnt/sfdriver.c (sfnt_get_interface): Don't check for |
| 1511 | `get_sfnt' and `load_sfnt' module interfaces. |
| 1512 | |
| 1513 | 2005-09-22 Werner Lemberg <wl@gnu.org> |
| 1514 | |
| 1515 | * docs/CHANGES: Mention SING Glyphlet support. |
| 1516 | |
| 1517 | 2005-09-22 David Turner <david@freetype.org> |
| 1518 | |
| 1519 | * src/base/Jamfile: Disable compilation of ftgxval module |
| 1520 | temporarily. |
| 1521 | |
| 1522 | 2005-09-19 David Somers <dsomers@omz13.com> |
| 1523 | |
| 1524 | * freetype2/src/sfnt/ttload.c (sfnt_dir_check): Modified to allow a |
| 1525 | font to have no `head' table if tables `SING' and `META' are |
| 1526 | present; this is to support `SING Glyphlet'. |
| 1527 | |
| 1528 | `SING Glyphlet' is an extension to OpenType developed by Adobe |
| 1529 | primarily to facilitate adding supplemental glyphs to an OpenType |
| 1530 | font (with emphasis on, but not necessariy limited to, gaiji to a |
| 1531 | CJK font). A SING Glyphlet Font is an OpenType font that contains |
| 1532 | the outline(s), either in a `glyf' or `CFF' table, for a glyph; |
| 1533 | `cmap', `BASE', and `GSUB' tables are present with the same format |
| 1534 | and functionaliy as a regular OpenType font; there are no `name', |
| 1535 | `head', `OS/2', and `post' tables; there are two new tables, `SING' |
| 1536 | which contains details about the glyphlet, and `META' which contains |
| 1537 | metadata. |
| 1538 | |
| 1539 | Further information on the SING Glyphlet format can be found at: |
| 1540 | |
| 1541 | http://www.adobe.com/products/indesign/sing_gaiji.html |
| 1542 | |
| 1543 | * freetype2/include/freetype/ttags.h (TTAG_SING, TTAG_META): New |
| 1544 | macros for the OpenType tables `SING' and `META'. These two tables |
| 1545 | are used in SING Glyphlet Format fonts. |
| 1546 | |
| 1547 | 2005-09-09 Werner Lemberg <wl@gnu.org> |
| 1548 | |
| 1549 | * src/sfnt/sfobjs.c (sfnt_load_face): Reactivate code to set |
| 1550 | FT_FACE_FLAG_KERNING which has been commented out erroneously. |
| 1551 | |
| 1552 | * docs/CHANGES: Document it. |
| 1553 | |
| 1554 | 2005-09-05 Werner Lemberg <wl@gnu.org> |
| 1555 | |
| 1556 | Fixes for `make multi' and using C++ compiler. |
| 1557 | |
| 1558 | * gxvalid/gxvcommn.c (gxv_set_length_by_ushort_offset, |
| 1559 | gxv_set_length_by_ulong_offset, gxv_array_getlimits_byte, |
| 1560 | gxv_array_getlimits_ushort): Declare with FT_LOCAL_DEF. |
| 1561 | (gxv_compare_ranges): Make it static. |
| 1562 | (gxv_LookupTable_fmt0_validate, gxv_LookupTable_fmt2_validate, |
| 1563 | gxv_LookupTable_fmt4_validate, gxv_LookupTable_fmt6_validate, |
| 1564 | gxv_LookupTable_fmt8_validate, gxv_LookupTable_validate): Improve |
| 1565 | trace messages. |
| 1566 | (gxv_StateArray_validate, gxv_XStateArray_validate): s/class/clazz/. |
| 1567 | (GXV_STATETABLE_HEADER_SIZE, GXV_STATEHEADER_SIZE, |
| 1568 | GXV_XSTATETABLE_HEADER_SIZE, GXV_XSTATEHEADER_SIZE): Move to |
| 1569 | gxvcommn.h. |
| 1570 | |
| 1571 | * gxvalid/gxvcommn.h: Add prototypes for |
| 1572 | gxv_StateTable_subtable_setup, gxv_XStateTable_subtable_setup, |
| 1573 | gxv_XStateTable_validate, gxv_array_getlimits_byte, |
| 1574 | gxv_array_getlimits_ushort, gxv_set_length_by_ushort_offset, |
| 1575 | gxv_set_length_by_ulong_offset, gxv_odtect_add_range, |
| 1576 | gxv_odtect_validate. |
| 1577 | (GXV_STATETABLE_HEADER_SIZE, GXV_STATEHEADER_SIZE, |
| 1578 | GXV_XSTATETABLE_HEADER_SIZE, GXV_XSTATEHEADER_SIZE): Moved from |
| 1579 | gxvcommn.c. |
| 1580 | |
| 1581 | * src/gxvalid/gxvbsln.c (gxv_bsln_LookupValue_validate, |
| 1582 | gxv_bsln_parts_fmt1_validate): Improve trace messages. |
| 1583 | |
| 1584 | * gxvalid/gxvfeat.c: Split off predefined registry stuff to... |
| 1585 | * gxvalid/gxvfeat.h: New file. |
| 1586 | |
| 1587 | * gxvalid/gxvjust.c (gxv_just_wdc_entry_validate): Improve trace |
| 1588 | message. |
| 1589 | |
| 1590 | * gxvalid/gxvkern.c (GXV_kern_Dialect): Add KERN_DIALECT_UNKNOWN. |
| 1591 | (gxv_kern_subtable_fmt1_valueTable_load, |
| 1592 | gxv_kern_subtable_fmt1_subtable_setup, |
| 1593 | gxv_kern_subtable_fmt1_entry_validate): Fix C++ compiler errors. |
| 1594 | (gxv_kern_coverage_validate): Use KERN_DIALECT_UNKWOWN. |
| 1595 | Improve trace message. |
| 1596 | (gxv_kern_validate_generic): Fix C++ compiler error. |
| 1597 | Improve trace message. |
| 1598 | (gxv_kern_validate_classic): Fix C++ compiler error. |
| 1599 | |
| 1600 | * gxvalid/gxvmort0.c (gxv_mort_subtable_type0_validate): Declare |
| 1601 | with FT_LOCAL_DEF. |
| 1602 | |
| 1603 | * gxvalid/gxvmort1.c |
| 1604 | (gxv_mort_subtable_type1_substitutionTable_load, |
| 1605 | gxv_mort_subtable_type1_subtable_setup): Fix C++ compiler errors. |
| 1606 | (gxv_mort_subtable_type1_substTable_validate): Improve trace |
| 1607 | message. |
| 1608 | (gxv_mort_subtable_type1_validate): Declare with FT_LOCAL_DEF. |
| 1609 | |
| 1610 | * gxvalid/gxvmort2.c (gxv_mort_subtable_type2_opttable_load, |
| 1611 | gxv_mort_subtable_type2_subtable_setup, |
| 1612 | gxv_mort_subtable_type2_ligActionOffset_validate, |
| 1613 | gxv_mort_subtable_type2_ligatureTable_validate): Fix C++ compiler |
| 1614 | errors. |
| 1615 | (gxv_mort_subtable_type2_validate): Declare with FT_LOCAL_DEF. |
| 1616 | |
| 1617 | * gxvalid/gxvmort4.c (gxv_mort_subtable_type4_validate): Declare |
| 1618 | with FT_LOCAL_DEF. |
| 1619 | |
| 1620 | * gxvalid/gxvmort5.c (gxv_mort_subtable_type5_subtable_setup, |
| 1621 | gxv_mort_subtable_type5_InsertList_validate): Fix C++ compiler |
| 1622 | errors. |
| 1623 | (gxv_mort_subtable_type5_validate): Declare with FT_LOCAL_DEF. |
| 1624 | |
| 1625 | * gxvalid/gxvmort.c: Include gxvfeat.h. |
| 1626 | (gxv_mort_featurearray_validate, gxv_mort_coverage_validate): |
| 1627 | Declare with FT_LOCAL_DEF. |
| 1628 | (gxv_mort_subtables_validate, gxv_mort_validate): Improve trace |
| 1629 | messages. |
| 1630 | |
| 1631 | * gxvalid/gxvmort.h (gxv_mort_feature_validate): Remove. |
| 1632 | |
| 1633 | * gxvalid/gxvmorx0.c (gxv_morx_subtable_type0_validate): Declare |
| 1634 | with FT_LOCAL_DEF. |
| 1635 | |
| 1636 | * gxvalid/gxvmorx1.c |
| 1637 | (gxv_morx_subtable_type1_substitutionTable_load, |
| 1638 | gxv_morx_subtable_type1_subtable_setup, |
| 1639 | gxv_morx_subtable_type1_entry_validate, |
| 1640 | gxv_morx_subtable_type1_substitutionTable_validate): Fix C++ |
| 1641 | compiler errors. |
| 1642 | (gxv_morx_subtable_type1_validate): Declare with FT_LOCAL_DEF. |
| 1643 | |
| 1644 | * gxvalid/gxvmorx2.c (gxv_morx_subtable_type2_opttable_load, |
| 1645 | gxv_morx_subtable_type2_subtable_setup, |
| 1646 | gxv_morx_subtable_type2_ligActionIndex_validate, |
| 1647 | gxv_morx_subtable_type2_ligatureTable_validate): Fix C++ compiler |
| 1648 | errors. |
| 1649 | (gxv_morx_subtable_type2_validate): Declare with FT_LOCAL_DEF. |
| 1650 | Fix typo. |
| 1651 | |
| 1652 | * gxvalid/gxvmorx4.c (gxv_morx_subtable_type4_validate): Declare |
| 1653 | with FT_LOCAL_DEF. |
| 1654 | |
| 1655 | * gxvalid/gxvmorx5.c (gxv_morx_subtable_type5_insertionGlyph_load, |
| 1656 | gxv_morx_subtable_type5_subtable_setup): Fix C++ compiler error. |
| 1657 | (gxv_morx_subtable_type5_validate): Declare with FT_LOCAL_DEF. |
| 1658 | |
| 1659 | * gxvalid/gxvmorx.c (gxv_morx_subtables_validate, |
| 1660 | gxv_morx_validate): Improve trace message. |
| 1661 | |
| 1662 | * gxvalid/gxvopbd.c (gxv_opbd_LookupFmt4_transit): Fix compiler |
| 1663 | warnings. |
| 1664 | (gxv_opbd_validate): Improve trace message. |
| 1665 | |
| 1666 | * gxvalid/gxvprop.c: Decorate constants with `U' and `L' where |
| 1667 | appropriate. |
| 1668 | (gxv_prop_zero_advance_validate, gxv_prop_validate): Improve trace |
| 1669 | message. |
| 1670 | |
| 1671 | * gxvalid/gxvtrak.c (gxv_trak_trackTable_validate): Remove unused |
| 1672 | parameter. Update all callers. |
| 1673 | (gxv_trak_validate): Improve trace message. |
| 1674 | |
| 1675 | * rules.mk (GXV_DRV_H): Add gxvfeat.h. |
| 1676 | |
| 1677 | 2005-09-01 Werner Lemberg <wl@gnu.org> |
| 1678 | |
| 1679 | * src/gxvalid/gxvbsln.c (GXV_BSLN_VALUE_EMPTY): Add `U'. |
| 1680 | |
| 1681 | * src/gxvalid/gxmort1.c (GXV_MORT_SUBTABLE_TYPE1_HEADER_SIZE), |
| 1682 | src/gxvalid/gxmort2.c (GXV_MORT_SUBTABLE_TYPE2_HEADER_SIZE): Fix |
| 1683 | typo. |
| 1684 | |
| 1685 | * src/gxvalid/gxvmorx0.c, src/gxvalid/gxvmorx1.c, |
| 1686 | src/gxvalid/gxvmorx2.c, src/gxvalid/gxvmorx4.c, |
| 1687 | src/gxvalid/gxvmorx5.c, src/gxvalid/gxvmort.c: Improve trace |
| 1688 | messages. |
| 1689 | Decorate constants with `U' and `L' where appropriate. |
| 1690 | Fix compiler warnings. |
| 1691 | |
| 1692 | 2005-08-31 Werner Lemberg <wl@gnu.org> |
| 1693 | |
| 1694 | * src/truetype/ttgload.c (load_truetype_glyph): Fix typo. |
| 1695 | |
| 1696 | * src/gxvalid/gxvbsln.c (gxv_bsln_validate): Fix trace message. |
| 1697 | |
| 1698 | * src/gxvalid/gxvcommn.c (gxv_odtect_add_range): Use `const'. |
| 1699 | |
| 1700 | * src/gxvalid/gxvfeat.c, src/gxvalid/gxvjust.c, |
| 1701 | src/gxvalid/gxvkern.c, src/gxvalid/gxvlcar.c, src/gxvalid/gxvmod.c, |
| 1702 | src/gxvalid/gxvmort0.c, src/gxvalid/gxvmort1.c, |
| 1703 | src/gxvalid/gxvmort2.c, src/gxvalid/gxvmort4.c, |
| 1704 | src/gxvalid/gxvmort5.c, src/gxvalid/gxvmort.c: Improve trace |
| 1705 | messages. |
| 1706 | Decorate constants with `U' and `L' where appropriate. |
| 1707 | Fix compiler warnings. |
| 1708 | |
| 1709 | 2005-08-30 Werner Lemberg <wl@gnu.org> |
| 1710 | |
| 1711 | * src/gxvalid/README: Revised. |
| 1712 | * src/gxvalid/gxvbsln.c: Fix compiler warnings. |
| 1713 | * src/gxvalid/gxvcommn.c: Fix compiler warnings. |
| 1714 | (gxv_XEntryTable_validate, gxv_compare_ranges): Remove unused |
| 1715 | parameter. Update all callers. |
| 1716 | Improve trace messages. |
| 1717 | Some formatting. |
| 1718 | |
| 1719 | 2005-08-29 Werner Lemberg <wl@gnu.org> |
| 1720 | |
| 1721 | * include/freetype/freetype.h, include/freetype/ftchapters.h: Add |
| 1722 | a preliminary section with some explanations about user allocation. |
| 1723 | |
| 1724 | * src/tools/docmaker/tohtml.py (HtmlFormatter.section_enter): |
| 1725 | Don't abort if there are no data types, functions, etc., in a |
| 1726 | section. |
| 1727 | Print synopsis only if we have a data type, function, etc. |
| 1728 | |
| 1729 | * docs/INSTALL.ANY, docs/INSTALL, docs/INSTALL.UNX, docs/CUSTOMIZE, |
| 1730 | docs/INSTALL.GNU, docs/TRUETYPE, docs/DEBUG, docs/UPGRADE.UNX, |
| 1731 | docs/VERSION.DLL, docs/formats.txt: Revised, formatted. |
| 1732 | |
| 1733 | 2005-08-28 George Williams <gww@silcom.com> |
| 1734 | |
| 1735 | * src/truetype/ttgload.c [TT_MAX_COMPOSITE_RECURSE]: Removed. |
| 1736 | (load_truetype_glyph): Limit recursion depth by `maxComponentDepth'. |
| 1737 | |
| 1738 | 2005-08-25 J. Ali Harlow <ali@avrc.city.ac.uk> |
| 1739 | |
| 1740 | * builds/unix/freetype2.in (CFlags): Add missing directory. |
| 1741 | |
| 1742 | 2005-08-24 Werner Lemberg <wl@gnu.org> |
| 1743 | |
| 1744 | * docs/CHANGES: Mention gxvalid module. |
| 1745 | |
| 1746 | 2005-08-23 Werner Lemberg <wl@gnu.org> |
| 1747 | |
| 1748 | * src/autofit/aflatin.c (af_latin_metrics_scale): Initialize |
| 1749 | render mode properly. Reported by chris@dokein.co.uk. |
| 1750 | |
Werner Lemberg | 6be99f9 | 2006-02-09 07:38:57 +0000 | [diff] [blame] | 1751 | 2005-08-23 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> |
Werner Lemberg | 8e6c56f | 2005-10-18 06:09:13 +0000 | [diff] [blame] | 1752 | |
| 1753 | Add gxvalid module to validate TrueType GX/AAT tables. |
| 1754 | |
| 1755 | Modifications on existing files: |
| 1756 | |
| 1757 | * Jamfile: Register gxvalid module. |
| 1758 | * src/base/Jamfile: Register ftgxval.c. |
| 1759 | * src/base/rule.mk: Register ftgxval.c. |
| 1760 | * docs/INSTALL.ANY: Register gxvalid/gxvalid.c. |
| 1761 | |
| 1762 | * include/freetype/config/ftheader.h (FT_GX_VALIDATE_H): New macro |
| 1763 | to include gxvalid header file. |
| 1764 | * include/freetype/config/ftmodule.h: Register gxv_module_class. |
| 1765 | |
| 1766 | * include/freetype/ftchapters.h: Add comment about gx_validation. |
| 1767 | * include/freetype/ftotval.h: Change keyword FT_VALIDATE_XXX |
| 1768 | to FT_VALIDATE_OTXXX to co-exist with gxvalid. |
| 1769 | * include/freetype/tttags.h: Add tags for TrueType GX/AAT tables. |
| 1770 | |
| 1771 | * include/freetype/internal/ftserv.h (FT_SERVICE_GX_VALIDATE_H): New |
| 1772 | macro for gxvalid service. |
| 1773 | * include/freetype/internal/fttrace.h: Add trace facilities for |
| 1774 | gxvalid. |
| 1775 | |
| 1776 | New files on existing directories: |
| 1777 | |
| 1778 | * include/freetype/internal/services/svgxval.h: Registration of |
| 1779 | validation service for TrueType GX/AAT and classic kern table. |
| 1780 | * include/freetype/ftgxval.h: Public API definition to use gxvalid. |
| 1781 | * src/base/ftgxval.c: Public API of gxvalid. |
| 1782 | |
| 1783 | New files under src/gxvalid/: |
| 1784 | |
| 1785 | * src/gxvalid/Jamfile src/gxvalid/README src/gxvalid/module.mk |
| 1786 | src/gxvalid/rules.mk src/gxvalid/gxvalid.c src/gxvalid/gxvalid.h |
| 1787 | src/gxvalid/gxvbsln.c src/gxvalid/gxvcommn.c src/gxvalid/gxvcommn.h |
| 1788 | src/gxvalid/gxverror.h src/gxvalid/gxvfeat.c src/gxvalid/gxvfgen.c |
| 1789 | src/gxvalid/gxvjust.c src/gxvalid/gxvkern.c src/gxvalid/gxvlcar.c |
| 1790 | src/gxvalid/gxvmod.c src/gxvalid/gxvmod.h src/gxvalid/gxvmort.c |
| 1791 | src/gxvalid/gxvmort.h src/gxvalid/gxvmort0.c src/gxvalid/gxvmort1.c |
| 1792 | src/gxvalid/gxvmort2.c src/gxvalid/gxvmort4.c src/gxvalid/gxvmort5.c |
| 1793 | src/gxvalid/gxvmorx.c src/gxvalid/gxvmorx.h src/gxvalid/gxvmorx0.c |
| 1794 | src/gxvalid/gxvmorx1.c src/gxvalid/gxvmorx2.c src/gxvalid/gxvmorx4.c |
| 1795 | src/gxvalid/gxvmorx5.c src/gxvalid/gxvopbd.c src/gxvalid/gxvprop.c |
| 1796 | src/gxvalid/gxvtrak.c: New files, gxvalid body. |
| 1797 | |
| 1798 | 2005-08-21 Werner Lemberg <wl@gnu.org> |
| 1799 | |
| 1800 | * src/truetype/ttgload.c (TT_Load_Glyph): Only translate outline |
| 1801 | to (0,0) if bit 1 of the `head' table isn't set. This improves |
| 1802 | rendering of buggy fonts. |
| 1803 | |
| 1804 | 2005-08-20 Chia I Wu <b90201047@ntu.edu.tw> |
| 1805 | |
| 1806 | * src/truetype/ttdriver.c (Load_Glyph): Don't check the validity of |
| 1807 | ttmetrics here. TrueType fonts with only sbits always have |
| 1808 | ttmetrics.valid set to false. |
| 1809 | |
| 1810 | * src/truetype/ttgload.c (TT_Load_Glyph): Check that ttmetrics is |
| 1811 | valid before loading outline glyph. |
| 1812 | |
| 1813 | * src/cache/ftcimage.c (FTC_INode_New): Fix a memory leak. |
| 1814 | |
| 1815 | 2005-08-20 Werner Lemberg <wl@gnu.org> |
| 1816 | |
| 1817 | * src/sfnt/ttload.c (tt_face_load_metrics_header): Ignore missing |
| 1818 | `hhea' table for SFNT Mac fonts. Change based on a patch by |
| 1819 | mpsuzuki@hiroshima-u.ac.jp. |
| 1820 | |
| 1821 | 2005-08-20 Masatake YAMATO <jet@gyve.org> |
| 1822 | |
| 1823 | * src/otvalid/otvmod.c (otv_validate): Use ft_validator_run instead |
| 1824 | of ft_setjmp. |
| 1825 | |
| 1826 | 2005-08-19 Werner Lemberg <wl@gnu.org> |
| 1827 | |
| 1828 | * src/truetype/ttgload.c (load_truetype_glyph): Fix compiler |
| 1829 | warnings. |
| 1830 | |
| 1831 | 2005-08-16 Chia I Wu <b90201047@ntu.edu.tw> |
| 1832 | |
| 1833 | * src/truetype/ttinterp.c, src/truetype/ttinterp.h: Update copyright |
| 1834 | messages. |
| 1835 | |
| 1836 | 2005-08-16 Chia I Wu <b90201047@ntu.edu.tw> |
| 1837 | |
| 1838 | * src/truetype/ttinterp.c, src/truetype/ttinterp.h: Remove original |
| 1839 | TT_Done_Context and rename TT_Destroy_Context to TT_Done_Context |
| 1840 | with slight changes. |
| 1841 | Update all callers. |
| 1842 | (TT_New_Context): Now takes TT_Driver argument directly. |
| 1843 | Update all callers. |
| 1844 | |
| 1845 | * src/truetype/ttobjs.h (tt_slot_init): New function. |
| 1846 | * src/truetype/ttobjs.c (tt_driver_init): Initialize execution |
| 1847 | context here. |
| 1848 | (tt_slot_init): New function to create extra points for the internal |
| 1849 | glyph loader. We then use it directly, instead of face's glyph |
| 1850 | loader, when loading glyph. |
| 1851 | |
| 1852 | * src/truetype/ttdriver.c (tt_driver_class): Use tt_slot_init for |
| 1853 | glyph slot initialization. |
| 1854 | (Load_Glyph): Load flag dependencies are handled here. Return error |
| 1855 | if size is NULL. |
| 1856 | |
| 1857 | * src/truetype/ttgload.c: Heavy cleanup and refactoring. |
| 1858 | (org_to_cur): Removed. |
| 1859 | (TT_Load_Simple_Glyph): Call FT_GlyphLoader_CheckPoints. |
| 1860 | (TT_Hint_Glyph): New funcion to hint a zone, prepared by caller. |
| 1861 | (TT_Process_Simple_Glyph): s/load/loader/. |
| 1862 | Use loader->pp values instead of recalculation. |
| 1863 | Use TT_Hint_Glyph. |
| 1864 | No need to save/restore loader->stream before and after |
| 1865 | TT_Vary_Get_Glyph_Deltas now. |
| 1866 | (TT_LOADER_SET_PP): New macro to calculate and set the four phantom |
| 1867 | points. |
| 1868 | (load_truetype_glyph): Never set exec->glyphSize to 0. This closes |
| 1869 | Savannah bug #13107. |
| 1870 | Forget glyph frame before calling TT_Process_Simple_Glyph. |
| 1871 | Use TT_LOADER_SET_PP. |
| 1872 | Scale all four phantom points. |
| 1873 | Split off some functionality to ... |
| 1874 | (TT_Process_Composite_Component, TT_Process_Composite_Glyph): These |
| 1875 | new functions. |
| 1876 | (TT_Load_Glyph): Set various fields of `glyph' here, not in |
| 1877 | load_truetype_glyph and compute_glyph_metrics. |
| 1878 | Split off some functionality to ... |
| 1879 | (load_sbit_image, tt_loader_init): These new functions. |
| 1880 | (compute_glyph_metrics): Call FT_Outline_Get_CBox. |
| 1881 | |
| 1882 | 2005-08-08 Werner Lemberg <wl@gnu.org> |
| 1883 | |
| 1884 | * docs/INSTALL.ANY: Updated. |
| 1885 | |
| 1886 | 2005-08-05 Werner Lemberg <wl@gnu.org> |
| 1887 | |
| 1888 | * src/cff/cffgload.c (cff_builder_close_contour), |
| 1889 | src/psaux/psobjs.c (t1_builder_close_contour): Protect against |
| 1890 | zero `outline' pointer. |
| 1891 | |
| 1892 | * src/base/ftgloadr.c (FT_GlyphLoader_Add): Protect against zero |
| 1893 | `loader' address. |
| 1894 | |
| 1895 | 2005-08-03 Werner Lemberg <wl@gnu.org> |
| 1896 | |
| 1897 | * src/sfnt/sfdriver.c (sfnt_interface) [FT_OPTIMIZE_MEMORY]: |
| 1898 | Reactivate pointers to tt_find_sbit_image and tt_load_sbit_metrics |
| 1899 | to make X work again. |
| 1900 | |
| 1901 | 2005-08-02 Werner Lemberg <wl@gnu.org> |
| 1902 | |
| 1903 | * src/otvalid/otvcommn.h: Remove dead code. |
| 1904 | |
| 1905 | 2005-07-31 Chia I Wu <b90201047@ntu.edu.tw> |
| 1906 | |
| 1907 | * src/truetype/ttobjs.h (tt_size_run_fpgm, tt_size_run_prep): New |
| 1908 | functions. |
| 1909 | |
| 1910 | * src/truetype/ttobjs.c (tt_size_run_fpgm, tt_size_run_prep): New |
| 1911 | functions. |
| 1912 | (tt_size_init): Add 4, instead of 2, (phantom) points to twilight |
| 1913 | zone. |
| 1914 | Move code that runs fpgm to tt_size_run_fpgm. |
| 1915 | (Reset_Outline_Size): Move code that runs prep to tt_size_run_prep. |
| 1916 | (tt_glyphzone_new): Allocate right size of arrays. |
| 1917 | Set max_points and max_contours properly. |
| 1918 | |
| 1919 | 2005-07-26 Chia I Wu <b90201047@ntu.edu.tw> |
| 1920 | |
| 1921 | * src/truetype/ttdriver.c (Set_Char_Sizes): Avoid unnecessary |
| 1922 | computations and clean up. |
| 1923 | |
| 1924 | * src/truetype/ttobjs.h (struct TT_SizeRec_): Comment on the |
| 1925 | internal copy of metrics. |
| 1926 | |
| 1927 | 2005-07-12 Werner Lemberg <wl@gnu.org> |
| 1928 | |
| 1929 | * include/freetype/ftoutln.h (FT_Outline_Embolden): Fix prototype. |
| 1930 | Reported by Xerxes. |
| 1931 | |
| 1932 | 2005-07-04 Werner Lemberg <wl@gnu.org> |
| 1933 | |
| 1934 | * include/freetype/internal/ftmemory.h (FT_REALLOC_ARRAY): Fix typo. |
| 1935 | Reported by Brett Hutley. |
| 1936 | |
| 1937 | 2005-06-30 David Turner <david@freetype.org> |
| 1938 | |
| 1939 | * src/sfnt/ftbitmap.c, src/truetype/ttgload.c, src/sfnt/ttcmap.c: |
| 1940 | Removing compiler warnings (Visual C++ /W4). |
| 1941 | |
| 1942 | |
| 1943 | Implement a work-around for broken C preprocessor in Visual C++ (it |
| 1944 | has been confirmed by the MS developers that it is indeed a bug |
| 1945 | which won't be fixed in the very near future). |
| 1946 | |
| 1947 | * Jamfile (FT2_COMPONENTS): Include otvalid (again). |
| 1948 | |
| 1949 | * src/otvalid/otvcommn.h (OTV_NAME, OTV_FUNC): New macros. |
| 1950 | (OTV_NEST1, OTV_NEST2, OTV_NEST3): Use OTV_NAME and OTV_FUNC to |
| 1951 | avoid argument expansion by argument prescan. |
| 1952 | Append `Func' to all affected macros and change them to take just a |
| 1953 | single argument. Example: `AttachList' is renamed to |
| 1954 | `AttachListFunc'. |
| 1955 | |
| 1956 | * src/otvalid/otvgdef.c, src/otvalid/otvgpos.c, |
| 1957 | src/otvalid/otvgsub.c, src/otvjstf.c: Append `Func' to macros |
| 1958 | affected by the changes to OTV_NESTx and modify them to take just a |
| 1959 | single argument. |
| 1960 | |
| 1961 | 2005-06-20 Chia I Wu <b90201047@ntu.edu.tw> |
| 1962 | |
| 1963 | * include/freetype/internal/ftobjs.h, src/base/ftobjs.c: New function |
| 1964 | ft_glyphslot_grid_fit_metrics. |
| 1965 | |
| 1966 | * src/truetype/ttgload.c (compute_glyph_metrics): Use |
| 1967 | ft_glyphslot_grid_fit_metrics. |
| 1968 | |
| 1969 | * src/cff/cffgload.c (cff_slot_load), src/cid/cidgload.c |
| 1970 | (cid_slot_load_glyph), src/type1/t1gload.c (T1_Load_Glyph): Use |
| 1971 | ft_glyphslot_grid_fit_metrics. |
| 1972 | FT_Outline_Get_CBox is called twice. |
| 1973 | |
| 1974 | * src/base/ftsynth.c (FT_GlyphSlot_Embolden): Modify metrics to more |
| 1975 | reasonable values when emboldening outline glyphs. The theoretic |
| 1976 | ones are unrealistic. |
| 1977 | |
| 1978 | 2005-06-16 Chia I Wu <b90201047@ntu.edu.tw> |
| 1979 | |
| 1980 | * src/base/ftoutln.c (FT_Outline_Embolden): Strength should be |
| 1981 | halved. |
| 1982 | |
| 1983 | * src/base/ftsynth.c (FT_GlyphSlot_Embolden): Change the default |
| 1984 | strength. |
| 1985 | Don't increase slot->advance.y. |
| 1986 | |
| 1987 | 2005-06-16 Werner Lemberg <wl@gnu.org> |
| 1988 | |
| 1989 | * include/freetype/freetype.h (FREETYPE_MINOR): Set to 2. |
| 1990 | (FREETYPE_PATCH): Set to 0. |
| 1991 | |
| 1992 | * builds/unix/configure.ac (version_info): Set to 9:9:3. |
| 1993 | Currently, we are still binary compatible. |
| 1994 | |
| 1995 | * builds/win32/visualc/index.html, |
| 1996 | builds/win32/visualc/freetype.dsp, |
| 1997 | builds/win32/visualc/freetype.vcproj: s/219/2110/, s/2.1.9/2.1.10/. |
| 1998 | |
| 1999 | * builds/freetype.mk (refdoc), README, Jamfile (RefDoc): |
| 2000 | s/2.1.9/2.1.10/. |
| 2001 | |
| 2002 | * docs/CHANGES, docs/VERSION.DLL: Updated. |
| 2003 | |
| 2004 | * ChangeLog: Split off older entries into... |
| 2005 | * ChangeLog.20, ChangeLog.21: These new files. |
| 2006 | |
| 2007 | 2005-06-15 Kirill Smelkov <kirr@mns.spb.ru> |
| 2008 | |
| 2009 | The next release will be 2.2.0, so don't worry about source code |
| 2010 | backwards compatibility. |
| 2011 | |
| 2012 | * include/freetype/ftimage.h (FT_Outline_MoveToFunc, |
| 2013 | FT_Outline_LineToFunc, FT_Outline_ConicToFunc, |
| 2014 | FT_Outline_CubicToFunc, FT_SpanFunc, FT_Raster_RenderFunc), |
| 2015 | include/freetype/ftrender.h (FT_Glyph_TransformFunc, |
| 2016 | FT_Renderer_RenderFunc, FT_Renderer_TransformFunc): Decorate |
| 2017 | parameters with `const' where appropriate. |
| 2018 | |
| 2019 | 2005-06-15 Chia I Wu <b90201047@ntu.edu.tw> |
| 2020 | |
| 2021 | * src/sfnt/ttsbit.c (tt_face_load_sbit_image): Compute vertBearingY |
| 2022 | to make glyphs centered vertically. |
| 2023 | |
| 2024 | * src/truetype/ttgload.c (compute_glyph_metrics): Compute |
| 2025 | vertBearingY to make glyphs centered vertically. |
| 2026 | Fix some bugs in vertical metrics: |
| 2027 | |
| 2028 | . loader->pp3.y and loader->pp4.y are in 26.6 format, not in font |
| 2029 | units. |
| 2030 | . As we use the glyph's cbox to calculate the top bearing now |
| 2031 | there iss no need to adjust `top'. |
| 2032 | |
| 2033 | 2005-06-15 Werner Lemberg <wl@gnu.org> |
| 2034 | |
| 2035 | * src/otvalid/otvcommn.h (OTV_OPTIONAL_TABLE): Use FT_UShort to be |
| 2036 | in sync with OTV_OPTIONAL_OFFSET. Reported by YAMATO Masatake. |
| 2037 | |
| 2038 | 2005-06-13 Werner Lemberg <wl@gnu.org> |
| 2039 | |
| 2040 | * docs/release: Update. |
| 2041 | |
| 2042 | ---------------------------------------------------------------------------- |
| 2043 | |
Werner Lemberg | 435046b | 2006-01-11 10:57:42 +0000 | [diff] [blame] | 2044 | Copyright 2005, 2006 by |
Werner Lemberg | 8e6c56f | 2005-10-18 06:09:13 +0000 | [diff] [blame] | 2045 | David Turner, Robert Wilhelm, and Werner Lemberg. |
| 2046 | |
| 2047 | This file is part of the FreeType project, and may only be used, modified, |
| 2048 | and distributed under the terms of the FreeType project license, |
| 2049 | LICENSE.TXT. By continuing to use, modify, or distribute this file you |
| 2050 | indicate that you have read the license and understand and accept it |
| 2051 | fully. |
| 2052 | |
| 2053 | |
| 2054 | Local Variables: |
| 2055 | version-control: never |
| 2056 | coding: latin-1 |
| 2057 | End: |