summaryrefslogtreecommitdiff
path: root/libre/texlive-bin/luatex-r4449-radical-rule-thickness.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-02 06:41:22 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-02 06:41:22 -0300
commitfcce4e670cd2d81990b3f50e8a682b44d40a73cc (patch)
tree2634d6d68316f3f4dd51f378e826da884a919288 /libre/texlive-bin/luatex-r4449-radical-rule-thickness.patch
parentc5822ca785d156da9849d5e25dc79a93d1fac22d (diff)
downloadabslibre-fcce4e670cd2d81990b3f50e8a682b44d40a73cc.tar.gz
abslibre-fcce4e670cd2d81990b3f50e8a682b44d40a73cc.tar.bz2
abslibre-fcce4e670cd2d81990b3f50e8a682b44d40a73cc.zip
remove parabola suffix and add complex pkgrel on the packages
Diffstat (limited to 'libre/texlive-bin/luatex-r4449-radical-rule-thickness.patch')
-rw-r--r--libre/texlive-bin/luatex-r4449-radical-rule-thickness.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/libre/texlive-bin/luatex-r4449-radical-rule-thickness.patch b/libre/texlive-bin/luatex-r4449-radical-rule-thickness.patch
new file mode 100644
index 000000000..f925a1a93
--- /dev/null
+++ b/libre/texlive-bin/luatex-r4449-radical-rule-thickness.patch
@@ -0,0 +1,23 @@
+Index: source/texk/web2c/luatexdir/tex/mlist.w
+===================================================================
+--- source/texk/web2c/luatexdir/tex/mlist.w (revision 4448)
++++ source/texk/web2c/luatexdir/tex/mlist.w (revision 4449)
+@@ -1798,7 +1798,17 @@
+ theta = fraction_rule(cur_style);
+ y = var_delimiter(left_delimiter(q), cur_size,
+ height(x) + depth(x) + clr + theta, NULL, cur_style);
+- theta = height(y);
++ /* If |y| is a composite then set |theta| to the height of its top
++ character, else set it to the height of |y|. */
++ if (list_ptr(y) != null
++ && type(list_ptr(y)) == hlist_node
++ && list_ptr(list_ptr(y)) != null
++ && type(list_ptr(list_ptr(y))) == glyph_node) { /* and it should be */
++ theta = char_height(font(list_ptr(list_ptr(y))),
++ character(list_ptr(list_ptr(y))));
++ } else {
++ theta = height(y);
++ }
+ } else {
+ y = var_delimiter(left_delimiter(q), cur_size,
+ height(x) + depth(x) + clr + theta, NULL, cur_style);