/external/chromium_org/third_party/brotli/src/woff2/ |
normalize.h | 15 // Functions for normalizing fonts. Since the WOFF 2.0 decoder creates font 17 // lossless (in a bitwise sense) only for normalized font files. 24 struct Font; 29 bool NormalizeOffsets(Font* font); 33 bool FixChecksums(Font* font); 35 // Parses each of the glyphs in the font and writes them again to the glyf 38 bool NormalizeGlyphs(Font* font); [all...] |
transform.h | 20 #include "./font.h" 24 // Adds the transformed versions of the glyf and loca tables to the font. The 27 bool TransformGlyfAndLocaTables(Font* font);
|
font.h | 15 // Data model for a font file in sfnt format, reading and writing functions and 28 // Represents an sfnt font file. Only the table directory is parsed, for the 29 // table data we only store a raw pointer, therefore a font object is valid only 31 struct Font { 51 // Parses the font from the given data. Returns false on parsing failure or 52 // buffer overflow. The font is valid only so long the input data pointer is 54 bool ReadFont(const uint8_t* data, size_t len, Font* font); 56 // Returns the file size of the font. 57 size_t FontFileSize(const Font& font) [all...] |
/external/chromium_org/ui/gfx/ |
font.cc | 5 #include "ui/gfx/font.h" 13 // Font, public: 15 Font::Font() : platform_font_(PlatformFont::CreateDefault()) { 18 Font::Font(const Font& other) : platform_font_(other.platform_font_) { 21 Font& Font::operator=(const Font& other) [all...] |
font.h | 20 // Font provides a wrapper around an underlying font. Copy and assignment 23 // Figure of font metrics: 31 class GFX_EXPORT Font { 33 // The following constants indicate the font style. 41 // Creates a font with the default name and style. 42 Font(); 44 // Creates a font that is a clone of another font object. 45 Font(const Font& other) [all...] |
font_fallback_win.h | 11 #include "ui/gfx/font.h" 28 // Parses a font |family| in the format "FamilyFoo & FamilyBar (TrueType)". 33 // Iterator over linked fallback fonts for a given font. The linked font chain 37 // Instantiates the iterator over the linked font chain for |font|. The first 38 // item will be |font| itself. 39 explicit LinkedFontsIterator(Font font); 42 // Sets the font that would be returned by the next call to |NextFont()| [all...] |
font_list_unittest.cc | 18 std::string FontToString(const gfx::Font& font) { 19 std::string font_string = font.GetFontName(); 21 font_string += base::IntToString(font.GetFontSize()); 22 int style = font.GetStyle(); 23 if (style & gfx::Font::BOLD) 25 if (style & gfx::Font::ITALIC) 27 if (style & gfx::Font::UNDERLINE) 37 // Test init from font name style size string. 44 // Test init from font names, style and size [all...] |
font_unittest.cc | 5 #include "ui/gfx/font.h" 24 // gfx::Font::GetNativeFont(). 25 void FreeIfNecessary(NativeFont font) { 27 pango_font_description_free(font); 61 Font cf("Arial", 16); 64 EXPECT_EQ(cf.GetStyle(), Font::NORMAL); 73 Font cf("Arial", 16); 74 Font bold(cf.Derive(0, Font::BOLD)); 77 EXPECT_EQ(bold.GetStyle(), Font::BOLD) [all...] |
font_list_impl.h | 15 class Font; 21 // FontListImpl represents a list of fonts either in the form of Font vector or 22 // in the form of a string representing font names, styles, and size. 28 // For the format of font description string, see font_list.h for details. 31 // Creates a font list from a string representing font names, styles, and 35 // Creates a font list from font names, styles and size. 40 // Creates a font list from a Font vector [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/text/ |
StringTruncator.h | 37 class Font; 41 static String centerTruncate(const String&, float maxWidth, const Font&); 42 static String rightTruncate(const String&, float maxWidth, const Font&); 43 static float width(const String&, const Font&);
|
/external/chromium_org/third_party/sfntly/cpp/src/sample/subtly/ |
stats.h | 25 class Font; 31 int32_t TotalFontSize(Font* font); 33 double TableSizePercent(Font* font, int32_t tag); 35 void PrintComparison(FILE* out, Font* font, Font* new_font); 37 void PrintStats(FILE* out, Font* font); [all...] |
subsetter.h | 20 #include "sfntly/font.h" 25 // Subsets a given font using a character predicate. 28 Subsetter(sfntly::Font* font, CharacterPredicate* predicate); 32 // Performs subsetting returning the subsetted font. 33 virtual CALLER_ATTACH sfntly::Font* Subset(); 36 sfntly::Ptr<sfntly::Font> font_;
|
utils.h | 20 #include "sfntly/font.h" 24 CALLER_ATTACH sfntly::Font* LoadFont(const char* font_path); 25 CALLER_ATTACH sfntly::Font::Builder* LoadFontBuilder(const char* font_path); 33 bool SerializeFont(const char* font_path, sfntly::Font* font); 35 sfntly::Font* font);
|
/external/sfntly/cpp/src/sample/subtly/ |
stats.h | 25 class Font; 31 int32_t TotalFontSize(Font* font); 33 double TableSizePercent(Font* font, int32_t tag); 35 void PrintComparison(FILE* out, Font* font, Font* new_font); 37 void PrintStats(FILE* out, Font* font); [all...] |
subsetter.h | 20 #include "sfntly/font.h" 25 // Subsets a given font using a character predicate. 28 Subsetter(sfntly::Font* font, CharacterPredicate* predicate); 32 // Performs subsetting returning the subsetted font. 33 virtual CALLER_ATTACH sfntly::Font* Subset(); 36 sfntly::Ptr<sfntly::Font> font_;
|
utils.h | 20 #include "sfntly/font.h" 24 CALLER_ATTACH sfntly::Font* LoadFont(const char* font_path); 25 CALLER_ATTACH sfntly::Font::Builder* LoadFontBuilder(const char* font_path); 33 bool SerializeFont(const char* font_path, sfntly::Font* font); 35 sfntly::Font* font);
|
/external/proguard/src/proguard/gui/splash/ |
ConstantFont.java | 32 private final Font value; 34 public ConstantFont(Font value) 42 public Font getFont(long time)
|
VariableFont.java | 26 * This interface represents a Font that varies with time. 33 * Returns the Font for the given time. 35 public Font getFont(long time);
|
VariableSizeFont.java | 32 private final Font font; field in class:VariableSizeFont 36 private Font cachedFont; 41 * @param font the base font. 42 * @param size the variable size of the font. 44 public VariableSizeFont(Font font, VariableDouble size) 46 this.font = font; [all...] |
/external/chromium_org/ui/base/l10n/ |
l10n_font_util.h | 12 class Font; 18 // its localized size data and the given font. The width in cols is held in a 22 const gfx::Font& font); 24 const gfx::Font& font); 27 const gfx::Font& font);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/line/ |
RenderTextInfo.h | 30 class Font; 42 const Font* m_font;
|
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/tools/subsetter/ |
glyph_table_subsetter.h | 31 Font* font, 32 Font::Builder* font_builder);
|
/external/sfntly/cpp/src/sfntly/tools/subsetter/ |
glyph_table_subsetter.h | 31 Font* font, 32 Font::Builder* font_builder);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
SVGTextLayoutEngineSpacing.h | 27 class Font; 33 SVGTextLayoutEngineSpacing(const Font&, float effectiveZoom); 39 const Font& m_font;
|
SVGTextLayoutEngineBaseline.h | 28 class Font; 38 SVGTextLayoutEngineBaseline(const Font&); 48 const Font& m_font;
|