diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-11-25 15:33:47 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-11-25 15:33:47 +0000 |
commit | f37d293b9cfcc43def6fe4be0483b898774e5a2f (patch) | |
tree | e920196bc79edae865d1365fb89f894385fa86df /tests/layouts/valid-9.layout | |
parent | 55efd092b0319f2a2697c510eafc2b0b23597d26 (diff) | |
parent | 553eac2ba028a87718ca20180cabe78fa3bc0204 (diff) | |
download | pango-f37d293b9cfcc43def6fe4be0483b898774e5a2f.tar.gz |
Merge branch 'serialization-improvements' into 'main'
Rename the serialize errors
See merge request GNOME/pango!520
Diffstat (limited to 'tests/layouts/valid-9.layout')
-rw-r--r-- | tests/layouts/valid-9.layout | 515 |
1 files changed, 514 insertions, 1 deletions
diff --git a/tests/layouts/valid-9.layout b/tests/layouts/valid-9.layout index e3dfa57b..20cf4e84 100644 --- a/tests/layouts/valid-9.layout +++ b/tests/layouts/valid-9.layout @@ -1,4 +1,20 @@ { + "context" : { + "font" : "serif 12", + "language" : "en-us", + "base-gravity" : "south", + "gravity-hint" : "natural", + "base-dir" : "weak-ltr", + "round-glyph-positions" : true, + "transform" : [ + 1.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0 + ] + }, "text" : "Hello שלום Γειά σας\n", "attributes" : [ { @@ -8,5 +24,502 @@ } ], "font" : "Cantarell 11", - "width" : 102400 + "width" : 102400, + "output" : { + "is-wrapped" : true, + "is-ellipsized" : false, + "unknown-glyphs" : 0, + "width" : 71392, + "height" : 94208, + "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, + "white" : true, + "cursor-position" : true, + "word-end" : true, + "expandable-space" : true, + "word-boundary" : true + }, + { + "line-break" : true, + "char-break" : true, + "cursor-position" : true, + "word-start" : true, + "word-boundary" : true + }, + { + "char-break" : true, + "cursor-position" : true, + "backspace-deletes-character" : true, + "break-inserts-hyphen" : true + }, + { + "char-break" : true, + "cursor-position" : true, + "backspace-deletes-character" : true, + "break-inserts-hyphen" : true + }, + { + "char-break" : true, + "cursor-position" : true, + "backspace-deletes-character" : true, + "break-inserts-hyphen" : true + }, + { + "char-break" : true, + "white" : true, + "cursor-position" : true, + "word-end" : true, + "backspace-deletes-character" : true, + "expandable-space" : true, + "word-boundary" : true + }, + { + "line-break" : true, + "char-break" : true, + "cursor-position" : true, + "word-start" : 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, + "expandable-space" : true, + "word-boundary" : true + }, + { + "line-break" : true, + "char-break" : true, + "cursor-position" : true, + "word-start" : 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, + "white" : true, + "cursor-position" : true, + "word-end" : true, + "sentence-end" : true, + "word-boundary" : true + }, + { + "line-break" : true, + "mandatory-break" : true, + "char-break" : true, + "white" : true, + "cursor-position" : true, + "sentence-boundary" : true, + "backspace-deletes-character" : true, + "word-boundary" : true + } + ], + "lines" : [ + { + "start-index" : 0, + "length" : 6, + "paragraph-start" : true, + "direction" : "ltr", + "runs" : [ + { + "offset" : 0, + "length" : 6, + "text" : "Hello ", + "bidi-level" : 0, + "gravity" : "south", + "language" : "en-us", + "script" : "latin", + "font" : { + "description" : "Cantarell 11", + "checksum" : "5bcb6ee14ee9d210b2e91d643de1fe456e9d1aea770983fdb05951545efebbe2", + "variations" : { + "wght" : 0 + }, + "matrix" : [ + 1.0, + -0.0, + -0.0, + 1.0, + 0.0, + 0.0 + ] + }, + "flags" : 0, + "extra-attributes" : [ + { + "end" : 30, + "type" : "letter-spacing", + "value" : 8888 + } + ], + "y-offset" : 0, + "start-x-offset" : 0, + "end-x-offset" : 0, + "glyphs" : [ + { + "glyph" : 76, + "width" : 15708, + "is-cluster-start" : true, + "log-cluster" : 0 + }, + { + "glyph" : 287, + "width" : 17080, + "x-offset" : 4444, + "is-cluster-start" : true, + "log-cluster" : 1 + }, + { + "glyph" : 349, + "width" : 12984, + "x-offset" : 4444, + "is-cluster-start" : true, + "log-cluster" : 2 + }, + { + "glyph" : 349, + "width" : 12984, + "x-offset" : 4444, + "is-cluster-start" : true, + "log-cluster" : 3 + }, + { + "glyph" : 370, + "width" : 12636, + "x-offset" : 4444, + "is-cluster-start" : true, + "log-cluster" : 4 + }, + { + "glyph" : 268435455, + "width" : 0, + "x-offset" : 4444, + "is-cluster-start" : true, + "log-cluster" : 5 + } + ] + } + ] + }, + { + "start-index" : 6, + "length" : 9, + "paragraph-start" : false, + "direction" : "ltr", + "runs" : [ + { + "offset" : 6, + "length" : 8, + "text" : "שלום", + "bidi-level" : 1, + "gravity" : "south", + "language" : "he", + "script" : "hebrew", + "font" : { + "description" : "DejaVu Sans 11", + "checksum" : "69ccd07023a72ceb27a5e5c22f728627353b60a198170f5e58dd7014221abf01", + "matrix" : [ + 1.0, + -0.0, + -0.0, + 1.0, + 0.0, + 0.0 + ] + }, + "flags" : 0, + "extra-attributes" : [ + { + "end" : 30, + "type" : "letter-spacing", + "value" : 8888 + } + ], + "y-offset" : 0, + "start-x-offset" : 0, + "end-x-offset" : 0, + "glyphs" : [ + { + "glyph" : 1332, + "width" : 14684, + "is-cluster-start" : true, + "log-cluster" : 6 + }, + { + "glyph" : 1324, + "width" : 12984, + "x-offset" : 4444, + "is-cluster-start" : true, + "log-cluster" : 4 + }, + { + "glyph" : 1331, + "width" : 18104, + "x-offset" : 4444, + "is-cluster-start" : true, + "log-cluster" : 2 + }, + { + "glyph" : 1344, + "width" : 20152, + "x-offset" : 4444, + "is-cluster-start" : true, + "log-cluster" : 0 + } + ] + }, + { + "offset" : 14, + "length" : 1, + "text" : " ", + "bidi-level" : 0, + "gravity" : "south", + "language" : "he", + "script" : "hebrew", + "font" : { + "description" : "Cantarell 11", + "checksum" : "5bcb6ee14ee9d210b2e91d643de1fe456e9d1aea770983fdb05951545efebbe2", + "variations" : { + "wght" : 0 + }, + "matrix" : [ + 1.0, + -0.0, + -0.0, + 1.0, + 0.0, + 0.0 + ] + }, + "flags" : 0, + "extra-attributes" : [ + { + "end" : 30, + "type" : "letter-spacing", + "value" : 8888 + } + ], + "y-offset" : 0, + "start-x-offset" : 0, + "end-x-offset" : 0, + "glyphs" : [ + { + "glyph" : 268435455, + "width" : 0, + "x-offset" : 4444, + "is-cluster-start" : true, + "log-cluster" : 0 + } + ] + } + ] + }, + { + "start-index" : 15, + "length" : 9, + "paragraph-start" : false, + "direction" : "ltr", + "runs" : [ + { + "offset" : 15, + "length" : 9, + "text" : "Γειά ", + "bidi-level" : 0, + "gravity" : "south", + "language" : "el", + "script" : "greek", + "font" : { + "description" : "Cantarell 11", + "checksum" : "5bcb6ee14ee9d210b2e91d643de1fe456e9d1aea770983fdb05951545efebbe2", + "variations" : { + "wght" : 0 + }, + "matrix" : [ + 1.0, + -0.0, + -0.0, + 1.0, + 0.0, + 0.0 + ] + }, + "flags" : 0, + "extra-attributes" : [ + { + "end" : 30, + "type" : "letter-spacing", + "value" : 8888 + } + ], + "y-offset" : 0, + "start-x-offset" : 0, + "end-x-offset" : 0, + "glyphs" : [ + { + "glyph" : 677, + "width" : 12636, + "is-cluster-start" : true, + "log-cluster" : 0 + }, + { + "glyph" : 808, + "width" : 16056, + "x-offset" : 4444, + "is-cluster-start" : true, + "log-cluster" : 2 + }, + { + "glyph" : 812, + "width" : 12984, + "x-offset" : 4444, + "is-cluster-start" : true, + "log-cluster" : 4 + }, + { + "glyph" : 837, + "width" : 13660, + "x-offset" : 4444, + "is-cluster-start" : true, + "log-cluster" : 6 + }, + { + "glyph" : 268435455, + "width" : 0, + "x-offset" : 4444, + "is-cluster-start" : true, + "log-cluster" : 8 + } + ] + } + ] + }, + { + "start-index" : 24, + "length" : 6, + "paragraph-start" : false, + "direction" : "ltr", + "runs" : [ + { + "offset" : 24, + "length" : 6, + "text" : "σας", + "bidi-level" : 0, + "gravity" : "south", + "language" : "el", + "script" : "greek", + "font" : { + "description" : "Cantarell 11", + "checksum" : "5bcb6ee14ee9d210b2e91d643de1fe456e9d1aea770983fdb05951545efebbe2", + "variations" : { + "wght" : 0 + }, + "matrix" : [ + 1.0, + -0.0, + -0.0, + 1.0, + 0.0, + 0.0 + ] + }, + "flags" : 0, + "extra-attributes" : [ + { + "end" : 30, + "type" : "letter-spacing", + "value" : 8888 + } + ], + "y-offset" : 0, + "start-x-offset" : 0, + "end-x-offset" : 0, + "glyphs" : [ + { + "glyph" : 822, + "width" : 13660, + "is-cluster-start" : true, + "log-cluster" : 0 + }, + { + "glyph" : 804, + "width" : 18104, + "x-offset" : 4444, + "is-cluster-start" : true, + "log-cluster" : 2 + }, + { + "glyph" : 821, + "width" : 11612, + "x-offset" : 4444, + "is-cluster-start" : true, + "log-cluster" : 4 + } + ] + } + ] + }, + { + "start-index" : 31, + "length" : 0, + "paragraph-start" : true, + "direction" : "ltr", + "runs" : [] + } + ] + } } |