From 91811b8668c920471b49b2f442cc0bab2540c113 Mon Sep 17 00:00:00 2001 From: Dmitry Shachnev Date: Sat, 14 May 2022 03:40:06 +0800 Subject: [PATCH] disable extra fonts, we do not ship them at the moment Forwarded: not-needed Last-Update: 2016-02-14 Gbp-Pq: Name no_extra_fonts.diff --- unpacked/extensions/MathMenu.js | 8 +------- unpacked/jax/output/HTML-CSS/jax.js | 5 ----- unpacked/jax/output/SVG/jax.js | 3 +-- 3 files changed, 2 insertions(+), 14 deletions(-) diff --git a/unpacked/extensions/MathMenu.js b/unpacked/extensions/MathMenu.js index 8f02e8b..3d2a139 100644 --- a/unpacked/extensions/MathMenu.js +++ b/unpacked/extensions/MathMenu.js @@ -1573,13 +1573,7 @@ ITEM.RADIO(["TeXImage","TeX (image)"], "font", {action: MENU.Font}), ITEM.RULE(), ITEM.RADIO(["STIXLocal","STIX (local)"], "font", {action: MENU.Font}), - ITEM.RADIO(["STIXWeb","STIX (web)"], "font", {action: MENU.Font}), - ITEM.RULE(), - ITEM.RADIO(["AsanaMathWeb","Asana Math (web)"], "font", {action: MENU.Font}), - ITEM.RADIO(["GyrePagellaWeb","Gyre Pagella (web)"], "font", {action: MENU.Font}), - ITEM.RADIO(["GyreTermesWeb","Gyre Termes (web)"], "font", {action: MENU.Font}), - ITEM.RADIO(["LatinModernWeb","Latin Modern (web)"], "font", {action: MENU.Font}), - ITEM.RADIO(["NeoEulerWeb","Neo Euler (web)"], "font", {action: MENU.Font}) + ITEM.RADIO(["STIXWeb","STIX (web)"], "font", {action: MENU.Font}) ), ITEM.SUBMENU(["ContextMenu","Contextual Menu"], {hidden:!CONFIG.showContext}, ITEM.RADIO(["MathJax","MathJax"], "context"), diff --git a/unpacked/jax/output/HTML-CSS/jax.js b/unpacked/jax/output/HTML-CSS/jax.js index 66480b7..35b6577 100644 --- a/unpacked/jax/output/HTML-CSS/jax.js +++ b/unpacked/jax/output/HTML-CSS/jax.js @@ -396,11 +396,6 @@ TeXImage: ["",""], STIXLocal: ["STIX","STIX-Web"], STIXWeb: "STIX-Web", - AsanaMathWeb: "Asana-Math", - GyrePagellaWeb: "Gyre-Pagella", - GyreTermesWeb: "Gyre-Termes", - LatinModernWeb: "Latin-Modern", - NeoEulerWeb: "Neo-Euler" }, fontInUse: "generic", diff --git a/unpacked/jax/output/SVG/jax.js b/unpacked/jax/output/SVG/jax.js index 9f0a5b3..98eda89 100644 --- a/unpacked/jax/output/SVG/jax.js +++ b/unpacked/jax/output/SVG/jax.js @@ -125,8 +125,7 @@ hideProcessedMath: true, // use display:none until all math is processed - fontNames: ["TeX","STIX","STIX-Web","Asana-Math", - "Gyre-Termes","Gyre-Pagella","Latin-Modern","Neo-Euler"], + fontNames: ["TeX","STIX","STIX-Web","Asana-Math"], Config: function () {