Home
last modified time | relevance | path

Searched refs:kerning (Results 1 – 25 of 27) sorted by relevance

12

/external/webkit/Source/WebCore/rendering/svg/
DSVGTextLayoutEngineSpacing.cpp51 float kerning = 0; in calculateSVGKerning() local
54kerning = svgFont->verticalKerningForPairOfStringsAndGlyphs(m_lastGlyph.unicodeString, m_lastGlyph… in calculateSVGKerning()
56kerning = svgFont->horizontalKerningForPairOfStringsAndGlyphs(m_lastGlyph.unicodeString, m_lastGly… in calculateSVGKerning()
61 kerning *= m_font.size() / m_font.fontMetrics().unitsPerEm(); in calculateSVGKerning()
62 return kerning; in calculateSVGKerning()
72 float kerning = 0; in calculateCSSKerningAndSpacing() local
73 SVGLength kerningLength = style->kerning(); in calculateCSSKerningAndSpacing()
75 kerning = kerningLength.valueAsPercentage() * m_font.pixelSize(); in calculateCSSKerningAndSpacing()
77 kerning = kerningLength.value(lengthContext); in calculateCSSKerningAndSpacing()
82 if (!kerning && !m_font.letterSpacing() && !m_font.wordSpacing()) in calculateCSSKerningAndSpacing()
[all …]
DSVGTextLayoutEngine.cpp520 float kerning = spacingLayout.calculateSVGKerning(m_isVerticalText, visualMetrics.glyph()); in layoutTextOnLineOrPath() local
533 m_textPathCurrentOffset += m_dy - kerning; in layoutTextOnLineOrPath()
544 m_textPathCurrentOffset += m_dx - kerning; in layoutTextOnLineOrPath()
585 y -= kerning; in layoutTextOnLineOrPath()
587 x -= kerning; in layoutTextOnLineOrPath()
607 … if (!shouldStartNewFragment && (kerning || applySpacingToNextCharacter || definesTextLength)) in layoutTextOnLineOrPath()
/external/jmonkeyengine/engine/src/core/com/jme3/font/
DStringBlock.java53 private boolean kerning; field in StringBlock
70 boolean kerning) { in StringBlock() argument
76 this.kerning = kerning; in StringBlock()
85 this.kerning = true; in StringBlock()
150 return kerning; in isKerning()
153 void setKerning(boolean kerning) { in setKerning() argument
154 this.kerning = kerning; in setKerning()
DBitmapCharacter.java52 private IntMap<Integer> kerning = new IntMap<Integer>(); field in BitmapCharacter
65 result.kerning = kerning.clone(); in clone()
145 kerning.put(second, amount); in addKerning()
149 Integer i = kerning.get(second); in getKerning()
167 int[] seconds = new int[kerning.size()]; in write()
171 for (Entry<Integer> entry : kerning){ in write()
196 kerning.put(seconds[i], amounts[i]); in read()
/external/webkit/Source/WebCore/rendering/style/
DSVGRenderStyleDefs.cpp122 : kerning(SVGRenderStyle::initialKerning()) in StyleTextData()
128 , kerning(other.kerning) in StyleTextData()
134 return kerning == other.kerning; in operator ==()
DSVGRenderStyle.h197 if (!(text->kerning == obj)) in setKerning()
198 text.access()->kerning = obj; in setKerning()
303 SVGLength kerning() const { return text->kerning; } in kerning() function
DSVGRenderStyleDefs.h171 SVGLength kerning; variable
/external/webkit/Source/WebCore/svg/
DSVGFontElement.h37 float kerning; member
46 : kerning(0.0f) in SVGKerningPair()
DSVGHKernElement.cpp82 kerningPair.kerning = getAttribute(kAttr).string().toFloat(); in buildHorizontalKerningPair()
DSVGVKernElement.cpp80 kerningPair.kerning = getAttribute(kAttr).string().toFloat(); in buildVerticalKerningPair()
DSVGFontElement.cpp154 return it->kerning; in kerningForPairOfStringsAndGlyphs()
Dsvgattrs.in106 kerning
/external/freetype/src/truetype/
Dttdriver.c109 FT_Vector* kerning ) in tt_get_kerning() argument
115 kerning->x = 0; in tt_get_kerning()
116 kerning->y = 0; in tt_get_kerning()
119 kerning->x = sfnt->get_kerning( face, left_glyph, right_glyph ); in tt_get_kerning()
/external/freetype/src/cff/
Dcffdrivr.c106 FT_Vector* kerning ) in cff_get_kerning() argument
112 kerning->x = 0; in cff_get_kerning()
113 kerning->y = 0; in cff_get_kerning()
116 kerning->x = sfnt->get_kerning( face, left_glyph, right_glyph ); in cff_get_kerning()
/external/webkit/Source/WebCore/css/
DSVGCSSPropertyNames.in46 kerning
DSVGCSSComputedStyleDeclaration.cpp138 return SVGLength::toCSSPrimitiveValue(svgStyle->kerning()); in getSVGPropertyCSSValue()
DSVGCSSStyleSelector.cpp163 HANDLE_INHERIT_AND_INITIAL(kerning, Kerning); in applySVGProperty()
/external/freetype/include/freetype/internal/
Dftdriver.h99 FT_Vector* kerning );
/external/webkit/Tools/iExploder/iexploder-1.7.2/src/html-attrs/
Dmozilla274 kerning
/external/webkit/Source/WebCore/platform/mac/
DHTMLConverter.mm613 CGFloat fontSize = 0, baselineOffset = 0, kerning = 0;
668 …if ([self _getFloat:&kerning forNode:element property:@"letter-spacing"]) [attrs setObject:[NSNumb…
/external/webkit/Source/WebKit/mac/WebView/
DWebHTMLView.mm4605 NSKernAttributeName /* float, amount to modify default kerning, if 0, kerning off */
/external/webkit/Source/WebKit/mac/
DChangeLog-2006-02-091972 Test: fast/text/atsui-kerning-and-ligatures.html
1975 Disable kerning and some ligatures in the ATSUI code path
1978 (initializeATSUStyle): Disable kerning; disable ligatures unless the font
/external/webkit/Source/WebCore/
DChangeLog-2010-01-2913034 <rdar://problem/7525778> Font fallback kills SVG kerning
14330 Test: platform/mac/fast/text/line-breaking-with-kerning.html
14333 (WebCore::RenderBlock::findNextLineBreak): When kerning is enabled, include
14335 accounts for kerning between the last glyph of the word and the following space.
52089 optimizeLegibility = geometricPrecision = ligatures kerning
52128 kerning and ligatures have been enabled with this property.
52144 Enable kerning and ligatures whenever the TextRenderingMode is
DChangeLog-2008-08-1037382 …- SVG kerning support (horizontal kerning only for now since we don't do vertical text layout righ…
80424 Add support for 'kerning' property in SVG text layout code.
80428 Fix text selection when any spacing (letter/word/kerning) is involved.
80432 svg/batik/text/textLayout.svg (kerning support)
DChangeLog-2007-10-14340 Partly fixed: svg/batik/text/textOnPathSpaces.svg (kerning support missing)
3453 - 'kerning' property ignored
51211 Handle baseline-shift / kerning css values correctly.

12