diff options
author | Matthias Clasen <mclasen@redhat.com> | 2022-01-21 13:51:46 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-01-24 10:58:17 -0500 |
commit | 33eb81450f8572762a5b805cf0bb4740c86f45cf (patch) | |
tree | a796fc02e883d3a6e1c32110ba16e368febf153a /tests/layouts/aaa.layout | |
parent | fe6a80a83a17ca4233e96adfd44641ba4830ad05 (diff) | |
download | pango-33eb81450f8572762a5b805cf0bb4740c86f45cf.tar.gz |
Regenerate layout tests
The serialization format has changed, so these
need to be regenerated to match.
Diffstat (limited to 'tests/layouts/aaa.layout')
-rw-r--r-- | tests/layouts/aaa.layout | 600 |
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 - } - ] - } - ] + } + ] + } } ] } |