ChangeLog


Log

Author Commit Date CI Message
Werner Lemberg 959cb8eb 2008-06-25T20:58:33 minor improvements
Suzuki, Toshiya (鈴木俊哉) f3a924dd 2008-06-24T17:13:58 Fix for 10.4u SDK bundled to Mac OS X 10.5
Werner Lemberg ce8853af 2008-06-24T11:19:03 * src/truetype/ttinterp. (Ins_SCANTYPE): Don't check rendering mode. * src/raster/ftraster.c (Render_Glyph, Render_Gray_Glyph, Draw_Sweep): No-dropout mode is value 2, not value 0. (Draw_Sweep): Really skip dropout handling for no-dropout mode.
Werner Lemberg 5563bea0 2008-06-24T05:44:28 * src/psaux/psobjs.c (t1_builder_close_contour): Don't add contour if it consists of one point only. Based on a patch from Savannah bug #23683 (from John Tytgat).
Werner Lemberg 745a4f42 2008-06-22T22:41:24 * src/truetype/ttgload.c (TT_Load_Glyph): Protect bytecode stuff with IS_HINTED. * docs/CHANGES: Updated.
Suzuki, Toshiya (鈴木俊哉) b1c36cfb 2008-06-22T15:32:56 * builds/unix/configure.raw: Copy -isysroot option from CFLAGS to LDFLAGS, if required
Werner Lemberg 5df5dbb7 2008-06-22T13:40:08 Enable access to the various dropout rules of the B&W rasterizer. Pass dropout rules from the TT bytecode interpreter to the rasterizer; temporarily this is enabled only if `USE_SCAN_CONVERSION_RULES' is defined. * include/freetype/ftimage.h (FT_OUTLINE_SMART_DROPOUTS, FT_OUTLINE_EXCLUDE_STUBS): New flags for for FT_Outline. * src/raster/ftraster.c (Vertical_Sweep_Drop, Horizontal_Sweep_Drop, Horizontal_Gray_Sweep_Drop): Use same mode numbers as given in the OpenType specification. Fix mode 4 computation. (Render_Glyph, Render_Gray_Glyph): Handle new outline flags. * src/truetype/ttgload.c (TT_Load_Glyph) [USE_SCAN_CONVERSION_RULES]: Convert scan conversion mode to FT_OUTLINE_XXX flags. * src/truetype/ttinterp.c (Ins_SCANCTRL): Enable ppem check.
Werner Lemberg 5b631d89 2008-06-19T16:23:43 * src/cff/cffobjs.c (cff_face_init): Compute final `dict->units_per_em' value before assigning it to `cffface->units_per_EM'. Otherwise, CFFs without subfonts are be scaled incorrectly if the font matrix is non-standard. This fixes Savannah bug #23630. * docs/CHANGES: Updated.
Werner Lemberg cd6dcca6 2008-06-19T06:20:21 * src/type/t1objs.c (T1_Face_Init): Slightly improve algorithm.
Werner Lemberg d57a5e9f 2008-06-18T06:16:39 * src/type/t1objs.c (T1_Face_Init): Fix change from 2008-03-21. Reported by Peter Weilbacher <mozilla@weilbacher.org>. * docs/CHANGES: Updated.
Werner Lemberg ca947c25 2008-06-16T05:33:51 * src/otvalid/otvgpos.c (otv_MarkBasePos_validate): Set `valid->extra2' to 1. This is undocumented in the OpenType 1.5 specification.
Werner Lemberg ad83e05b 2008-06-15T11:06:12 * src/base/ftcalc.c (FT_MulFix) <asm>: Protect registers correctly from clobbering. Patch from Savannah bug report #23556. * docs/CHANGES: Document it.
Werner Lemberg b796adb4 2008-06-10T17:15:35 * autogen.sh: Add option `--install' to libtoolize.
Werner Lemberg 6174e17c 2008-06-10T05:58:25 * Version 2.3.6 released. ========================= Tag sources with `VER-2-3-6'. * docs/CHANGES, docs/VERSION.DLL: Update documentation and bump version number to 2.3.6. * README, Jamfile (RefDoc), builds/win32/visualc/index.html, builds/win32/visualc/freetype.dsp, builds/win32/visualc/freetype.vcproj, builds/win32/visualce/index.html, builds/win32/visualce/freetype.dsp, builds/win32/visualce/freetype.vcproj: s/2.3.5/2.3.6/, s/235/236/. * include/freetype/freetype.h (FREETYPE_PATCH): Set to 6. * builds/unix/configure.raw (version_info): Set to 9:17:3. * include/freetype/internal/psaux.h (T1_BuilderRec): Remove `scale_x' and `scale_y'. * src/cff/cffgload.h (CFF_Builder): Remove `scale_x' and `scale_y'. * src/cff/cffparse.c: Include FT_INTERNAL_DEBUG_H. * src/cff/cffobjs.h: Include FT_INTERNAL_POSTSCRIPT_HINTS_H.
Werner Lemberg 102bb83a 2008-06-10T04:57:19 * src/base/ftobjs.c (open_face): Check `clazz->init_face' and `clazz->done_face'. Update documentation of FT_Driver_ClassRec.
Werner Lemberg 26bd7a2c 2008-06-09T21:27:17 s/enable_shared/build_libtool_libs/
Werner Lemberg 630e24d9 2008-06-09T21:20:18 Support debugging on WinCE. From Savannah patch #6536; this fixes bug #23497. * builds/win32/ftdebug.c (OutputDebugStringEx): New function/macro as a replacement for OutputDebugStringA (which WinCE doesn't have). Update all callers. (ft_debug_init) [_WIN32_CE]: WinCE apparently doesn't have environment variables.
Werner Lemberg a984fda8 2008-06-09T21:02:13 * README.CVS: Updated. * builds/unix/configure.raw: Updated for newer versions of autoconf and friends.
Werner Lemberg 7cb9ec0f 2008-06-09T20:49:29 * src/type1/t1parse.h (T1_ParserRec): Make `base_len' and `private_len' unsigned. * src/type1/t1parse.c (read_pfb_tag): Make `asize' unsigned and read it as such. (T1_New_Parser, T1_Get_Private_Dict): Make `size' unsigned. * src/base/ftstream.c (FT_Stream_Skip): Reject negative values. * src/type1/t1load.c (parse_blend_design_positions): Check `n_axis' for sane value. Fix typo. * src/psaux/psobjs.c (ps_table_add): Check `idx' correctly. * src/truetype/ttinterp (Ins_SHC): Use BOUNDS() to check `last_point'. * src/sfnt/ttload.c (tt_face_load_max_profile): Limit `maxTwilightPoints'.
Werner Lemberg d77e7229 2008-06-05T22:07:19 * src/truetype/ttinterp.c (Ins_IP): Handle case `org_dist == 0' correctly. This fixes glyphs `t' and `h' of Arial Narrow at 12ppem.
Werner Lemberg 4c3cc76b 2008-06-03T20:53:49 * include/freetype/ftcache.h (FTC_FaceID): Change type back to FT_Pointer. Reported by Ian Britten <britten@caris.com>.
Werner Lemberg 8e3539bf 2008-06-02T13:53:54 Emit header info for defined FreeType objects in reference. * src/tools/docmaker/content.py (re_header_macro): New regexp. (ContentProcessor::__init__): Initialize new dictionary `headers'. (DocBlock::__init__): Collect macro header definitions. * src/tools/docmaker/tohtml.py (header_location_header, header_location_footer): New strings. (HtmlFormatter::__init__): Pass `headers' dictionary. (HtmlFormatter::print_html_field): Don't emit paragraph tags. (HtmlFormatter::print_html_field_list): Emit empty paragraph. (HtmlFormatter::block_enter): Emit header info.
Werner Lemberg 7493ea12 2008-06-02T07:24:36 * include/freetype/config/ftheader.h (FT_UNPATENTED_HINTING_H, FT_INCREMENTAL_H): Added.
Werner Lemberg de0d0055 2008-05-28T21:51:15 * src/tools/docmaker/sources.py (SourceBlock::__init__): While looking for markup tags, return immediately as soon a single one is found.
Werner Lemberg c94fa669 2008-05-27T23:24:07 * src/truetype/ttinterp.c (Ins_MD): The MD instruction also uses original, unscaled input values. Confirmed by Greg Hitchcock from Microsoft.
Werner Lemberg 35a90b79 2008-05-27T18:16:03 * src/tools/docmaker/tohtml.py (block_footer_start, block_footer_middle): Beautify output.
Werner Lemberg ffa49657 2008-05-25T12:43:57 * src/truetype/ttgload.c (load_truetype_glyph): Move initialization of the graphics state for subglyphs to... (TT_Hint_Glyph): This function. Hinting instructions for a composite glyph apparently refer to the just hinted subglyphs, not the unhinted, unscaled outline. This seems to fix Savannah bugs #20973 and (at least partially) #23310.
Werner Lemberg c9381318 2008-05-25T12:19:34 * src/raster/ftraster.c (fc_black_render): Return 0 when we are trying to render into a zero-width/height bitmap, not an error code.
Werner Lemberg 355f1b13 2008-05-22T06:12:23 Fix ChangeLog.
Suzuki, Toshiya (鈴木俊哉) 062f88a4 2008-05-20T07:57:53 * src/base/ftmac.c (FT_New_Face_From_Suitcase): Check if valid aface is returned by FT_New_Face_From_FOND()
Werner Lemberg 5e8a3686 2008-05-18T21:49:02 * src/pshinter/pshalgo.c (ps_hints_apply): Reset scale values after correction for pixel boundary. Without this patch, the effect can be cumulative under certain circumstances, making glyphs taller and taller after each call. This fixes Savannah bug #19976.
Werner Lemberg 16dc51fe 2008-05-18T17:36:15 * src/base/ftdebug.c (FT_Message, FT_Panic): Send output to stderr. This fixes Savannah bug #23280. * docs/CHANGES: Updated. Some formatting.
David Turner c567ff27 2008-05-18T14:32:51 add missing comment
David Turner a92cec56 2008-05-18T14:08:57 * src/psnames/psmodule.c: using 'static' to make declarations non-global for ft_wgl_extra_unicodes, ft_wgl_extra_glyph_names, ft_wgl_extra_glyph_name_offsets, ps_check_wgl_name and ps_check_wgl_unicode
Werner Lemberg 89d64fa6 2008-05-17T20:06:13 * src/truetype/ttgload.c (TT_Load_Simple_Glyph): Handle zero-contour glyphs correctly. Patch from Savannah bug #23277.
Werner Lemberg a2f17cc1 2008-05-17T10:01:45 * docs/CHANGES: Updated. Improve support for WGL4 encoded fonts. * src/psnames/psmodule.c (WGL_EXTRA_LIST_SIZE): New macro. (ft_wgl_extra_unicodes, ft_wgl_extra_glyph_names, ft_wgl_extra_glyph_name_offsets): New arrays. (ps_check_wgl_name, ps_check_wgl_unicode): New functions. (ps_unicodes_init): Use them to add additional Unicode mappings.
Werner Lemberg bcc750e5 2008-05-16T04:50:00 * src/psaux/t1decode.c (t1_decoder_parse_charstrings) <op_closepath>: `closepath' without a path is a no-op, not an error (cf. the PS reference manual). Reported by Martin McBride.
Werner Lemberg bcfcc71d 2008-05-15T09:14:39 * builds/toplevel.mk (CONFIG_GUESS, CONFIG_SUB): Updated.
Werner Lemberg 2d738999 2008-05-14T23:33:53 Fix ChangeLog.
Werner Lemberg 504645ed 2008-05-14T23:26:20 * src/type1/t1load.c (parse_subrs): Accept fonts with a subrs array which contain a single but empty entry. This is technically invalid (since it must end with `return', but...) Reported by Martin McBride.
Werner Lemberg e6e6eade 2008-05-14T23:05:38 Finish fix of scaling bug of CID-keyed CFF subfonts. * include/freetype/internal/ftcalc.h, src/base/ftcalc.c (FT_Matrix_Multiply_Scaled, FT_Vector_Transform_Scaled): New functions. * src/cff/cffobjs.h (CFF_Internal): New struct. It is used to provide global hinting data for both the top-font and all subfonts (with proper scaling). * src/cff/cffobjs.c (cff_make_private_dict): New function, using code from `cff_size_init'. (cff_size_init, cff_size_done, cff_size_select, cff_size_request): Use CFF_Internal and handle subfonts. (cff_face_init): Handle top-dict and subfont matrices correctly; apply some heuristic in case of unlikely matrix concatenation results. This has been discussed with people from Adobe (thanks goes mainly to David Lemon) who confirm that the CFF specs are fuzzy and not correct. * src/cff/cffgload.h (cff_decoder_prepare): Add `size' argument. * src/cff/cffgload.c (cff_builder_init): Updated. (cff_decoder_prepare): Handle hints globals for subfonts. Update all callers. (cff_slot_load): Handling scaling of subfonts properly. * src/cff/cffparse.c (cff_parse_fixed_dynamic): New function. (cff_parse_font_matrix): Use it. * src/cff/cfftypes.h (CFF_FontDictRec): Make `units_per_em' FT_ULong. * docs/CHANGES: Document it.
Werner Lemberg fb57228b 2008-05-13T12:10:04 * src/winfonts/winfnt.c (fnt_face_get_dll_font, FNT_Face_Init): Handle case `face_index < 0'. * docs/CHANGES: Document it.
Werner Lemberg 32e05a6a 2008-05-04T16:53:22 Cleaning up.
Werner Lemberg 551dd3c0 2008-05-04T13:37:38 First steps to fix the scaling bug of CID-keyed CFF subfonts, reported by Ding Li on 2008/03/28 on freetype-devel. * src/base/cff/cffparse.c (power_tens): New array. (cff_parse_real): Rewritten to introduce a fourth parameter which returns the `scaling' of the real number so that we have no precision loss. This is not used yet. Update all callers. (cff_parse_fixed_thousand): Replace with... (cff_parse_fixed_scaled): This function. Update all callers.
Werner Lemberg 6d29f0f1 2008-05-03T15:54:15 * src/base/ftobjs.c (FT_Load_Glyph): Call the auto-hinter without transformation since it recursively calls FT_Load_Glyph. This fixes Savannah bug #23143.
Werner Lemberg de9479a0 2008-04-26T12:52:57 * include/freetype/internal/psaux.h (T1_BuilderRec): Mark `scale_x' and `scale_y' as obsolete since they aren't used. * src/psaux/psobjs.c (t1_builder_init): Updated. * src/cff/cffgload.h (CFF_Builder): Mark `scale_x' and `scale_y' as obsolete since they aren't used. * src/cff/cffgload.c (cff_builder_init): Updated.
Werner Lemberg 4ebc890e 2008-04-13T22:06:12 * src/pcf/pcfdrivr.c (PCF_Face_Init): Protect call to `FT_Stream_OpenLZW' with `FT_CONFIG_OPTION_USE_LZ'. From Savannah bug #22909.
Werner Lemberg 048b7563 2008-04-13T05:55:36 * src/psaux/psconv.c (PS_Conv_ToFixed): Increase precision if integer part is zero.
Werner Lemberg c32e83f2 2008-04-01T06:07:37 Fix compilation with g++ 4.1 (with both `single' and `multi' targets). * src/base/ftobjs.c (FT_Open_Face): Don't define a variable in block which is crossed by a `goto'. * src/otvalid/otvalid.h (otv_MATH_validate): Add prototype.
Werner Lemberg 210d6189 2008-04-01T05:55:48 Fix support for subsetted CID-keyed CFFs. * include/freetype/freetype.h (FT_FACE_FLAG_CID_KEYED, FT_IS_CID_KEYED): New macros. * src/cff/cffobjs.c (cff_face_init): Set number of glyphs to the maximum CID value in CID-keyed CFFs. Handle FT_FACE_FLAG_CID_KEYED flag. * docs/CHANGES: Document it. Fix CFF font matrix calculation and improve precision. * src/cff/cffparse.c (cff_parse_real): Increase precision if integer part is zero. (cff_parse_font_matrix): Simplify computation of `units_per_em'; this prevents overflow also. Support FT_Get_CID_Registry_Ordering_Supplement for PS CID fonts. * src/cid/cidriver.c: Include FT_SERVICE_CID_H. (cid_get_ros): New function. (cid_service_cid_info): New service structure. (cid_services): Register it.
Werner Lemberg a56e5266 2008-03-23T14:53:44 Adjustments for Visual C++ 8.0, as reported by Rainer Deyke. * builds/compiler/visualc.mk (CFLAGS): Remove /W5. (ANSIFLAGS): Add _CRT_SECURE_NO_DEPRECATE.
Werner Lemberg 8575117c 2008-03-21T07:16:00 * src/type1/t1objs.c (T1_Face_Init): Use `/Weight'. Patch from Savannah bug #22675.
Werner Lemberg 3863c951 2008-03-13T06:38:37 * src/truetype/ttgxvar.c (TT_Get_MM_Var): Fix named style loop. Patch from Savannah bug #22541.
Werner Lemberg fc293939 2008-03-03T08:08:12 * src/sfnt/ttcmap.c (tt_cmap14_char_map_nondef_binary, tt_cmap14_find_variant): Return correct value. (tt_cmap14_variant_chars): Fix check for `di'.
Werner Lemberg 5057e36c 2008-02-29T07:23:02 * docs/CHANGES: Updated.
Werner Lemberg 7faa1554 2008-02-29T07:14:38 Add build support for symbian platform. From Savannah bug #22440. * builds/symbian/*: New files.
Werner Lemberg 9b9d3349 2008-02-21T23:22:06 minor improvements, copyright years
Suzuki, Toshiya (鈴木俊哉) 6cb2faa8 2008-02-21T18:46:07 * src/base/ftmac.c: Fix a bug of PostScript font name synthesis in parse_fond().
Werner Lemberg 31093cce 2008-02-21T17:10:04 minor fixes
Suzuki, Toshiya (鈴木俊哉) 5d3ac4ae 2008-02-21T10:15:41 * builds/unix/confiure.raw: Split the compiler option to link Carbon frameworks for each framework
Werner Lemberg 28464c48 2008-02-18T20:34:42 * src/truetype/ttinterp.c (Ins_IUP): Check number of points. Fix from Savannah bug #22356.
Werner Lemberg c903f2f2 2008-02-17T08:23:04 minor editing
Werner Lemberg 44c655b0 2008-02-17T08:22:08 * src/autofit/afloader.c (af_loader_load_g, af_loader_load_glyph): Check for valid callback pointers.
Suzuki, Toshiya (鈴木俊哉) d2c55ab0 2008-02-15T09:12:59 fix for inexistent sfnt ID in broken FOND
Werner Lemberg aa722df4 2008-02-14T10:46:40 Minor editing.
Suzuki, Toshiya (鈴木俊哉) 60e83a1d 2008-02-14T02:55:16 * src/base/ftbase.c: <ftmac.c> is replaced by "ftmac.c"
Werner Lemberg 744dd456 2008-02-11T08:22:40 * builds/modules.mk (CLOSE_MODULE, REMOVE_MODULE), builds/detect.mk (dos_setup), builds/freetype.mk (clean_project_dos, distclean_project_dos): Don't use \ but $(SEP). Reported by Duncan Murdoch.
Werner Lemberg 4c933991 2008-01-18T05:32:55 * src/base/ftlcdfil.c (_ft_lcd_filter_legacy): Updated comment to mention intra-pixel algorithm. * include/freetype/freetype.h (FT_Render_Mode): Mention that FT_Library_SetLcdFilter can be used to reduce fringes.
Werner Lemberg 1ddd1b76 2008-01-16T06:58:54 * src/raster/ftraster.c (ft_black_render): Check `outline' before using it. Reported by Allan Yang.
Werner Lemberg eca1f279 2008-01-12T07:46:09 * src/raster/ftraster.c (FT_CONFIG_OPTION_5_GRAY_LEVELS): Remove. * src/raster/ftraster.c (ft_black_init) [FT_RASTER_OPTION_ANTI_ALIASING]: Fix compilation.
Werner Lemberg bf391cb8 2008-01-10T08:47:08 * src/truetype/ttgload.c (load_truetype_glyph): Handle the case where the number of contours in a simple glyph is zero (and which does contain an entry in the `glyf' table). This fixes Savannah bug #21990.
Suzuki, Toshiya (鈴木俊哉) 75696860 2008-01-04T01:43:23 Formatting.
Werner Lemberg d2e15737 2007-12-30T23:49:14 * src/smooth/ftgrays.c (gray_raster_render): Check `outline' correctly. Whitespace.
Suzuki, Toshiya (鈴木俊哉) 540b9545 2007-12-21T06:03:59 Improvement of POSIX resource-fork accessor to load Mac OS X HelveLTMM
Werner Lemberg d156cabc 2007-12-14T07:48:32 * src/cff/cffparse.c (cff_parse_real): Don't apply `power_ten' division too early; otherwise the most significant digit(s) of the final result are lost as the value is truncated to an integer. This fixes Savannah bug #21794 (where the patch has been posted too).
Werner Lemberg bd7e1c3c 2007-12-06T17:17:30 Pass options from one configure script to another as-is (not expanded). This is needed for options like --includedir='${prefix}/include'. * builds/unix/detect.mk, configure: Prevent argument expansion in call to the (real) `configure' script. * src/truetype/ttgload.c (load_truetype_glyph): Fix compilation if TT_USE_BYTECODE_INTERPRETER isn't defined. There exist CFFs which contain opcodes for the Type 1 operators `hsbw' and `closepath' which are both invalid in Type 2 charstrings. However, it doesn't harm to support them. * src/cff/cffgload.c (CFF_Operator): Add `cff_op_hsbw' and `cff_op_closepath.' (cff_argument_counts): Ditto. (cff_decoder_parse_charstrings): Handle Type 1 opcodes 9 (closepath) and 13 (hsbw) which are invalid in Type 2 charstrings.
Suzuki, Toshiya (鈴木俊哉) a6d36573 2007-12-06T10:27:15 * src/base/ftrfork.c: add support for new pathname syntax "..namedfork/rsrc" to access resource fork on Mac OS X.
Suzuki, Toshiya (鈴木俊哉) 44b5e577 2007-12-06T07:47:25 Mac OS X Carbon tests in configure.raw are improved and builds/mac/ftmac.c is updated to sync to src/base/ftmac.c
Suzuki, Toshiya (鈴木俊哉) 05f5c58d 2007-12-06T05:43:36 Improvements of the document and comments in Mac OS sources by Sean McBride
Werner Lemberg a10d2b7c 2007-12-04T22:05:54 * src/cff/cffload.c (cff_subfont_load): Don't use logical OR to concatenate error codes. * src/sfnt/ttsbit.c (Load_SBit_Range): Ditto.
Werner Lemberg d496b926 2007-12-04T21:49:59 * src/truetype/ttobjs.c (tt_face_init): Don't use logical OR to concatenate error codes.
Werner Lemberg c0da5232 2007-12-04T21:44:32 * src/pfr/pfrgload.c (pfr_glyph_load_compound): Remove compiler warning.
Werner Lemberg 24fe618b 2007-11-23T09:18:07 Improve.
Suzuki, Toshiya (鈴木俊哉) 86c0f904 2007-11-20T14:00:17 * src/base/{ftobjs.c, ftrfork.c}: recovery of Carbon-free legacy MacOS font support in freetype-2.3.4
Suzuki, Toshiya (鈴木俊哉) a5470688 2007-11-16T16:29:36 * Add acknowledge of previous Mac OS X 10.5 patch author
Suzuki, Toshiya (鈴木俊哉) 00518cac 2007-11-16T15:48:58 * src/base/ftmac.c: Revise Carbon dependent functions for Mac OS X 10.5
Werner Lemberg d503fc57 2007-11-01T09:19:44 * src/sfnt/sfobjs.c (sfnt_done_face): Check `sfnt' everywhere. This fixes Savannah bug #21485.
Werner Lemberg 27649fb6 2007-10-29T22:00:58 * src/winfonts/winfnt.c (FNT_Face_Init): Check first that the driver can handle the font at all, then check `face_index'. Otherwise, the driver might return the wrong error code. This fixes Savannah bug #21468.
Werner Lemberg e77b6c49 2007-10-21T08:18:40 Typo.
Werner Lemberg 7d9c189a 2007-10-21T08:12:30 * src/sfnt/sfobjs.c (sfnt_load_face): Support bit 9 and prepare support for bit 8 in the `OS/2' table. MS is already using this; hopefully, this becomes part of OpenType 1.5. Prepare also support for `name' IDs 21 (WWS_FAMILY) and 22 (WWS_SUBFAMILY).
Werner Lemberg 66842577 2007-10-20T16:17:28 * src/tools/docmaker/tohtml.py (html_header_2): Fix typo. Add `td.left' element to CSS. (toc_section_enter): Use it.
Werner Lemberg 7f2425fb 2007-10-20T16:15:07 Formatting, improving documentation.
David Turner cf432dbf 2007-10-19T12:36:40 * include/freetype/freetype.h, src/base/ftobjs.c: renamed cmap14-related new APIs to the FT_Object_ActionName scheme. update the documentation for these APIs * src/sfnt/ttcmap.c: stronger cmap 14 validation, make the code a little more consistent with FreeType coding conventions and modify the cmap14 functions that returned a newly allocated array to use a persistent vector from the TT_CMap14 object instead.
Werner Lemberg 9a966b7d 2007-10-15T17:21:32 Add support for cmap type 14. * devel/ftoption.h, include/freetype/config/ftoption.h (TT_CONFIG_CMAP_FORMAT_14): New macro. * include/freetype/internal/ftobjs.h (FT_CMap_CharVarIndexFunc, FT_CMap_CharVarIsDefaultFunc, FT_CMap_VariantListFunc, FT_CMap_CharVariantListFunc, FT_CMap_VariantCharListFunc): New support function prototypes. (FT_CMap_ClassRec): Add them. Update all users. * include/freetype/ttnameid.h (TT_APPLE_ID_VARIANT_SELECTOR): New macro. * include/freetype/freetype.h (FT_Get_Char_Variant_Index, FT_Get_Char_Variant_IsDefault, FT_Get_Variant_Selectors, FT_Get_Variants_Of_Char, FT_Get_Chars_Of_Variant): New API functions. * src/base/ftobjs.c (find_variant_selector_charmap): New auxiliary function. (FT_Set_Charmap): Disallow cmaps of type 14. (FT_Get_Char_Variant_Index, FT_Get_Char_Variant_IsDefault, FT_Get_Variant_Selectors, FT_Get_Variants_Of_Char, FT_Get_Chars_Of_Variant): New API functions. * src/sfnt/ttcmap.c (TT_PEEK_UINT24, TT_NEXT_UINT24): New macros. (TT_CMap14Rec, tt_cmap14_init, tt_cmap14_validate, tt_cmap14_char_index, tt_cmap14_char_next, tt_cmap14_get_info, tt_cmap14_char_map_def_binary, tt_cmap14_char_map_nondef_binary, tt_cmap14_find_variant, tt_cmap14_char_var_index, tt_cmap14_char_var_isdefault, tt_cmap14_variants, tt_cmap14_char_variants, tt_cmap14_def_char_count, tt_cmap14_get_def_chars, tt_cmap14_get_nondef_chars, tt_cmap14_variant_chars, tt_cmap14_class_rec): New functions and structures for cmap 14 support. (tt_cmap_classes): Register tt_cmap14_class_rec. (tt_face_build_cmaps): One more error message. * docs/CHANGES: Mention cmap 14 support.
Werner Lemberg 74597ccd 2007-10-01T07:08:56 * src/base/ftobjs.c (find_unicode_charmap): If search for a UCS-4 charmap fails, do the loop again while searching a UCS-2 charmap. This favours MS charmaps over Apple ones.
Suzuki, Toshiya (鈴木俊哉) 2be3f472 2007-08-29T06:08:59 * src/base/ftmac.c: Use more abstract data type instead of `short\'
Werner Lemberg abc44f5e 2007-08-18T06:38:07 * src/otvalid/otvcmmn.c (otv_x_y_ux_sy): Skip context glyphs. Found by Imran Yousaf. Fixes Savannah bug #20773. (otv_Lookup_validate): Correct handling of LookupType. Found by Imran Yousaf. Fixes Savannah bug #20782.
Werner Lemberg 23a424f5 2007-08-17T20:16:44 * src/otvalid/otvgsub.c (otv_SingleSubst_validate): Fix handling of SingleSubstFormat1.
Suzuki, Toshiya (鈴木俊哉) 4fc0ccea 2007-08-11T16:35:06 * Fix a bug in configure.raw overlooking native C compiler if named "platform-gcc"
Werner Lemberg 3f1905b1 2007-08-11T15:45:32 * src/otvalid/otvcommn.c, src/otvalid/otvcommn.h (otv_Coverage_validate): Add fourth argument to pass an expected count value. Update all users. Check glyph IDs. (otv_ClassDef_validate): Check `StartGlyph'. * src/otvalid/otvgsub.c (otv_SingleSubst_validate): More glyph ID checks. * src/otvalid/otvmath.c (otv_MathConstants_validate): There are only 56 constants. (otv_GlyphAssembly_validate, otv_MathGlyphConstruction_validate): Check glyph IDs.