Lines Matching refs:Font
72 // This name part is not used to construct font name (e.g. copyright).
93 bool HasName(const char* font_name, Font* font) {
103 NameTablePtr name_table = down_cast<NameTable*>(font->GetTable(Tag::name));
145 Font* FindFont(const char* font_name, const FontArray& font_array) {
226 bool SetupGlyfBuilders(Font::Builder* font_builder,
552 // Most pages use only a fraction (hundreds or less) glyphs out of a given font
554 // font will have sparse bitmap glyphs. So we reconstruct the EBLC table as
564 int SetupBitmapBuilders(Font* font, Font::Builder* font_builder,
566 if (!font || !font_builder) {
571 EbdtTablePtr ebdt_table = down_cast<EbdtTable*>(font->GetTable(Tag::EBDT));
572 EblcTablePtr eblc_table = down_cast<EblcTable*>(font->GetTable(Tag::EBLC));
575 ebdt_table = down_cast<EbdtTable*>(font->GetTable(Tag::bdat));
576 eblc_table = down_cast<EblcTable*>(font->GetTable(Tag::bloc));
670 // We are not able to subset the font.
703 // cmap if font is used with a simple font dict and not a CIDFont dict
725 // OS/2 - everything here is for layout and description of the font that is
744 Font* SubsetterImpl::Subset(const IntegerSet& glyph_ids, GlyphTable* glyf,
748 // font.
757 // Setup font builders we need.