/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);
|
merger.h | 24 class Font; 28 // Merges the subsets in the font array into a single font. 34 // Performs merging returning the subsetted font. 35 virtual CALLER_ATTACH sfntly::Font* Merge();
|
subsetter.cc | 21 #include "sfntly/font.h" 35 Subsetter::Subsetter(Font* font, CharacterPredicate* predicate) 36 : font_(font), 45 CALLER_ATTACH Font* Subsetter::Subset() { 54 "Couldn't create font info. No subset will be generated.\n"); 62 Ptr<Font> font_subset;
|
font_assembler.h | 26 #include "sfntly/font.h" 34 // Assembles FontInfo into font builders. 38 // font_info is the FontInfo which will be used for the new font 40 // final font. 45 // Assemble a new font from the font info object. 46 virtual CALLER_ATTACH sfntly::Font* Assemble(); 62 sfntly::Ptr<sfntly::Font::Builder> font_builder_;
|
stats.cc | 19 #include "sfntly/font.h" 27 int32_t TotalFontSize(Font* font) { 29 const TableMap* table_map = font->GetTableMap(); 37 double TableSizePercent(Font* font, int32_t tag) { 38 TablePtr table = font->GetTable(tag); 39 return static_cast<double>(table->DataLength()) / TotalFontSize(font) * 100; 42 void PrintComparison(FILE* out, Font* font, Font* new_font) [all...] |
/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/sfntly/cpp/src/sfntly/tools/subsetter/ |
glyph_table_subsetter.h | 31 Font* font, 32 Font::Builder* font_builder);
|
table_subsetter.h | 22 #include "sfntly/font.h" 31 virtual bool Subset(Subsetter* subsetter, Font* font, 32 Font::Builder* font_builder) = 0;
|
subsetter.h | 22 #include "sfntly/font.h" 31 Subsetter(Font* font, FontFactory* font_factory); 36 // Set the cmaps to be used in the subsetted font. The cmaps are listed in 38 // list should be put into the subsetted font. If there are no matches in the 39 // font for any of the provided cmap ids which would lead to a font with no 44 // an available cmap in the font that matches the requests. Only the first 45 // such match will be placed in the subsetted font. 49 // into the subsetted font [all...] |
/external/mesa3d/src/mesa/drivers/x11/ |
xfonts.h | 33 extern void Fake_glXUseXFont( Font font, int first, int count, int listbase );
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/ |
DemoUtility.java | 14 import java.awt.Font; 27 public static final Font titleFont = new Font("TimesRoman",Font.BOLD,18); 28 public static final Font labelFont = new Font("TimesRoman",Font.BOLD,14); 29 public static final Font choiceFont = new Font("Helvetica",Font.BOLD,12) [all...] |
/frameworks/support/compat/src/androidTest/java/androidx/core/provider/ |
MockFontProvider.java | 44 public static final String AUTHORITY = "androidx.core.provider.fonts.font"; 68 static class Font { 69 Font(int id, int fileId, int ttcIndex, String varSettings, int weight, int italic, 123 private static final Map<String, Font[]> QUERY_MAP; 125 HashMap<String, Font[]> map = new HashMap<>(); 128 map.put(SINGLE_FONT_FAMILY_QUERY, new Font[] { 129 new Font(id++, SAMPLE_FONT_FILE_0_ID, 0, "'wght' 100", 400, 0, 133 map.put(SINGLE_FONT_FAMILY2_QUERY, new Font[] { 134 new Font(id++, SAMPLE_FONT_FILE_0_ID, 0, "'wght' 100", 700, 1, 138 map.put(NOT_FOUND_QUERY, new Font[] { [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
MockFontProvider.java | 42 final static String AUTHORITY = "android.provider.fonts.cts.font"; 62 static class Font { 63 public Font(int id, int fileId, int ttcIndex, String varSettings, int weight, int italic, 117 private static Map<String, Font[]> QUERY_MAP; 119 HashMap<String, Font[]> map = new HashMap<>(); 122 map.put(SINGLE_FONT_FAMILY_QUERY, new Font[] { 123 new Font(id++, SAMPLE_FONT_FILE_0_ID, 0, null, 400, 0, Columns.RESULT_CODE_OK, true), 126 map.put(MULTIPLE_FAMILY_QUERY, new Font[] { 127 new Font(id++, SAMPLE_FONT_FILE_0_ID, 0, null, 400, 0, Columns.RESULT_CODE_OK, true), 128 new Font(id++, SAMPLE_FONT_FILE_1_ID, 0, null, 400, 0, Columns.RESULT_CODE_OK, true) [all...] |
/external/harfbuzz_ng/src/ |
hb-graphite2.h | 31 #include <graphite2/Font.h> 45 hb_graphite2_font_get_gr_font (hb_font_t *font);
|
/external/sfntly/cpp/src/sfntly/ |
font_factory.h | 24 #include "sfntly/font.h" 32 // Factory method for the construction of a font factory. 36 // If a font is fingerprinted then a SHA-1 hash is generated at load time and 37 // stored in the font. This is useful for uniquely identifying fonts. By 44 // Load the font(s) from the input stream. The current settings on the factory 46 // stream contains valid font data. Some font container formats may have more 47 // than one font and in this case multiple font objects will be returned. If 52 // ByteArray font loadin [all...] |
font.cc | 17 #include "sfntly/font.h" 53 * Font class 55 Font::~Font() {} 57 bool Font::HasTable(int32_t tag) const { 61 Table* Font::GetTable(int32_t tag) { 67 const TableMap* Font::GetTableMap() { 71 void Font::Serialize(OutputStream* os, IntegerList* table_ordering) { 83 Font::Font(int32_t sfnt_version, ByteVector* digest 258 FontPtr font = new Font(sfnt_version_, &digest_); local [all...] |
/frameworks/minikin/include/minikin/ |
FontFamily.h | 32 class Font; 51 const Font* font; member in struct:minikin::FakedFont 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 [all...] |
/frameworks/base/libs/hwui/font/ |
Font.h | 39 // Font 47 * Represents a font, defined by a Skia font id and a font size. A font is used 50 class Font { 78 ~Font(); 86 const Font::FontDescription& getDescription() const { return mDescription; } 89 * Creates a new font associated with the specified font state [all...] |
/frameworks/base/rs/java/android/renderscript/ |
Font.java | 34 * rendered glyph bitmaps is maintained. Each font object represents a combination of a typeface, 35 * and point size. You can create multiple font objects to represent styles such as bold or italic text, 36 * faces, and different font sizes. During creation, the Android system quieries device's screen DPI to 39 * font to the RenderScript is required. A note of caution on performance, though the state changes 43 * <p>Font color and transparency are not part of the font object and you can freely modify 44 * them in the script to suit the user's rendering needs. Font colors work as a state machine. 47 public class Font extends BaseObj { 49 //These help us create a font by family name 151 Font(long id, RenderScript rs) [all...] |
/frameworks/minikin/libs/minikin/ |
FontFamily.cpp | 40 Font Font::Builder::build() { 42 // No need to read OS/2 header of the font file. 43 return Font(std::move(mTypeface), FontStyle(mWeight, mSlant), prepareFont(mTypeface)); 46 HbFontUniquePtr font = prepareFont(mTypeface); local 47 FontStyle styleFromFont = analyzeStyle(font); 54 return Font(std::move(mTypeface), FontStyle(mWeight, mSlant), std::move(font)); 58 HbFontUniquePtr Font::prepareFont(const std::shared_ptr<MinikinFont>& typeface) { 71 HbFontUniquePtr font(hb_font_create_sub_font(parent.get())) 147 const Font& font = mFonts[i]; local 158 const Font* font = getClosestMatch(FontStyle()).font; local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/ |
CreateAssetSetWizardState.java | 30 import java.awt.Font; 99 /** If {@link #sourceType} is a {@link SourceType#TEXT}, the font of the text to render */ 100 private Font mTextFont; 105 * Gets the text font to be used for text rendering if the 108 * @return the text font 111 public Font getTextFont() { 117 mTextFont = new java.awt.Font(familyName, java.awt.Font.BOLD, 512); 124 mTextFont = new java.awt.Font(familyName, java.awt.Font.BOLD, 512) [all...] |