diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2013-09-09 20:09:36 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2013-09-09 20:09:36 -0300 |
commit | 30ba6f072e12e816b3bf09369f925e6a8cb3f0c3 (patch) | |
tree | 5cff6f766c98c615b9b06dcbedcb7af70807497d /libre/texlive-bin-libre/luatex-r4449-radical-rule-thickness.patch | |
parent | 150736a5f7a46fb31bbb50ca53ecda73a1095d20 (diff) | |
download | abslibre-30ba6f072e12e816b3bf09369f925e6a8cb3f0c3.tar.gz abslibre-30ba6f072e12e816b3bf09369f925e6a8cb3f0c3.tar.bz2 abslibre-30ba6f072e12e816b3bf09369f925e6a8cb3f0c3.zip |
texlive-bin-libre: put -libre variant due that arch's guys put nonfree biber binaries again
Diffstat (limited to 'libre/texlive-bin-libre/luatex-r4449-radical-rule-thickness.patch')
-rw-r--r-- | libre/texlive-bin-libre/luatex-r4449-radical-rule-thickness.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/libre/texlive-bin-libre/luatex-r4449-radical-rule-thickness.patch b/libre/texlive-bin-libre/luatex-r4449-radical-rule-thickness.patch new file mode 100644 index 000000000..f925a1a93 --- /dev/null +++ b/libre/texlive-bin-libre/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); |