Commit Graph

589 Commits

Author SHA1 Message Date
Davide P. Cervone
feb05eb185 Merge branch 'issue1163' into hotfix-2.5.2. Issue #1163. 2015-04-13 18:02:27 -04:00
Davide P. Cervone
55c88eb608 Fix HTML-CSS bounding boxes for annotation-xml nodes when used illegally as first semantics child. 2015-04-13 17:59:59 -04:00
Davide P. Cervone
4a4221b78b Make sure that unknown characters in an mrow force the mrow to be measured. Resolves issue #1163. 2015-04-13 17:18:07 -04:00
Davide P. Cervone
b8a48d9cd7 Properly measure final HTML-CSS output to make sure we have the right size. Resolves issue #1158. 2015-04-13 16:15:07 -04:00
Davide P. Cervone
ed85cf61ee Fix HTML-CSS bounding boxes for annotation-xml nodes when used illegally as first semantics child. 2015-03-18 13:04:52 -04:00
Davide P. Cervone
ad66602529 Merge remote-tracking branch 'dpvc/hotfix-2.5' into develop 2015-02-25 18:34:17 -05:00
Davide P. Cervone
5f53a23e58 Force measurement of unknown characters, even when noReflows is active. 2015-02-25 10:59:01 -05:00
Davide P. Cervone
6286c63239 Fix var problems identified by YUI. 2015-02-20 09:47:47 -05:00
Davide P. Cervone
f87cb5cf42 Bump version numbers for updated files 2015-02-19 17:43:07 -05:00
Davide P. Cervone
3308957304 Fix some comments. 2015-02-19 08:58:01 -05:00
Davide P. Cervone
fe0d977494 Handle padding in measured children when noReflows is used (e.g., in maction tags around operators). 2015-02-17 16:03:25 -05:00
Davide P. Cervone
49c3e3a156 Don't set font-size of maction span (the elements it contains do that themselves). 2015-02-14 15:43:40 -05:00
Davide P. Cervone
15b3928891 Break HTML-CSS output into phases so that the final measurement can be done all at once. Restores timing improvements that were lost due to a change made in the testing for v2.5. 2015-02-14 15:30:37 -05:00
Davide P. Cervone
737fbc01df Fix var issues (noted by YUI compression) 2015-01-29 10:34:58 -05:00
Davide P. Cervone
e4982cb703 Fix unneeded variable (noted by YUI compression) 2015-01-29 10:32:36 -05:00
Davide P. Cervone
f5c10288dd Update copyright dates. 2015-01-29 10:21:06 -05:00
Davide P. Cervone
31fcf19d92 Update file versions to 2.5.0. Ready for release! 2015-01-28 14:49:36 -05:00
Davide P. Cervone
0433a7b0ee Some fixes to get things to work in older IE versions. 2015-01-28 14:46:15 -05:00
Davide P. Cervone
da8b1ea1ff Make super- and subscripts respect height of stretched characters. 2015-01-28 11:43:19 -05:00
Davide P. Cervone
8f9d982af6 Scale displayIndent to HTML size, since the shift is outside the font-size scaling. This was required by the change to issue 769. (Issue #768.) 2015-01-24 05:15:21 -05:00
Davide P. Cervone
cd235d5b0e Handle background color properly when there is an indentshift. 2015-01-23 11:31:17 -05:00
Davide P. Cervone
08cb7160f5 Fix scaling of indentshift in HTML-CSS; since is outside the font-size change, it doesn't need HTMLCSS.scale. 2015-01-22 10:15:12 -05:00
Davide P. Cervone
24bfd6baf2 Merge branch 'issue997' into develop. Issue #997. 2015-01-12 09:37:34 -05:00
Davide P. Cervone
856d839ce9 Don't set tabindex, as it causes unwanted focus outlines. Revisit this later when we do accessibility update. Resolves issue #997. 2015-01-11 09:25:41 -05:00
Davide P. Cervone
2431a90a9f Rename variable used for displayIndent so it doesn't conflict with previous usage. Also, handle '0em' and similar values as '0'. Resolves issue #1000. 2015-01-11 09:20:30 -05:00
Davide P. Cervone
88a96372c0 Update version numbers for 2.5.0-beta 2014-12-30 18:27:01 -05:00
Davide P. Cervone
8a1db4b859 Make HTML-CSS measure the final math element so that the right amount of place is left for it (particularly a problem in Safari). 2014-12-30 18:21:05 -05:00
Davide P. Cervone
edce81f691 Prevent use of id's in previews from confusing HTMLspanElement() calls. 2014-12-28 12:02:34 -05:00
Davide P. Cervone
8fd8bf258b Handle linebreaking in a base with empty superscript or subscript. Resolves issue #949. 2014-12-27 11:59:15 -05:00
Davide P. Cervone
301ee4f300 Merge branch 'issue950' into develop. Issue #950. 2014-12-07 07:10:09 -05:00
Davide P. Cervone
f6bf4c13e3 Merge branch 'issue931' into develop. Issue #931. 2014-12-07 07:09:49 -05:00
Davide P. Cervone
3f3f27005a IE9+ has a name limits of 31 for font-family, so the long names cause problems; fortunately, FontFaceBug is only needed for IE8 and below, so make that be version dependent. Resolves issue #950. 2014-12-06 20:24:41 -05:00
Davide P. Cervone
ae0f3fe3b3 Add more version information for Safari, and use Em rounding for Safari 8.0 (also 6.2, 7.1, which have the same WebKit version). Resolves issue #931. 2014-12-06 18:00:31 -05:00
Davide P. Cervone
bf3d52af54 Fix incorrect width for minus sign in delimiter data, and don't modify depth of the minus sign (was being done for arrow extenders, but do that for the extenders only). Resolves issue #937. 2014-12-06 08:18:42 -05:00
Davide P. Cervone
2babc14e1b Merge branch 'issue860' into develop. Issue #860. 2014-11-02 09:27:27 -05:00
Davide P. Cervone
ff8637377f Merge branch 'issue804' into develop. Issue #804. 2014-11-02 09:26:36 -05:00
Davide P. Cervone
ad004ac668 Preserve RDFa and other non-standard attributes from MathML elements in the HTML-CSS or SVG output. Resolves issue #860, and also handles #502 as a side-effect. 2014-09-14 13:47:20 -04:00
Davide P. Cervone
9bf55785f0 Use proper value of base scaling to reset u and v in super- and subscript positioning. Resolves issue #804. 2014-09-14 11:02:16 -04:00
Davide P. Cervone
0a04a6ce19 Don't clip left or right-hand sides, only top and bottom (which are what need clipping to hide exctra height/depth, and prevent the positioning spans from overlaying the material above). Resolves issue #807, and may hekp issue #646. 2014-09-14 10:33:06 -04:00
Davide P. Cervone
ca196c8e0d Merge branch 'issue835' into develop. Issue #835. 2014-09-14 09:21:44 -04:00
Davide P. Cervone
f07278d3db Make zoom box large enough for overlaps (e.g., when \llap, \rlap, or \smash are used) in SVG and HTML-CSS output. Can't do it effectively for NativeMML, since we don't know anything about overlaps in that case. Resolves issue #835. 2014-09-13 15:34:52 -04:00
Davide P. Cervone
6ed822313f Set the internal bounding box data properly for mpadded elements. Resolves issue #917. 2014-09-13 15:29:49 -04:00
Davide P. Cervone
74253a955f Merge branch 'issue834' into develop. Issue #834. 2014-09-11 06:59:18 -04:00
Davide P. Cervone
84206a3f15 Merge branch 'issue769' into develop. Issue #769. 2014-09-11 06:58:42 -04:00
Davide P. Cervone
c30dd6647b Merge branch 'issue829' into develop. Issue #829. 2014-09-11 06:50:13 -04:00
Davide P. Cervone
1e219b4304 Get linebreaking size correct for zoom boxes, and do a better job of managing the width for full-width tables (only make the box as wide as necessary). Resolves issue #834. 2014-09-10 22:05:03 -04:00
Davide P. Cervone
a3fbae1037 fix min width of tables (em's inside are different from em's outside). 2014-09-10 19:59:34 -04:00
Davide P. Cervone
ea42f427f6 Fix multiple problems with indentshift and indentalign in HTML-CSS and SVG output. (Negative values not handled properly, shift not applied to centering, SVG not handling shift past edges well, percentage shifts now in relation to container, etc.) Resolves issues #769 and #768. 2014-09-09 10:28:25 -04:00
Davide P. Cervone
82d0ea22c2 Fix a conflict with noReflows and mtextFontInherit. 2014-09-08 17:49:47 -04:00
Davide P. Cervone
14fd3918ed Use delimitershortfall and delimiterfactor for stretching vertical delimiters. Resolves issue #829. 2014-09-08 15:23:42 -04:00
Davide P. Cervone
5de7fdea28 Add space characters to STIX font data for HTML-CSS output. 2014-09-03 10:36:13 -04:00
Davide P. Cervone
4a4d88c26f Merge branch 'no-reflows' into develop 2014-09-01 14:13:52 -04:00
Davide P. Cervone
467e59a484 Change default for noReflows to true, and add it to default.js 2014-08-28 19:00:30 -04:00
Davide P. Cervone
3848ac329b Fix scaling for text when mtextFontInherit is in effect and Scale All Math is not 100%. Issue #826 2014-08-24 18:23:37 -04:00
Davide P. Cervone
58c20a9a4c Merge branch 'issue826' into develop. Issue #826. 2014-08-21 16:27:15 -04:00
Davide P. Cervone
b7fbcc73b6 Fix scaling of unknown characters to handle 'Scale All Math' values properly. Issue #826. 2014-08-20 12:10:28 -04:00
Davide P. Cervone
1cd23252c1 Fix problem with percentage width being used too many times in HTML-CSS output. Resolves issue #832. 2014-08-20 09:30:04 -04:00
Davide P. Cervone
0104a90463 Merge branch 'issue845' into develop. Issue #845. 2014-08-20 07:59:01 -04:00
Davide P. Cervone
a5375851ee Merge branch 'issue805' into develop. Issue #805. 2014-08-20 07:56:44 -04:00
Davide P. Cervone
42c0f3243e Merge branch 'issue877' into develop. Issue #877. 2014-08-20 07:56:24 -04:00
Davide P. Cervone
71444850ca Force separate web font names for bold, italic in WebKit. Resolves issue #845. 2014-08-19 16:58:22 -04:00
Davide P. Cervone
34c723aa9e Prevent empty annotation as first child of semantics element from producing an error. Resolves issue #805. 2014-08-19 16:57:27 -04:00
Davide P. Cervone
ddb96b1b66 Move CoreParent, CoreText, remap, and remapChars to element jax (since shared among the output jax), and fix positioning of double accents like \vec{\vec{x}}. Resolves issue #877. 2014-08-19 16:55:36 -04:00
Davide P. Cervone
b33ed4c54b Update use of RegExp.$n to account for Firefoxs change from empty string to undefined for unmatched groups. Resolves issue #891. 2014-08-19 13:35:11 -04:00
Davide P. Cervone
1aa86d7cf6 Add noReflows flag to prevent taking measurements that cause reflows, when possible. This provides a 30 to 40% speed improvement, but can cause poor results in some browsers. 2014-08-17 14:14:39 -04:00
Davide P. Cervone
7aab884fd0 Merge pull request #874 from pkra/nodejs
merging @dpvc's Nodejs branch into develop.
2014-07-21 10:06:35 -04:00
Davide P. Cervone
1a895e2a7c Update version numbers, repack, and recombine 2014-06-12 05:53:13 -04:00
Davide P. Cervone
12313a6629 Add missing array in signal data 2014-06-08 21:09:00 -04:00
Davide P. Cervone
d92ae61db1 Fix variable reference turned up by packer 2014-06-01 10:54:47 -04:00
Davide P. Cervone
8eb029478e Fix bounding box problem in Firefox with stretchy delimiters (and remove alignment hack that doesn't seem to be needed any longer). resolves issue #729. 2014-05-30 12:15:25 -04:00
Davide P. Cervone
0ebff03dc1 Merge branch 'issue820' into v2.4-beta. Issue #820. 2014-05-27 15:18:55 -04:00
Davide P. Cervone
4e3977082d Remove fonts from default VARIANT values, which where causing -smallOP to no inherit the normal fonts; this caused \int in STIX (and other fonts) not to be found, and so default to unknown character bboxes. Resolves issue #820. 2014-05-22 19:43:30 -04:00
Davide P. Cervone
b84f7772f4 Fix zoom box sizes for tagged equations in HTML-CSS and NativeMML output. Issue #824. 2014-05-22 18:04:59 -04:00
Davide P. Cervone
5538982def Remove space around accent operators (resolves issue #815). 2014-05-12 15:47:01 -04:00
Davide P. Cervone
e92f3f2718 Change copyright and version numbers 2014-05-07 17:02:28 -04:00
Davide P. Cervone
1424afb792 Fix up variable issues identified by packer 2014-05-07 16:01:13 -04:00
Davide P. Cervone
ad0d7760f0 Improve handling of removal of   for IE in AlignBox 2014-05-07 05:29:31 -04:00
Davide P. Cervone
3ebb153763 Ignore mathsize for non-token elements when figuring scales. 2014-05-05 11:18:44 -04:00
Davide P. Cervone
ab3a7e429f Always use start marker in IE (fixes sizes of background colors, see mphantom color test). 2014-05-05 11:06:10 -04:00
Davide P. Cervone
0b4ee45777 Remove   when msiePlaceBoxBug is in effect 2014-05-05 09:14:49 -04:00
Davide P. Cervone
49ede41339 Handle MSIE padding bug properly when linebreaking mmultiscripts and when adding nulldelimiterspace wround fractions. 2014-05-04 17:46:34 -04:00
Davide P. Cervone
09ce98092b Move generic font and fontdata to main jax object so that we are sure to have one (it will be overwritten when the actual font data are loaded). 2014-05-04 15:24:49 -04:00
Davide P. Cervone
462be1eaeb Make sure that <mo> with minsize or maxsize set are stretched. 2014-04-25 17:31:11 -04:00
Davide P. Cervone
3837d8db0e Make Chrome > 32.0 get bold-italic correctly. Issue #735. 2014-04-22 06:30:55 -04:00
Davide P. Cervone
6d6cb37923 Merge branch 'issue763' into develop. Issue #763. 2014-04-21 19:24:19 -04:00
Davide P. Cervone
cb04ee618c Fix problems with linebreaks in fractions (scaling of lineleading, proper detection of auto indentalign, etc.) 2014-04-21 18:16:31 -04:00
Davide P. Cervone
f54a8ebaaa Fix problem where forced linebreaks could cause lines to disappear (due to recent changes to the linebreaking algorithm). 2014-04-21 09:52:59 -04:00
Davide P. Cervone
c548a7f0a6 Fix incorrect use of TeX_factor for relative sizes. 2014-04-21 05:59:18 -04:00
Davide P. Cervone
1e8ae72201 Merge branch 'zoom-fix' into develop. Issues #749, #460, #423. 2014-04-11 07:56:49 -04:00
Davide P. Cervone
662023bed4 Merge branch 'issue703' into develop. Issue #703. 2014-04-11 07:55:31 -04:00
Davide P. Cervone
6ba5f2a624 Make absolute sizes scale when zoomed. Resolves issue #460. 2014-04-10 20:48:28 -04:00
Davide P. Cervone
239cfe33e5 Fix a few bugs with scaling in HTML-CS mode. 2014-04-09 15:59:43 -04:00
Davide P. Cervone
defe996cf7 Fix mathsize in HTML-CSS output so that it acts as a zoom (spaces, math axis, etc, are all scaled). Issue #703. 2014-04-09 13:54:56 -04:00
Davide P. Cervone
a47b1fa009 Merge remote-tracking branch 'dpvc/issue687' into develop. Issue #687. 2014-03-23 05:48:38 -04:00
Davide P. Cervone
309dbc5a4a If a break occurs at a space or operator that has non-zero width, don't remove next element's initial spacing. 2014-03-21 16:54:10 -04:00
Davide P. Cervone
12f969593d Remove initial space after a linebreak properly. Resolves #687. 2014-03-21 06:58:46 -04:00
Davide P. Cervone
2bb627844f Added support for linebreaking of mmultiscripts. Resolves issue #617. 2014-03-21 06:13:34 -04:00
Davide P. Cervone
a12a0e5918 Fix unitless width and height in HTML-CSS mglyph, and fix aspect ratio when only one is specified in SVG output. Resolves issue #763. 2014-03-19 16:49:23 -04:00
Davide P. Cervone
1956063ecc Merge remote-tracking branch 'dpvc/issue751' into develop. Issue #751. 2014-03-18 11:50:34 -04:00
Davide P. Cervone
63bbb8f28c Add cache-breaking values (when needed) for all javascript, font, and image files loaded from the CDN. Cache-breaking can be controlled on a file-by-file or global basis. Resolves issue #751. 2014-03-14 10:48:13 -04:00