27 #ifndef GNASH_SWF_DEFINEFONTNAMETAG_H 28 #define GNASH_SWF_DEFINEFONTNAMETAG_H 48 std::uint16_t fontID = in.
read_u16();
55 "font with id %d"), fontID);
virtual Font * get_font(int) const
Return the font with given DisplayObject id.
Definition: movie_definition.h:253
std::uint16_t read_u16()
Read a aligned unsigned 16-bit value from the stream.
Definition: SWFStream.cpp:332
std::string copyrightName
Definition: Font.h:223
A pair of strings describing the font.
Definition: Font.h:220
Client program's interface to the definition of a movie or sprite.
Definition: movie_definition.h:95
A Font resource.
Definition: Font.h:89
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:395
TagType
SWF tag types. Symbolic names copied from Ming.
Definition: SWF.h:30
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:40
#define IF_VERBOSE_MALFORMED_SWF(x)
Definition: log.h:404
Definition: GnashKey.h:152
#define _(String)
Definition: log.h:44
std::string displayName
Definition: Font.h:222
Class to group together per-run and external resources for Gnash.
Definition: RunResources.h:53
void log_swferror(StringType msg, Args... args)
Definition: log.h:325
Definition: GnashKey.h:159
void addFontNameInfo(const FontNameInfo &fontName)
Add display name and copyright name for an embedded font.
Definition: Font.cpp:117
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:50