Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| d30062d2 | 2009-09-08 07:06:54 | Whitespace. | ||
| 5e240c12 | 2009-09-03 13:14:24 | [raster] Improvements for stand-alone mode. * src/raster/rules.mk: Don't handle ftmisc.h. It is needed for stand-alone mode only. * src/raster/ftmisc.h (FT_MemoryRec , FT_Alloc_Func, FT_Free_Func, FT_Realloc_Func): Copy declarations from ftsystem.h. | ||
| 4694ea2b | 2009-09-02 13:06:33 | Improve vertical metrics calculation (Savannah bug #27364). The calculation of `vertBearingX' is not defined in the OTF font spec so FreeType does a `best effort' attempt. However, this value is defined in the PDF and PostScript specs, and that algorithm is better than the one FreeType currently uses: FreeType: Use the middle of the bounding box as the X coordinate of the vertical origin. Adobe PDF spec: Use the middle of the horizontal advance vector as the X coordinate of the vertical origin. FreeType's algorithm goes wrong if you have a really small glyph (like the full-width, circle-like dot at the end of the sentence, as used in CJK scripts) with large bearings. With the FreeType algorithm this dot gets centered on the baseline; with the PDF algorithm it gets the correct location (in the top right). Note that this is a serious issue, it's like printing the dot at the end of a Roman sentence at the center of the textline instead of on the baseline like it should. So i believe the PDF spec's algorithm should be used in FreeType as well. The `vertBearingY' value for such small glyphs is also very strange if no `vmtx' information is present, since the height of the bbox is not representable for the height of the glyph visually (the whitespace up to the baseline is part of the glyph). The fix also includes some code for a better estimate of `vertBearingY'. * src/base/ftobjs.c (ft_synthesize_vertical_metrics): `vertBearingX' is now calculated as described by the Adobe PDF Spec. Estimate for `vertBearingY' now works better for small glyphs completely above or below the baseline into account. * src/cff/cffgload.c (cff_slot_load): `vertBearingX' is now calculated as described by the Adobe PDF Spec. Vertical metrics information was always ignored when FT_CONFIG_OPTION_OLD_INTERNALS was not defined. * src/truetype/ttgload.c (compute_glyph_metrics): `vertBearingX' is now calculated as described by the Adobe PDF Spec. | ||
| 03e8b2f7 | 2009-09-01 08:10:24 | Fix custom cmap for empty Type 1 font (Savannah bug #27294). * include/freetype/internal/t1types.h (T1_EncodingRecRec_): Update comment to reflect revised code_last meaning. * src/type1/t1load.c (T1_Open_Face), src/type42/t42objs.c (T42_Open_Face): Assign max_char as highest character code + 1 and use this for T1_EncodingRecRec_::code_last. * src/psaux/t1cmap.c (t1_cmap_custom_init): Follow revised T1_EncodingRecRec_::code_last meaning. | ||
| d77cd8ce | 2009-08-27 00:10:56 | Fix rendering of horizontally compressed CFFs. Bug reported by Ivan Nincic <inincic@pdftron.com>. * src/cff/cffgload.c (cff_slot_load): Thinko: Check `xx' element of `font_matrix' also. * docs/CHANGES: Updated. | ||
| efaf5abc | 2009-08-03 19:55:58 | Don't call `ft_fseek' every time when executing `ft_fread'. * src/base/ftstream.c (FT_Stream_Seek), src/base/ftsystem.c (ft_ansi_stream_io): Implement it. | ||
| 2b6a3f0b | 2009-08-01 00:37:59 | sfnt: Cast a charcode to 32-bit in cmap format 14 parser. | ||
| 9b1aab8d | 2009-08-01 00:37:58 | sfnt: Cast a charcode to 32-bit in cmap format 12 parser. | ||
| e6d0c1fb | 2009-08-01 00:37:58 | psaux: Fix a few casts to FT_Int32 value. | ||
| b76c3f71 | 2009-08-01 00:37:57 | sfnt: Fix a data type mismatching with its source. | ||
| 2a2beb47 | 2009-08-01 00:37:57 | sfnt: Extend a few local variables to load 32-bit values. | ||
| 3bda1f99 | 2009-08-01 00:37:56 | pcf: Truncate FT_ULong `nprops' to fit to int PCF_Face->nprops. | ||
| 3783dac0 | 2009-08-01 00:37:56 | pfr: Extend `num_aux' to take 32-bit value. | ||
| 8eb551f1 | 2009-08-01 00:37:55 | gxvalid: Extend a few local variables to reduce the casts. | ||
| d3659977 | 2009-08-01 00:37:55 | gxvalid: Extend `settingTable' to take 32-bit offset. | ||
| 6e2375f7 | 2009-08-01 00:37:54 | autofit: Cast FT_Long glyph_count to compare with FT_UInt GID. | ||
| 057bc4c0 | 2009-08-01 00:35:40 | smooth: Exclude 16-bit system in invalid pitch/height check. | ||
| b16a9426 | 2009-08-01 00:32:25 | cff: Type large constants > 0x7FFF as long for 16-bit systems. | ||
| 5133c56f | 2009-08-01 00:32:25 | base: Remove an unused variable. | ||
| 5d3ff056 | 2009-08-01 00:32:24 | cache: Check higher bits in flags for non ILP32 systems. | ||
| 61adbe98 | 2009-08-01 00:32:24 | sfnt: Ignore invalid GIDs in glyph name lookup. | ||
| eec40554 | 2009-08-01 00:32:24 | pcf: Fix a comparison between FT_Long and FT_ULong. | ||
| eceaffef | 2009-08-01 00:32:23 | gxvalid: Guarantee `nFeatureFlags' size up to 32-bit. | ||
| cad4f915 | 2009-08-01 00:32:23 | sfnt: Insert explicit cast for LP64 system. | ||
| 2f07c57f | 2009-08-01 00:32:22 | gxvalid: Guarantee `just' table size upto 32-bit. | ||
| 205a2a0c | 2009-08-01 00:32:22 | gxvalid: Guarantee `trak' table size upto 32-bit. | ||
| b12b8c3c | 2009-08-01 00:32:21 | pfr: Fix a data type mismatching with its source. | ||
| c4420d97 | 2009-08-01 00:32:21 | pfr: Fix a data type mismatching with its source. | ||
| 737634e5 | 2009-08-01 00:32:21 | pfr: Fix a data type mismatching with its source. | ||
| 471980d9 | 2009-08-01 00:32:20 | smooth: Improve the format in debug message. | ||
| 01059050 | 2009-08-01 00:32:20 | sfnt: Fix a data type mismatching with its source. | ||
| ec7bc863 | 2009-08-01 00:32:19 | truetype: Extend TrueType GX packed deltas to FT_Offset. | ||
| 5668181b | 2009-08-01 00:32:18 | truetype: Extend mmvar_len to hold size_t values. | ||
| a1151420 | 2009-08-01 00:32:18 | truetype: Check invalid function number in IDEF instruction. | ||
| d1c23082 | 2009-08-01 00:32:17 | truetype: Check invalid function number in FDEF instruction. | ||
| 9206eba2 | 2009-08-01 00:32:17 | truetype: Truncate the deltas of composite glyph at 16-bit values. | ||
| 1b6f1d20 | 2009-08-01 00:32:16 | truetype: Truncate the instructions upto 16-bit per a glyph. | ||
| 6dc27526 | 2009-08-01 00:32:15 | truetype: Cast the numerical operands to 32-bit for LP64 systems. | ||
| 3b56c4d3 | 2009-08-01 00:32:15 | truetype: Cast the project vector to 32-bit for LP64 system. | ||
| 9fc40943 | 2009-08-01 00:32:14 | truetype: Cast the scaling params to 32-bit for LP64 system. | ||
| c9c64388 | 2009-08-01 00:32:14 | sfnt: Cast a character code to FT_UInt32 for LP64 system. | ||
| 3f0182af | 2009-08-01 00:32:13 | sfnt: Cast a character code to FT_UInt32 for LP64 system. | ||
| 9c1aac00 | 2009-08-01 00:32:13 | sfnt: Extend TT_BDF->strings_size to FT_ULong for huge BDF. | ||
| 259568cf | 2009-08-01 00:32:13 | psaux: Handle the string length by FT_Offset variables. | ||
| 75d56e5d | 2009-08-01 00:32:12 | pcf: Fix some data types mismatching with their sources. | ||
| c595c06c | 2009-08-01 00:32:12 | pcf: Handle the string length by size_t variables. | ||
| 78ba8a61 | 2009-08-01 00:32:11 | pcf: Fix some data types mismatching with their sources. | ||
| 52170ac0 | 2009-08-01 00:32:11 | otvalid: Truncate the glyph index to 16-bit. | ||
| f7c6b116 | 2009-08-01 00:32:10 | cache: Insert explict casts for LP64 systems. | ||
| ed1d3590 | 2009-08-01 00:32:10 | cache: Fix some data types mismatching with their sources. | ||
| 3f0f2e46 | 2009-08-01 00:32:09 | XXX_cmap_encoding_char_next() return FT_UInt32 values. | ||
| 25dba9cf | 2009-08-01 00:32:09 | truetype: Extend TT_Face->num_locations for broken TTFs. | ||
| e45e0522 | 2009-08-01 00:32:08 | smooth: Fix some data types mismatching with their sources. | ||
| c579dc43 | 2009-08-01 00:32:08 | cff: Fix some data types mismatching with their sources. | ||
| 87054758 | 2009-08-01 00:32:08 | autofit: Fix some data types mismatching with their sources. | ||
| b5668024 | 2009-08-01 00:32:07 | autofit: Count the size of the memory object by ptrdiff_t. | ||
| 15dc278c | 2009-08-01 00:32:07 | autofit: Fix for unused variable `first'. | ||
| e866cf3f | 2009-08-01 00:32:06 | Improve bitmap size or pixel variables for 16-bit systems. | ||
| d3ed6d1b | 2009-08-01 00:30:24 | psaux: Prevent invalid arguments to afm_parser_read_vals(). | ||
| 0d226c31 | 2009-08-01 00:30:24 | base: Prevent some overflows on LP64 systems. | ||
| 072e5523 | 2009-08-01 00:30:23 | cff: Cast the long variables to 32-bit for LP64 systems. | ||
| b61d9289 | 2009-08-01 00:30:23 | pcf: Improve PCF_PropertyRec.value names on LP64 platforms. | ||
| eae89a7f | 2009-08-01 00:30:22 | pcf: Fix some data types mismatching with their sources. | ||
| be41d3e7 | 2009-08-01 00:30:22 | bdf: Improve bdf_property_t.value names for LP64 platforms. | ||
| 660d6513 | 2009-08-01 00:30:21 | bdf: Fix some data types mismatching with their sources. | ||
| 38e480b4 | 2009-08-01 00:30:21 | autofit: Improve Unicode range definitions. | ||
| 93bb1594 | 2009-08-01 00:30:21 | smooth: Fix a data type mismatching with its source. | ||
| ea5268d2 | 2009-08-01 00:30:20 | smooth: Fix a data type mismatching with its source. | ||
| f4e1c8bd | 2009-08-01 00:30:20 | cache: Disable the legacy compatibility if 16-bit system. | ||
| 2a5831ec | 2009-08-01 00:30:19 | cache: Check 32-bit glyph index on 16-bit systems. | ||
| b566d42a | 2009-08-01 00:30:19 | cache: Fix some data types mismatching with their sources. | ||
| ebf8e294 | 2009-08-01 00:30:19 | cache: Fix some data types mismatching with their sources. | ||
| 9f50873a | 2009-08-01 00:30:18 | cache: Cast NULL to a required function type explicitly. | ||
| 82ebaa7b | 2009-08-01 00:30:17 | psnames: Handle Unicode codepoints by FT_UInt32 variables. | ||
| d200982d | 2009-08-01 00:30:17 | psaux: Use size_t variable to pass the buffer size. | ||
| d1ee3785 | 2009-08-01 00:30:16 | type1: Use size_t variable to pass the string length. | ||
| 7fd7c6f2 | 2009-08-01 00:30:16 | cid: Fix some data types mismatching with their sources. | ||
| 34c203cd | 2009-08-01 00:30:16 | cff: Fix for unused variable `rest'. | ||
| a813cf48 | 2009-08-01 00:30:15 | cff: Fix some data types mismatching with their sources. | ||
| 2bbcb7ed | 2009-08-01 00:30:15 | bdf: Fix some data types mismatching with their sources. | ||
| 763b3949 | 2009-08-01 00:30:14 | sfnt: Count the size of the memory object by ptrdiff_t. | ||
| f420757c | 2009-08-01 00:30:14 | lzw: Count the size of the memory object by ptrdiff_t. | ||
| 88c95bab | 2009-08-01 00:30:13 | otvalid: Count the table size on memory by ptrdiff_t. | ||
| 90c7efc8 | 2009-08-01 00:30:13 | otvalid: Prevent an overflow by GPOS/GSUB 32b-bit offset. | ||
| 95aeebf4 | 2009-08-01 00:30:13 | ftobjs.c: Prevent an overflow in glyph index handling. | ||
| 2ed9d7fc | 2009-08-01 00:30:12 | Improve the variable types in raccess_make_file_name(). | ||
| 61fa1b53 | 2009-08-01 00:30:12 | ftpatent.c: Fix for unused variable `error'. | ||
| f7ecdbc7 | 2009-08-01 00:30:12 | type1: Check invalid string longer than PostScript limit. | ||
| a8c515d2 | 2009-08-01 00:30:11 | gzip: Use FT2 zcalloc() & zfree() in ftgzip.c by default. | ||
| 5f43bab8 | 2009-08-01 00:30:11 | gzip: Distinguish PureC from TurboC on MSDOS. | ||
| 62aa9ec6 | 2009-08-01 00:29:29 | gxvalid: Pass the union by the pointer instead of the value. | ||
| 7009a6eb | 2009-07-29 11:53:13 | Fix Redhat bugzilla #513582 and Savannah bug #26849. * src/cache/ftccache.h (FTC_CACHE_LOOKUP_CMP) <FTC_INLINE>: Fix aliasing bug. | ||
| 46e05c44 | 2009-07-17 22:49:34 | Fix Savannah bug #23786. * src/truetype/ttobjs.c (tt_size_init_bytecode): Don't reset x_ppem and y_ppem. Otherwise the `*_CVT_Stretched' functions in ttinterp.c get never called. An anonymous guy suggested this change on Savannah, and it seems to be the right solution. | ||
| 313d4f4c | 2009-07-13 00:01:57 | Add a script to check the undefined and unused trace macros. | ||
| a2ef3769 | 2009-07-09 18:59:25 | Merge branch 'master' of wl@git.sv.gnu.org:/srv/git/freetype/freetype2 | ||
| da594627 | 2009-07-09 17:21:32 | smooth: Check glyph size by width/height, instead of pitch/height. | ||
| 0d02317f | 2009-07-09 09:21:46 | [ftraster] Make it compile again with -D_STANDALONE_. * src/raster/ftraster.c [_STANDALONE_]: Define FT_CONFIG_STANDARD_LIBRARY_H. Include `string.h'. Don't include `rastpic.h'. Define FT_DEFINE_RASTER_FUNCS. | ||
| 4c531460 | 2009-07-08 14:26:51 | Prevent the overflows by a glyph with too many points or contours. | ||
| 3d3ba056 | 2009-07-05 14:54:59 | Improve compatibility to Acroread. This fixes Savannah bug #26944. * src/cff/cffload.c (cff_charset_compute_cids): For multiple GID to single CID mappings, make the lowest value win. | ||
| ad289d13 | 2009-06-29 03:09:17 | ftpatent: Fix a bug by wrong usage of service->table_info(). |