Compares native font rendering, drawing state and resource behavior with the reference path.
Subsystem: Rendering, shaders, textures and lighting
Fixture/harness: font11tests
Setup: Explicit setup symbols: Fixture. The standalone Font11Tests harness owns the inputs, local helpers and assertion sink used by the case files below. Fixture is scoped to this harness; similarly named fixtures in other executables are independent.
Build/entry point: Tests/Font11Tests.vcxproj; declared configurations: Debug|Win32, Release|Win32.
Font11Tests.cpp
Source: Tests/Font11Tests.cpp
Select Font
Fixture: Font11 tests
Case symbol: SelectFont
Source: Tests/Font11Tests.cpp:63
- Test
- Select Font: native font; reference font; font metrics.
Source check messages (including original failure wording)
-
native font
-
reference font
-
font metrics
-
font metric parity
Draw
Fixture: Font11 tests
Case symbol: Draw
Source: Tests/Font11Tests.cpp:81
- Test
- Draw: native instrument background; reference instrument background; native text.
Source check messages (including original failure wording)
-
native instrument background
-
reference instrument background
-
native text
-
reference text
Save
Fixture: Font11 tests
Case symbol: Save
Source: Tests/Font11Tests.cpp:138
- Test
- Support check: verifies readback and export of the fixture image used for visual comparison.
Source check messages (including original failure wording)
Compare
Fixture: Font11 tests
Case symbol: Compare
Source: Tests/Font11Tests.cpp:143
- Test
- Compare: reference begin; reference end; reference read.
Source check messages (including original failure wording)
-
reference begin
-
reference end
-
reference read
-
reference map
-
native disabled depth
-
native raster
-
native begin
-
native end
-
caller raster state restored
-
caller topology restored
-
native map
-
nonempty text fixture
Debug Check
Fixture: Font11 tests
Case symbol: DebugCheck
Source: Tests/Font11Tests.cpp:194
- Test
- Support check: inspects graphics debug messages and rejects resource/state errors reported by the fixture.
Source check messages (including original failure wording)
Layout Edges
Fixture: Font11 tests
Case symbol: LayoutEdges
Source: Tests/Font11Tests.cpp:203
- Test
- Layout Edges: ANSI explicit-count layout; unsupported format rejected.
Source check messages (including original failure wording)
-
ANSI explicit-count layout
-
unsupported format rejected
Fixed Text Check
Fixture: Font11 tests
Case symbol: FixedTextCheck
Source: Tests/Font11Tests.cpp:225
- Test
- Fixed Text Check: fixed-pitch eligibility and proportional fallback; all digit pairs and printable ASCII preserve pixels; 1000 changing values reuse atlas without new runs.
Source check messages (including original failure wording)
-
fixed text begin
-
fixed text end
-
fixed text read
-
fixed font initialize
-
contact row draw
-
fixed-pitch eligibility and proportional fallback
-
glyph pair draw
-
all digit pairs and printable ASCII preserve pixels
-
changing contact distance
-
changing contact flush
-
changing contact end
-
1000 changing values reuse atlas without new runs
-
CALCRECT fallback
-
Unicode fallback
-
clipped explicit-count fallback
-
fallback end
-
benchmark contact draw
-
benchmark contact end
-
atlas released on font reset
Cache Check
Fixture: Font11 tests
Case symbol: CacheCheck
Source: Tests/Font11Tests.cpp:366
- Test
- Cache Check: cache sprite begin; cache first draw; cache hit across tint.
Source check messages (including original failure wording)
-
cache sprite begin
-
cache first draw
-
cache hit across tint
-
cache changing text
-
cache flush
-
cache end
-
cache bounds and eviction
-
cache reset
Entry-point checks
Fixture: Font11 tests
Case symbol: main
Source: Tests/Font11Tests.cpp:387
- Test
- Compares native font rendering, drawing state and resource behavior with the reference path. This entry point also runs the associated check groups.
Source check messages (including original failure wording)
-
authored test font registered