SWF::FontCharacter(3pm)

SWF::FontCharacter3pm

Swf font helper class

Usage

        use SWF::FontCharacter;
        $font = new SWF::Font('Arial.fdb');
        $fontcharacter = $movie->addFont($font);
        $fontcharacter = $movie->importFont('textField.swf', 'Arial337a');

Overview

SWF::FontCharacter is a font helper class. The objects are available thru SWF::Movie methods(), so no constructor is present here.

Methods

$fontcharacter->addChars($string)

Adds characters from string.

$fontcharacter->addUTF8Chars($string)

Adds UTF8 characters from string and will throw an error message like "Character not found 12345" if any needed glyphs are not present inside font definition.

$fontcharacter->addAllChars()

Adds all characters... [ToDo: add some demo code here]

Releases

2 releases since Debian 6.0 (Squeeze); the text changed 1 time.

  1. 6.0
  2. 7

Author

        developers of ming 
        ming.sourceforge.net

From libswf-perl 1:0.4.4-1.1 in Debian 7 (Wheezy). Parsed by carta from the page's man source.