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.