summaryrefslogtreecommitdiff
path: root/graphics/freetype2
AgeCommit message (Collapse)AuthorFilesLines
2013-06-04Try to fix the fallout caused by the fix for PR pkg/47882. Part 1:tron1-2/+2
Reduce "freetype2" API dependence to version 2.4.5 which is what NetBSD 6.1 and NetBSD-current ship with. This version is new enough even for the latest "pango" package. This fixes problems under NetBSD-current where pkgsrc tried to use the native "fontconfig" and pkgsrc "freetype2" which doesn't work very well.
2013-06-03Bump the required API version as well to enforce the new versiontron1-2/+2
at build time.
2013-06-03Bump freetype2 and fontconfig dependencies to current pkgsrc versions,wiz1-2/+2
to address issues with NetBSD-6(and earlier)'s fontconfig not being new enough for pango. While doing that, also bump freetype2 dependency to current pkgsrc version. Suggested by tron in PR 47882
2013-01-06Update to 2.4.11:wiz3-7/+8
CHANGES BETWEEN 2.4.10 and 2.4.11 I. IMPORTANT BUG FIXES - Some vulnerabilities in the BDF implementation have been fixed. Users of this font format should upgrade. II. IMPORTANT CHANGES - Subpixel hinting support has been contributed by Infinality, based on Greg Hitchcock's whitepaper at http://www.microsoft.com/typography/cleartype/truetypecleartype.aspx Originally, it was a separate patch available from http://www.infinality.net/blog/ and which has been integrated. Note that ClearType support is not completely implemented! In particular, full support for the options `compatible_widths', `symmetrical_smoothing, and `bgr' (via the GETINFO bytecode instruction) is missing. Activation of subpixel hinting support can be controlled with the `TT_CONFIG_OPTION_SUBPIXEL_HINTING' configuration option; it is switched off by default. This feature is still experimental; we welcome test reports! - Support for OpenType collections (OTC) has been added. - Pure CFF fonts within an SFNT wrapper are now supported. III. MISCELLANEOUS - Minor rendering improvements to the auto-hinter. - `FT_GlyphSlot_Oblique' now uses a shear angle of 12°. - Experimental support to handle `property modules', for example to control the behaviour of the auto-hinter. The API consists of two new functions, `FT_Property_Set' and `FT_Property_Get'. The code is still subject to change and should not be used for production. - The `ftdiff' demo program now supports UTF-8 encoded input files for option `-f'. - Using keys `r' and `R', you can now adjust the stroker radius in the `ftview' demo program. - Other, minor fixes and improvements.
2012-10-06Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.asau1-2/+1
2012-07-02update to 2.4.10drochner2-6/+6
changes: -bugfix: Incremental glyph loading as needed by ghostscript was broken -minor other improvements
2012-03-19Drop imake-check logic from X11 components' builtin.mk.joerg1-5/+4
Always use xorg-cf-files and imake from pkgsrc, replacing xpkgwedge. Always install man pages, not cat pages when using imake. Unify the various imake PLIST variables in preparation for dropping. Adjust xbattbar for the new expectations.
2012-03-09update to 2.4.9drochner2-6/+6
changes: -fix many cases of possible memory corruption by malicious font files (CVE-2012-1126...-1144) -minor fixes and feature improvements
2011-11-15update to 2.4.8drochner2-7/+6
changes: -fixed vulnerabilities in handling CID-keyed PostScript fonts (CVE-2011-3439) -new API 'FT_Get_PS_Font_Value'
2011-11-01Recursive bump for graphics/freetype2 buildlink addition.sbd1-2/+2
2011-11-01Add missing archivers/bzip2 buildlinksbd2-3/+6
Bump PKGREVISION
2011-10-26update to 2.4.7 fixes SA46575 (CVE-2011-3256)tez2-6/+6
CHANGES BETWEEN 2.4.6 and 2.4.7 I. IMPORTANT BUG FIXES - Some vulnerabilities in handling Type 1 fonts have been fixed; see CVE-2011-3256. II. MISCELLANEOUS - FreeType now properly handles ZapfDingbats glyph names while constructing a Unicode character map (for fonts which don't have one).
2011-08-03Fixed: build failure on 5.99.55cheusov4-123/+25
Update to 2.4.6, No answer from maintainer. CHANGES BETWEEN 2.4.5 and 2.4.6 I. IMPORTANT BUG FIXES - For TrueType based fonts, the ascender and descender values were incorrect sometimes (off by a pixel if the ppem value was not a multiple of 5). Depending on the use you might now experience a different layout; the change should result in better, more consistent line spacing. - Fix CVE-2011-0226 which causes a vulnerability while handling Type 1 fonts. - BDF fonts containing glyphs with negative values for ENCODING were incorrectly rejected. This bug has been introduced in FreeType version 2.2.0. - David Bevan contributed a major revision of the FreeType stroker code: . The behaviour of FT_STROKER_LINEJOIN_BEVEL has been corrected. . A new line join style, FT_STROKER_LINEJOIN_MITER_FIXED, has been introduced to support PostScript and PDF miter joins. . FT_STROKER_LINEJOIN_MITER_VARIABLE has been introduced ches has been fixed. II. MISCELLANEOUS - SFNT bitmap fonts which contain an outline glyph for `.notdef' only no longer set the FT_FACE_FLAG_SCALABLE flag. CHANGES BETWEEN 2.4.4 and 2.4.5 I. IMPORTANT BUG FIXES - A rendering regression for second-order B#zier curves has been fixed, introduced in 2.4.3. II. IMPORTANT CHANGES - If autohinting is not explicitly disabled, FreeType now uses the autohinter if a TrueType based font doesn't contain native hints. - The load flag FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH has been made redundant and is simply ignored; this means that FreeType now ignores the global advance width value in TrueType fonts. III. MISCELLANEOUS - `FT_Sfnt_Table_Info' can now return the number of SFNT tables of a font. - Support for PCF files compressed with bzip2 has been contributed by Joel Klinghed. To make this work, the OS must provide a bzip2 library. - Bradley Grainger contributed project and solution files in Visual Studio 2010 format. - Again some fixes to better handle broken fonts.
2011-07-18replace SA# in comment with a CVE referencedrochner2-4/+4
2011-07-12update to 2.4.5drochner4-16/+102
changes: -fixed rendering regression for second-order Bezier curves -FreeType now uses the autohinter per default -Support for PCF files compressed with bzip2 -misc fixes and improvements pkgsrc change: clean up patch-ac (which fixes SA45167): put sign extension stuff into a macro and move checks to make it closer to the upstream fix
2011-07-07avoid sign extension on right shiftdrochner3-2/+30
(there are more occurences, but they are followed by checks for result<0) bump PKGREV
2011-03-11remove dead mirror.zafer1-3/+2
2010-12-26Changes 2.4.4:adam4-55/+20
I. IMPORTANT BUG FIXES - UVS support (TrueType/OpenType cmap format 14) support is fixed. This regression has been introduced in version 2.4.0. II. MISCELLANEOUS - Detect tricky fonts (e.g. MingLiU) by the lengths and checksums of Type42-persistent subtables (`cvt ', `fpgm', and `prep') when a TrueType font without family name is given. The previous fix, introduced in 2.4.3, was too rigorous, causing many subsetted fonts (mainly from PDF files) displayed badly because FreeType forced rendering with the TrueType bytecode engine instead of the autohinter. - Better support for 64bit platforms. - More fixes to improve handling of broken fonts.
2010-11-24add patch from upstream CVS to fix handling the "SHZ" bytecode instructiondrochner4-5/+31
which could be exploited to cause a crash and potentially execute arbitrary code via a specially crafted font (CVE-2010-3814) bump PKGREV being here, add CVE reference to an older patch
2010-11-03add patch from upstream CVS to fix a possible buffer overflowdrochner3-2/+26
when processing TrueType GX fonts (SA41738), bump PKGREVISION
2010-10-22update to 2.4.3drochner2-6/+6
changes: A rendering regression of S-shaped cubic arcs (introduced in version 2.4.0) has been fixed. Besides that, a bunch of fixes have been applied to improve handling of broken fonts.
2010-08-08Update to freetype2-2.4.2:tnn2-6/+6
CHANGES BETWEEN 2.4.1 and 2.4.2 I. IMPORTANT BUG FIXES - A stack overflow in CFF Type2 CharStrings interpreter is fixed. - Handling Type 42 font deallocation was broken; additionally, the library is now more robust against malformed Type 42 fonts. II. MISCELLANEOUS - Two new functions, `FT_Reference_Library' (in FT_MODULE_H) and `FT_Reference_Face' (in FT_FREETYPE_H), have been added to simplify life-cycle management. A counter gets initialized to 1 at the time an FT_Library (or FT_Face) structure is created. The two new functions increment the respective counter. `FT_Done_Library' and `FT_Done_Face' then only destroy a library or face if the counter is 1, otherwise they simply decrement the counter.
2010-07-20update to 2.4.1drochner2-19/+8
changes: - Since May 2010, all patents regarding the TrueType bytecode interpreter have expired worldwide. Consequently, we now define TT_CONFIG_OPTION_BYTECODE_INTERPRETER by default (and undefine TT_CONFIG_OPTION_UNPATENTED_HINTING). - A new function `FT_Library_SetLcdFilterWeights' is available to adjust the filter weights set by `FT_Library_SetLcdFilter'. -increased robustness, bugfixes pkgsrc note: the "truetype" option was removed, the bytecode interpreter is now always enabled
2010-02-18update to 2.3.12drochner2-7/+6
changes: - For `FT_Open_Face', new parameters are available to ignore preferred family names: FT_PARAM_TAG_IGNORE_PREFERRED_FAMILY and FT_PARAM_TAG_IGNORE_PREFERRED_SUBFAMILY. - Support for incremental font loading (controlled with the FT_CONFIG_OPTION_INCREMENTAL macro) is now active by default. - Better support for vertical metrics. - Various minor bug fixes.
2009-11-24ensure "freetype-config --libs" emits a run path.tnn3-2/+18
2009-11-23update to 2.3.11drochner6-175/+6
This is a bugfix release for the 2.3 series, which brings considerable improvements for b/w rasterizing of hinted TrueType fonts at small sizes. All users should upgrade.
2009-07-21freetype2's .pc file requests linkage with -lz, so pull in zlib's bl3.mktnn1-1/+3
2009-06-14Remove @dirrm entries from PLISTsjoerg1-4/+1
2009-05-02patch-[a-d]: Upstream patches for CVE-2009-0946.tnn6-2/+171
Bump PKGREVISION.
2009-04-16update to 2.3.9drochner3-29/+6
changes: -important bugfixes -improved CID support There was an ABI breakage between 2.3.7 and 2.3.8 which was reverted in 2.3.9. The public 'PS_FontInfoRec' structure was expanded and then shrunk. Applications compiled against 2.3.8 should work fine with 2.3.9. Applications compiled against the new 2.3.9 can theoretically exhibit problems if run against a 2.3.8 binary, if some PS_FontInfo stuff is used. See the freetype release notes for details. I didn't find any suspects for now. If one is found, it should be changed to require 2.3.9, and PKGREV bumped.
2009-03-20Simply and speed up buildlink3.mk files and processing.joerg1-14/+6
This changes the buildlink3.mk files to use an include guard for the recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS, BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of enter/exit marker, which can be used to reconstruct the tree and to determine first level includes. Avoiding := for large variables (BUILDLINK_ORDER) speeds up parse time as += has linear complexity. The include guard reduces system time by avoiding reading files over and over again. For complex packages this reduces both %user and %sys time to half of the former time.
2009-01-27update to 2.3.8drochner4-7/+31
changes: -improvements for fonts in an SFNT wrapper (used on Mac) -FT_MulFix is now an inlined function; by default, assembler code is provided for x86 and ARM. See FT_CONFIG_OPTION_INLINE_MULFIX and FT_CONFIG_OPTION_NO_ASSEMBLER (in ftoption.h) for more -handling of `tricky' fonts has been generalized and changed slightly -API additions -bugfixes
2008-10-05Merge cube-native-xorg, so that pkgsrc-current can be used with the nativecube1-7/+4
X.Org found in NetBSD-current. Thanks a lot to all who helped, especially Matthias Scheler who did repeated tests on Mac OS X and older versions of NetBSD to make sure the support for those platforms wouldn't be broken (or at least, not fatally, as I would still expect a few hiccups here and there, because there is only so much one can test in such limited time). On the infrastructure side, this branch brings pkgconfig-builtin.mk, in order to write very easily new builtin.mk files. It can actually handle more than just pkgconfig files, but it will provide a version if it finds such a file. x11.builtin.mk has also been made more useful and now all existing (and future!) native-X11-related builtin.mk files should include it.
2008-07-14Update to freetype2-2.3.7.tnn3-248/+6
This is a bugfix release for the 2.3 series which provides some important fixes for bugs which were introduced in version 2.3.6. Additionally, native bytecode hinting for TrueType fonts has been improved.
2008-07-08apply a fix from upstream CVS:drochner3-2/+244
* 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 This fixes the problem that text set in a font embedded as type 1C subset was rendered unreadably small. bump PKGREVISION
2008-06-11update to 2.3.6drochner3-7/+8
This fixes some integer overflow/memory corruption/heap overflow security problems: CVE-2008-1806, CVE-2008-1807, CVE-2008-1808 other changes: -new function `FT_Get_CID_Registry_Ordering_Supplement' gives access to those fields in a CID-keyed font -code to validate the new `MATH' OpenType table -API for cmap 14 support -A new face flag FT_FACE_FLAG_CID_KEYED -misc bugfixes and other improvements
2008-04-24Backout last change. It breaks the build on system which use a builtintron1-30/+1
"freetype2" and provide a "freetype2.pc" (e.g. Mac OS X Leopard or any uptodate Linux distribution).
2008-04-24fake up a freetype2.pc file for configure scripts that want itjnemeth1-1/+30
2007-12-02Remove Ex-MASTER_SITEs. From Zafer Aydogan.wiz1-6/+2
2007-08-01Pass down native compiler using CC_BUILD when cross-compiling.joerg1-1/+5
2007-07-06update to 2.3.5drochner3-42/+6
changes: -Some subglyphs in TrueType fonts were handled incorrectly due to a missing graphics state reinitialization. -Large .Z files (as distributed with some X11 packages) weren't handled correctly, making FreeType increase the heap stack in an endless loop. -A large number of bugs have been fixed to avoid crashes and endless loops with invalid fonts. -API extensions for caching, TT handling -autohinter improvement for non-Latin scripts -Support for Windows FON files in PE format
2007-05-19Apply patch from CVS repository to fix the security vulnerabilitytron3-2/+38
reported in CVE-2007-2754. Bump package revision.
2007-04-10update to 2.3.4drochner5-91/+6
changes: -includes security fixes for bdf font handling (was patched in pkgsrc) -fixes for truetype butecode interpreter
2007-04-05pull in a patch from freetype CVS:drochner3-2/+59
* src/bdf/bdflib.c (setsbit, sbitset): Handle values >= 128 gracefully. (_bdf_set_default_spacing): Increase `name' buffer size to 256 and issue an error for longer names. (_bdf_parse_glyphs): Limit allowed number of glyphs in font to the number of code points in Unicode. This fixes CVE-2007-1351.
2007-03-24Now that Joerg has patched out the real culprit, my poor workarounddrochner1-4/+1
is not necessary anymore.
2007-03-23DragonFly's /bin/sh is far from being happy about the stand-alonejoerg3-1/+29
backtick used for asthetic reasons.
2007-03-20update to 2.3.2drochner5-520/+18
This switches to the new stable branch. There are too many API additions and other changes to list here -- see the changelog. Some notes: -There is an unpatented hinter built in per default. The "truetype" pkgsrc option does still enable another one -- the documentation here is inconsistent, so I've left this alone for now. I couldn't find a visible effect with my fonts on my display. -New pkgsrc option "subpixel". Enables subpixel rendering for LCDs. Not default because there are patent issues. -There is sone strange effect of the CONFIG_SHELL environment valiable on the "configure" script. Worked around this by overriding the env var in the pkg Makefile. Someone understanding shell quoting might be able to locate the underlying problem.
2006-11-03DESTDIR support.joerg1-1/+2
2006-08-22Add two patches to work around issues from CVE-2006-3467. Patches arejoerg4-3/+514
directly from FreeType CVS. Bump revision.
2006-07-23Link against the Carbon library if the framework is available. This fixesminskim1-1/+6
PR 33858. Bump PKGREVISION.