Subversion Repositories wimsdev

Rev

Rev 8490 | Rev 9568 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8490 Rev 8894
Line 85... Line 85...
85
             use_js_zoom = 0;
85
             use_js_zoom = 0;
86
          }
86
          }
87
          // now write the "char" 200% into variable "mathml_tex_size"
87
          // now write the "char" 200% into variable "mathml_tex_size"
88
          snprintf(mathml_tex_size,sizeof(mathml_tex_size),"%d%%",texsize_list[idx]);
88
          snprintf(mathml_tex_size,sizeof(mathml_tex_size),"%d%%",texsize_list[idx]);
89
          // int --> char : added % sign (needed for mathml) [%% = escaped %]
89
          // int --> char : added % sign (needed for mathml) [%% = escaped %]
90
          if(mathml_tex_size == NULL || strlen(mathml_tex_size) == 0 ){ // this should not happen
90
          if(strlen(mathml_tex_size) == 0 ){ // this should not happen
91
            sprintf(mathml_tex_size,"%s","120%");
91
            sprintf(mathml_tex_size,"%s","120%");
92
            // if it goes wrong we set 120%
92
            // if it goes wrong we set 120%
93
            // default in itex2MML was 110% : but we thought it was too small... ?
93
            // default in itex2MML was 110% : but we thought it was too small... ?
94
          }
94
          }
95
          char zoom[2];
95
          char zoom[2];