Quality

lumin.glyph. Quality

new Quality(value)

Describes the quality vs. performance balance when rendering
with the font. Can be controlled with Font2dDesc when the
font resource is created. Note the quality levels above kStd
are still experimental and not recommended for most users.

Parameters:
Name Type Description
value number

Members

(static, constant) kEnh1 :lumin.glyph.Quality

Enhanced lvl 1 text, which uses preconditioned font data.

Type:

(static, constant) kEnh1AA :lumin.glyph.Quality

Uses same data as kEnh1 but applies extra anti-aliasing; slower than kEnh1.

Type:

(static, constant) kEnh1Fast :lumin.glyph.Quality

Uses the same data as kEnh1 with a less accurate but faster shader.

Type:

(static, constant) kEnh2 :lumin.glyph.Quality

Enhanced lvl 2 text, which uses different preconditioned data than kEnh1.

Type:

(static, constant) kEnh3 :lumin.glyph.Quality

Type:

(static, constant) kExper :lumin.glyph.Quality

Like kStd, but still in development. Experimental -- never for production use.

Type:

(static, constant) kFast :lumin.glyph.Quality

Fastest rendering, but the text quality is unacceptable for most use cases.

Type:

(static, constant) kStd :lumin.glyph.Quality

Standard quality, which is ideal for on-the-fly font loading.

Type:

(static, constant) kStd0 :lumin.glyph.Quality

N.B. these are still in development and deprecated; prefer kStd except for testing purposes.

Type:

value :number

Type:
  • number