summaryrefslogtreecommitdiff
path: root/tests/layouts/effigy.layout
diff options
context:
space:
mode:
Diffstat (limited to 'tests/layouts/effigy.layout')
-rw-r--r--tests/layouts/effigy.layout323
1 files changed, 175 insertions, 148 deletions
diff --git a/tests/layouts/effigy.layout b/tests/layouts/effigy.layout
index f8a24abd..2c4ea1fe 100644
--- a/tests/layouts/effigy.layout
+++ b/tests/layouts/effigy.layout
@@ -21,164 +21,191 @@
"wrap" : "char",
"width" : 81920,
"height" : 2048,
+ "log-attrs" : [
+ {
+ "char-break" : true,
+ "cursor-position" : true,
+ "word-start" : true,
+ "sentence-boundary" : true,
+ "sentence-start" : true,
+ "backspace-deletes-character" : true,
+ "word-boundary" : true
+ },
+ {
+ "char-break" : true,
+ "cursor-position" : true,
+ "break-inserts-hyphen" : true
+ },
+ {
+ "char-break" : true,
+ "cursor-position" : true,
+ "break-inserts-hyphen" : true
+ },
+ {
+ "char-break" : true,
+ "cursor-position" : true,
+ "break-inserts-hyphen" : true
+ },
+ {
+ "char-break" : true,
+ "cursor-position" : true,
+ "break-inserts-hyphen" : true
+ },
+ {
+ "char-break" : true,
+ "cursor-position" : true,
+ "break-inserts-hyphen" : true
+ },
+ {
+ "line-break" : true,
+ "mandatory-break" : true,
+ "char-break" : true,
+ "white" : true,
+ "cursor-position" : true,
+ "word-end" : true,
+ "sentence-boundary" : true,
+ "sentence-end" : true,
+ "word-boundary" : true
+ }
+ ],
"output" : {
- "is-wrapped" : true,
- "is-ellipsized" : false,
+ "wrapped" : true,
+ "ellipsized" : false,
+ "hypenated" : true,
"unknown-glyphs" : 0,
"width" : 71680,
"height" : 104448,
- "log-attrs" : [
- {
- "char-break" : true,
- "cursor-position" : true,
- "word-start" : true,
- "sentence-boundary" : true,
- "sentence-start" : true,
- "backspace-deletes-character" : true,
- "word-boundary" : true
- },
- {
- "char-break" : true,
- "cursor-position" : true,
- "break-inserts-hyphen" : true
- },
- {
- "char-break" : true,
- "cursor-position" : true,
- "break-inserts-hyphen" : true
- },
- {
- "char-break" : true,
- "cursor-position" : true,
- "break-inserts-hyphen" : true
- },
- {
- "char-break" : true,
- "cursor-position" : true,
- "break-inserts-hyphen" : true
- },
- {
- "char-break" : true,
- "cursor-position" : true,
- "break-inserts-hyphen" : true
- },
- {
- "line-break" : true,
- "mandatory-break" : true,
- "char-break" : true,
- "white" : true,
- "cursor-position" : true,
- "word-end" : true,
- "sentence-boundary" : true,
- "sentence-end" : true,
- "word-boundary" : true
- }
- ],
"lines" : [
{
- "start-index" : 0,
- "length" : 3,
- "paragraph-start" : true,
- "direction" : "ltr",
- "runs" : [
- {
- "offset" : 0,
- "length" : 3,
- "text" : "eff",
- "bidi-level" : 0,
- "gravity" : "south",
- "language" : "en-us",
- "script" : "latin",
- "font" : {
- "description" : "DejaVu Sans 32",
- "checksum" : "69ccd07023a72ceb27a5e5c22f728627353b60a198170f5e58dd7014221abf01",
- "matrix" : [
- 1,
- -0,
- -0,
- 1,
- 0,
- 0
- ]
- },
- "flags" : 4,
- "y-offset" : 0,
- "start-x-offset" : 0,
- "end-x-offset" : 0,
- "glyphs" : [
- {
- "glyph" : 72,
- "width" : 26624,
- "is-cluster-start" : true,
- "log-cluster" : 0
+ "position" : [
+ 0,
+ 40960
+ ],
+ "line" : {
+ "start-index" : 0,
+ "length" : 3,
+ "start-offset" : 0,
+ "n-chars" : 3,
+ "wrapped" : true,
+ "ellipsized" : false,
+ "hyphenated" : true,
+ "justified" : false,
+ "paragraph-start" : true,
+ "paragraph-end" : false,
+ "direction" : "ltr",
+ "runs" : [
+ {
+ "offset" : 0,
+ "length" : 3,
+ "text" : "eff",
+ "bidi-level" : 0,
+ "gravity" : "south",
+ "language" : "en-us",
+ "script" : "latin",
+ "font" : {
+ "description" : "DejaVu Sans 32",
+ "checksum" : "69ccd07023a72ceb27a5e5c22f728627353b60a198170f5e58dd7014221abf01",
+ "matrix" : [
+ 1,
+ -0,
+ -0,
+ 1,
+ 0,
+ 0
+ ]
},
- {
- "glyph" : 5041,
- "width" : 29696,
- "is-cluster-start" : true,
- "log-cluster" : 1
- },
- {
- "glyph" : 2803,
- "width" : 15360,
- "log-cluster" : 1
- }
- ]
- }
- ]
+ "flags" : 4,
+ "y-offset" : 0,
+ "start-x-offset" : 0,
+ "end-x-offset" : 0,
+ "glyphs" : [
+ {
+ "glyph" : 72,
+ "width" : 26624,
+ "is-cluster-start" : true,
+ "log-cluster" : 0
+ },
+ {
+ "glyph" : 5041,
+ "width" : 29696,
+ "is-cluster-start" : true,
+ "log-cluster" : 1
+ },
+ {
+ "glyph" : 2803,
+ "width" : 15360,
+ "log-cluster" : 1
+ }
+ ]
+ }
+ ]
+ }
},
{
- "start-index" : 3,
- "length" : 3,
- "paragraph-start" : false,
- "direction" : "ltr",
- "runs" : [
- {
- "offset" : 3,
- "length" : 3,
- "text" : "igy",
- "bidi-level" : 0,
- "gravity" : "south",
- "language" : "en-us",
- "script" : "latin",
- "font" : {
- "description" : "DejaVu Sans 32",
- "checksum" : "69ccd07023a72ceb27a5e5c22f728627353b60a198170f5e58dd7014221abf01",
- "matrix" : [
- 1,
- -0,
- -0,
- 1,
- 0,
- 0
- ]
- },
- "flags" : 0,
- "y-offset" : 0,
- "start-x-offset" : 0,
- "end-x-offset" : 0,
- "glyphs" : [
- {
- "glyph" : 76,
- "width" : 12288,
- "is-cluster-start" : true,
- "log-cluster" : 0
+ "position" : [
+ 0,
+ 93184
+ ],
+ "line" : {
+ "start-index" : 3,
+ "length" : 3,
+ "start-offset" : 3,
+ "n-chars" : 3,
+ "wrapped" : false,
+ "ellipsized" : false,
+ "hyphenated" : false,
+ "justified" : false,
+ "paragraph-start" : false,
+ "paragraph-end" : true,
+ "direction" : "ltr",
+ "runs" : [
+ {
+ "offset" : 3,
+ "length" : 3,
+ "text" : "igy",
+ "bidi-level" : 0,
+ "gravity" : "south",
+ "language" : "en-us",
+ "script" : "latin",
+ "font" : {
+ "description" : "DejaVu Sans 32",
+ "checksum" : "69ccd07023a72ceb27a5e5c22f728627353b60a198170f5e58dd7014221abf01",
+ "matrix" : [
+ 1,
+ -0,
+ -0,
+ 1,
+ 0,
+ 0
+ ]
},
- {
- "glyph" : 74,
- "width" : 27648,
- "is-cluster-start" : true,
- "log-cluster" : 1
- },
- {
- "glyph" : 92,
- "width" : 25600,
- "is-cluster-start" : true,
- "log-cluster" : 2
- }
- ]
- }
- ]
+ "flags" : 0,
+ "y-offset" : 0,
+ "start-x-offset" : 0,
+ "end-x-offset" : 0,
+ "glyphs" : [
+ {
+ "glyph" : 76,
+ "width" : 12288,
+ "is-cluster-start" : true,
+ "log-cluster" : 0
+ },
+ {
+ "glyph" : 74,
+ "width" : 27648,
+ "is-cluster-start" : true,
+ "log-cluster" : 1
+ },
+ {
+ "glyph" : 92,
+ "width" : 25600,
+ "is-cluster-start" : true,
+ "log-cluster" : 2
+ }
+ ]
+ }
+ ]
+ }
}
]
}