\addtogroup rendering_backend_interfaces Rendering Backend Interfaces
 @{


 Abstracts a description of a 'composite glyph' (character string
 with associated font and styling information) in the SVG rendering
 backend for use by a rendering engine's nsISVGRendererGlyphMetrics
 objects.

 An engine-native glyph metrics object will be informed of changes
 in its associated composite glyph with a call to its
 nsISVGRendererGlyphMetrics::update() method with an OR-ed
 combination of the UPDATEMASK_* constants defined in this interface
 (and its base-interface).

 @nosubgrouping
[uuid(bcd7ce03-9f17-4af1-9763-f44a323695e3)]
interface nsISVGGlyphMetricsSource : nsISVGGeometrySource

Constants


          
const unsigned long UPDATEMASK_FONT = 32768

          
const unsigned long UPDATEMASK_CHARACTER_DATA = 65536

          
const unsigned long UPDATEMASK_CHARACTER_POSITION = 131072
 @} */

 @name Text rendering mode
 @{
const unsigned short TEXT_RENDERING_AUTO = 0

          
const unsigned short TEXT_RENDERING_OPTIMIZESPEED = 1

          
const unsigned short TEXT_RENDERING_OPTIMIZELEGIBILITY = 2

          
const unsigned short TEXT_RENDERING_GEOMETRICPRECISION = 3

          
const unsigned long UPDATEMASK_TEXT_RENDERING = 262144

Attributes

 @} */

 @name Character data
 @{
readonly attribute DOMString characterData
 @name Font
 @{
readonly attribute nsFont font

          
readonly attribute unsigned short textRendering

Methods

 @} */

 @name Character positioning information
 @{
void GetCharacterPosition(out nsSVGCharacterPosition aCP)