pkgsrc-wip/swfmill/patches/patch-src_swft_swft__import__ttf.cpp
Thomas Klausner 3e6f0466ab Update to 0.3.3:
When importing files, treat filenames as relative to the XML file.
    Include all test files in source distribution (for make check).
    Fix missing xslt.h in source distribution.
    Fix 'buffer error' when importing small PNGs (Piers Haken)
    Improve cubic bezier curve approximation in SVG import (Piers Haken)
    Support unknown AVM2 opcodes (Piers Haken)
    Support enableDebugger tags (Piers Haken)
    Support import of fonts that use cubic beziers (Piers Haken)
    Support --version parameter to print version number and exit
    Various minor bugfixes and missing features (Piers Haken)

2010-07-15 release 0.3.1
    Simple dialect: Automatically detect the number of frames (previously
        it was necessary to specify the number of frames in the <movie> tag).
    Fix occasional incorrect JPEG dimensions (thanks to Piers Haken).
    Support alternate text encodings in SWF 5 and earlier.

2009-11-29 release 0.3.0
    Fix compile error with GCC 4.4 due to inconsistent constancy
    Support for colormap in DefineBitsLossless (thanks to MURAOKA Daisuke)
    Don't refer to SWF as 'Shockwave Flash'
    Don't require bash for XML test cases
    Change bug report location to Launchpad
    Map objectID, sprite and fontRef attributes in simple format
    Fix writing floats
    correctly count frames for <clip>s (thanks to Alex Midgley)
    Support scale and skew in simple format
    Add "ShiftedRadialGradient" fill style, supported by Flash 8 and later
    Fix SVG import segfault (thanks to Ralf Fuest)
    Fix TTF import for some fonts (Ralf)
    Bitmap filter effects on Buttons (Ralf)
    Preserve isSetup in TextRecords (Ralf)
    Fix wrong list length in LineStyle, ConvolutionFilter, ColorMatrix (Ralf)
    Support spread- and interpolationMode in Gradients (Ralf)
    Fix wrong GradientItem count (Ralf)
    Fix empty name attributes generated by place tag (Ralf)
    Show warning when reaching EOF while reading SWF (Ralf)
    Support importing multiple SVGs (breaking change) (Ralf)
    New 'export' attribute to export only some SVG elements (Ralf)
    Far improved SVG import (Ralf)
    Add DoABC, DoDefineABC, SymbolClass and DefineBinaryData (Ralf)
    New 'binary' tag to import arbitrary binary data in simple mode (Ralf)
    Improve calculation of bounding box of stroked shapes (Ralf)
    Fix incorrect flag order in DeclareFunction2 (Ralf)
    Add DefineFontName (Ralf)
    Support mono MP3s (Ralf)
    Fix incorrect flag order in TextRecords
    Add include tag to simple mode (Ralf)
    Support AS3 movies (Ralf)
    Correct size calculation of pascalU30 strings
    Support '-h' command line option for help
    Fix numerous memory leaks (thanks to INADA Naoki)
    Add OpDebugReg opcode
    Improve MP3 import error messages (Ralf)
    Use DefineFont3 when importing TTFs for Flash 8 and above (Ralf)
    Fix compilation in GCC 4.3 (thanks to Arthur Chan and Paul Colomiets)
    Support importing PCM WAV files (Robin Palotai)
    Support a wider range of MP3 sample rates (Robin Palotai)
    Improvements to build scripts (Benjamin Wolsey)
    Add DefineSceneAndFrameLabelData (Benjamin Wolsey)
    Fix erratic behaviour with multiple frames
    Don't pregenerate generated code in source distribution

2007-01-25 release 0.2.12 'it's a long, long road'
    "swfmill library <infile or dir> <outswf>" mode
    Steve's additions for flash8:
        ImportAssets2
        FileAttributes
        Metadata
        Filter support
        CSMTextSettings
    basic MP3 import (thanks to JJ)
    improved SVG import (thanks to Gerrit Klaus)
    support for device fonts
    minimal DefineShape4, DefineFont3, DefineFontInfo3 support
    DefineShape5 support
    DefineButton1 support
    DefineTextInfo support
    basic MatrixBitmap fill style support
    TiledBitmap2 fill style support
    improvements to svg:text
    @symbol property in <font/> specifies a "windows symbol font"
    store glyph bounding boxes in DefineFont2 for TTF import
    optimize simple-dialect .SWF import.
    exclude ID 65535 from idmapping.
    new swft:bump-id and bump-depth functions.
    font leading fixes
    fixes for proper delete[]ion (thanks to valgrind)
    fix rounding errors for float and fixed
    fix/enable DefineText2 and related tags/types
    fix import of assets with special characters in path
    fix zero values in signed bitfields
    fix order of Condition event bits
    fix cacheAsBitmap in PlaceObject3
    fix for some fonts, courtesy of Kazuaki MATSUHASHI (thanks!)
    fix namespace support for Metadata
    fix PlaceObject3 with BlendMode
2014-04-12 17:54:47 +00:00

15 lines
401 B
C++

$NetBSD: patch-src_swft_swft__import__ttf.cpp,v 1.1 2014/04/12 17:54:47 thomasklausner Exp $
Fix build with freetype-2.5.1.
--- src/swft/swft_import_ttf.cpp.orig 2013-10-30 17:33:35.000000000 +0000
+++ src/swft/swft_import_ttf.cpp
@@ -14,7 +14,7 @@
#include FT_OUTLINE_H
#include "SWFShapeMaker.h"
-#include <freetype/tttables.h>
+#include FT_TRUETYPE_TABLES_H
using namespace SWF;