diff options
| author | Michael Forney <mforney@mforney.org> | 2021-01-30 17:07:16 -0800 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2021-01-30 17:31:50 -0800 |
| commit | ec86e05e61d2141da06802133967bbe4a98f04e5 (patch) | |
| tree | c62810869d829b14833f94a2e0bfa41f06075c94 /pkg/adobe-source-fonts/gen.lua | |
| parent | fe52fa32d44e46beb491cca5c5e84d5545578b11 (diff) | |
adobe-source-fonts: Update to latest versions
Diffstat (limited to 'pkg/adobe-source-fonts/gen.lua')
| -rw-r--r-- | pkg/adobe-source-fonts/gen.lua | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/pkg/adobe-source-fonts/gen.lua b/pkg/adobe-source-fonts/gen.lua index f449d399..a3ec998d 100644 --- a/pkg/adobe-source-fonts/gen.lua +++ b/pkg/adobe-source-fonts/gen.lua @@ -1,12 +1,4 @@ -local function font(name, styles) - for _, style in ipairs(styles) do - local path = string.format('share/fonts/%s/%s.otf', name, style) - local src = string.format('$srcdir/OTF/%s.otf', style) - file(path, '644', src) - end -end - -font('source-code-pro', { +local fonts = { 'SourceCodePro-Black', 'SourceCodePro-BlackIt', 'SourceCodePro-Bold', @@ -21,30 +13,38 @@ font('source-code-pro', { 'SourceCodePro-Regular', 'SourceCodePro-Semibold', 'SourceCodePro-SemiboldIt', -}) -font('source-sans-pro', { - 'SourceSansPro-Black', - 'SourceSansPro-BlackIt', - 'SourceSansPro-Bold', - 'SourceSansPro-BoldIt', - 'SourceSansPro-ExtraLight', - 'SourceSansPro-ExtraLightIt', - 'SourceSansPro-It', - 'SourceSansPro-Light', - 'SourceSansPro-LightIt', - 'SourceSansPro-Regular', - 'SourceSansPro-Semibold', - 'SourceSansPro-SemiboldIt', -}) + 'SourceSans3-Black', + 'SourceSans3-BlackIt', + 'SourceSans3-Bold', + 'SourceSans3-BoldIt', + 'SourceSans3-ExtraLight', + 'SourceSans3-ExtraLightIt', + 'SourceSans3-It', + 'SourceSans3-Light', + 'SourceSans3-LightIt', + 'SourceSans3-Regular', + 'SourceSans3-Semibold', + 'SourceSans3-SemiboldIt', -font('source-serif-pro', { - 'SourceSerifPro-Black', - 'SourceSerifPro-Bold', - 'SourceSerifPro-ExtraLight', - 'SourceSerifPro-Light', - 'SourceSerifPro-Regular', - 'SourceSerifPro-Semibold', -}) + 'SourceSerif4-Black', + 'SourceSerif4-BlackIt', + 'SourceSerif4-Bold', + 'SourceSerif4-BoldIt', + 'SourceSerif4-ExtraLight', + 'SourceSerif4-ExtraLightIt', + 'SourceSerif4-It', + 'SourceSerif4-Light', + 'SourceSerif4-LightIt', + 'SourceSerif4-Regular', + 'SourceSerif4-Semibold', + 'SourceSerif4-SemiboldIt', +} + +for _, font in ipairs(fonts) do + local path = ('share/fonts/%s.otf'):format(font) + local src = ('$srcdir/OTF/%s.otf'):format(font) + file(path, '644', src) +end fetch 'curl' |
