summaryrefslogtreecommitdiff
path: root/tests/layouts/aaa.layout
diff options
context:
space:
mode:
Diffstat (limited to 'tests/layouts/aaa.layout')
-rw-r--r--tests/layouts/aaa.layout600
1 files changed, 348 insertions, 252 deletions
diff --git a/tests/layouts/aaa.layout b/tests/layouts/aaa.layout
index 829e74c8..d290e7eb 100644
--- a/tests/layouts/aaa.layout
+++ b/tests/layouts/aaa.layout
@@ -19,276 +19,372 @@
"wrap" : "char",
"width" : 0,
"line-spacing" : 1.2999999523162842,
+ "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,
+ "white" : true,
+ "cursor-position" : true,
+ "word-end" : true,
+ "sentence-end" : true,
+ "expandable-space" : true,
+ "word-boundary" : true
+ },
+ {
+ "line-break" : true,
+ "mandatory-break" : true,
+ "char-break" : true,
+ "white" : true,
+ "cursor-position" : true,
+ "sentence-boundary" : true,
+ "word-boundary" : true
+ }
+ ],
"output" : {
- "is-wrapped" : true,
- "is-ellipsized" : false,
+ "wrapped" : true,
+ "ellipsized" : false,
+ "hypenated" : true,
"unknown-glyphs" : 0,
"width" : 41984,
- "height" : 318464,
- "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,
- "white" : true,
- "cursor-position" : true,
- "word-end" : true,
- "sentence-end" : true,
- "expandable-space" : true,
- "word-boundary" : true
- },
- {
- "line-break" : true,
- "mandatory-break" : true,
- "char-break" : true,
- "white" : true,
- "cursor-position" : true,
- "sentence-boundary" : true,
- "word-boundary" : true
- }
- ],
+ "height" : 323792,
"lines" : [
{
- "start-index" : 0,
- "length" : 1,
- "paragraph-start" : true,
- "direction" : "ltr",
- "runs" : [
- {
- "offset" : 0,
- "length" : 1,
- "text" : "a",
- "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" : 68,
- "width" : 26624,
- "is-cluster-start" : true,
- "log-cluster" : 0
+ "position" : [
+ 0,
+ 40960
+ ],
+ "line" : {
+ "start-index" : 0,
+ "length" : 1,
+ "start-offset" : 0,
+ "n-chars" : 1,
+ "wrapped" : true,
+ "ellipsized" : false,
+ "hyphenated" : true,
+ "justified" : false,
+ "paragraph-start" : true,
+ "paragraph-end" : false,
+ "direction" : "ltr",
+ "runs" : [
+ {
+ "offset" : 0,
+ "length" : 1,
+ "text" : "a",
+ "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" : 2803,
- "width" : 15360,
- "log-cluster" : 0
- }
- ]
- }
- ]
+ "flags" : 4,
+ "extra-attributes" : [
+ {
+ "type" : "line-height",
+ "value" : 1.2999999523162842
+ }
+ ],
+ "y-offset" : 0,
+ "start-x-offset" : 0,
+ "end-x-offset" : 0,
+ "glyphs" : [
+ {
+ "glyph" : 68,
+ "width" : 26624,
+ "is-cluster-start" : true,
+ "log-cluster" : 0
+ },
+ {
+ "glyph" : 2803,
+ "width" : 15360,
+ "log-cluster" : 0
+ }
+ ]
+ }
+ ]
+ }
},
{
- "start-index" : 1,
- "length" : 1,
- "paragraph-start" : false,
- "direction" : "ltr",
- "runs" : [
- {
- "offset" : 1,
- "length" : 1,
- "text" : "a",
- "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" : 68,
- "width" : 26624,
- "is-cluster-start" : true,
- "log-cluster" : 0
+ "position" : [
+ 0,
+ 108852
+ ],
+ "line" : {
+ "start-index" : 1,
+ "length" : 1,
+ "start-offset" : 1,
+ "n-chars" : 1,
+ "wrapped" : true,
+ "ellipsized" : false,
+ "hyphenated" : true,
+ "justified" : false,
+ "paragraph-start" : false,
+ "paragraph-end" : false,
+ "direction" : "ltr",
+ "runs" : [
+ {
+ "offset" : 1,
+ "length" : 1,
+ "text" : "a",
+ "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" : 2803,
- "width" : 15360,
- "log-cluster" : 0
- }
- ]
- }
- ]
+ "flags" : 4,
+ "extra-attributes" : [
+ {
+ "type" : "line-height",
+ "value" : 1.2999999523162842
+ }
+ ],
+ "y-offset" : 0,
+ "start-x-offset" : 0,
+ "end-x-offset" : 0,
+ "glyphs" : [
+ {
+ "glyph" : 68,
+ "width" : 26624,
+ "is-cluster-start" : true,
+ "log-cluster" : 0
+ },
+ {
+ "glyph" : 2803,
+ "width" : 15360,
+ "log-cluster" : 0
+ }
+ ]
+ }
+ ]
+ }
},
{
- "start-index" : 2,
- "length" : 1,
- "paragraph-start" : false,
- "direction" : "ltr",
- "runs" : [
- {
- "offset" : 2,
- "length" : 1,
- "text" : "a",
- "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" : 68,
- "width" : 26624,
- "is-cluster-start" : true,
- "log-cluster" : 0
+ "position" : [
+ 0,
+ 176744
+ ],
+ "line" : {
+ "start-index" : 2,
+ "length" : 1,
+ "start-offset" : 2,
+ "n-chars" : 1,
+ "wrapped" : true,
+ "ellipsized" : false,
+ "hyphenated" : true,
+ "justified" : false,
+ "paragraph-start" : false,
+ "paragraph-end" : false,
+ "direction" : "ltr",
+ "runs" : [
+ {
+ "offset" : 2,
+ "length" : 1,
+ "text" : "a",
+ "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" : 2803,
- "width" : 15360,
- "log-cluster" : 0
- }
- ]
- }
- ]
+ "flags" : 4,
+ "extra-attributes" : [
+ {
+ "type" : "line-height",
+ "value" : 1.2999999523162842
+ }
+ ],
+ "y-offset" : 0,
+ "start-x-offset" : 0,
+ "end-x-offset" : 0,
+ "glyphs" : [
+ {
+ "glyph" : 68,
+ "width" : 26624,
+ "is-cluster-start" : true,
+ "log-cluster" : 0
+ },
+ {
+ "glyph" : 2803,
+ "width" : 15360,
+ "log-cluster" : 0
+ }
+ ]
+ }
+ ]
+ }
},
{
- "start-index" : 3,
- "length" : 1,
- "paragraph-start" : false,
- "direction" : "ltr",
- "runs" : [
- {
- "offset" : 3,
- "length" : 1,
- "text" : "a",
- "bidi-level" : 0,
- "gravity" : "south",
- "language" : "en-us",
- "script" : "latin",
- "font" : {
- "description" : "DejaVu Sans 32",
- "checksum" : "69ccd07023a72ceb27a5e5c22f728627353b60a198170f5e58dd7014221abf01",
- "matrix" : [
- 1,
- -0,
- -0,
- 1,
- 0,
- 0
+ "position" : [
+ 0,
+ 244636
+ ],
+ "line" : {
+ "start-index" : 3,
+ "length" : 1,
+ "start-offset" : 3,
+ "n-chars" : 1,
+ "wrapped" : true,
+ "ellipsized" : false,
+ "hyphenated" : false,
+ "justified" : false,
+ "paragraph-start" : false,
+ "paragraph-end" : false,
+ "direction" : "ltr",
+ "runs" : [
+ {
+ "offset" : 3,
+ "length" : 1,
+ "text" : "a",
+ "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,
+ "extra-attributes" : [
+ {
+ "type" : "line-height",
+ "value" : 1.2999999523162842
+ }
+ ],
+ "y-offset" : 0,
+ "start-x-offset" : 0,
+ "end-x-offset" : 0,
+ "glyphs" : [
+ {
+ "glyph" : 68,
+ "width" : 26624,
+ "is-cluster-start" : true,
+ "log-cluster" : 0
+ }
]
- },
- "flags" : 0,
- "y-offset" : 0,
- "start-x-offset" : 0,
- "end-x-offset" : 0,
- "glyphs" : [
- {
- "glyph" : 68,
- "width" : 26624,
- "is-cluster-start" : true,
- "log-cluster" : 0
- }
- ]
- }
- ]
+ }
+ ]
+ }
},
{
- "start-index" : 4,
- "length" : 1,
- "paragraph-start" : false,
- "direction" : "ltr",
- "runs" : [
- {
- "offset" : 4,
- "length" : 1,
- "text" : " ",
- "bidi-level" : 0,
- "gravity" : "south",
- "language" : "en-us",
- "script" : "latin",
- "font" : {
- "description" : "DejaVu Sans 32",
- "checksum" : "69ccd07023a72ceb27a5e5c22f728627353b60a198170f5e58dd7014221abf01",
- "matrix" : [
- 1,
- -0,
- -0,
- 1,
- 0,
- 0
+ "position" : [
+ 0,
+ 312528
+ ],
+ "line" : {
+ "start-index" : 4,
+ "length" : 1,
+ "start-offset" : 4,
+ "n-chars" : 1,
+ "wrapped" : false,
+ "ellipsized" : false,
+ "hyphenated" : false,
+ "justified" : false,
+ "paragraph-start" : false,
+ "paragraph-end" : true,
+ "direction" : "ltr",
+ "runs" : [
+ {
+ "offset" : 4,
+ "length" : 1,
+ "text" : " ",
+ "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,
+ "extra-attributes" : [
+ {
+ "type" : "line-height",
+ "value" : 1.2999999523162842
+ }
+ ],
+ "y-offset" : 0,
+ "start-x-offset" : 0,
+ "end-x-offset" : 0,
+ "glyphs" : [
+ {
+ "glyph" : 3,
+ "width" : 14336,
+ "is-cluster-start" : true,
+ "log-cluster" : 0
+ }
]
- },
- "flags" : 0,
- "y-offset" : 0,
- "start-x-offset" : 0,
- "end-x-offset" : 0,
- "glyphs" : [
- {
- "glyph" : 3,
- "width" : 14336,
- "is-cluster-start" : true,
- "log-cluster" : 0
- }
- ]
- }
- ]
+ }
+ ]
+ }
}
]
}