[lasem] mstyle: fix font size



commit 843117c54ea5b8cbf3d383a5c61916007188a509
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Tue Feb 3 23:19:41 2015 +0100

    mstyle: fix font size
    
    Add fontsize as a deprecated attribute.

 src/lsmmathmlstyleelement.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/lsmmathmlstyleelement.c b/src/lsmmathmlstyleelement.c
index 24a5686..2108af4 100644
--- a/src/lsmmathmlstyleelement.c
+++ b/src/lsmmathmlstyleelement.c
@@ -263,6 +263,12 @@ static const LsmAttributeInfos _attribute_infos[] = {
                .trait_class = &lsm_mathml_string_trait_class
        },
        {
+               .name = "fontsize",
+               .attribute_offset = offsetof (LsmMathmlStyleElement, math_size),
+               .trait_class = &lsm_mathml_length_trait_class,
+               .trait_default = &length_default
+       },
+       {
                .name = "fontstyle",
                .attribute_offset = offsetof (LsmMathmlStyleElement, font_style),
                .trait_class = &lsm_mathml_font_style_trait_class,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]