summaryrefslogtreecommitdiff
path: root/docs/CHANGES
Commit message (Collapse)AuthorAgeFilesLines
* Add support for cmap type 13.Werner Lemberg2009-04-041-0/+10
| | | | | | | | | | | | | | * devel/ftoption.h, include/freetype/config/ftoption.h (TT_CONFIG_CMAP_FORMAT_13): New macro. * src/sfnt/ttcmap.c (TT_CMap13Rec, tt_cmap13_init, tt_cmap13_validate, tt_cmap13_char_index, tt_cmap13_char_next, tt_cmap13_get_info, tt_cmap13_char_map_def_binary, tt_cmap14_class_rec): New functions and structures for cmap 13 support. (tt_cmap_classes): Register tt_cmap13_class_rec. * docs/CHANGES: Mention cmap 13 support.
* Extend CID service functions to handle CID-keyed CFFs as CID fonts.Werner Lemberg2009-03-111-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | * include/freetype/ftcid.h (FT_Get_CID_Is_Internally_CID_keyed, FT_Get_CID_From_Glyph_Index): New functions. * include/freetype/internal/services/svcid.h (FT_CID_GetIsInternallyCIDKeyedFunc, FT_CID_GetCIDFromGlyphIndexFunc): New function typedefs. (CID Service): Use them. * src/base/ftcid.c: Include FT_CID_H. (FT_Get_CID_Is_Internally_CID_keyed, FT_Get_CID_From_Glyph_Index): New functions. * src/cff/cffdrivr.c (cff_get_is_cid, cff_get_cid_from_glyph_index): New functions. (cff_service_cid_info): Add them. * src/cff/cffload.c (cff_font_load): Don't free `font->charset.sids' -- it is needed for access as a CID-keyed font. It gets deleted later on. * src/cid/cidriver.c (cid_get_is_cid, cid_get_cid_from_glyph_index): New functions. (cid_service_cid_info): Add them. * docs/CHANGES: Updated.
* Minor update.Werner Lemberg2009-03-111-0/+2
|
* More preparations for 2.3.9 release.Werner Lemberg2009-03-091-2/+2
| | | | | | * docs/CHANGES: Updated. * Jamfile, README: s/2.3.8/2.3.9/, s/238/239/.
* Formatting.Werner Lemberg2009-03-031-2/+2
|
* Fix SFNT kerning table parser against malformed tables.David Turner2009-03-031-0/+2
| | | | | | | | Closes Savannah BUG #25750 * src/sfnt/ttkern.c (tt_face_get_kerning): fix a bug where a malformed table would be succesfully loaded but later crash the engine during parsing.
* Formatting, copyright years.Werner Lemberg2009-03-031-15/+15
|
* Update documentation and bump version number to 2.3.9David Turner2009-03-031-0/+23
| | | | | | | | * include/freetype/freetype.h: bump patch version to 9 * docs/CHANGES: document the ABI break in 2.3.8 * docs/VERSION.DLL: update version numbers table for 2.3.9 * builds/unix/configure.ac: update AC_INIT and version_info numbers.
* Fix Savannah bug #25669.Werner Lemberg2009-02-241-0/+3
| | | | | | | | | | | | * src/base/ftadvanc.h (FT_Get_Advances): Fix serious typo. * src/base/ftobjs.c (FT_Select_Metrics, FT_Request_Metrics): Fix scaling factor for non-scalable fonts. * src/cff/cffdrivr.c (cff_get_advances): Use correct advance width value to prevent incorrect scaling. * docs/CHANGES: Document it.
* Formatting.Werner Lemberg2009-01-221-1/+3
|
* * Fix a bug in POSIX resource-fork accessor since 2008-10-04Suzuki, Toshiya (鈴木俊哉)2009-01-221-0/+4
|
* Fix documentation of FT_Outline_GetInsideBorder.Werner Lemberg2009-01-181-0/+15
| | | | | | | * include/freetype/ftstroke.h (FT_Outline_GetInsideBorder): Fix documentation. Problem reported by Truc Truong <tructv@necsv.com>. * docs/CHANGES: Updated.
* * docs/CHANGES: Document new key `a' in ftdiff.Werner Lemberg2009-01-071-1/+4
|
* Set `face_index' field in FT_Face for all font formats.Werner Lemberg2008-12-251-0/+5
| | | | | | | * cff/cffobjs.c (cff_face_init), winfonts/winfnt.c (FNT_Face_Init), sfnt/sfobjs.c (sfnt_init_face): Do it. * docs/CHANGES: Document it.
* * docs/CHANGES: Updated.Werner Lemberg2008-12-181-0/+4
| | | | | | | | | | | | | | | | | | | Provide API for accessing embedding and subsetting restriction information. * include/freetype.h (FT_FSTYPE_INSTALLABLE_EMBEDDING, FT_FSTYPE_RESTRICTED_LICENSE_EMBEDDING, FT_FSTYPE_PREVIEW_AND_PRINT_EMBEDDING, FT_FSTYPE_EDITABLE_EMBEDDING, FT_FSTYPE_NO_SUBSETTING, FT_FSTYPE_BITMAP_EMBEDDING_ONLY): New macros. (FT_Get_FSType_Flags): New function declaration. * src/base/ftobjs.c (FT_Get_FSType_Flags): New function. * src/cid/cidtoken.h, src/type1/t1tokens.h, src/type42/t42parse.c (t42_keywords): Handle `FSType'. * include/freetype/t1tables.h (PS_FontInfoRec): Add `fs_type' field.
* * include/freetype/ftsynth.h, src/basae/ftsynth.c: MoveWerner Lemberg2008-12-171-0/+5
| | | | | | | FT_GlyphSlot_Own_Bitmap to... * include/freetype/ftbitmap.h, src/base/ftbitmap.c: These files. * docs/CHANGES: Document it.
* Generalize the concept of `tricky' fonts by introducingWerner Lemberg2008-12-111-3/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | FT_FACE_FLAG_TRICKY to indicate that the font format's hinting engine is necessary for correct rendering. At the same time, slightly modify the behaviour of tricky fonts: FT_LOAD_NO_HINTING is now ignored. To really force raw loading of tricky fonts (without hinting), both FT_LOAD_NO_HINTING and FT_LOAD_NO_AUTOHINT must be used. Finally, tricky TrueType fonts always use the bytecode interpreter even if the patented code is used. * include/freetype/freetype.h (FT_FACE_FLAG_TRICKY, FT_IS_TRICKY): New macros. * src/truetype/ttdriver.c (Load_Glyph): Handle new load flags semantics as described above. * src/truetype/ttobjs.c (tt_check_trickyness): New function, using code of ... (tt_face_init): This function, now simplified and updated to new semantics. * src/base/ftobjs.c (FT_Load_Glyph): Don't use autohinter for tricky fonts. * docs/CHANGES: Document it.
* * devel/ftoption.h, include/freetype/config/ftoption.hWerner Lemberg2008-11-051-0/+4
| | | | | | | | | | | [TT_CONFIG_OPTION_BYTECODE_INTERPRETER]: Undefine TT_CONFIG_OPTION_UNPATENTED_HINTING. This fixes the return value of `FT_Get_TrueType_Engine_Type' (and makes it work as documented). Reported in bug #441638 of bugzilla.novell.com. * docs/CHANGES: Document it. Other minor documentation improvements.
* * src/sfnt/sfobjs.c (sfnt_load_face): Fix computation ofWerner Lemberg2008-10-121-0/+12
| | | | | | | | | | `underline_position'. * docs/CHANGES: Updated. Formatting, minor editing.
* * src/smooth/ftgrays.c (gray_find_cell): Fix threshold. The valuesWerner Lemberg2008-09-201-0/+6
| | | | | | | passed to this function are already `normalized'. Problem reported by Stephan T. Lavavej <stl@nuwen.net>. * docs/CHANGES: Document it.
* Formatting, minor code fixes.Werner Lemberg2008-09-201-4/+10
|
* * src/base/ftobjs.c: Add initial support for sfnt-wrapped CID-keyed fontsSuzuki, Toshiya (鈴木俊哉)2008-09-191-1/+4
|
* Handle CID-keyed fonts wrapped in a SFNT (with cmaps) correctly.Werner Lemberg2008-07-161-0/+9
| | | | | | | | * src/cff/cffload.c (cff_font_load): Pass `pure_cff'. Invert sids table only if `pure_cff' is set. * src/cff/cffload.h: Udpated. * src/cff/cffobjs.c (cff_face_init): Updated.
* * Version 2.3.7 released.VER-2-3-7Werner Lemberg2008-06-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | ========================= Tag sources with `VER-2-3-7'. * docs/CHANGES, docs/VERSION.DLL: Update documentation and bump version number to 2.3.7. * 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.6/2.3.7/, s/236/237/. * include/freetype/freetype.h (FREETYPE_PATCH): Set to 7. * builds/unix/configure.raw (version_info): Set to 9:18:3. * docs/release: Updated.
* minor improvementsWerner Lemberg2008-06-251-1/+1
|
* * src/truetype/ttgload.c (TT_Load_Glyph): Protect bytecode stuffWerner Lemberg2008-06-221-0/+14
| | | | | | with IS_HINTED. * docs/CHANGES: Updated.
* * src/cff/cffobjs.c (cff_face_init): Compute finalWerner Lemberg2008-06-191-0/+4
| | | | | | | | | `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.
* * src/type/t1objs.c (T1_Face_Init): Fix change from 2008-03-21.Werner Lemberg2008-06-181-0/+7
| | | | | | Reported by Peter Weilbacher <mozilla@weilbacher.org>. * docs/CHANGES: Updated.
* * src/base/ftcalc.c (FT_MulFix) <asm>: Protect registers correctlyWerner Lemberg2008-06-151-0/+12
| | | | | | from clobbering. Patch from Savannah bug report #23556. * docs/CHANGES: Document it.
* * Version 2.3.6 released.VER-2-3-6Werner Lemberg2008-06-101-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ========================= 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.
* * src/type1/t1parse.h (T1_ParserRec): Make `base_len' andWerner Lemberg2008-06-091-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | `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'.
* * src/base/ftdebug.c (FT_Message, FT_Panic): Send output to stderr.Werner Lemberg2008-05-181-1/+4
| | | | | | | | This fixes Savannah bug #23280. * docs/CHANGES: Updated. Some formatting.
* * docs/CHANGES: Updated.Werner Lemberg2008-05-171-0/+2
| | | | | | | | | | 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.
* Finish fix of scaling bug of CID-keyed CFF subfonts.Werner Lemberg2008-05-141-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * src/winfonts/winfnt.c (fnt_face_get_dll_font, FNT_Face_Init):Werner Lemberg2008-05-131-0/+2
| | | | | Handle case `face_index < 0'. * docs/CHANGES: Document it.
* Fix support for subsetted CID-keyed CFFs.Werner Lemberg2008-04-011-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * src/type1/t1objs.c (T1_Face_Init): Use `/Weight'. Patch fromWerner Lemberg2008-03-211-1/+1
| | | | Savannah bug #22675.
* * docs/CHANGES: Updated.Werner Lemberg2008-02-291-1/+9
|
* Add support for cmap type 14.Werner Lemberg2007-10-151-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * src/otvalid/otvbase.c, src/otvalid/otvcommn.c,Werner Lemberg2007-08-081-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | src/otvalid/otvgdef.c, src/otvalid/otvgpos.c, src/otvalid/otvgsub.c, src/otvalid/otvjstf.c: s/FT_INVALID_DATA/FT_INVALID_FORMAT/ where appropriate. Reported by George. * include/freetype/internal/fttrace.h: Define `trace_otvmath'. * src/otvalid/rules.mk (OTV_DRV_SRC): Add otvmath.c. * docs/CHANGES: Updated. Add `MATH' validating support to otvalid module. * include/freetype/tttags.h (TTAG_MATH): New macro. * include/freetype/ftotval.h (FT_VALIDATE_MATH): New macro. (FT_VALIDATE_OT): Updated. * src/otvalid/otmath.c: New file. * src/otvalid/otvalid.c: Include otvmath.c. * src/otvalid/otvmod.c (otv_validate): Handle `MATH' table.
* * docs/CHANGES: Updated.Werner Lemberg2007-07-161-0/+12
| | | | | | | | | | | | | | | | | | | | | | | Add new service for getting the ROS from a CID font. * include/freetype/config/ftheader.h (FT_CID_H): New macro. * include/freetype/ftcid.h: New file. * include/freetype/internal/ftserv.h (FT_SERVIVE_CID_H): New macro. * include/freetype/internal/services/svcid.h: New file. * src/base/ftcid.c: New file. * src/cff/cffdrivr.c: Include FT_SERVICE_CID_H. (cff_get_ros): New function. (cff_service_cid_info): New service structure. (cff_services): Register it. * src/cff/cffload.c (cff_font_done): Free registry and ordering. * src/cff/cfftypes.h (CFF_FontRec): Add `registry' and `ordering'. * modules.cfg (BASE_EXTENSIONS): Add ftcid.c.
* Updated.VER-2-3-5Werner Lemberg2007-07-021-0/+6
|
* Document ftpatchk.Werner Lemberg2007-06-161-1/+2
|
* * src/winfonts/winfnt.h: Add necessary structures for PE resourceWerner Lemberg2007-06-161-0/+3
| | | | | | | | | | | | | parsing. (WinPE32_HeaderRec): New structure. (WinPE32_SectionRec): New structure. (WinPE_RsrcDirRec): New structure. (WinPE_RsrcDirEntryRec): New structure. (WinPE_RsrcDataEntryRec): New structure. (FNT_FontRec): Remove unused `size_shift' field. * src/winfonts/winfnt.c (fnt_face_get_dll_font): Add support for loading bitmap .fon files in PE format.
* * docs/CHANGES: Document FT_Face_CheckTrueTypePatents).Werner Lemberg2007-06-111-0/+4
| | | | Formatting, reformulations.
* Formatting, reformulations.Werner Lemberg2007-05-291-7/+10
|
* updating CHANGESDavid Turner2007-05-281-0/+4
|
* * docs/CHANGES: Updated.Werner Lemberg2007-05-251-0/+9
| | | | Formatting.
* typoWerner Lemberg2007-05-191-9/+9
|
* Updated.Werner Lemberg2007-05-191-1/+14
|