Searched refs:FontData (Results 1 - 25 of 50) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/platform/fonts/
H A DFontData.cpp27 #include "platform/fonts/FontData.h"
31 FontData::~FontData()
H A DFontData.h41 class PLATFORM_EXPORT FontData : public RefCounted<FontData> { class in namespace:blink
42 WTF_MAKE_NONCOPYABLE(FontData); WTF_MAKE_FAST_ALLOCATED;
44 FontData() function in class:blink::FontData
49 virtual ~FontData();
68 DEFINE_TYPE_CASTS(thisType, FontData, fontData, fontData->isSegmented() == predicate, fontData.isSegmented() == predicate)
H A DFontSelector.h36 class FontData;
42 virtual PassRefPtr<FontData> getFontData(const FontDescription&, const AtomicString& familyName) = 0;
H A DGlyphPageTreeNode.h42 class FontData;
45 // The glyph page tree is a data structure that maps (FontData, glyph page number)
51 // Each root node maps a FontData pointer to another GlyphPageTreeNode at
59 // A NULL FontData pointer corresponds to the system fallback
68 static GlyphPageTreeNode* getRootChild(const FontData* fontData, unsigned pageNumber)
73 static void pruneTreeCustomFontData(const FontData*);
76 void pruneCustomFontData(const FontData*);
80 GlyphPageTreeNode* getChild(const FontData*, unsigned pageNumber);
107 void initializePage(const FontData*, unsigned pageNumber);
116 typedef HashMap<const FontData*, OwnPt
[all...]
H A DFontFallbackList.cpp83 const FontData* fontData = fontDataAt(fontDescription, fontIndex);
139 const FontData* fontData = fontDataAt(fontDescription, fontIndex);
141 // All fonts are custom fonts and are loading. Return the first FontData.
181 PassRefPtr<FontData> FontFallbackList::getFontData(const FontDescription& fontDescription, int& familyIndex) const
183 RefPtr<FontData> result;
213 if (RefPtr<FontData> data = m_fontSelector->getFontData(fontDescription, FontFamilyNames::webkit_standard))
222 const FontData* FontFallbackList::fontDataAt(const FontDescription& fontDescription, unsigned realizedFontIndex) const
238 RefPtr<FontData> result = getFontData(fontDescription, m_familyIndex);
H A DFontFallbackList.h93 const FontData* fontDataAt(const FontDescription&, unsigned index) const;
111 PassRefPtr<FontData> getFontData(const FontDescription&, int& familyIndex) const;
117 mutable Vector<RefPtr<FontData>, 1> m_fontList;
H A DSegmentedFontData.h30 #include "platform/fonts/FontData.h"
56 class PLATFORM_EXPORT SegmentedFontData : public FontData {
H A DFont.h53 class FontData;
125 const FontData* fontDataAt(unsigned) const;
209 inline const FontData* Font::fontDataAt(unsigned index) const
H A DGlyphPageTreeNode.cpp96 void GlyphPageTreeNode::pruneTreeCustomFontData(const FontData* fontData)
135 void GlyphPageTreeNode::initializePage(const FontData* fontData, unsigned pageNumber)
147 // NULL FontData means we're being asked for the system fallback font.
321 GlyphPageTreeNode* GlyphPageTreeNode::getChild(const FontData* fontData, unsigned pageNumber)
351 void GlyphPageTreeNode::pruneCustomFontData(const FontData* fontData)
356 // Prune any branch that contains this FontData.
381 // Prune any branch that contains this FontData.
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/data/
H A Dfont_data.cc25 int32_t FontData::Size() const {
29 bool FontData::Bound(int32_t offset, int32_t length) {
38 bool FontData::Bound(int32_t offset) {
46 int32_t FontData::Length() const {
50 FontData::FontData(ByteArray* ba) { function in class:sfntly::FontData
54 FontData::FontData(FontData* data, int32_t offset, int32_t length) { function in class:sfntly::FontData
59 FontData function in class:sfntly::FontData
[all...]
H A Dfont_data.h51 class FontData : virtual public RefCount { class in namespace:sfntly
53 // Gets the maximum size of the FontData. This is the maximum number of bytes
59 // Sets limits on the size of the FontData. The FontData is then only
66 // Sets limits on the size of the FontData. This is a offset bound only so if
67 // the FontData is writable and growable then there is no limit to that growth
70 // size of the FontData
74 // Makes a slice of this FontData. The returned slice will share the data with
75 // the original <code>FontData</code>.
78 // @return a slice of the original FontData
[all...]
H A Dreadable_font_data.h48 class ReadableFontData : public FontData,
74 // @throws IndexOutOfBoundsException if index is outside the FontData's range
80 // @throws IndexOutOfBoundsException if index is outside the FontData's range
98 // @throws IndexOutOfBoundsException if index is outside the FontData's range
104 // @throws IndexOutOfBoundsException if index is outside the FontData's range
110 // @throws IndexOutOfBoundsException if index is outside the FontData's range
116 // @throws IndexOutOfBoundsException if index is outside the FontData's range
122 // @throws IndexOutOfBoundsException if index is outside the FontData's range
128 // @throws IndexOutOfBoundsException if index is outside the FontData's range
134 // @throws IndexOutOfBoundsException if index is outside the FontData'
[all...]
H A Dwritable_font_data.h59 // the FontData's range
69 // the FontData's range
88 // Writes padding to the FontData. The padding byte written is 0x00.
94 // Writes padding to the FontData.
105 // @throws IndexOutOfBoundsException if index is outside the FontData's range
112 // @throws IndexOutOfBoundsException if index is outside the FontData's range
119 // @throws IndexOutOfBoundsException if index is outside the FontData's range
126 // @throws IndexOutOfBoundsException if index is outside the FontData's range
133 // @throws IndexOutOfBoundsException if index is outside the FontData's range
140 // @throws IndexOutOfBoundsException if index is outside the FontData'
[all...]
H A Dreadable_font_data.cc28 : FontData(array),
257 CALLER_ATTACH FontData* ReadableFontData::Slice(int32_t offset,
270 CALLER_ATTACH FontData* ReadableFontData::Slice(int32_t offset) {
283 : FontData(data, offset),
291 : FontData(data, offset, length),
/external/sfntly/cpp/src/sfntly/data/
H A Dfont_data.cc25 int32_t FontData::Size() const {
29 bool FontData::Bound(int32_t offset, int32_t length) {
38 bool FontData::Bound(int32_t offset) {
46 int32_t FontData::Length() const {
50 FontData::FontData(ByteArray* ba) { function in class:sfntly::FontData
54 FontData::FontData(FontData* data, int32_t offset, int32_t length) { function in class:sfntly::FontData
59 FontData function in class:sfntly::FontData
[all...]
H A Dfont_data.h51 class FontData : virtual public RefCount { class in namespace:sfntly
53 // Gets the maximum size of the FontData. This is the maximum number of bytes
59 // Sets limits on the size of the FontData. The FontData is then only
66 // Sets limits on the size of the FontData. This is a offset bound only so if
67 // the FontData is writable and growable then there is no limit to that growth
70 // size of the FontData
74 // Makes a slice of this FontData. The returned slice will share the data with
75 // the original <code>FontData</code>.
78 // @return a slice of the original FontData
[all...]
H A Dreadable_font_data.h48 class ReadableFontData : public FontData,
74 // @throws IndexOutOfBoundsException if index is outside the FontData's range
80 // @throws IndexOutOfBoundsException if index is outside the FontData's range
98 // @throws IndexOutOfBoundsException if index is outside the FontData's range
104 // @throws IndexOutOfBoundsException if index is outside the FontData's range
110 // @throws IndexOutOfBoundsException if index is outside the FontData's range
116 // @throws IndexOutOfBoundsException if index is outside the FontData's range
122 // @throws IndexOutOfBoundsException if index is outside the FontData's range
128 // @throws IndexOutOfBoundsException if index is outside the FontData's range
134 // @throws IndexOutOfBoundsException if index is outside the FontData'
[all...]
H A Dwritable_font_data.h59 // the FontData's range
69 // the FontData's range
88 // Writes padding to the FontData. The padding byte written is 0x00.
94 // Writes padding to the FontData.
105 // @throws IndexOutOfBoundsException if index is outside the FontData's range
112 // @throws IndexOutOfBoundsException if index is outside the FontData's range
119 // @throws IndexOutOfBoundsException if index is outside the FontData's range
126 // @throws IndexOutOfBoundsException if index is outside the FontData's range
133 // @throws IndexOutOfBoundsException if index is outside the FontData's range
140 // @throws IndexOutOfBoundsException if index is outside the FontData'
[all...]
H A Dreadable_font_data.cc28 : FontData(array),
257 CALLER_ATTACH FontData* ReadableFontData::Slice(int32_t offset,
270 CALLER_ATTACH FontData* ReadableFontData::Slice(int32_t offset) {
283 : FontData(data, offset),
291 : FontData(data, offset, length),
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DCSSSegmentedFontFace.h42 class FontData;
65 PassRefPtr<FontData> getFontData(const FontDescription&);
H A DCSSFontSelector.h54 virtual PassRefPtr<FontData> getFontData(const FontDescription&, const AtomicString&) OVERRIDE;
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/
H A DDrawUtils.java18 import org.eclipse.swt.graphics.FontData;
372 FontData[] boldData = getModifiedFontData(baseFont, SWT.BOLD);
380 FontData[] boldData = getModifiedFontData(baseFont, SWT.BOLD | SWT.ITALIC);
388 FontData[] boldData = getModifiedFontData(baseFont, SWT.ITALIC);
393 * @return the array of {@link FontData} with the specified style.
395 private static FontData[] getModifiedFontData(Font baseFont, int style) {
396 FontData[] baseData = baseFont.getFontData();
397 FontData[] styleData = new FontData[baseData.length];
399 FontData bas
[all...]
/external/chromium_org/ui/gfx/
H A Drender_text_harfbuzz.cc44 struct FontData { struct in namespace:gfx::__anon16880
45 FontData(GlyphCache* glyph_cache) : glyph_cache_(glyph_cache) {} function in struct:gfx::__anon16880::FontData
102 FontData* font_data = reinterpret_cast<FontData*>(data);
120 FontData* font_data = reinterpret_cast<FontData*>(data);
137 hb_position_t GetGlyphKerning(FontData* font_data,
159 FontData* font_data = reinterpret_cast<FontData*>(data);
173 FontData* font_dat
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/ui/
H A DConfigTab.java27 import org.eclipse.swt.graphics.FontData;
552 FontData fdItalic = new FontData(fontDataName);
555 FontData fdBold = new FontData(fontDataName);
558 FontData fdBoldItalic = new FontData(fontDataName);
H A DComponentsView.java41 import org.eclipse.swt.graphics.FontData;
272 FontData[] fontData = (font==null ? JFaceResources.getDefaultFont() : font).getFontData();
273 FontData boldFontData = new FontData(fontData[0].getName(), fontData[0].getHeight(), SWT.BOLD);

Completed in 2734 milliseconds

12