KHTML
SVGFontFaceElement.cpp
Go to the documentation of this file.
64 static void mapAttributeToCSSProperty(HashMap<AtomicStringImpl*, int>* propertyNameToIdMap, const QualifiedName& attrName)
154 // Spec: The X-coordinate in the font coordinate system of the origin of a glyph to be used when
155 // drawing horizontally oriented text. (Note that the origin applies to all glyphs in the font.)
169 // Spec: The Y-coordinate in the font coordinate system of the origin of a glyph to be used when
170 // drawing horizontally oriented text. (Note that the origin applies to all glyphs in the font.)
184 // Spec: The default horizontal advance after rendering a glyph in horizontal orientation. Glyph
185 // widths are required to be non-negative, even if the glyph is typically rendered right-to-left,
199 // Spec: The default X-coordinate in the font coordinate system of the origin of a glyph to be used when
200 // drawing vertically oriented text. If the attribute is not specified, the effect is as if the attribute
214 // Spec: The default Y-coordinate in the font coordinate system of the origin of a glyph to be used when
215 // drawing vertically oriented text. If the attribute is not specified, the effect is as if the attribute
229 // Spec: The default vertical advance after rendering a glyph in vertical orientation. If the attribute is
230 // not specified, the effect is as if a value equivalent of one em were specified (see units-per-em).
243 // Spec: Same syntax and semantics as the 'ascent' descriptor within an @font-face rule. The maximum
244 // unaccented height of the font within the font coordinate system. If the attribute is not specified,
245 // the effect is as if the attribute were set to the difference between the units-per-em value and the
264 // Spec: Same syntax and semantics as the 'descent' descriptor within an @font-face rule. The maximum
265 // unaccented depth of the font within the font coordinate system. If the attribute is not specified,
266 // the effect is as if the attribute were set to the vert-origin-y value for the corresponding font.
310 // @font-face (CSSFontFace) does not yet support definition-src, as soon as it does this code should do the trick!
312 m_styleDeclaration->setProperty(CSSPropertyDefinitionSrc, definitionSrc->getAttribute(XLinkNames::hrefAttr), false);
341 if (CSSFontFaceSrcValue* item = static_cast<CSSFontFaceSrcValue*>(srcList->itemWithoutBoundsCheck(i)))
355 void SVGFontFaceElement::childrenChanged(bool changedByParser, Node* beforeChange, Node* afterChange, int childCountDelta)
DOM::QualifiedName horiz_origin_xAttr
Definition: SVGNames.cpp:188
DOM::QualifiedName horiz_origin_yAttr
Definition: SVGNames.cpp:189
void append(const T &value)
DOM::QualifiedName vert_origin_xAttr
Definition: SVGNames.cpp:329
DOM::QualifiedName vert_origin_yAttr
Definition: SVGNames.cpp:330
QStringList list(const QString &fileClass)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.