Skip to content

Commit

Permalink
Update pluma/pluma-pango.c
Browse files Browse the repository at this point in the history
Co-authored-by: Colomban Wendling <[email protected]>
  • Loading branch information
2 people authored and zhuyaliang committed May 28, 2023
1 parent dd41053 commit f643dde
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pluma/pluma-pango.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,7 @@ pluma_pango_font_description_to_css (const PangoFontDescription *desc)
set = pango_font_description_get_set_fields (desc);
if (set & PANGO_FONT_MASK_FAMILY)
{
g_string_append (s, "font-family: ");
g_string_append (s, "\"");
g_string_append (s, pango_font_description_get_family (desc));
g_string_append (s, "\"");
g_string_append (s, "; ");
g_string_append_printf (s, "font-family: \"%s\"; ", pango_font_description_get_family (desc));
}
if (set & PANGO_FONT_MASK_STYLE)
{
Expand Down

0 comments on commit f643dde

Please sign in to comment.