Home | History | Annotate | Download | only in sfntly

Lines Matching defs:Font

32 // Note: following constants are embedded in Font class in Java.  They are
35 // Platform ids. These are used in a number of places within the font whenever
48 // Unicode encoding ids. These are used in a number of places within the font
62 // Windows encoding ids. These are used in a number of places within the font
79 // font whenever character encodings need to be specified.
122 // An sfnt container font object. This object is immutable and thread safe. To
123 // construct one use an instance of Font::Builder.
124 class Font : public RefCounted<Font> {
126 // A builder for a font object. The builder allows the for the creation of
127 // immutable Font objects. The builder is a one use non-thread safe object and
128 // once the Font object has been created it is no longer usable. To create a
129 // further Font object new builder will be required.
142 // Get the font factory that created this font builder.
145 // Is the font ready to build?
148 // Build the Font. After this call this builder will no longer be usable.
149 CALLER_ATTACH Font* Build();
151 // Set a unique fingerprint for the font object.
157 // Does this font builder have the specified table builder.
165 // This new table has been added to the font and will replace any existing
173 // This new table has been added to the font and will replace any existing
178 // Get a map of the table builders in this font builder accessed by table
182 // Remove the specified table builder from the font builder.
186 // Get the number of table builders in the font builder.
201 void BuildTablesFromBuilders(Font* font,
232 virtual ~Font();
234 // Gets the sfnt version set in the sfnt wrapper of the font.
237 // Gets a copy of the fonts digest that was created when the font was read. If
241 // Get the checksum for this font.
244 // Get the number of tables in this font.
247 // Whether the font has a particular table.
252 // Get the table in this font with the specified id.
258 // Get a map of the tables in this font accessed by table tag.
259 // @return an unmodifiable view of the tables in this font
265 // Serialize the font to the output stream.
266 // @param os the destination for the font serialization
300 // @param digest the computed digest for the font; null if digest was not
303 Font(int32_t sfnt_version, ByteVector* digest);
329 // tables in the font in an undefined order.
336 // Get the default table ordering based on the type of the font.
345 typedef Ptr<Font> FontPtr;
347 typedef Ptr<Font::Builder> FontBuilderPtr;