HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

text-rendering

Description

The text-rendering property for CSS specifies a hint to the implementation about what tradeoffs to make as it renders text.

Syntax

CSS

text-rendering: value;

JS

object.style.textRendering = "value";

Values

<'text-rendering'> = auto | optimizeSpeed | optimizeLegibility | geometricPrecision
auto

Automatically specified by the user agent.

optimizeSpeed

Indicates that the user agent shall emphasize rendering speed over legibility and geometric precision.

optimizeLegibility

Indicates that the user agent shall emphasize legibility over rendering speed and geometric precision.

geometricPrecision

Indicates that the user agent shall emphasize geometric precision over legibility and rendering speed.

Initial

auto

Examples

1 · auto

2 · optimizeSpeed

3 · optimizeLegibility

4 · geometricPrecision

5 · JS