diff options
author | Mojca Miklavec <mojca.miklavec@gmail.com> | 2014-05-05 20:29:55 +0000 |
---|---|---|
committer | Mojca Miklavec <mojca.miklavec@gmail.com> | 2014-05-05 20:29:55 +0000 |
commit | ba9a57343987f1c2c72396e7c38f1fa30352c24c (patch) | |
tree | 66a8b12cdf67427ce96770fd0e9e581759aade1c /Master/texmf-dist/tex/context/fonts | |
parent | 15242121b8ddf7d4a041fb3998d295dd8232e1eb (diff) |
ConTeXt 2014.04.28 23:24
git-svn-id: svn://tug.org/texlive/trunk@33856 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/context/fonts')
-rw-r--r-- | Master/texmf-dist/tex/context/fonts/ebgaramond.lfg | 53 | ||||
-rw-r--r-- | Master/texmf-dist/tex/context/fonts/euler-math.lfg | 23 | ||||
-rw-r--r-- | Master/texmf-dist/tex/context/fonts/hanbatanglvt.lfg | 30 | ||||
-rw-r--r-- | Master/texmf-dist/tex/context/fonts/lm.lfg | 7 | ||||
-rw-r--r-- | Master/texmf-dist/tex/context/fonts/mdbch-math.lfg | 74 | ||||
-rw-r--r-- | Master/texmf-dist/tex/context/fonts/mdici-math.lfg | 74 | ||||
-rw-r--r-- | Master/texmf-dist/tex/context/fonts/mdpgd-math.lfg | 74 | ||||
-rw-r--r-- | Master/texmf-dist/tex/context/fonts/mdpus-math.lfg | 74 | ||||
-rw-r--r-- | Master/texmf-dist/tex/context/fonts/mdput-math.lfg | 74 | ||||
-rw-r--r-- | Master/texmf-dist/tex/context/fonts/mdugm-math.lfg | 74 | ||||
-rw-r--r-- | Master/texmf-dist/tex/context/fonts/px-math.lfg | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/context/fonts/texgyre.lfg | 6 | ||||
-rw-r--r-- | Master/texmf-dist/tex/context/fonts/treatments.lfg | 63 | ||||
-rw-r--r-- | Master/texmf-dist/tex/context/fonts/unifraktur.lfg | 23 |
14 files changed, 420 insertions, 231 deletions
diff --git a/Master/texmf-dist/tex/context/fonts/ebgaramond.lfg b/Master/texmf-dist/tex/context/fonts/ebgaramond.lfg new file mode 100644 index 00000000000..43cc13c51c6 --- /dev/null +++ b/Master/texmf-dist/tex/context/fonts/ebgaramond.lfg @@ -0,0 +1,53 @@ +return { + name = "eb garamond", + version = "1.00", + comment = "Goodies that complement eb garamond.", + author = "Hans Hagen", + copyright = "ConTeXt development team", + designsizes = { + ["EBGaramond-Italic"] = { + ["8pt"] = "file:EBGaramond08-Italic", + ["9pt"] = "file:EBGaramond08-Italic", + ["9.5pt"] = "file:EBGaramond08-Italic", + ["10pt"] = "file:EBGaramond12-Italic", + ["11pt"] = "file:EBGaramond12-Italic", + ["12pt"] = "file:EBGaramond12-Italic", + default = "file:EBGaramond12-Italic", + }, + ["EBGaramond-Regular"] = { + ["8pt"] = "file:EBGaramond08-Regular", + ["9pt"] = "file:EBGaramond08-Regular", + ["9.5pt"] = "file:EBGaramond08-Regular", + ["10pt"] = "file:EBGaramond12-Regular", + ["11pt"] = "file:EBGaramond12-Regular", + ["12pt"] = "file:EBGaramond12-Regular", + default = "file:EBGaramond12-Regular", + }, + ["EBGaramond-SC"] = { + ["8pt"] = "file:EBGaramond08-SC", + ["9pt"] = "file:EBGaramond08-SC", + ["9.5pt"] = "file:EBGaramond08-SC", + ["10pt"] = "file:EBGaramond12-SC", + ["11pt"] = "file:EBGaramond12-SC", + ["12pt"] = "file:EBGaramond12-SC", + default = "file:EBGaramond12-SC", + }, + ["EBGaramond-Bold"] = { + default = "file:EBGaramond12-Bold", + }, + ["EBGaramond-AllSC"] = { + default = "file:EBGaramond12-AllSC", + }, + ["EBGaramond-Initials"] = { + default = "file:EBGaramondInitials", + }, + ["EBGaramond-InitialsF1"] = { + default = "file:EBGaramondInitialsF1", + }, + ["EBGaramond-InitialsF2"] = { + default = "file:EBGaramondInitialsF2", + }, + } +} + + diff --git a/Master/texmf-dist/tex/context/fonts/euler-math.lfg b/Master/texmf-dist/tex/context/fonts/euler-math.lfg new file mode 100644 index 00000000000..da7647c5339 --- /dev/null +++ b/Master/texmf-dist/tex/context/fonts/euler-math.lfg @@ -0,0 +1,23 @@ +-- this file might go away and is for experiments only + +return { + name = "euler-math", + version = "1.00", + comment = "Goodies that complement euler math.", + author = "Hans Hagen", + copyright = "ConTeXt development team", + mathematics = { + -- virtuals = { + -- ["euler-nova"] = { + -- { name = "texgyrepagella-math.otf", main = true, parameters = true }, + -- { name = "euler.otf", overlay = true }, -- first = 0x1234, last = 0x1256 + -- + -- -- { name = "euler.otf", main = true, parameters = true }, + -- -- { name = "texgyrepagella-math.otf", overlay = true }, + -- + -- }, + -- } + } +} + + diff --git a/Master/texmf-dist/tex/context/fonts/hanbatanglvt.lfg b/Master/texmf-dist/tex/context/fonts/hanbatanglvt.lfg new file mode 100644 index 00000000000..33374334857 --- /dev/null +++ b/Master/texmf-dist/tex/context/fonts/hanbatanglvt.lfg @@ -0,0 +1,30 @@ +-- Maybe some day I will do this more efficient but for the moment it's okay. (We need +-- access to the names table then.) + +local f_uni_base = string.formatters["uni%04X"] +local f_uni_plus = string.formatters["uni%04X.y%s"] + +local function range(first,last) + local t = { } + for i=first,last do + t[#t+1] = f_uni_base(i) + for j=0,19 do + t[#t+1] = f_uni_plus(i,j) + end + end + return t +end + +return { + name = "hanbatanglvt", + version = "1.00", + comment = "Goodies that complement the hanbatanglvt fonts.", + author = "Hans Hagen", + colorschemes = { + default = { + range(0x01100,0x0115F), -- jamo_initial (r/c) + range(0x01160,0x011A7), -- jamo_medial (g/m) + range(0x011A8,0x011FF), -- jamo_final (b/y) + } + } +} diff --git a/Master/texmf-dist/tex/context/fonts/lm.lfg b/Master/texmf-dist/tex/context/fonts/lm.lfg index 792e723e82b..8d761471848 100644 --- a/Master/texmf-dist/tex/context/fonts/lm.lfg +++ b/Master/texmf-dist/tex/context/fonts/lm.lfg @@ -1,4 +1,4 @@ --- In order to be ale to use beta math fonts, we use our own file name and +-- In order to be able to use beta math fonts, we use our own file name and -- always remap. return { @@ -11,12 +11,13 @@ return { tweaks = { aftercopying = { mathematics.tweaks.fixbadprime, -- prime is too low + -- mathematics.tweaks.fixoverline, }, }, dimensions = { -- always applied --- default = { --- }, + -- default = { + -- }, -- driven by 'mathdimensions' feature signs = { -- set dimensions diff --git a/Master/texmf-dist/tex/context/fonts/mdbch-math.lfg b/Master/texmf-dist/tex/context/fonts/mdbch-math.lfg index f4ce245ffb8..c66a3575a22 100644 --- a/Master/texmf-dist/tex/context/fonts/mdbch-math.lfg +++ b/Master/texmf-dist/tex/context/fonts/mdbch-math.lfg @@ -1,37 +1,37 @@ -return {
- name = "mdbch-math",
- version = "1.00",
- comment = "Math fonts that complement ITC Charter.",
- author = "Hans, Mojca, Aditya",
- copyright = "ConTeXt development team",
- mathematics = {
- mapfiles = {
- "mdbch.map",
- "mkiv-base.map",
- },
- virtuals = {
- ["mdbch-rm"] = {
- { name = "file:bchr8a", features = "virtualmath", main = true },
- { name = "mdbchr7m", vector = "tex-mr", skewchar=0x7F },
- { name = "mdbchri7m", vector = "tex-mi", skewchar=0x7F },
- { name = "mdbchri7m", vector = "tex-it", skewchar=0x7F },
- { name = "mdbchb7m", vector = "tex-bf", skewchar=0x7F },
- { name = "mdbchbi7m", vector = "tex-bi", skewchar=0x7F },
- { name = "mdbchr7y", vector = "tex-sy", skewchar=0x30, parameters = true },
- { name = "mdbchr7v", vector = "tex-ex", extension = true },
- { name = "mdbchrma", vector = "tex-ma" },
- { name = "mdbchrmb", vector = "tex-mb" },
- },
- ["mdbch-bf"] = {
- { name = "file:bchb8a", features = "virtualmath", main = true },
- { name = "mdbchb7m", vector = "tex-mr", skewchar=0x7F },
- { name = "mdbchbi7m", vector = "tex-mi", skewchar=0x7F },
- { name = "mdbchbi7m", vector = "tex-it", skewchar=0x7F },
- { name = "mdbchb7y", vector = "tex-sy", skewchar=0x30, parameters = true },
- { name = "mdbchb7v", vector = "tex-ex", extension = true },
- { name = "mdbchbma", vector = "tex-ma" },
- { name = "mdbchbmb", vector = "tex-mb" },
- }
- }
- }
-}
+return { + name = "mdbch-math", + version = "1.00", + comment = "Math fonts that complement ITC Charter.", + author = "Hans, Mojca, Aditya", + copyright = "ConTeXt development team", + mathematics = { + mapfiles = { + "mdbch.map", + "mkiv-base.map", + }, + virtuals = { + ["mdbch-rm"] = { + { name = "file:bchr8a", features = "virtualmath", main = true }, + { name = "mdbchr7m", vector = "tex-mr", skewchar=0x7F }, + { name = "mdbchri7m", vector = "tex-mi", skewchar=0x7F }, + { name = "mdbchri7m", vector = "tex-it", skewchar=0x7F }, + { name = "mdbchb7m", vector = "tex-bf", skewchar=0x7F }, + { name = "mdbchbi7m", vector = "tex-bi", skewchar=0x7F }, + { name = "mdbchr7y", vector = "tex-sy", skewchar=0x30, parameters = true }, + { name = "mdbchr7v", vector = "tex-ex", extension = true }, + { name = "mdbchrma", vector = "tex-ma" }, + { name = "mdbchrmb", vector = "tex-mb" }, + }, + ["mdbch-bf"] = { + { name = "file:bchb8a", features = "virtualmath", main = true }, + { name = "mdbchb7m", vector = "tex-mr", skewchar=0x7F }, + { name = "mdbchbi7m", vector = "tex-mi", skewchar=0x7F }, + { name = "mdbchbi7m", vector = "tex-it", skewchar=0x7F }, + { name = "mdbchb7y", vector = "tex-sy", skewchar=0x30, parameters = true }, + { name = "mdbchb7v", vector = "tex-ex", extension = true }, + { name = "mdbchbma", vector = "tex-ma" }, + { name = "mdbchbmb", vector = "tex-mb" }, + } + } + } +} diff --git a/Master/texmf-dist/tex/context/fonts/mdici-math.lfg b/Master/texmf-dist/tex/context/fonts/mdici-math.lfg index 8c16b866532..84833c40796 100644 --- a/Master/texmf-dist/tex/context/fonts/mdici-math.lfg +++ b/Master/texmf-dist/tex/context/fonts/mdici-math.lfg @@ -1,37 +1,37 @@ -return {
- name = "mdici-math",
- version = "1.00",
- comment = "Math fonts that complement Charter ITC Std.",
- author = "Hans, Mojca, Aditya",
- copyright = "ConTeXt development team",
- mathematics = {
- mapfiles = {
- "mdici.map",
- "mkiv-base.map",
- },
- virtuals = {
- ["mdici-rm"] = {
- { name = "file:bchr8a", features = "virtualmath", main = true },
- { name = "mdicir7m", vector = "tex-mr", skewchar=0x7F },
- { name = "mdiciri7m", vector = "tex-mi", skewchar=0x7F },
- { name = "mdiciri7m", vector = "tex-it", skewchar=0x7F },
- { name = "mdicib7m", vector = "tex-bf", skewchar=0x7F },
- { name = "mdicibi7m", vector = "tex-bi", skewchar=0x7F },
- { name = "mdicir7y", vector = "tex-sy", skewchar=0x30, parameters = true },
- { name = "mdicir7v", vector = "tex-ex", extension = true },
- { name = "mdicirma", vector = "tex-ma" },
- { name = "mdicirmb", vector = "tex-mb" },
- },
- ["mdici-bf"] = {
- { name = "file:bchb8a", features = "virtualmath", main = true },
- { name = "mdicib7m", vector = "tex-mr", skewchar=0x7F },
- { name = "mdicibi7m", vector = "tex-mi", skewchar=0x7F },
- { name = "mdicibi7m", vector = "tex-it", skewchar=0x7F },
- { name = "mdicib7y", vector = "tex-sy", skewchar=0x30, parameters = true },
- { name = "mdicib7v", vector = "tex-ex", extension = true },
- { name = "mdicibma", vector = "tex-ma" },
- { name = "mdicibmb", vector = "tex-mb" },
- }
- }
- }
-}
+return { + name = "mdici-math", + version = "1.00", + comment = "Math fonts that complement Charter ITC Std.", + author = "Hans, Mojca, Aditya", + copyright = "ConTeXt development team", + mathematics = { + mapfiles = { + "mdici.map", + "mkiv-base.map", + }, + virtuals = { + ["mdici-rm"] = { + { name = "file:bchr8a", features = "virtualmath", main = true }, + { name = "mdicir7m", vector = "tex-mr", skewchar=0x7F }, + { name = "mdiciri7m", vector = "tex-mi", skewchar=0x7F }, + { name = "mdiciri7m", vector = "tex-it", skewchar=0x7F }, + { name = "mdicib7m", vector = "tex-bf", skewchar=0x7F }, + { name = "mdicibi7m", vector = "tex-bi", skewchar=0x7F }, + { name = "mdicir7y", vector = "tex-sy", skewchar=0x30, parameters = true }, + { name = "mdicir7v", vector = "tex-ex", extension = true }, + { name = "mdicirma", vector = "tex-ma" }, + { name = "mdicirmb", vector = "tex-mb" }, + }, + ["mdici-bf"] = { + { name = "file:bchb8a", features = "virtualmath", main = true }, + { name = "mdicib7m", vector = "tex-mr", skewchar=0x7F }, + { name = "mdicibi7m", vector = "tex-mi", skewchar=0x7F }, + { name = "mdicibi7m", vector = "tex-it", skewchar=0x7F }, + { name = "mdicib7y", vector = "tex-sy", skewchar=0x30, parameters = true }, + { name = "mdicib7v", vector = "tex-ex", extension = true }, + { name = "mdicibma", vector = "tex-ma" }, + { name = "mdicibmb", vector = "tex-mb" }, + } + } + } +} diff --git a/Master/texmf-dist/tex/context/fonts/mdpgd-math.lfg b/Master/texmf-dist/tex/context/fonts/mdpgd-math.lfg index 583870944e8..b7863b46e4a 100644 --- a/Master/texmf-dist/tex/context/fonts/mdpgd-math.lfg +++ b/Master/texmf-dist/tex/context/fonts/mdpgd-math.lfg @@ -1,37 +1,37 @@ -return {
- name = "mdpgd-math",
- version = "1.00",
- comment = "Math fonts that complement Adobe Garamond Pro.",
- author = "Hans, Mojca, Aditya",
- copyright = "ConTeXt development team",
- mathematics = {
- mapfiles = {
- "mdpgd.map",
- "mkiv-base.map",
- },
- virtuals = {
- ["mdpgd-rm"] = {
- { name = "file:ugmr8a", features = "virtualmath", main = true },
- { name = "mdpgdr7m", vector = "tex-mr", skewchar=0x7F },
- { name = "mdpgdri7m", vector = "tex-mi", skewchar=0x7F },
- { name = "mdpgdri7m", vector = "tex-it", skewchar=0x7F },
- { name = "mdpgds7m", vector = "tex-bf", skewchar=0x7F },
- { name = "mdpgdsi7m", vector = "tex-bi", skewchar=0x7F },
- { name = "mdpgdr7y", vector = "tex-sy", skewchar=0x30, parameters = true },
- { name = "mdpgdr7v", vector = "tex-ex", extension = true },
- { name = "mdpgdrma", vector = "tex-ma" },
- { name = "mdpgdrmb", vector = "tex-mb" },
- },
- ["mdpgd-bf"] = {
- { name = "file:ugmm8a", features = "virtualmath", main = true },
- { name = "mdpgds7m", vector = "tex-mr", skewchar=0x7F },
- { name = "mdpgdsi7m", vector = "tex-mi", skewchar=0x7F },
- { name = "mdpgdsi7m", vector = "tex-it", skewchar=0x7F },
- { name = "mdpgds7y", vector = "tex-sy", skewchar=0x30, parameters = true },
- { name = "mdpgds7v", vector = "tex-ex", extension = true },
- { name = "mdpgdsma", vector = "tex-ma" },
- { name = "mdpgdsmb", vector = "tex-mb" },
- }
- }
- }
-}
+return { + name = "mdpgd-math", + version = "1.00", + comment = "Math fonts that complement Adobe Garamond Pro.", + author = "Hans, Mojca, Aditya", + copyright = "ConTeXt development team", + mathematics = { + mapfiles = { + "mdpgd.map", + "mkiv-base.map", + }, + virtuals = { + ["mdpgd-rm"] = { + { name = "file:ugmr8a", features = "virtualmath", main = true }, + { name = "mdpgdr7m", vector = "tex-mr", skewchar=0x7F }, + { name = "mdpgdri7m", vector = "tex-mi", skewchar=0x7F }, + { name = "mdpgdri7m", vector = "tex-it", skewchar=0x7F }, + { name = "mdpgds7m", vector = "tex-bf", skewchar=0x7F }, + { name = "mdpgdsi7m", vector = "tex-bi", skewchar=0x7F }, + { name = "mdpgdr7y", vector = "tex-sy", skewchar=0x30, parameters = true }, + { name = "mdpgdr7v", vector = "tex-ex", extension = true }, + { name = "mdpgdrma", vector = "tex-ma" }, + { name = "mdpgdrmb", vector = "tex-mb" }, + }, + ["mdpgd-bf"] = { + { name = "file:ugmm8a", features = "virtualmath", main = true }, + { name = "mdpgds7m", vector = "tex-mr", skewchar=0x7F }, + { name = "mdpgdsi7m", vector = "tex-mi", skewchar=0x7F }, + { name = "mdpgdsi7m", vector = "tex-it", skewchar=0x7F }, + { name = "mdpgds7y", vector = "tex-sy", skewchar=0x30, parameters = true }, + { name = "mdpgds7v", vector = "tex-ex", extension = true }, + { name = "mdpgdsma", vector = "tex-ma" }, + { name = "mdpgdsmb", vector = "tex-mb" }, + } + } + } +} diff --git a/Master/texmf-dist/tex/context/fonts/mdpus-math.lfg b/Master/texmf-dist/tex/context/fonts/mdpus-math.lfg index 59b6bc8e921..95d51de1467 100644 --- a/Master/texmf-dist/tex/context/fonts/mdpus-math.lfg +++ b/Master/texmf-dist/tex/context/fonts/mdpus-math.lfg @@ -1,37 +1,37 @@ -return {
- name = "mdpus-math",
- version = "1.00",
- comment = "Math fonts that complement Adobe Utopia Std.",
- author = "Hans, Mojca, Aditya",
- copyright = "ConTeXt development team",
- mathematics = {
- mapfiles = {
- "mdpus.map",
- "mkiv-base.map",
- },
- virtuals = {
- ["mdpus-rm"] = {
- { name = "file:putr8a", features = "virtualmath", main = true },
- { name = "mdpusr7m", vector = "tex-mr", skewchar=0x7F },
- { name = "mdpusri7m", vector = "tex-mi", skewchar=0x7F },
- { name = "mdpusri7m", vector = "tex-it", skewchar=0x7F },
- { name = "mdpuss7m", vector = "tex-bf", skewchar=0x7F },
- { name = "mdpussi7m", vector = "tex-bi", skewchar=0x7F },
- { name = "mdpusr7y", vector = "tex-sy", skewchar=0x30, parameters = true },
- { name = "mdpusr7v", vector = "tex-ex", extension = true },
- { name = "mdpusrma", vector = "tex-ma" },
- { name = "mdpusrmb", vector = "tex-mb" },
- },
- ["mdpus-bf"] = {
- { name = "file:putb8a", features = "virtualmath", main = true },
- { name = "mdpuss7m", vector = "tex-mr", skewchar=0x7F },
- { name = "mdpussi7m", vector = "tex-mi", skewchar=0x7F },
- { name = "mdpussi7m", vector = "tex-it", skewchar=0x7F },
- { name = "mdpuss7y", vector = "tex-sy", skewchar=0x30, parameters = true },
- { name = "mdpuss7v", vector = "tex-ex", extension = true },
- { name = "mdpussma", vector = "tex-ma" },
- { name = "mdpussmb", vector = "tex-mb" },
- }
- }
- }
-}
+return { + name = "mdpus-math", + version = "1.00", + comment = "Math fonts that complement Adobe Utopia Std.", + author = "Hans, Mojca, Aditya", + copyright = "ConTeXt development team", + mathematics = { + mapfiles = { + "mdpus.map", + "mkiv-base.map", + }, + virtuals = { + ["mdpus-rm"] = { + { name = "file:putr8a", features = "virtualmath", main = true }, + { name = "mdpusr7m", vector = "tex-mr", skewchar=0x7F }, + { name = "mdpusri7m", vector = "tex-mi", skewchar=0x7F }, + { name = "mdpusri7m", vector = "tex-it", skewchar=0x7F }, + { name = "mdpuss7m", vector = "tex-bf", skewchar=0x7F }, + { name = "mdpussi7m", vector = "tex-bi", skewchar=0x7F }, + { name = "mdpusr7y", vector = "tex-sy", skewchar=0x30, parameters = true }, + { name = "mdpusr7v", vector = "tex-ex", extension = true }, + { name = "mdpusrma", vector = "tex-ma" }, + { name = "mdpusrmb", vector = "tex-mb" }, + }, + ["mdpus-bf"] = { + { name = "file:putb8a", features = "virtualmath", main = true }, + { name = "mdpuss7m", vector = "tex-mr", skewchar=0x7F }, + { name = "mdpussi7m", vector = "tex-mi", skewchar=0x7F }, + { name = "mdpussi7m", vector = "tex-it", skewchar=0x7F }, + { name = "mdpuss7y", vector = "tex-sy", skewchar=0x30, parameters = true }, + { name = "mdpuss7v", vector = "tex-ex", extension = true }, + { name = "mdpussma", vector = "tex-ma" }, + { name = "mdpussmb", vector = "tex-mb" }, + } + } + } +} diff --git a/Master/texmf-dist/tex/context/fonts/mdput-math.lfg b/Master/texmf-dist/tex/context/fonts/mdput-math.lfg index 885c726b607..7779ec1526b 100644 --- a/Master/texmf-dist/tex/context/fonts/mdput-math.lfg +++ b/Master/texmf-dist/tex/context/fonts/mdput-math.lfg @@ -1,37 +1,37 @@ -return {
- name = "mdput-math",
- version = "1.00",
- comment = "Math fonts that complement Adobe Utopia.",
- author = "Hans, Mojca, Aditya",
- copyright = "ConTeXt development team",
- mathematics = {
- mapfiles = {
- "mdput.map",
- "mkiv-base.map",
- },
- virtuals = {
- ["mdput-rm"] = {
- { name = "file:putr8a", features = "virtualmath", main = true },
- { name = "mdputr7m", vector = "tex-mr", skewchar=0x7F },
- { name = "mdputri7m", vector = "tex-mi", skewchar=0x7F },
- { name = "mdputri7m", vector = "tex-it", skewchar=0x7F },
- { name = "mdputb7m", vector = "tex-bf", skewchar=0x7F },
- { name = "mdputbi7m", vector = "tex-bi", skewchar=0x7F },
- { name = "mdputr7y", vector = "tex-sy", skewchar=0x30, parameters = true },
- { name = "mdputr7v", vector = "tex-ex", extension = true },
- { name = "mdputrma", vector = "tex-ma" },
- { name = "mdputrmb", vector = "tex-mb" },
- },
- ["mdput-bf"] = {
- { name = "file:putb8a", features = "virtualmath", main = true },
- { name = "mdputb7m", vector = "tex-mr", skewchar=0x7F },
- { name = "mdputbi7m", vector = "tex-mi", skewchar=0x7F },
- { name = "mdputbi7m", vector = "tex-it", skewchar=0x7F },
- { name = "mdputb7y", vector = "tex-sy", skewchar=0x30, parameters = true },
- { name = "mdputb7v", vector = "tex-ex", extension = true },
- { name = "mdputbma", vector = "tex-ma" },
- { name = "mdputbmb", vector = "tex-mb" },
- }
- }
- }
-}
+return { + name = "mdput-math", + version = "1.00", + comment = "Math fonts that complement Adobe Utopia.", + author = "Hans, Mojca, Aditya", + copyright = "ConTeXt development team", + mathematics = { + mapfiles = { + "mdput.map", + "mkiv-base.map", + }, + virtuals = { + ["mdput-rm"] = { + { name = "file:putr8a", features = "virtualmath", main = true }, + { name = "mdputr7m", vector = "tex-mr", skewchar=0x7F }, + { name = "mdputri7m", vector = "tex-mi", skewchar=0x7F }, + { name = "mdputri7m", vector = "tex-it", skewchar=0x7F }, + { name = "mdputb7m", vector = "tex-bf", skewchar=0x7F }, + { name = "mdputbi7m", vector = "tex-bi", skewchar=0x7F }, + { name = "mdputr7y", vector = "tex-sy", skewchar=0x30, parameters = true }, + { name = "mdputr7v", vector = "tex-ex", extension = true }, + { name = "mdputrma", vector = "tex-ma" }, + { name = "mdputrmb", vector = "tex-mb" }, + }, + ["mdput-bf"] = { + { name = "file:putb8a", features = "virtualmath", main = true }, + { name = "mdputb7m", vector = "tex-mr", skewchar=0x7F }, + { name = "mdputbi7m", vector = "tex-mi", skewchar=0x7F }, + { name = "mdputbi7m", vector = "tex-it", skewchar=0x7F }, + { name = "mdputb7y", vector = "tex-sy", skewchar=0x30, parameters = true }, + { name = "mdputb7v", vector = "tex-ex", extension = true }, + { name = "mdputbma", vector = "tex-ma" }, + { name = "mdputbmb", vector = "tex-mb" }, + } + } + } +} diff --git a/Master/texmf-dist/tex/context/fonts/mdugm-math.lfg b/Master/texmf-dist/tex/context/fonts/mdugm-math.lfg index 0869c84e689..293c99371b8 100644 --- a/Master/texmf-dist/tex/context/fonts/mdugm-math.lfg +++ b/Master/texmf-dist/tex/context/fonts/mdugm-math.lfg @@ -1,37 +1,37 @@ -return {
- name = "mdugm-math",
- version = "1.00",
- comment = "Math fonts that complement URW Garamond.",
- author = "Hans, Mojca, Aditya",
- copyright = "ConTeXt development team",
- mathematics = {
- mapfiles = {
- "mdugm.map",
- "mkiv-base.map",
- },
- virtuals = {
- ["mdugm-rm"] = {
- { name = "file:ugmr8a", features = "virtualmath", main = true },
- { name = "mdugmr7m", vector = "tex-mr", skewchar=0x7F },
- { name = "mdugmri7m", vector = "tex-mi", skewchar=0x7F },
- { name = "mdugmri7m", vector = "tex-it", skewchar=0x7F },
- { name = "mdugmm7m", vector = "tex-bf", skewchar=0x7F },
- { name = "mdugmmi7m", vector = "tex-bi", skewchar=0x7F },
- { name = "mdugmr7y", vector = "tex-sy", skewchar=0x30, parameters = true },
- { name = "mdugmr7v", vector = "tex-ex", extension = true },
- { name = "mdugmrma", vector = "tex-ma" },
- { name = "mdugmrmb", vector = "tex-mb" },
- },
- ["mdugm-bf"] = {
- { name = "file:ugmm8a", features = "virtualmath", main = true },
- { name = "mdugmm7m", vector = "tex-mr", skewchar=0x7F },
- { name = "mdugmmi7m", vector = "tex-mi", skewchar=0x7F },
- { name = "mdugmmi7m", vector = "tex-it", skewchar=0x7F },
- { name = "mdugmm7y", vector = "tex-sy", skewchar=0x30, parameters = true },
- { name = "mdugmm7v", vector = "tex-ex", extension = true },
- { name = "mdugmmma", vector = "tex-ma" },
- { name = "mdugmmmb", vector = "tex-mb" },
- }
- }
- }
-}
+return { + name = "mdugm-math", + version = "1.00", + comment = "Math fonts that complement URW Garamond.", + author = "Hans, Mojca, Aditya", + copyright = "ConTeXt development team", + mathematics = { + mapfiles = { + "mdugm.map", + "mkiv-base.map", + }, + virtuals = { + ["mdugm-rm"] = { + { name = "file:ugmr8a", features = "virtualmath", main = true }, + { name = "mdugmr7m", vector = "tex-mr", skewchar=0x7F }, + { name = "mdugmri7m", vector = "tex-mi", skewchar=0x7F }, + { name = "mdugmri7m", vector = "tex-it", skewchar=0x7F }, + { name = "mdugmm7m", vector = "tex-bf", skewchar=0x7F }, + { name = "mdugmmi7m", vector = "tex-bi", skewchar=0x7F }, + { name = "mdugmr7y", vector = "tex-sy", skewchar=0x30, parameters = true }, + { name = "mdugmr7v", vector = "tex-ex", extension = true }, + { name = "mdugmrma", vector = "tex-ma" }, + { name = "mdugmrmb", vector = "tex-mb" }, + }, + ["mdugm-bf"] = { + { name = "file:ugmm8a", features = "virtualmath", main = true }, + { name = "mdugmm7m", vector = "tex-mr", skewchar=0x7F }, + { name = "mdugmmi7m", vector = "tex-mi", skewchar=0x7F }, + { name = "mdugmmi7m", vector = "tex-it", skewchar=0x7F }, + { name = "mdugmm7y", vector = "tex-sy", skewchar=0x30, parameters = true }, + { name = "mdugmm7v", vector = "tex-ex", extension = true }, + { name = "mdugmmma", vector = "tex-ma" }, + { name = "mdugmmmb", vector = "tex-mb" }, + } + } + } +} diff --git a/Master/texmf-dist/tex/context/fonts/px-math.lfg b/Master/texmf-dist/tex/context/fonts/px-math.lfg index 2996a55e538..14f71dad379 100644 --- a/Master/texmf-dist/tex/context/fonts/px-math.lfg +++ b/Master/texmf-dist/tex/context/fonts/px-math.lfg @@ -10,7 +10,7 @@ return { }, virtuals = { ["px-math"] = { - { name = "texgyrepagella-regular.otf", features = "virtualmath", main = true }, + { name = "texgyre-pagella-math-regular.otf", features = "virtualmath", main = true }, { name = "texgyrepagella-regular.otf", features = "virtualmath", vector = "tex-mr-missing" } , { name = "rpxr.tfm", vector = "tex-mr" } , { name = "rpxmi.tfm", vector = "tex-mi", skewchar=0x7F }, diff --git a/Master/texmf-dist/tex/context/fonts/texgyre.lfg b/Master/texmf-dist/tex/context/fonts/texgyre.lfg index 7782aa5093c..7859820376b 100644 --- a/Master/texmf-dist/tex/context/fonts/texgyre.lfg +++ b/Master/texmf-dist/tex/context/fonts/texgyre.lfg @@ -26,5 +26,11 @@ return { "tgbonummath-regular.otf", "tgbonum-math.otf", }, + ["texgyre-schola-math-regular.otf"] = { + "texgyreschola-math.otf", -- beta + "texgyrescholamath-regular.otf", + "tgscholamath-regular.otf", + "tgschola-math.otf", + }, }, } diff --git a/Master/texmf-dist/tex/context/fonts/treatments.lfg b/Master/texmf-dist/tex/context/fonts/treatments.lfg index 22706d6e974..44d24da22a3 100644 --- a/Master/texmf-dist/tex/context/fonts/treatments.lfg +++ b/Master/texmf-dist/tex/context/fonts/treatments.lfg @@ -2,6 +2,47 @@ -- the order specified by tree order access. The first treatment of a file -- always wins, so one can overload. These files are not (to be) loaded with -- font definitions. (Experiment as part of writing the font manual.) +-- +-- So there are several ways to fix a font: add a patcher to a goodie file and +-- load that one. Such a patch can end up in the cached file. Treatments are +-- applied at runtime. An experimental auto-loaded goodie approach is not yet +-- enabled and will never be if treatments can do the job. + +local report = fonts.treatments.report + +local fix_unifraktur = { + comment = "suspicious x height", + fixes = function(data) + local pfminfo = data.metadata.pfminfo + if pfminfo then + local os2_xheight = pfminfo.os2_xheight + if os2_xheight and os2_xheight < 350 then + report("suspicious x-height %a, nilling",os2_xheight) + pfminfo.os2_xheight_original = os2_xheight + pfminfo.os2_xheight = nil + end + end + end, +} + +local fix_lmmonoregular = { + comment = "wrong widths of some glyphs", + fixes = function(data) + report("fixing some wrong widths") + local unicodes = data.resources.unicodes + local descriptions = data.descriptions + local defaultwidth = descriptions[unicodes["zero"]].width + descriptions[unicodes["six"] ].width = defaultwidth + descriptions[unicodes["nine"] ].width = defaultwidth + descriptions[unicodes["caron"] ].width = defaultwidth + descriptions[unicodes["perthousand"] ].width = defaultwidth + descriptions[unicodes["numero"] ].width = defaultwidth + descriptions[unicodes["caron.cap"] ].width = defaultwidth + descriptions[unicodes["six.taboldstyle"] ].width = defaultwidth + descriptions[unicodes["nine.taboldstyle"]].width = defaultwidth + descriptions[unicodes["dollar.oldstyle" ]].width = defaultwidth + end +} return { name = "treatments", @@ -13,18 +54,30 @@ return { -- we need to complete this list in order to be able to warn -- users not to include these files unless permitted ["adobeheitistd-regular.otf"] = { + comment = "this font is part of acrobat", ignored = false, -- included = false, -- not yet - comment = "this font is part of acrobat", }, -- just an experiment .. normally no big deal but I ran into -- such case ["crap.ttf"] = { - ignored = true, comment = "a text file with suffix ttf", -- used in test file + ignored = true, + }, + ["lingoes.ttf"] = { + comment = "bugged file", + ignored = true, }, - ["latinmodern-math.otf"] = { - comment = "experimental", - } + -- harmless example + -- ["copperplatethirtythreebc.ttf"] = { + -- comment = "hangs and has no hyphen", + -- ignored = true, + -- }, + -- ["latinmodern-math.otf"] = { + -- comment = "experimental", + -- }, + ["lmmono12regular.otf"] = fix_lmmonoregular, + ["unifrakturcook.ttf"] = fix_unifraktur, + ["unifrakturmaguntia.ttf"] = fix_unifraktur, }, } diff --git a/Master/texmf-dist/tex/context/fonts/unifraktur.lfg b/Master/texmf-dist/tex/context/fonts/unifraktur.lfg new file mode 100644 index 00000000000..32ffed928f5 --- /dev/null +++ b/Master/texmf-dist/tex/context/fonts/unifraktur.lfg @@ -0,0 +1,23 @@ +-- moved to treatments.lfg +-- +-- fonts.handlers.otf.enhancers.patches.register("after","check metadata","unifraktur*", function(data,filename) +-- data.metadata.pfminfo.os2_xheight = nil +-- end) + +return { + name = "unicode fraktur", + version = "1.00", + comment = "Goodies that complement unicode fraktur.", + author = "Hans Hagen", + copyright = "ConTeXt development team", + letterspacing = { + -- watch it: zwnj's are used (in the tounicodes too) + keptligatures = { + ["c_afii301_k.ccmp"] = true, -- ck + ["c_afii301_h.ccmp"] = true, -- ch + ["t_afii301_z.ccmp"] = true, -- tz + ["uniFB05"] = true, -- ſt + }, + } +} + |