OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:glyphOverflow
(Results
1 - 10
of
10
) sorted by null
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
FontComplexTextMac.cpp
130
float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts,
GlyphOverflow
*
glyphOverflow
) const
138
if (
glyphOverflow
) {
139
glyphOverflow
->top = max<int>(
glyphOverflow
->top, ceilf(-controller.minGlyphBoundingBoxY()) - (
glyphOverflow
->computeBounds ? 0 : fontMetrics().ascent()));
140
glyphOverflow
->bottom = max<int>(
glyphOverflow
->bottom, ceilf(controller.maxGlyphBoundingBoxY()) - (
glyphOverflow
->computeBounds ? 0 : fontMetrics().descent()));
141
glyphOverflow
->left = max<int>(0, ceilf(-controller.minGlyphBoundingBoxX()))
[
all
...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderCombineText.cpp
58
float RenderCombineText::width(unsigned from, unsigned length, const Font& font, float xPosition, HashSet<const SimpleFontData*>* fallbackFonts,
GlyphOverflow
*
glyphOverflow
) const
66
return RenderText::width(from, length, font, xPosition, fallbackFonts,
glyphOverflow
);
RenderText.cpp
723
ALWAYS_INLINE float RenderText::widthFromCache(const Font& f, int start, int len, float xPos, HashSet<const SimpleFontData*>* fallbackFonts,
GlyphOverflow
*
glyphOverflow
) const
731
if (f.isFixedPitch() && !f.isSmallCaps() && m_isAllASCII && (!
glyphOverflow
|| !
glyphOverflow
->computeBounds)) {
770
return f.width(run, fallbackFonts,
glyphOverflow
);
[
all
...]
RootInlineBox.cpp
751
GlyphOverflow
*
glyphOverflow
= 0;
755
glyphOverflow
= it == textBoxDataMap.end() ? 0 : &it->value.second;
[
all
...]
InlineFlowBox.cpp
[
all
...]
RenderBlockLineLayout.cpp
449
GlyphOverflow
glyphOverflow
;
463
glyphOverflow
.computeBounds = true;
517
measuredWidth = renderer->width(run->m_start, run->m_stop - run->m_start, xPos, lineInfo.isFirstLine(), &fallbackFonts, &
glyphOverflow
);
522
GlyphOverflowAndFallbackFontsMap::iterator it = textBoxDataMap.add(toInlineTextBox(run->m_box), make_pair(Vector<const SimpleFontData*>(),
GlyphOverflow
())).iterator;
527
if ((
glyphOverflow
.top ||
glyphOverflow
.bottom ||
glyphOverflow
.left ||
glyphOverflow
.right)) {
529
GlyphOverflowAndFallbackFontsMap::iterator it = textBoxDataMap.add(toInlineTextBox(run->m_box), make_pair(Vector<const SimpleFontData*>(),
GlyphOverflow
())).iterator
[
all
...]
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
WidthCache.h
38
struct
GlyphOverflow
;
122
float* add(const TextRun& run, float entry, bool hasKerningOrLigatures, bool hasWordSpacingOrLetterSpacing,
GlyphOverflow
*
glyphOverflow
)
131
if (
glyphOverflow
)
FontFastPath.cpp
536
float Font::floatWidthForSimpleText(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts,
GlyphOverflow
*
glyphOverflow
) const
538
WidthIterator it(this, run, fallbackFonts,
glyphOverflow
);
542
if (
glyphOverflow
) {
543
glyphOverflow
->top = max<int>(
glyphOverflow
->top, ceilf(-it.minGlyphBoundingBoxY()) - (
glyphOverflow
->computeBounds ? 0 : fontMetrics().ascent()));
544
glyphOverflow
->bottom = max<int>(
glyphOverflow
->bottom, ceilf(it.maxGlyphBoundingBoxY()) - (
glyphOverflow
->computeBounds ? 0 : fontMetrics().descent()))
[
all
...]
Font.cpp
205
float Font::width(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts,
GlyphOverflow
*
glyphOverflow
) const
213
if (codePathToUse != SimpleWithGlyphOverflow && (
glyphOverflow
&& !
glyphOverflow
->computeBounds))
214
glyphOverflow
= 0;
219
float* cacheEntry = m_fontFallbackList->widthCache().add(run, std::numeric_limits<float>::quiet_NaN(), hasKerningOrLigatures, hasWordSpacingOrLetterSpacing,
glyphOverflow
);
225
result = floatWidthForComplexText(run, fallbackFonts,
glyphOverflow
);
227
result = floatWidthForSimpleText(run, fallbackFonts,
glyphOverflow
);
/external/chromium_org/third_party/WebKit/Source/core/rendering/line/
BreakingContextInlineHeaders.h
703
GlyphOverflow
glyphOverflow
;
705
return text->width(from, len, font, xPos, fallbackFonts, &
glyphOverflow
);
717
return font.width(run, fallbackFonts, &
glyphOverflow
);
[
all
...]
Completed in 204 milliseconds