mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-05 13:32:45 -05:00
Tests: wrap the unhinted sample test's doc comment like the rest of the file
This commit is contained in:
1 parent
1efdc3ffb1
commit
4e9a761be2
1 file changed
+3
-3
@@ -78,9 +78,9 @@ fn samples_show_the_text_in_the_family_or_a_generic_sample() {
|
||||
/// A face with no hinting instructions draws a sample in a context the app has adopted, as the font list and the
|
||||
/// font picker draw each family's sample in its own face (a document face of the context): a Hebrew letter that is a
|
||||
/// bar 20 by 700 thousandths of an em. The context hints text in both themes, so the sample goes through skrifa's
|
||||
/// automatic hinter, whose blue-zone search for such a letter ends with the pinned skrifa. The face is served to the fixture's context only, so the font database other tests read does not change. The
|
||||
/// sample is one rasterized glyph from that face. It is drawn on a thread of its own, and the test fails when it has
|
||||
/// not ended after 300 s.
|
||||
/// automatic hinter, whose blue-zone search for such a letter ends with the pinned skrifa. The face is served to the
|
||||
/// fixture's context only, so the font database other tests read does not change. The sample is one rasterized glyph
|
||||
/// from that face. It is drawn on a thread of its own, and the test fails when it has not ended after 300 s.
|
||||
#[test]
|
||||
fn a_face_without_hinting_instructions_draws_its_sample() {
|
||||
use std::sync::{Arc, Mutex};
|
||||
|
||||
Reference in new issue
Block a user