Commit 9770b4af authored by Matthias Clasen's avatar Matthias Clasen
Browse files

serializer: Include unknown glyphs count

parent 580ad90e
......@@ -636,6 +636,9 @@ add_output (JsonBuilder *builder,
json_builder_set_member_name (builder, "is-ellipsized");
json_builder_add_boolean_value (builder, pango_layout_is_ellipsized (layout));
json_builder_set_member_name (builder, "unknown-glyphs");
json_builder_add_int_value (builder, pango_layout_get_unknown_glyphs_count (layout));
pango_layout_get_size (layout, &width, &height);
json_builder_set_member_name (builder, "width");
json_builder_add_int_value (builder, width);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment