kc3-lang/freetype

Branch :


Log

Author Commit Date CI Message
f3200faa 2008-06-10 04:57:57 Typo.
102bb83a 2008-06-10 04:57:19 * src/base/ftobjs.c (open_face): Check `clazz->init_face' and `clazz->done_face'. Update documentation of FT_Driver_ClassRec.
26bd7a2c 2008-06-09 21:27:17 s/enable_shared/build_libtool_libs/
630e24d9 2008-06-09 21: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.
a984fda8 2008-06-09 21:02:13 * README.CVS: Updated. * builds/unix/configure.raw: Updated for newer versions of autoconf and friends.
7cb9ec0f 2008-06-09 20: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'.
d77e7229 2008-06-05 22: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.
4c3cc76b 2008-06-03 20:53:49 * include/freetype/ftcache.h (FTC_FaceID): Change type back to FT_Pointer. Reported by Ian Britten <britten@caris.com>.
90053f3f 2008-06-02 13:55:14 typo
8e3539bf 2008-06-02 13: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.
7493ea12 2008-06-02 07:24:36 * include/freetype/config/ftheader.h (FT_UNPATENTED_HINTING_H, FT_INCREMENTAL_H): Added.
e899991b 2008-05-31 07:03:30 More doc fixes to improve HTML version.
2b0b4221 2008-05-28 22:17:28 Cosmetic code changes.
0e9b0ec4 2008-05-28 21:51:57 Improve documentation so that it can be better parsed by docmaker. Formatting.
de0d0055 2008-05-28 21:51:15 * src/tools/docmaker/sources.py (SourceBlock::__init__): While looking for markup tags, return immediately as soon a single one is found.
8f7d17bf 2008-05-28 06:39:33 formatting
c94fa669 2008-05-27 23:24:07 * src/truetype/ttinterp.c (Ins_MD): The MD instruction also uses original, unscaled input values. Confirmed by Greg Hitchcock from Microsoft.
35a90b79 2008-05-27 18:16:03 * src/tools/docmaker/tohtml.py (block_footer_start, block_footer_middle): Beautify output.
0c52faa9 2008-05-25 20:04:56 add missing casting
57a94c48 2008-05-25 16:49:29 whitespace
ffa49657 2008-05-25 12: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.
c9381318 2008-05-25 12: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.
355f1b13 2008-05-22 06:12:23 Fix ChangeLog.
062f88a4 2008-05-20 07:57:53 * src/base/ftmac.c (FT_New_Face_From_Suitcase): Check if valid aface is returned by FT_New_Face_From_FOND()
5e8a3686 2008-05-18 21: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.
16dc51fe 2008-05-18 17:36:15 * src/base/ftdebug.c (FT_Message, FT_Panic): Send output to stderr. This fixes Savannah bug #23280. * docs/CHANGES: Updated. Some formatting.
c567ff27 2008-05-18 14:32:51 add missing comment
a92cec56 2008-05-18 14: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
89d64fa6 2008-05-17 20:06:13 * src/truetype/ttgload.c (TT_Load_Simple_Glyph): Handle zero-contour glyphs correctly. Patch from Savannah bug #23277.
a2f17cc1 2008-05-17 10: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.
bcc750e5 2008-05-16 04: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.
bcfcc71d 2008-05-15 09:14:39 * builds/toplevel.mk (CONFIG_GUESS, CONFIG_SUB): Updated.
2d738999 2008-05-14 23:33:53 Fix ChangeLog.
504645ed 2008-05-14 23: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.
e6e6eade 2008-05-14 23: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.
fb57228b 2008-05-13 12:10:04 * src/winfonts/winfnt.c (fnt_face_get_dll_font, FNT_Face_Init): Handle case `face_index < 0'. * docs/CHANGES: Document it.
b7c063d5 2008-05-11 21:36:37 Add some (commented out) code for orthogonality.
84662841 2008-05-04 16:54:23 Clean up.
32e05a6a 2008-05-04 16:53:22 Cleaning up.
551dd3c0 2008-05-04 13: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.
6d29f0f1 2008-05-03 15: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.
de9479a0 2008-04-26 12: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.
4ebc890e 2008-04-13 22: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.
8271e5e4 2008-04-13 21:59:29 whitespace
048b7563 2008-04-13 05:55:36 * src/psaux/psconv.c (PS_Conv_ToFixed): Increase precision if integer part is zero.
c32e83f2 2008-04-01 06: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.
210d6189 2008-04-01 05: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.
a56e5266 2008-03-23 14: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.
8575117c 2008-03-21 07:16:00 * src/type1/t1objs.c (T1_Face_Init): Use `/Weight'. Patch from Savannah bug #22675.
3863c951 2008-03-13 06:38:37 * src/truetype/ttgxvar.c (TT_Get_MM_Var): Fix named style loop. Patch from Savannah bug #22541.
cd874831 2008-03-06 22:11:30 add copyright notices
fc293939 2008-03-03 08: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'.
5057e36c 2008-02-29 07:23:02 * docs/CHANGES: Updated.
7faa1554 2008-02-29 07:14:38 Add build support for symbian platform. From Savannah bug #22440. * builds/symbian/*: New files.
9b9d3349 2008-02-21 23:22:06 minor improvements, copyright years
6cb2faa8 2008-02-21 18:46:07 * src/base/ftmac.c: Fix a bug of PostScript font name synthesis in parse_fond().
31093cce 2008-02-21 17:10:04 minor fixes
5d3ac4ae 2008-02-21 10:15:41 * builds/unix/confiure.raw: Split the compiler option to link Carbon frameworks for each framework
28464c48 2008-02-18 20:34:42 * src/truetype/ttinterp.c (Ins_IUP): Check number of points. Fix from Savannah bug #22356.
c903f2f2 2008-02-17 08:23:04 minor editing
44c655b0 2008-02-17 08:22:08 * src/autofit/afloader.c (af_loader_load_g, af_loader_load_glyph): Check for valid callback pointers.
edc7d81a 2008-02-16 05:53:46 Explain `CJK'.
d2c55ab0 2008-02-15 09:12:59 fix for inexistent sfnt ID in broken FOND
aa722df4 2008-02-14 10:46:40 Minor editing.
60e83a1d 2008-02-14 02:55:16 * src/base/ftbase.c: <ftmac.c> is replaced by "ftmac.c"
744dd456 2008-02-11 08: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.
4c933991 2008-01-18 05: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.
61d83d09 2008-01-18 05:19:20 Oops!
250c01d4 2008-01-18 05:16:09 whitespace
53286c09 2008-01-18 05:14:13 more formatting and whitespace
4af139d2 2008-01-18 04:53:28 formatting, whitespace
1ddd1b76 2008-01-16 06:58:54 * src/raster/ftraster.c (ft_black_render): Check `outline' before using it. Reported by Allan Yang.
ee0f2ab9 2008-01-12 20:24:01 Whitespace.
eca1f279 2008-01-12 07: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.
0b2b5ca7 2008-01-10 10:33:47 Small doc improvement.
bf391cb8 2008-01-10 08: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.
75696860 2008-01-04 01:43:23 Formatting.
d2e15737 2007-12-30 23:49:14 * src/smooth/ftgrays.c (gray_raster_render): Check `outline' correctly. Whitespace.
540b9545 2007-12-21 06:03:59 Improvement of POSIX resource-fork accessor to load Mac OS X HelveLTMM
d156cabc 2007-12-14 07: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).
bd7e1c3c 2007-12-06 17: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.
a6d36573 2007-12-06 10:27:15 * src/base/ftrfork.c: add support for new pathname syntax "..namedfork/rsrc" to access resource fork on Mac OS X.
44b5e577 2007-12-06 07: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
05f5c58d 2007-12-06 05:43:36 Improvements of the document and comments in Mac OS sources by Sean McBride
a10d2b7c 2007-12-04 22: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.
d496b926 2007-12-04 21:49:59 * src/truetype/ttobjs.c (tt_face_init): Don't use logical OR to concatenate error codes.
c0da5232 2007-12-04 21:44:32 * src/pfr/pfrgload.c (pfr_glyph_load_compound): Remove compiler warning.
24fe618b 2007-11-23 09:18:07 Improve.
86c0f904 2007-11-20 14:00:17 * src/base/{ftobjs.c, ftrfork.c}: recovery of Carbon-free legacy MacOS font support in freetype-2.3.4
a5470688 2007-11-16 16:29:36 * Add acknowledge of previous Mac OS X 10.5 patch author
00518cac 2007-11-16 15:48:58 * src/base/ftmac.c: Revise Carbon dependent functions for Mac OS X 10.5
d503fc57 2007-11-01 09:19:44 * src/sfnt/sfobjs.c (sfnt_done_face): Check `sfnt' everywhere. This fixes Savannah bug #21485.
27649fb6 2007-10-29 22: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.
e77b6c49 2007-10-21 08:18:40 Typo.
7d9c189a 2007-10-21 08: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).
66842577 2007-10-20 16:17:28 * src/tools/docmaker/tohtml.py (html_header_2): Fix typo. Add `td.left' element to CSS. (toc_section_enter): Use it.
7f2425fb 2007-10-20 16:15:07 Formatting, improving documentation.
cf432dbf 2007-10-19 12: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.
9a966b7d 2007-10-15 17: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.
cc272c51 2007-10-01 07:33:38 Clarify `best' in documentation of FT_Select_Charmap.