summaryrefslogtreecommitdiff
path: root/tests/font_patch.tex
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2014-01-06 12:03:13 -0800
committerPhilipp Gesang <phg42.2a@gmail.com>2014-01-06 12:03:13 -0800
commitbb8ee997db8486468c23a985a0b207697b250b62 (patch)
treea4c38d1174021fc9c797f5cd4242ad1d369d370e /tests/font_patch.tex
parent70e80bb79416b0089ea9ee5f01a11be34bef251c (diff)
parent1d16a614853476a8cc00f06a4f018e515b175b8d (diff)
downloadluaotfload-bb8ee997db8486468c23a985a0b207697b250b62.tar.gz
Merge pull request #175 from phi-gamma/texlive2014
import dev branch
Diffstat (limited to 'tests/font_patch.tex')
-rw-r--r--tests/font_patch.tex28
1 files changed, 0 insertions, 28 deletions
diff --git a/tests/font_patch.tex b/tests/font_patch.tex
deleted file mode 100644
index d3bba07..0000000
--- a/tests/font_patch.tex
+++ /dev/null
@@ -1,28 +0,0 @@
-\input{luaotfload.sty}
-\directlua {
- local function patch(fontdata)
- local mc = fontdata.MathConstants
- local em = fontdata.parameters.units
- local sz = fontdata.parameters.size
- if fontdata.psname == "CambriaMath" and mc then
- mc.DisplayOperatorMinHeight = 2800 / em * sz
- end
- end
- %% part of luaotfload-auxiliary
- %luatexbase.add_to_callback(
- %"luaotfload.patch_font",
- %patch,
- %"luaotfload.aux.patch_cambria_domh")
-}
-
-\font\4={name:Cambria Math:mode=base;script=math} at 10pt
-\font\5={name:Cambria Math:mode=base;script=math;ssty=1} at 7pt
-\font\6={name:Cambria Math:mode=node;script=math;ssty=2} at 5pt
-\textfont4=\4 \scriptfont4=\5 \scriptscriptfont4=\6
-
-$$
-\Umathchar"1"4`∫
-\Umathchar"1"4`∑
-$$
-\bye
-