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/bratwurst.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/bratwurst.layout')
-rw-r--r-- | tests/layouts/bratwurst.layout | 226 |
1 files changed, 215 insertions, 11 deletions
diff --git a/tests/layouts/bratwurst.layout b/tests/layouts/bratwurst.layout index 65104276..c31446ac 100644 --- a/tests/layouts/bratwurst.layout +++ b/tests/layouts/bratwurst.layout @@ -1,4 +1,24 @@ { + "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 + ] + }, + "comment" : [ + "A case with a single word made up of two items,", + "expected to produce a single overlong line." + ], "text" : "Bratwurst", "attributes" : [ { @@ -7,15 +27,199 @@ "value" : "italic" } ], - "font" : "Sans Bold 32", - "tabs" : { - "positions-in-pixels" : true, - "positions" : [ - 0, - 50, - 100 + "font" : "Cantarell Bold 32", + "width" : 87040, + "output" : { + "is-wrapped" : false, + "is-ellipsized" : false, + "unknown-glyphs" : 0, + "width" : 202752, + "height" : 53248, + "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 + }, + { + "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" : 9, + "paragraph-start" : true, + "direction" : "ltr", + "runs" : [ + { + "offset" : 0, + "length" : 4, + "text" : "Brat", + "bidi-level" : 0, + "gravity" : "south", + "language" : "en-us", + "script" : "latin", + "font" : { + "description" : "Cantarell Bold 32", + "checksum" : "5bcb6ee14ee9d210b2e91d643de1fe456e9d1aea770983fdb05951545efebbe2", + "variations" : { + "wght" : 8374 + }, + "matrix" : [ + 1.0, + -0.0, + -0.0, + 1.0, + 0.0, + 0.0 + ] + }, + "flags" : 0, + "y-offset" : 0, + "start-x-offset" : 0, + "end-x-offset" : 0, + "glyphs" : [ + { + "glyph" : 29, + "width" : 28672, + "is-cluster-start" : true, + "log-cluster" : 0 + }, + { + "glyph" : 409, + "width" : 18432, + "is-cluster-start" : true, + "log-cluster" : 1 + }, + { + "glyph" : 244, + "width" : 23552, + "is-cluster-start" : true, + "log-cluster" : 2 + }, + { + "glyph" : 430, + "width" : 16384, + "is-cluster-start" : true, + "log-cluster" : 3 + } + ] + }, + { + "offset" : 4, + "length" : 5, + "text" : "wurst", + "bidi-level" : 0, + "gravity" : "south", + "language" : "en-us", + "script" : "latin", + "font" : { + "description" : "Cantarell Bold 32", + "checksum" : "5bcb6ee14ee9d210b2e91d643de1fe456e9d1aea770983fdb05951545efebbe2", + "variations" : { + "wght" : 8374 + }, + "matrix" : [ + 1.0, + -0.0, + -0.0, + 1.0, + 0.0, + 0.0 + ] + }, + "flags" : 0, + "y-offset" : 0, + "start-x-offset" : 0, + "end-x-offset" : 0, + "glyphs" : [ + { + "glyph" : 467, + "width" : 35840, + "is-cluster-start" : true, + "log-cluster" : 0 + }, + { + "glyph" : 438, + "width" : 24576, + "is-cluster-start" : true, + "log-cluster" : 1 + }, + { + "glyph" : 409, + "width" : 18432, + "is-cluster-start" : true, + "log-cluster" : 2 + }, + { + "glyph" : 417, + "width" : 20480, + "is-cluster-start" : true, + "log-cluster" : 3 + }, + { + "glyph" : 430, + "width" : 16384, + "is-cluster-start" : true, + "log-cluster" : 4 + } + ] + } + ] + } ] - }, - "width" : 102400, - "line-spacing" : 1.2999999523162842 -}
\ No newline at end of file + } +} |