Update nodeparser tests
The node serialization code now prints fonts with pixel sizes. Update affected tests.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
text {
|
text {
|
||||||
font: "Cantarell 11";
|
font: "Cantarell 15px";
|
||||||
glyphs: "Hello";
|
glyphs: "Hello";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ container {
|
|||||||
transform {
|
transform {
|
||||||
child: text {
|
child: text {
|
||||||
color: rgb(46,52,54);
|
color: rgb(46,52,54);
|
||||||
font: "Cantarell 11";
|
font: "Cantarell 15px";
|
||||||
glyphs: "Disabled";
|
glyphs: "Disabled";
|
||||||
offset: 145 18;
|
offset: 145 18;
|
||||||
}
|
}
|
||||||
@@ -120,7 +120,7 @@ container {
|
|||||||
transform {
|
transform {
|
||||||
child: text {
|
child: text {
|
||||||
color: rgb(46,52,54);
|
color: rgb(46,52,54);
|
||||||
font: "Cantarell 11";
|
font: "Cantarell 15px";
|
||||||
glyphs: "Enabled";
|
glyphs: "Enabled";
|
||||||
offset: 147 18;
|
offset: 147 18;
|
||||||
}
|
}
|
||||||
@@ -163,7 +163,7 @@ container {
|
|||||||
transform {
|
transform {
|
||||||
child: text {
|
child: text {
|
||||||
color: rgb(46,52,54);
|
color: rgb(46,52,54);
|
||||||
font: "Cantarell 11";
|
font: "Cantarell 15px";
|
||||||
glyphs: "Disabled";
|
glyphs: "Disabled";
|
||||||
offset: 145 18;
|
offset: 145 18;
|
||||||
}
|
}
|
||||||
@@ -209,7 +209,7 @@ container {
|
|||||||
transform {
|
transform {
|
||||||
child: text {
|
child: text {
|
||||||
color: rgb(46,52,54);
|
color: rgb(46,52,54);
|
||||||
font: "Cantarell 11";
|
font: "Cantarell 15px";
|
||||||
glyphs: "Enabled";
|
glyphs: "Enabled";
|
||||||
offset: 147 18;
|
offset: 147 18;
|
||||||
}
|
}
|
||||||
@@ -272,7 +272,7 @@ container {
|
|||||||
transform {
|
transform {
|
||||||
child: text {
|
child: text {
|
||||||
color: rgb(46,52,54);
|
color: rgb(46,52,54);
|
||||||
font: "Cantarell 11";
|
font: "Cantarell 15px";
|
||||||
glyphs: "Disabled";
|
glyphs: "Disabled";
|
||||||
offset: 123 18;
|
offset: 123 18;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ container {
|
|||||||
transform: translate(56, 0);
|
transform: translate(56, 0);
|
||||||
child: text {
|
child: text {
|
||||||
color: rgb(46,52,54);
|
color: rgb(46,52,54);
|
||||||
font: "Cantarell 11";
|
font: "Cantarell 15px";
|
||||||
glyphs: "Disabled";
|
glyphs: "Disabled";
|
||||||
offset: 145 18;
|
offset: 145 18;
|
||||||
}
|
}
|
||||||
@@ -122,7 +122,7 @@ container {
|
|||||||
transform: translate(56, 0);
|
transform: translate(56, 0);
|
||||||
child: text {
|
child: text {
|
||||||
color: rgb(46,52,54);
|
color: rgb(46,52,54);
|
||||||
font: "Cantarell 11";
|
font: "Cantarell 15px";
|
||||||
glyphs: "Enabled";
|
glyphs: "Enabled";
|
||||||
offset: 147 18;
|
offset: 147 18;
|
||||||
}
|
}
|
||||||
@@ -165,7 +165,7 @@ container {
|
|||||||
transform: translate(56, 0);
|
transform: translate(56, 0);
|
||||||
child: text {
|
child: text {
|
||||||
color: rgb(46,52,54);
|
color: rgb(46,52,54);
|
||||||
font: "Cantarell 11";
|
font: "Cantarell 15px";
|
||||||
glyphs: "Disabled";
|
glyphs: "Disabled";
|
||||||
offset: 145 18;
|
offset: 145 18;
|
||||||
}
|
}
|
||||||
@@ -211,7 +211,7 @@ container {
|
|||||||
transform: translate(56, 0);
|
transform: translate(56, 0);
|
||||||
child: text {
|
child: text {
|
||||||
color: rgb(46,52,54);
|
color: rgb(46,52,54);
|
||||||
font: "Cantarell 11";
|
font: "Cantarell 15px";
|
||||||
glyphs: "Enabled";
|
glyphs: "Enabled";
|
||||||
offset: 147 18;
|
offset: 147 18;
|
||||||
}
|
}
|
||||||
@@ -274,7 +274,7 @@ container {
|
|||||||
transform: translate(78, 0);
|
transform: translate(78, 0);
|
||||||
child: text {
|
child: text {
|
||||||
color: rgb(46,52,54);
|
color: rgb(46,52,54);
|
||||||
font: "Cantarell 11";
|
font: "Cantarell 15px";
|
||||||
glyphs: "Disabled";
|
glyphs: "Disabled";
|
||||||
offset: 123 18;
|
offset: 123 18;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
text {
|
text {
|
||||||
color: rgba(255,0,0,0.533333);
|
color: rgba(255,0,0,0.533333);
|
||||||
font: "Noto Sans 300";
|
font: "Noto Sans 300px";
|
||||||
glyphs: 50 312, 2712 0 -156 -29 color;
|
glyphs: 50 312, 2712 0 -156 -29 color;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
text {
|
text {
|
||||||
font: "text-mixed-color 7.5" url("data:font/ttf;base64,\
|
font: "text-mixed-color 10px" url("data:font/ttf;base64,\
|
||||||
AAEAAAAKAIAAAwAgQ09MUgATAEEAAAJ8AAAALENQQUwB/wATAAACqAAAABpjbWFwAHcAPQAAATwA\
|
AAEAAAAKAIAAAwAgQ09MUgATAEEAAAJ8AAAALENQQUwB/wATAAACqAAAABpjbWFwAHcAPQAAATwA\
|
||||||
AAA0Z2x5Zu8g4kAAAAGEAAAA0mhlYWQmofyJAAAArAAAADZoaGVhDAEEAgAAAOQAAAAkaG10eAQA\
|
AAA0Z2x5Zu8g4kAAAAGEAAAA0mhlYWQmofyJAAAArAAAADZoaGVhDAEEAgAAAOQAAAAkaG10eAQA\
|
||||||
AQAAAAEoAAAAFGxvY2EAyAD5AAABcAAAABRtYXhwAAwACQAAAQgAAAAgbmFtZX7VdrQAAAJYAAAA\
|
AQAAAAEoAAAAFGxvY2EAyAD5AAABcAAAABRtYXhwAAwACQAAAQgAAAAgbmFtZX7VdrQAAAJYAAAA\
|
||||||
@@ -18,6 +18,6 @@ AAEAAwAAAA4AAAAA//8A/wD//wAA/wAA\
|
|||||||
}
|
}
|
||||||
|
|
||||||
text {
|
text {
|
||||||
font: "Cantarell 11";
|
font: "Cantarell 15px";
|
||||||
glyphs: "Hello";
|
glyphs: "Hello";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
text {
|
text {
|
||||||
font: "text-mixed-color 7.5" url("data:font/ttf;base64,AAEAAAAKAIAAAwAgQ09MUgATAEEAAAJ8AAAALENQQUwB/wATAAACqAAAABpjbWFwAHcAPQAAATwA\
|
font: "text-mixed-color 10px" url("data:font/ttf;base64,AAEAAAAKAIAAAwAgQ09MUgATAEEAAAJ8AAAALENQQUwB/wATAAACqAAAABpjbWFwAHcAPQAAATwA\
|
||||||
AAA0Z2x5Zu8g4kAAAAGEAAAA0mhlYWQmofyJAAAArAAAADZoaGVhDAEEAgAAAOQAAAAkaG10eAQA\
|
AAA0Z2x5Zu8g4kAAAAGEAAAA0mhlYWQmofyJAAAArAAAADZoaGVhDAEEAgAAAOQAAAAkaG10eAQA\
|
||||||
AQAAAAEoAAAAFGxvY2EAyAD5AAABcAAAABRtYXhwAAwACQAAAQgAAAAgbmFtZX7VdrQAAAJYAAAA\
|
AQAAAAEoAAAAFGxvY2EAyAD5AAABcAAAABRtYXhwAAwACQAAAQgAAAAgbmFtZX7VdrQAAAJYAAAA\
|
||||||
IgABAAAAARmajs74k18PPPUAAggAAAAAAOHCPQAAAAAA4cpY+QAAAAAEAAgAAAAAAQACAAAAAAAA\
|
IgABAAAAARmajs74k18PPPUAAggAAAAAAOHCPQAAAAAA4cpY+QAAAAAEAAgAAAAAAQACAAAAAAAA\
|
||||||
@@ -16,6 +16,6 @@ AAEAAwAAAA4AAAAA//8A/wD//wAA/wAA\
|
|||||||
glyphs: 7 10;
|
glyphs: 7 10;
|
||||||
}
|
}
|
||||||
text {
|
text {
|
||||||
font: "Cantarell 11";
|
font: "Cantarell 15px";
|
||||||
glyphs: "Hello";
|
glyphs: "Hello";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<data>:21:32-36: error: GTK_CSS_PARSER_ERROR_UNKNOWN_VALUE
|
<data>:21:33-37: error: GTK_CSS_PARSER_ERROR_UNKNOWN_VALUE
|
||||||
<data>:55:24-69:3: error: GTK_CSS_PARSER_ERROR_UNKNOWN_VALUE
|
<data>:55:26-69:3: error: GTK_CSS_PARSER_ERROR_UNKNOWN_VALUE
|
||||||
<data>:74:24-33: error: GTK_CSS_PARSER_ERROR_SYNTAX
|
<data>:74:26-35: error: GTK_CSS_PARSER_ERROR_SYNTAX
|
||||||
<data>:79:24-38: error: g-io-error-quark 15
|
<data>:79:26-40: error: g-io-error-quark 15
|
||||||
<data>:84:24-47: error: g-io-error-quark 1
|
<data>:84:26-49: error: g-io-error-quark 1
|
||||||
<data>:89:24-62: error: GTK_CSS_PARSER_ERROR_UNKNOWN_VALUE
|
<data>:89:26-64: error: GTK_CSS_PARSER_ERROR_UNKNOWN_VALUE
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
text {
|
text {
|
||||||
font: "text-mixed-color 7.5" url("data:font/ttf;base64,\
|
font: "text-mixed-color 10px" url("data:font/ttf;base64,\
|
||||||
AAEAAAAKAIAAAwAgQ09MUgATAEEAAAJ8AAAALENQQUwB/wATAAACqAAAABpjbWFwAHcAPQAAATwA\
|
AAEAAAAKAIAAAwAgQ09MUgATAEEAAAJ8AAAALENQQUwB/wATAAACqAAAABpjbWFwAHcAPQAAATwA\
|
||||||
AAA0Z2x5Zu8g4kAAAAGEAAAA0mhlYWQmofyJAAAArAAAADZoaGVhDAEEAgAAAOQAAAAkaG10eAQA\
|
AAA0Z2x5Zu8g4kAAAAGEAAAA0mhlYWQmofyJAAAArAAAADZoaGVhDAEEAgAAAOQAAAAkaG10eAQA\
|
||||||
AQAAAAEoAAAAFGxvY2EAyAD5AAABcAAAABRtYXhwAAwACQAAAQgAAAAgbmFtZX7VdrQAAAJYAAAA\
|
AQAAAAEoAAAAFGxvY2EAyAD5AAABcAAAABRtYXhwAAwACQAAAQgAAAAgbmFtZX7VdrQAAAJYAAAA\
|
||||||
@@ -18,7 +18,7 @@ AAEAAwAAAA4AAAAA//8A/wD//wAA/wAA\
|
|||||||
}
|
}
|
||||||
|
|
||||||
text {
|
text {
|
||||||
font: "text-mixed-color 7.5" url("data:font/ttf;base64,\
|
font: "text-mixed-color 10px" url("data:font/ttf;base64,\
|
||||||
AAEAAAAKAIAAAwAgQ09MUgATAEEAAAJ8AAAALENQQUwB/wATAAACqAAAABpjbWFwAHcAPQAAATwA\
|
AAEAAAAKAIAAAwAgQ09MUgATAEEAAAJ8AAAALENQQUwB/wATAAACqAAAABpjbWFwAHcAPQAAATwA\
|
||||||
AAA0Z2x5Zu8g4kAAAAGEAAAA0mhlYWQmofyJAAAArAAAADZoaGVhDAEEAgAAAOQAAAAkaG10eAQA\
|
AAA0Z2x5Zu8g4kAAAAGEAAAA0mhlYWQmofyJAAAArAAAADZoaGVhDAEEAgAAAOQAAAAkaG10eAQA\
|
||||||
AQAAAAEoAAAAFGxvY2EAyAD5AAABcAAAABRtYXhwAAwACQAAAQgAAAAgbmFtZX7VdrQAAAJYAAAA\
|
AQAAAAEoAAAAFGxvY2EAyAD5AAABcAAAABRtYXhwAAwACQAAAQgAAAAgbmFtZX7VdrQAAAJYAAAA\
|
||||||
@@ -37,22 +37,22 @@ AAEAAwAAAA4AAAAA//8A/wD//wAA/wAA\
|
|||||||
}
|
}
|
||||||
|
|
||||||
text {
|
text {
|
||||||
font: "text-mixed-color 7.5";
|
font: "text-mixed-color 10px";
|
||||||
glyphs: 7 10;
|
glyphs: 7 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
text {
|
text {
|
||||||
font: "Cantarell 11";
|
font: "Cantarell 15px";
|
||||||
glyphs: "Hello";
|
glyphs: "Hello";
|
||||||
}
|
}
|
||||||
|
|
||||||
text {
|
text {
|
||||||
font: "Demon Cat 11";
|
font: "Demon Cat 15px";
|
||||||
glyphs: "Hello";
|
glyphs: "Hello";
|
||||||
}
|
}
|
||||||
|
|
||||||
text {
|
text {
|
||||||
font: "Demon Cat 11" url("data:font/ttf;base64,\
|
font: "Demon Cat 15px" url("data:font/ttf;base64,\
|
||||||
AAEAAAAKAIAAAwAgQ09MUgATAEEAAAJ8AAAALENQQUwB/wATAAACqAAAABpjbWFwAHcAPQAAATwA\
|
AAEAAAAKAIAAAwAgQ09MUgATAEEAAAJ8AAAALENQQUwB/wATAAACqAAAABpjbWFwAHcAPQAAATwA\
|
||||||
AAA0Z2x5Zu8g4kAAAAGEAAAA0mhlYWQmofyJAAAArAAAADZoaGVhDAEEAgAAAOQAAAAkaG10eAQA\
|
AAA0Z2x5Zu8g4kAAAAGEAAAA0mhlYWQmofyJAAAArAAAADZoaGVhDAEEAgAAAOQAAAAkaG10eAQA\
|
||||||
AQAAAAEoAAAAFGxvY2EAyAD5AAABcAAAABRtYXhwAAwACQAAAQgAAAAgbmFtZX7VdrQAAAJYAAAA\
|
AQAAAAEoAAAAFGxvY2EAyAD5AAABcAAAABRtYXhwAAwACQAAAQgAAAAgbmFtZX7VdrQAAAJYAAAA\
|
||||||
@@ -71,21 +71,21 @@ AAEAAwAAAA4AAAAA//8A/wD//wAA/wAA\
|
|||||||
}
|
}
|
||||||
|
|
||||||
text {
|
text {
|
||||||
font: "Demon Cat 11" url(url());
|
font: "Demon Cat 15px" url(url());
|
||||||
glyphs: 7 10;
|
glyphs: 7 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
text {
|
text {
|
||||||
font: "Demon Cat 11" url(not-a-url);
|
font: "Demon Cat 15px" url(not-a-url);
|
||||||
glyphs: 7 10;
|
glyphs: 7 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
text {
|
text {
|
||||||
font: "Demon Cat 11" url(file:///not-a-file);
|
font: "Demon Cat 15px" url(file:///not-a-file);
|
||||||
glyphs: 7 10;
|
glyphs: 7 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
text {
|
text {
|
||||||
font: "Demon Cat 11" url("data:font/ttf,Hello, I'm a Font");
|
font: "Demon Cat 15px" url("data:font/ttf,Hello, I'm a Font");
|
||||||
glyphs: 7 10;
|
glyphs: 7 10;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
text {
|
text {
|
||||||
font: "text-mixed-color 7.5" url("data:font/ttf;base64,AAEAAAAKAIAAAwAgQ09MUgATAEEAAAJ8AAAALENQQUwB/wATAAACqAAAABpjbWFwAHcAPQAAATwA\
|
font: "text-mixed-color 10px" url("data:font/ttf;base64,AAEAAAAKAIAAAwAgQ09MUgATAEEAAAJ8AAAALENQQUwB/wATAAACqAAAABpjbWFwAHcAPQAAATwA\
|
||||||
AAA0Z2x5Zu8g4kAAAAGEAAAA0mhlYWQmofyJAAAArAAAADZoaGVhDAEEAgAAAOQAAAAkaG10eAQA\
|
AAA0Z2x5Zu8g4kAAAAGEAAAA0mhlYWQmofyJAAAArAAAADZoaGVhDAEEAgAAAOQAAAAkaG10eAQA\
|
||||||
AQAAAAEoAAAAFGxvY2EAyAD5AAABcAAAABRtYXhwAAwACQAAAQgAAAAgbmFtZX7VdrQAAAJYAAAA\
|
AQAAAAEoAAAAFGxvY2EAyAD5AAABcAAAABRtYXhwAAwACQAAAQgAAAAgbmFtZX7VdrQAAAJYAAAA\
|
||||||
IgABAAAAARmajs74k18PPPUAAggAAAAAAOHCPQAAAAAA4cpY+QAAAAAEAAgAAAAAAQACAAAAAAAA\
|
IgABAAAAARmajs74k18PPPUAAggAAAAAAOHCPQAAAAAA4cpY+QAAAAAEAAgAAAAAAQACAAAAAAAA\
|
||||||
@@ -16,38 +16,38 @@ AAEAAwAAAA4AAAAA//8A/wD//wAA/wAA\
|
|||||||
glyphs: 7 10;
|
glyphs: 7 10;
|
||||||
}
|
}
|
||||||
text {
|
text {
|
||||||
font: "text-mixed-color 7.5";
|
font: "text-mixed-color 10px";
|
||||||
glyphs: 7 10;
|
glyphs: 7 10;
|
||||||
}
|
}
|
||||||
text {
|
text {
|
||||||
font: "text-mixed-color 7.5";
|
font: "text-mixed-color 10px";
|
||||||
glyphs: 7 10;
|
glyphs: 7 10;
|
||||||
}
|
}
|
||||||
text {
|
text {
|
||||||
font: "Cantarell 11";
|
font: "Cantarell 15px";
|
||||||
glyphs: "Hello";
|
glyphs: "Hello";
|
||||||
}
|
}
|
||||||
text {
|
text {
|
||||||
font: "Noto Sans 11";
|
font: "Noto Sans 15px";
|
||||||
glyphs: "Hello";
|
glyphs: "Hello";
|
||||||
}
|
}
|
||||||
text {
|
text {
|
||||||
font: "Cantarell 11";
|
font: "Cantarell 15px";
|
||||||
glyphs: 7 10;
|
glyphs: 7 10;
|
||||||
}
|
}
|
||||||
text {
|
text {
|
||||||
font: "Cantarell 11";
|
font: "Cantarell 15px";
|
||||||
glyphs: 7 10;
|
glyphs: 7 10;
|
||||||
}
|
}
|
||||||
text {
|
text {
|
||||||
font: "Cantarell 11";
|
font: "Cantarell 15px";
|
||||||
glyphs: 7 10;
|
glyphs: 7 10;
|
||||||
}
|
}
|
||||||
text {
|
text {
|
||||||
font: "Cantarell 11";
|
font: "Cantarell 15px";
|
||||||
glyphs: 7 10;
|
glyphs: 7 10;
|
||||||
}
|
}
|
||||||
text {
|
text {
|
||||||
font: "Cantarell 11";
|
font: "Cantarell 15px";
|
||||||
glyphs: 7 10;
|
glyphs: 7 10;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
text {
|
text {
|
||||||
color: rgba(255,0,0,0.533333);
|
color: rgba(255,0,0,0.533333);
|
||||||
font: "Noto Sans 300";
|
font: "Noto Sans 300px";
|
||||||
glyphs: 50 312, 2712 0 -156 -29;
|
glyphs: 50 312, 2712 0 -156 -29;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user