HomeSort by relevance Sort by last modified time
    Searched refs:Font (Results 1 - 25 of 179) sorted by null

1 2 3 4 5 6 7 8

  /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...]
merger_main.cc 23 #include "sfntly/font.h"
36 void CheckLoading(const char* font_path, Font* font) {
37 if (!font || font->num_tables() == 0) {
38 fprintf(stderr, "Could not load font %s. Terminating.\n", font_path);
51 Ptr<Font> font; local
52 font.Attach(LoadFont(argv[i]));
53 CheckLoading(argv[i], 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/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/
DemoUtility.java 12 import java.awt.Font;
25 public static final Font titleFont = new Font("TimesRoman",Font.BOLD,18);
26 public static final Font labelFont = new Font("TimesRoman",Font.BOLD,14);
27 public static final Font choiceFont = new Font("Helvetica",Font.BOLD,12)
    [all...]
  /external/harfbuzz_ng/src/
hb-graphite2.h 31 #include <graphite2/Font.h>
43 hb_graphite2_font_get_gr_font (hb_font_t *font);
  /external/mesa3d/src/mesa/drivers/x11/
xfonts.h 37 extern void Fake_glXUseXFont( Font font, int first, int count, int listbase );
  /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"
47 * Font class
49 Font::~Font() {}
51 bool Font::HasTable(int32_t tag) {
57 Table* Font::GetTable(int32_t tag) {
64 const TableMap* Font::GetTableMap() {
68 void Font::Serialize(OutputStream* os, IntegerList* table_ordering) {
80 Font::Font(int32_t sfnt_version, ByteVector* digest
255 FontPtr font = new Font(sfnt_version_, &digest_); local
    [all...]
font.h 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 o
    [all...]
  /frameworks/base/libs/hwui/font/
Font.h 37 // Font
45 * Represents a font, defined by a Skia font id and a font size. A font is used
48 class Font {
82 ~Font();
90 const Font::FontDescription& getDescription() const {
95 * Creates a new font associated with the specified font state
    [all...]
Font.cpp 28 #include "Font.h"
38 // Font
41 Font::Font(FontRenderer* state, const Font::FontDescription& desc) :
44 Font::FontDescription::FontDescription(const SkPaint* paint, const SkMatrix& rasterMatrix)
50 mFlags |= Font::kFakeBold;
59 ALOGW("Could not query the inverse lookup transform for this font");
63 Font::~Font() {
487 Font* font = state->mActiveFonts.get(description); local
    [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...]
  /external/sfntly/cpp/src/sample/chromium/
subsetter_impl.h 22 #include "sfntly/font.h"
65 CALLER_ATTACH Font* Subset(const IntegerSet& glyph_ids,
  /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...]

Completed in 383 milliseconds

1 2 3 4 5 6 7 8