Gnash
0.8.10
|
#include <DefineFontTag.h>
Static Public Member Functions | |
static void | loader (SWFStream &in, TagType tag, movie_definition &m, const RunResources &r) |
Load a DefineFontInfo tag. |
void gnash::SWF::DefineFontInfoTag::loader | ( | SWFStream & | in, |
TagType | tag, | ||
movie_definition & | m, | ||
const RunResources & | r | ||
) | [static] |
Load a DefineFontInfo tag.
Adds a CodeTable and other information to a Font created by a DefineFont tag. The information is already contained in a DefineFont2 or DefineFont3 tag.
References assert, gnash::SWF::DEFINEFONTINFO, gnash::SWF::DEFINEFONTINFO2, gnash::SWFStream::ensureBytes(), gnash::SWFStream::read_u16(), gnash::key::f, gnash::movie_definition::get_font(), IF_VERBOSE_MALFORMED_SWF, _, LOG_ONCE, gnash::SWFStream::read_string_with_length(), gnash::SWFStream::read_u8(), gnash::SWF::DefineFontTag::readCodeTable(), gnash::Font::glyphCount(), gnash::Font::setName(), gnash::Font::setFlags(), and gnash::Font::setCodeTable().
Referenced by gnash::SWF::addDefaultLoaders().