diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-11-27 14:50:28 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-11-27 14:50:28 +0000 |
commit | ac2bf585e04c49be419f44a97c4ef0de0fd21014 (patch) | |
tree | c54b8791034fb303aefef195955cbd5e38aeda83 /tests/layouts/valid-14.layout | |
parent | 84ff272ea04a3f2a142d89e583bda066428ac6f7 (diff) | |
parent | 8f7c1ed695652df879417e748f09425e644a1d4d (diff) | |
download | pango-ac2bf585e04c49be419f44a97c4ef0de0fd21014.tar.gz |
Merge branch 'fix-emoji-in-tests' into 'main'
Make sure glyphinfo is fully initialized
See merge request GNOME/pango!523
Diffstat (limited to 'tests/layouts/valid-14.layout')
-rw-r--r-- | tests/layouts/valid-14.layout | 53 |
1 files changed, 21 insertions, 32 deletions
diff --git a/tests/layouts/valid-14.layout b/tests/layouts/valid-14.layout index 61e7182e..70ee954c 100644 --- a/tests/layouts/valid-14.layout +++ b/tests/layouts/valid-14.layout @@ -15,7 +15,7 @@ 0.0 ] }, - "text" : "你好 Hello שלום Γειά σας\n", + "text" : "你好 Hello שלום Γειά σας", "font" : "Cantarell 11", "ellipsize" : "start", "width" : 161792, @@ -23,9 +23,9 @@ "output" : { "is-wrapped" : false, "is-ellipsized" : true, - "unknown-glyphs" : 0, + "unknown-glyphs" : 1, "width" : 161792, - "height" : 47104, + "height" : 20480, "log-attrs" : [ { "char-break" : true, @@ -169,21 +169,14 @@ "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, + "word-end" : true, "sentence-boundary" : true, - "backspace-deletes-character" : true, + "sentence-end" : true, "word-boundary" : true } ], @@ -196,8 +189,8 @@ "runs" : [ { "offset" : 0, - "length" : 6, - "text" : "你好", + "length" : 3, + "text" : "你", "bidi-level" : 0, "gravity" : "south", "language" : "en-us", @@ -242,25 +235,22 @@ }, { "glyph" : 1058, - "width" : 16384, + "width" : 4096, "log-cluster" : 0 } ] }, { - "offset" : 6, - "length" : 1, - "text" : " ", + "offset" : 3, + "length" : 4, + "text" : "好 ", "bidi-level" : 0, "gravity" : "south", "language" : "xx", "script" : "han", "font" : { - "description" : "Cantarell 11", - "checksum" : "5bcb6ee14ee9d210b2e91d643de1fe456e9d1aea770983fdb05951545efebbe2", - "variations" : { - "wght" : 0 - }, + "description" : "Droid Sans Japanese 11", + "checksum" : "9e7449c453527829c963330ba36f4de3b20911e185a1df08a97082bb69e795d7", "matrix" : [ 1.0, -0.0, @@ -276,10 +266,16 @@ "end-x-offset" : 0, "glyphs" : [ { - "glyph" : 1109, - "width" : 3072, + "glyph" : 1, + "width" : 15360, "is-cluster-start" : true, "log-cluster" : 0 + }, + { + "glyph" : 268435488, + "width" : 0, + "is-cluster-start" : true, + "log-cluster" : 3 } ] }, @@ -515,13 +511,6 @@ ] } ] - }, - { - "start-index" : 38, - "length" : 0, - "paragraph-start" : true, - "direction" : "ltr", - "runs" : [] } ] } |