Searched refs:fontSize (Results 1 - 25 of 61) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderThemeChromiumFontProviderLinux.cpp38 void RenderThemeChromiumFontProvider::setDefaultFontSize(int fontSize) argument
40 s_defaultFontSize = static_cast<float>(fontSize);
46 float fontSize = s_defaultFontSize; local
57 fontSize -= (2.0f / pointsPerInch) * pixelsPerInch;
64 fontDescription.setSpecifiedSize(fontSize);
H A DRenderThemeChromiumFontProviderWin.cpp127 float fontSize = 0; local
135 fontSize = systemFontSize(metrics.lfSmCaptionFont);
144 fontSize = systemFontSize(metrics.lfMenuFont);
153 fontSize = systemFontSize(metrics.lfStatusFont);
161 fontSize = s_defaultFontSize - pointsToPixels(2);
165 fontSize = s_defaultFontSize;
172 if (fontSize) {
176 cachedDesc->setSpecifiedSize(fontSize);
184 void RenderThemeChromiumFontProvider::setDefaultFontSize(int fontSize) argument
186 s_defaultFontSize = static_cast<float>(fontSize);
[all...]
H A DRenderRubyText.cpp80 inset = min<float>(2 * style()->fontSize(), inset);
H A DRenderRubyRun.cpp304 if (!startRenderer || !startRenderer->isText() || startRenderer->style(firstLine)->fontSize() > rubyBase->style(firstLine)->fontSize())
307 if (!endRenderer || !endRenderer->isText() || endRenderer->style(firstLine)->fontSize() > rubyBase->style(firstLine)->fontSize())
313 int halfWidthOfFontSize = rubyText->style(firstLine)->fontSize() / 2;
H A DRenderInputSpeech.cpp50 float fontScale = style->fontSize() / defaultControlFontPixelSize;
H A DRenderThemeChromiumSkia.cpp209 float fontScale = style->fontSize() / defaultControlFontPixelSize;
263 float fontScale = style->fontSize() / defaultControlFontPixelSize;
388 void RenderThemeChromiumSkia::setDefaultFontSize(int fontSize) argument
390 RenderThemeChromiumFontProvider::setDefaultFontSize(fontSize);
/external/chromium_org/content/browser/renderer_host/
H A Dwebmenurunner_mac.h43 fontSize:(CGFloat)fontSize
/external/chromium/webkit/glue/
H A Dwebmenurunner_mac.h43 fontSize:(CGFloat)fontSize
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGFontData.h43 virtual void initializeFontData(SimpleFontData*, float fontSize) OVERRIDE;
44 virtual float widthForSVGGlyph(Glyph, float fontSize) const OVERRIDE;
H A DSVGFontData.cpp59 void SVGFontData::initializeFontData(SimpleFontData* fontData, float fontSize) argument
77 float scale = scaleEmToUnits(fontSize, unitsPerEm);
81 float lineGap = 0.1f * fontSize;
121 float SVGFontData::widthForSVGGlyph(Glyph glyph, float fontSize) const
131 return svgGlyph.horizontalAdvanceX * scaleEmToUnits(fontSize, svgFontFaceElement->unitsPerEm());
H A DSVGLengthContext.cpp228 float fontSize = style->specifiedFontSize(); local
229 if (!fontSize) {
234 return value / fontSize;
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
H A DFontCacheKey.h52 FontCacheKey(AtomicString familyName, float fontSize, unsigned options) argument
54 , m_fontSize(fontSize * s_fontSizePrecisionMultiplier)
H A DSimpleFontData.cpp66 SimpleFontData::SimpleFontData(PassRefPtr<CustomFontData> customData, float fontSize, bool syntheticBold, bool syntheticItalic) argument
67 : m_platformData(FontPlatformData(fontSize, syntheticBold, syntheticItalic))
78 m_customFontData->initializeFontData(this, fontSize);
H A DSimpleFontData.h66 static PassRefPtr<SimpleFontData> create(PassRefPtr<CustomFontData> customData, float fontSize, bool syntheticBold, bool syntheticItalic) argument
68 return adoptRef(new SimpleFontData(customData, fontSize, syntheticBold, syntheticItalic));
182 SimpleFontData(PassRefPtr<CustomFontData> customData, float fontSize, bool syntheticBold, bool syntheticItalic);
H A DFontCache.h137 FontPlatformData* createFontPlatformData(const FontDescription&, const AtomicString& family, float fontSize);
/external/chromium_org/chrome/browser/resources/local_ntp/
H A Dmost_visited_util.js96 link.style.fontSize = styles.fontSize + 'px';
142 fontSize: 11
155 styles.fontSize = parseInt(params.fs, 10);
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/
H A DPasswordGeneratorButtonElement.cpp86 style->setWidth(Length(inputStyle->fontSize(), Fixed));
87 style->setHeight(Length(inputStyle->fontSize(), Fixed));
/external/chromium_org/ui/keyboard/resources/
H A Dmain.js11 keyboard.style.fontSize = (height / FONT_SIZE_RATIO / ROW_LENGTH) + 'px';
/external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/
H A DFontCacheSkia.cpp135 FontPlatformData* FontCache::createFontPlatformData(const FontDescription& fontDescription, const AtomicString& family, float fontSize) argument
144 fontSize,
H A DFontCacheSkiaWin.cpp193 FontPlatformData* FontCache::createFontPlatformData(const FontDescription& fontDescription, const AtomicString& family, float fontSize) argument
211 fontSize,
/external/chromium-trace/trace-viewer/src/ui/
H A Dvalue_bar_test.js158 element.style.fontSize = '25px';
162 element.style.fontSize = '25px';
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/sampleentry/
H A DTextSampleEntry.java270 int fontSize; field in class:TextSampleEntry.StyleRecord
278 fontSize = IsoTypeReader.readUInt8(in);
292 IsoTypeWriter.writeUInt8(bb, fontSize);
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
H A DFontCacheMac.mm194 FontPlatformData* FontCache::createFontPlatformData(const FontDescription& fontDescription, const AtomicString& family, float fontSize)
198 float size = fontSize;
/external/chromium_org/third_party/skia/src/pdf/
H A DSkPDFFont.cpp578 int fontSize = fontData->getLength();
584 originalFont.setCount(fontSize);
585 if (fontData->read(originalFont.begin(), fontSize) == (size_t)fontSize) {
593 fontSize,
603 fontSize = subsetFontSize;
608 return fontSize;
618 return fontSize;
1115 int fontSize = get_subset_font_stream(fontInfo()->fFontName.c_str(),
1119 SkASSERT(fontSize);
[all...]
/external/skia/src/pdf/
H A DSkPDFFont.cpp578 int fontSize = fontData->getLength();
584 originalFont.setCount(fontSize);
585 if (fontData->read(originalFont.begin(), fontSize) == (size_t)fontSize) {
593 fontSize,
603 fontSize = subsetFontSize;
608 return fontSize;
618 return fontSize;
1115 int fontSize = get_subset_font_stream(fontInfo()->fFontName.c_str(),
1119 SkASSERT(fontSize);
[all...]

Completed in 1321 milliseconds

123