diff options
Diffstat (limited to 'tests/layouts/valid-17.layout')
-rw-r--r-- | tests/layouts/valid-17.layout | 844 |
1 files changed, 429 insertions, 415 deletions
diff --git a/tests/layouts/valid-17.layout b/tests/layouts/valid-17.layout index edd50822..2e9405c4 100644 --- a/tests/layouts/valid-17.layout +++ b/tests/layouts/valid-17.layout @@ -18,448 +18,462 @@ "comment" : "Hyphenation point should get replaced with a hyphen", "text" : "some‧bla‧bla‧bla", "font" : "Cantarell 11", - "justify" : true, "width" : 102400, + "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, + "word-end" : true + }, + { + "line-break" : true, + "char-break" : true, + "cursor-position" : true, + "word-start" : true, + "backspace-deletes-character" : true, + "break-inserts-hyphen" : true, + "break-removes-preceding" : 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, + "word-end" : true + }, + { + "line-break" : true, + "char-break" : true, + "cursor-position" : true, + "word-start" : true, + "backspace-deletes-character" : true, + "break-inserts-hyphen" : true, + "break-removes-preceding" : 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, + "word-end" : true + }, + { + "line-break" : true, + "char-break" : true, + "cursor-position" : true, + "word-start" : true, + "backspace-deletes-character" : true, + "break-inserts-hyphen" : true, + "break-removes-preceding" : 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" : 96976, + "width" : 93184, "height" : 38912, - "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, - "word-end" : true - }, - { - "line-break" : true, - "char-break" : true, - "cursor-position" : true, - "word-start" : true, - "backspace-deletes-character" : true, - "break-inserts-hyphen" : true, - "break-removes-preceding" : 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, - "word-end" : true - }, - { - "line-break" : true, - "char-break" : true, - "cursor-position" : true, - "word-start" : true, - "backspace-deletes-character" : true, - "break-inserts-hyphen" : true, - "break-removes-preceding" : 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, - "word-end" : true - }, - { - "line-break" : true, - "char-break" : true, - "cursor-position" : true, - "word-start" : true, - "backspace-deletes-character" : true, - "break-inserts-hyphen" : true, - "break-removes-preceding" : 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" : 19, - "paragraph-start" : true, - "direction" : "ltr", - "runs" : [ - { - "offset" : 0, - "length" : 4, - "text" : "some", - "bidi-level" : 0, - "gravity" : "south", - "language" : "en-us", - "script" : "latin", - "font" : { - "description" : "Cantarell 11", - "checksum" : "5bcb6ee14ee9d210b2e91d643de1fe456e9d1aea770983fdb05951545efebbe2", - "variations" : { - "wght" : 0 + "position" : [ + 0, + 15360 + ], + "line" : { + "start-index" : 0, + "length" : 19, + "start-offset" : 0, + "n-chars" : 13, + "wrapped" : true, + "ellipsized" : false, + "hyphenated" : true, + "justified" : false, + "paragraph-start" : true, + "paragraph-end" : false, + "direction" : "ltr", + "runs" : [ + { + "offset" : 0, + "length" : 4, + "text" : "some", + "bidi-level" : 0, + "gravity" : "south", + "language" : "en-us", + "script" : "latin", + "font" : { + "description" : "Cantarell 11", + "checksum" : "5bcb6ee14ee9d210b2e91d643de1fe456e9d1aea770983fdb05951545efebbe2", + "variations" : { + "wght" : 0 + }, + "matrix" : [ + 1, + -0, + -0, + 1, + 0, + 0 + ] }, - "matrix" : [ - 1, - -0, - -0, - 1, - 0, - 0 + "flags" : 0, + "y-offset" : 0, + "start-x-offset" : 0, + "end-x-offset" : 0, + "glyphs" : [ + { + "glyph" : 417, + "width" : 7168, + "is-cluster-start" : true, + "log-cluster" : 0 + }, + { + "glyph" : 370, + "width" : 8192, + "is-cluster-start" : true, + "log-cluster" : 1 + }, + { + "glyph" : 358, + "width" : 13312, + "is-cluster-start" : true, + "log-cluster" : 2 + }, + { + "glyph" : 287, + "width" : 8192, + "is-cluster-start" : true, + "log-cluster" : 3 + } ] }, - "flags" : 0, - "y-offset" : 0, - "start-x-offset" : 0, - "end-x-offset" : 0, - "glyphs" : [ - { - "glyph" : 417, - "width" : 7326, - "is-cluster-start" : true, - "log-cluster" : 0 - }, - { - "glyph" : 370, - "width" : 8508, - "x-offset" : 158, - "is-cluster-start" : true, - "log-cluster" : 1 + { + "offset" : 4, + "length" : 3, + "text" : "‧", + "bidi-level" : 0, + "gravity" : "south", + "language" : "en-us", + "script" : "latin", + "font" : { + "description" : "DejaVu Sans 11", + "checksum" : "69ccd07023a72ceb27a5e5c22f728627353b60a198170f5e58dd7014221abf01", + "matrix" : [ + 1, + -0, + -0, + 1, + 0, + 0 + ] }, - { - "glyph" : 358, - "width" : 13628, - "x-offset" : 158, - "is-cluster-start" : true, - "log-cluster" : 2 - }, - { - "glyph" : 287, - "width" : 8508, - "x-offset" : 158, - "is-cluster-start" : true, - "log-cluster" : 3 - } - ] - }, - { - "offset" : 4, - "length" : 3, - "text" : "‧", - "bidi-level" : 0, - "gravity" : "south", - "language" : "en-us", - "script" : "latin", - "font" : { - "description" : "DejaVu Sans 11", - "checksum" : "69ccd07023a72ceb27a5e5c22f728627353b60a198170f5e58dd7014221abf01", - "matrix" : [ - 1, - -0, - -0, - 1, - 0, - 0 + "flags" : 0, + "y-offset" : 0, + "start-x-offset" : 0, + "end-x-offset" : 0, + "glyphs" : [ + { + "glyph" : 2826, + "width" : 5120, + "is-cluster-start" : true, + "log-cluster" : 0 + } ] }, - "flags" : 0, - "y-offset" : 0, - "start-x-offset" : 0, - "end-x-offset" : 0, - "glyphs" : [ - { - "glyph" : 2826, - "width" : 5436, - "x-offset" : 158, - "is-cluster-start" : true, - "log-cluster" : 0 - } - ] - }, - { - "offset" : 7, - "length" : 3, - "text" : "bla", - "bidi-level" : 0, - "gravity" : "south", - "language" : "en-us", - "script" : "latin", - "font" : { - "description" : "Cantarell 11", - "checksum" : "5bcb6ee14ee9d210b2e91d643de1fe456e9d1aea770983fdb05951545efebbe2", - "variations" : { - "wght" : 0 + { + "offset" : 7, + "length" : 3, + "text" : "bla", + "bidi-level" : 0, + "gravity" : "south", + "language" : "en-us", + "script" : "latin", + "font" : { + "description" : "Cantarell 11", + "checksum" : "5bcb6ee14ee9d210b2e91d643de1fe456e9d1aea770983fdb05951545efebbe2", + "variations" : { + "wght" : 0 + }, + "matrix" : [ + 1, + -0, + -0, + 1, + 0, + 0 + ] }, - "matrix" : [ - 1, - -0, - -0, - 1, - 0, - 0 + "flags" : 0, + "y-offset" : 0, + "start-x-offset" : 0, + "end-x-offset" : 0, + "glyphs" : [ + { + "glyph" : 272, + "width" : 8192, + "is-cluster-start" : true, + "log-cluster" : 0 + }, + { + "glyph" : 349, + "width" : 4096, + "is-cluster-start" : true, + "log-cluster" : 1 + }, + { + "glyph" : 244, + "width" : 8192, + "is-cluster-start" : true, + "log-cluster" : 2 + } ] }, - "flags" : 0, - "y-offset" : 0, - "start-x-offset" : 0, - "end-x-offset" : 0, - "glyphs" : [ - { - "glyph" : 272, - "width" : 8508, - "x-offset" : 158, - "is-cluster-start" : true, - "log-cluster" : 0 - }, - { - "glyph" : 349, - "width" : 4412, - "x-offset" : 158, - "is-cluster-start" : true, - "log-cluster" : 1 + { + "offset" : 10, + "length" : 3, + "text" : "‧", + "bidi-level" : 0, + "gravity" : "south", + "language" : "en-us", + "script" : "latin", + "font" : { + "description" : "DejaVu Sans 11", + "checksum" : "69ccd07023a72ceb27a5e5c22f728627353b60a198170f5e58dd7014221abf01", + "matrix" : [ + 1, + -0, + -0, + 1, + 0, + 0 + ] }, - { - "glyph" : 244, - "width" : 8508, - "x-offset" : 158, - "is-cluster-start" : true, - "log-cluster" : 2 - } - ] - }, - { - "offset" : 10, - "length" : 3, - "text" : "‧", - "bidi-level" : 0, - "gravity" : "south", - "language" : "en-us", - "script" : "latin", - "font" : { - "description" : "DejaVu Sans 11", - "checksum" : "69ccd07023a72ceb27a5e5c22f728627353b60a198170f5e58dd7014221abf01", - "matrix" : [ - 1, - -0, - -0, - 1, - 0, - 0 + "flags" : 0, + "y-offset" : 0, + "start-x-offset" : 0, + "end-x-offset" : 0, + "glyphs" : [ + { + "glyph" : 2826, + "width" : 5120, + "is-cluster-start" : true, + "log-cluster" : 0 + } ] }, - "flags" : 0, - "y-offset" : 0, - "start-x-offset" : 0, - "end-x-offset" : 0, - "glyphs" : [ - { - "glyph" : 2826, - "width" : 5436, - "x-offset" : 158, - "is-cluster-start" : true, - "log-cluster" : 0 - } - ] - }, - { - "offset" : 13, - "length" : 3, - "text" : "bla", - "bidi-level" : 0, - "gravity" : "south", - "language" : "en-us", - "script" : "latin", - "font" : { - "description" : "Cantarell 11", - "checksum" : "5bcb6ee14ee9d210b2e91d643de1fe456e9d1aea770983fdb05951545efebbe2", - "variations" : { - "wght" : 0 + { + "offset" : 13, + "length" : 3, + "text" : "bla", + "bidi-level" : 0, + "gravity" : "south", + "language" : "en-us", + "script" : "latin", + "font" : { + "description" : "Cantarell 11", + "checksum" : "5bcb6ee14ee9d210b2e91d643de1fe456e9d1aea770983fdb05951545efebbe2", + "variations" : { + "wght" : 0 + }, + "matrix" : [ + 1, + -0, + -0, + 1, + 0, + 0 + ] }, - "matrix" : [ - 1, - -0, - -0, - 1, - 0, - 0 + "flags" : 0, + "y-offset" : 0, + "start-x-offset" : 0, + "end-x-offset" : 0, + "glyphs" : [ + { + "glyph" : 272, + "width" : 8192, + "is-cluster-start" : true, + "log-cluster" : 0 + }, + { + "glyph" : 349, + "width" : 4096, + "is-cluster-start" : true, + "log-cluster" : 1 + }, + { + "glyph" : 244, + "width" : 8192, + "is-cluster-start" : true, + "log-cluster" : 2 + } ] }, - "flags" : 0, - "y-offset" : 0, - "start-x-offset" : 0, - "end-x-offset" : 0, - "glyphs" : [ - { - "glyph" : 272, - "width" : 8508, - "x-offset" : 158, - "is-cluster-start" : true, - "log-cluster" : 0 + { + "offset" : 16, + "length" : 3, + "text" : "‧", + "bidi-level" : 0, + "gravity" : "south", + "language" : "en-us", + "script" : "latin", + "font" : { + "description" : "DejaVu Sans 11", + "checksum" : "69ccd07023a72ceb27a5e5c22f728627353b60a198170f5e58dd7014221abf01", + "matrix" : [ + 1, + -0, + -0, + 1, + 0, + 0 + ] }, - { - "glyph" : 349, - "width" : 4412, - "x-offset" : 158, - "is-cluster-start" : true, - "log-cluster" : 1 - }, - { - "glyph" : 244, - "width" : 8508, - "x-offset" : 158, - "is-cluster-start" : true, - "log-cluster" : 2 - } - ] - }, - { - "offset" : 16, - "length" : 3, - "text" : "‧", - "bidi-level" : 0, - "gravity" : "south", - "language" : "en-us", - "script" : "latin", - "font" : { - "description" : "DejaVu Sans 11", - "checksum" : "69ccd07023a72ceb27a5e5c22f728627353b60a198170f5e58dd7014221abf01", - "matrix" : [ - 1, - -0, - -0, - 1, - 0, - 0 + "flags" : 4, + "y-offset" : 0, + "start-x-offset" : 0, + "end-x-offset" : 0, + "glyphs" : [ + { + "glyph" : 2803, + "width" : 5120, + "is-cluster-start" : true, + "log-cluster" : 0 + } ] - }, - "flags" : 4, - "y-offset" : 0, - "start-x-offset" : 0, - "end-x-offset" : 0, - "glyphs" : [ - { - "glyph" : 2803, - "width" : 5278, - "x-offset" : 158, - "is-cluster-start" : true, - "log-cluster" : 0 - } - ] - } - ] + } + ] + } }, { - "start-index" : 19, - "length" : 3, - "paragraph-start" : false, - "direction" : "ltr", - "runs" : [ - { - "offset" : 19, - "length" : 3, - "text" : "bla", - "bidi-level" : 0, - "gravity" : "south", - "language" : "en-us", - "script" : "latin", - "font" : { - "description" : "Cantarell 11", - "checksum" : "5bcb6ee14ee9d210b2e91d643de1fe456e9d1aea770983fdb05951545efebbe2", - "variations" : { - "wght" : 0 + "position" : [ + 0, + 34816 + ], + "line" : { + "start-index" : 19, + "length" : 3, + "start-offset" : 13, + "n-chars" : 3, + "wrapped" : false, + "ellipsized" : false, + "hyphenated" : false, + "justified" : false, + "paragraph-start" : false, + "paragraph-end" : true, + "direction" : "ltr", + "runs" : [ + { + "offset" : 19, + "length" : 3, + "text" : "bla", + "bidi-level" : 0, + "gravity" : "south", + "language" : "en-us", + "script" : "latin", + "font" : { + "description" : "Cantarell 11", + "checksum" : "5bcb6ee14ee9d210b2e91d643de1fe456e9d1aea770983fdb05951545efebbe2", + "variations" : { + "wght" : 0 + }, + "matrix" : [ + 1, + -0, + -0, + 1, + 0, + 0 + ] }, - "matrix" : [ - 1, - -0, - -0, - 1, - 0, - 0 + "flags" : 0, + "y-offset" : 0, + "start-x-offset" : 0, + "end-x-offset" : 0, + "glyphs" : [ + { + "glyph" : 272, + "width" : 8192, + "is-cluster-start" : true, + "log-cluster" : 0 + }, + { + "glyph" : 349, + "width" : 4096, + "is-cluster-start" : true, + "log-cluster" : 1 + }, + { + "glyph" : 244, + "width" : 8192, + "is-cluster-start" : true, + "log-cluster" : 2 + } ] - }, - "flags" : 0, - "y-offset" : 0, - "start-x-offset" : 0, - "end-x-offset" : 0, - "glyphs" : [ - { - "glyph" : 272, - "width" : 8192, - "is-cluster-start" : true, - "log-cluster" : 0 - }, - { - "glyph" : 349, - "width" : 4096, - "is-cluster-start" : true, - "log-cluster" : 1 - }, - { - "glyph" : 244, - "width" : 8192, - "is-cluster-start" : true, - "log-cluster" : 2 - } - ] - } - ] + } + ] + } } ] } |