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

123

/external/webkit/Source/WebCore/rendering/mathml/
H A DRenderMathMLSquareRoot.cpp96 maxHeight = style()->fontSize();
98 int frontWidth = static_cast<int>(style()->fontSize() * gRadicalWidth);
101 int thresholdHeight = static_cast<int>(gThresholdBaseHeight * style()->fontSize());
115 FloatPoint leftEnd(tx , topLeft.y() + gRadicalLeftEndYShift * style()->fontSize());
119 info.context->setStrokeThickness(gRadicalLineThickness * style()->fontSize());
123 info.context->setMiterLimit(style()->fontSize());
152 info.context->setStrokeThickness(gRadicalThickLineThickness * style()->fontSize());
184 maxHeight = style()->fontSize();
187 if (maxHeight > static_cast<int>(gThresholdBaseHeight * style()->fontSize()))
188 style()->setPaddingBottom(Length(static_cast<int>(gRootBottomPadding * style()->fontSize()), Fixe
[all...]
H A DRenderMathMLRoot.cpp115 maxHeight = style()->fontSize();
128 int frontWidth = static_cast<int>(style()->fontSize() * gRadicalWidth);
131 int thresholdHeight = static_cast<int>(gThresholdBaseHeight * style()->fontSize());
142 int rootPad = static_cast<int>(gRootPadding * style()->fontSize());
149 FloatPoint leftEnd(start - frontWidth , topLeft.y() + gRadicalLeftEndYShift * style()->fontSize());
153 info.context->setStrokeThickness(gRadicalLineThickness * style()->fontSize());
157 info.context->setMiterLimit(style()->fontSize());
186 info.context->setStrokeThickness(gRadicalThickLineThickness * style()->fontSize());
215 maxHeight = style()->fontSize();
218 int thresholdHeight = static_cast<int>(gThresholdBaseHeight * style()->fontSize());
[all...]
H A DRenderMathMLFraction.cpp98 lastChild()->style()->setPaddingTop(Length(static_cast<int>(m_lineThickness + style()->fontSize() * gDenominatorPad), Fixed));
107 Length pad(static_cast<int>(rowStyle->fontSize() * gHorizontalPad), Fixed);
128 m_lineThickness *= ceilf(gFractionBarWidth * style()->fontSize());
H A DRenderMathMLSubSup.cpp141 return static_cast<int>(style()->fontSize()*gSubSupStretch);
142 return static_cast<int>(style()->fontSize());
/external/chromium/webkit/glue/
H A Dwebmenurunner_mac.h43 fontSize:(CGFloat)fontSize
/external/webkit/Source/WebCore/rendering/
H A DRenderRubyText.cpp78 inset = min<float>(2 * style()->fontSize(), inset);
H A DRenderRubyRun.cpp290 int logicalLeftOverhang = rubyText->style(firstLine)->fontSize() / 2;
301 if (!startRenderer || !startRenderer->isText() || startRenderer->style(firstLine)->fontSize() > rubyBase->style(firstLine)->fontSize())
304 if (!endRenderer || !endRenderer->isText() || endRenderer->style(firstLine)->fontSize() > rubyBase->style(firstLine)->fontSize())
H A DRenderThemeSafari.cpp200 float fontSize = 0; local
205 fontSize = systemFontSizeForControlSize(NSSmallControlSize);
210 fontSize = systemFontSizeForControlSize(NSRegularControlSize);
215 fontSize = 10.0f;
220 fontSize = systemFontSizeForControlSize(NSMiniControlSize);
225 fontSize = systemFontSizeForControlSize(NSSmallControlSize);
230 fontSize = systemFontSizeForControlSize(NSRegularControlSize);
235 fontSize = 13.0f;
238 if (fontSize) {
242 cachedDesc->setSpecifiedSize(fontSize);
342 int fontSize = style->fontSize(); local
391 float fontSize = systemFontSizeForControlSize(controlSize); local
405 int fontSize = style->fontSize(); local
[all...]
H A DRenderThemeChromiumSkia.cpp164 float fontSize = defaultFontSize; local
175 fontSize -= (2.0f / pointsPerInch) * pixelsPerInch;
180 fontDescription.setSpecifiedSize(fontSize);
256 float fontScale = style->fontSize() / defaultControlFontPixelSize;
310 float fontScale = style->fontSize() / defaultControlFontPixelSize;
344 float fontScale = style->fontSize() / defaultControlFontPixelSize;
505 void RenderThemeChromiumSkia::setDefaultFontSize(int fontSize) argument
507 defaultFontSize = static_cast<float>(fontSize);
H A DRenderInputSpeech.cpp52 float fontScale = style->fontSize() / defaultControlFontPixelSize;
H A DRenderThemeChromiumWin.cpp298 float fontSize = 0; local
306 fontSize = systemFontSize(metrics.lfSmCaptionFont);
315 fontSize = systemFontSize(metrics.lfMenuFont);
324 fontSize = systemFontSize(metrics.lfStatusFont);
332 fontSize = defaultFontSize - pointsToPixels(2);
336 fontSize = defaultFontSize;
343 if (fontSize) {
347 cachedDesc->setSpecifiedSize(fontSize);
519 void RenderThemeChromiumWin::setDefaultFontSize(int fontSize) argument
521 RenderThemeChromiumSkia::setDefaultFontSize(fontSize);
[all...]
H A DRenderMarquee.cpp245 if (s->height().isFixed() && s->height().value() < s->fontSize())
246 s->setHeight(Length(s->fontSize(), Fixed));
/external/webkit/Source/WebKit/win/Interfaces/
H A DIWebPreferences.idl101 HRESULT defaultFontSize([out, retval] int* fontSize);
102 HRESULT setDefaultFontSize([in] int fontSize);
104 HRESULT defaultFixedFontSize([out, retval] int* fontSize);
105 HRESULT setDefaultFixedFontSize([in] int fontSize);
107 HRESULT minimumFontSize([out, retval] int* fontSize);
108 HRESULT setMinimumFontSize([in] int fontSize);
110 HRESULT minimumLogicalFontSize([out, retval] int* fontSize);
111 HRESULT setMinimumLogicalFontSize([in] int fontSize);
/external/webkit/Source/WebKit2/UIProcess/API/qt/
H A Dqwkpreferences.h67 int fontSize(FontSize type) const;
/external/webkit/Source/WebCore/platform/graphics/wince/
H A DSimpleFontDataWinCE.cpp161 SIZE fontSize; local
163 GetTextExtentPoint32(g_screenDC, &c, 1, &fontSize);
167 return (float)fontSize.cx * (float)m_platformData.size() / 72.f;
/external/webkit/LayoutTests/fast/dom/HTMLFontElement/script-tests/
H A Dsize-attribute.js12 var result = computedStyle.fontSize;
/external/webkit/Source/WebCore/platform/graphics/chromium/
H A DCrossProcessFontLoading.mm177 // * fontSize - point size of the font we wish to load.
184 void FontPlatformData::loadFont(NSFont* nsFont, float fontSize, NSFont*& outNSFont, CGFontRef& cgFont)
204 outNSFont = [NSFont fontWithName:@"Times" size:fontSize];
/external/webkit/Source/WebKit/win/
H A DWebPreferences.h95 /* [retval][out] */ int* fontSize);
98 /* [in] */ int fontSize);
101 /* [retval][out] */ int* fontSize);
104 /* [in] */ int fontSize);
107 /* [retval][out] */ int* fontSize);
110 /* [in] */ int fontSize);
113 /* [retval][out] */ int* fontSize);
116 /* [in] */ int fontSize);
H A DWebPreferences.cpp652 /* [retval][out] */ int* fontSize)
654 *fontSize = integerValueForKey(CFSTR(WebKitDefaultFontSizePreferenceKey));
659 /* [in] */ int fontSize)
661 setIntegerValue(CFSTR(WebKitDefaultFontSizePreferenceKey), fontSize); local
666 /* [retval][out] */ int* fontSize)
668 *fontSize = integerValueForKey(CFSTR(WebKitDefaultFixedFontSizePreferenceKey));
673 /* [in] */ int fontSize)
675 setIntegerValue(CFSTR(WebKitDefaultFixedFontSizePreferenceKey), fontSize); local
680 /* [retval][out] */ int* fontSize)
682 *fontSize
651 defaultFontSize( int* fontSize) argument
658 setDefaultFontSize( int fontSize) argument
665 defaultFixedFontSize( int* fontSize) argument
672 setDefaultFixedFontSize( int fontSize) argument
679 minimumFontSize( int* fontSize) argument
686 setMinimumFontSize( int fontSize) argument
689 setIntegerValue(CFSTR(WebKitMinimumFontSizePreferenceKey), fontSize); local
693 minimumLogicalFontSize( int* fontSize) argument
700 setMinimumLogicalFontSize( int fontSize) argument
703 setIntegerValue(CFSTR(WebKitMinimumLogicalFontSizePreferenceKey), fontSize); local
[all...]
/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/webkit/Source/WebCore/svg/
H A DSVGLength.cpp410 float fontSize = style->fontSize(); local
411 if (!fontSize) {
416 return value / fontSize;
427 return value * style->fontSize();
/external/webkit/Source/WebCore/platform/gtk/
H A DRenderThemeGtk.cpp285 int fontSize = style->fontSize(); local
286 if (fontSize < gtkIconSizeMenu) {
287 style->setWidth(Length(fontSize, Fixed));
288 style->setHeight(Length(fontSize, Fixed));
292 gtk_icon_size_lookup(getIconSizeForPixelSize(fontSize), &width, &height);
/external/webkit/Source/WebKit/qt/Api/
H A Dqwebsettings.h106 int fontSize(FontSize type) const;
/external/skia/src/pdf/
H A DSkPDFFont.cpp550 int fontSize = fontData->getLength();
556 originalFont.setCount(fontSize);
557 if (fontData->read(originalFont.begin(), fontSize) == (size_t)fontSize) {
565 fontSize,
575 fontSize = subsetFontSize;
580 return fontSize;
586 return fontSize;
1078 int fontSize = get_subset_font_stream(fontInfo()->fFontName.c_str(),
1082 SkASSERT(fontSize);
[all...]
/external/webkit/Tools/DumpRenderTree/mac/
H A DTextInputController.m143 - (void)addFontAttribute:(NSString *)attrName fontName:(NSString *)fontName size:(float)fontSize
145 [self addAttribute:attrName value:[NSFont fontWithName:fontName size:fontSize] range:NSMakeRange(0, [self length])];
148 - (void)addFontAttribute:(NSString *)attrName fontName:(NSString *)fontName size:(float)fontSize from:(int)from length:(int)length
150 [self addAttribute:attrName value:[NSFont fontWithName:fontName size:fontSize] range:NSMakeRange((unsigned)from, (unsigned)length)];

Completed in 511 milliseconds

123