Home | History | Annotate | Download | only in minikin

Lines Matching defs:Font

32 class Font;
51 const Font* font;
57 // Represents a single font file.
58 class Font {
64 // Override the font style. If not called, info from OS/2 table is used.
72 // Override the font weight. If not called, info from OS/2 table is used.
79 // Override the font slant. If not called, info from OS/2 table is used.
86 Font build();
96 Font(Font&& o) = default;
97 Font& operator=(Font&& o) = default;
107 Font(std::shared_ptr<MinikinFont>&& typeface, FontStyle style, HbFontUniquePtr&& baseFont)
111 static FontStyle analyzeStyle(const HbFontUniquePtr& font);
117 MINIKIN_PREVENT_COPY_AND_ASSIGN(Font);
135 explicit FontFamily(std::vector<Font>&& fonts);
136 FontFamily(Variant variant, std::vector<Font>&& fonts);
137 FontFamily(uint32_t localeListId, Variant variant, std::vector<Font>&& fonts);
146 const Font* getFont(size_t index) const { return &mFonts[index]; }
154 // Returns true if the font has a glyph for the code point and variation selector pair.
158 // Returns true if this font family has a variaion sequence table (cmap format 14 subtable).
161 // Creates new FontFamily based on this family while applying font variations. Returns nullptr
171 std::vector<Font> mFonts;