From 60dfcb807b9a0229b7fa1489dd52c5738b5743d2 Mon Sep 17 00:00:00 2001 From: Derk-Jan Hartman Date: Mon, 17 May 2010 19:53:36 +0000 Subject: [PATCH] Fix bug 1347. Force consistent rendering of /phi by always using serverside PNG rendering. --- RELEASE-NOTES | 1 + math/texutil.ml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index d6a4160795..d095175a4e 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -167,6 +167,7 @@ in a negative namespace (which is invalid). * (bug 23507) Add styles for printing wikitables * (bug 19586) Avoid JS errors in mwsuggest when using old browsers such as Opera 8. * (bug 23563) Old skins now support $wgUploadNavigationUrl and take into account upload rights. +* (bug 1347) Render \phi in math using images, in order to create consistent and correct render results. === API changes in 1.17 === * (bug 22738) Allow filtering by action type on query=logevent diff --git a/math/texutil.ml b/math/texutil.ml index 516a96e85c..0c0f7ccf26 100644 --- a/math/texutil.ml +++ b/math/texutil.ml @@ -128,7 +128,7 @@ let find = function "\\mathrm{T}", "Τ"))) | "\\upsilon" -> LITERAL (HTMLABLEC (FONT_UF, "\\upsilon ", "υ")) | "\\Upsilon" -> LITERAL (HTMLABLEC (FONT_UF, "\\Upsilon ", "Υ")) - | "\\phi" -> LITERAL (HTMLABLEC (FONT_UF, "\\phi ", "φ")) + | "\\phi" -> LITERAL (TEX_ONLY "\\phi ") | "\\Phi" -> LITERAL (HTMLABLEC (FONT_UF, "\\Phi ", "Φ")) | "\\varphi" -> LITERAL (TEX_ONLY "\\varphi ") | "\\chi" -> LITERAL (HTMLABLEC (FONT_UF, "\\chi ", "χ")) -- 2.20.1