27 #ifndef GNASH_SWF_DEFINEFONTNAMETAG_H
28 #define GNASH_SWF_DEFINEFONTNAMETAG_H
48 boost::uint16_t fontID = in.
read_u16();
54 log_swferror(
_(
"define_font_name_loader: can't find "
55 "font with id %d"), fontID);
std::string copyrightName
Definition: Font.h:224
A pair of strings describing the font.
Definition: Font.h:221
Client program's interface to the definition of a movie or sprite.
Definition: movie_definition.h:95
A Font resource.
Definition: Font.h:90
void read_string(std::string &to)
Reads a null-terminated string from the given file and assigns it to the given std::string, overriding any previous value of it.
Definition: SWFStream.cpp:403
TagType
SWF tag types. Symbolic names copied from Ming.
Definition: SWF.h:30
#define IF_VERBOSE_MALFORMED_SWF(x)
Definition: log.h:390
Definition: GnashKey.h:152
boost::uint16_t read_u16()
Read a aligned unsigned 16-bit value from the stream.
Definition: SWFStream.cpp:340
#define _(String)
Definition: log.h:44
virtual Font * get_font(int) const
Return the font with given DisplayObject id.
Definition: movie_definition.h:253
std::string displayName
Definition: Font.h:223
Class to group together per-run and external resources for Gnash.
Definition: RunResources.h:43
Definition: GnashKey.h:159
void addFontNameInfo(const FontNameInfo &fontName)
Add display name and copyright name for an embedded font.
Definition: Font.cpp:125
Definition: GnashKey.h:331
SWF stream wrapper class.
Definition: SWFStream.h:58
void ensureBytes(unsigned long needed)
Ensure the requested number of bytes are available for an aligned read in the currently opened tag...
Definition: SWFStream.cpp:51