Source Code Pro monospaced font 1.010
This commit is contained in:
22
SourceCodePro/SourceCodePro.nuspec
Normal file
22
SourceCodePro/SourceCodePro.nuspec
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<metadata>
|
||||||
|
<id>SourceCodePro</id>
|
||||||
|
<title>Source Code Pro Programming Font</title>
|
||||||
|
<version>1.010</version>
|
||||||
|
<authors>Adobe Systems Incorporated</authors>
|
||||||
|
<owners>Ethan Brown</owners>
|
||||||
|
<summary>Monospaced OpenType programming font</summary>
|
||||||
|
<description>Source Code Pro is a set of OpenType fonts that have been designed to work well in user interface (UI) environments. In addition to a functional OpenType font, this open source project provides all of the source files that were used to build this OpenType font by using the AFDKO makeotf tool.
|
||||||
|
</description>
|
||||||
|
<projectUrl>https://github.com/adobe/Source-Code-Pro</projectUrl>
|
||||||
|
<tags>monospace opentype programming font</tags>
|
||||||
|
<licenseUrl>https://github.com/adobe/Source-Code-Pro/blob/master/LICENSE.txt</licenseUrl>
|
||||||
|
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||||
|
<iconUrl>http://blogs.adobe.com/typblography/files/2012/09/SourceCodeSplash.png</iconUrl>
|
||||||
|
<releaseNotes></releaseNotes>
|
||||||
|
</metadata>
|
||||||
|
<files>
|
||||||
|
<file src="tools\**" target="tools" />
|
||||||
|
</files>
|
||||||
|
</package>
|
21
SourceCodePro/tools/chocolateyInstall.ps1
Normal file
21
SourceCodePro/tools/chocolateyInstall.ps1
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
try {
|
||||||
|
$package = 'SourceCodePro'
|
||||||
|
|
||||||
|
$fontUrl = 'https://github.com/downloads/adobe/Source-Code-Pro/SourceCodePro_FontsOnly-1.010.zip'
|
||||||
|
$destination = Join-Path $Env:Temp 'SourceCodePro'
|
||||||
|
|
||||||
|
Install-ChocolateyZipPackage -url $fontUrl -unzipLocation $destination
|
||||||
|
|
||||||
|
$shell = New-Object -ComObject Shell.Application
|
||||||
|
$fontsFolder = $shell.Namespace(0x14)
|
||||||
|
|
||||||
|
Get-ChildItem $destination -Recurse -Filter *.otf |
|
||||||
|
% { $fontsFolder.CopyHere($_.FullName) }
|
||||||
|
|
||||||
|
Remove-Item $destination -Recurse
|
||||||
|
|
||||||
|
Write-ChocolateySuccess $package
|
||||||
|
} catch {
|
||||||
|
Write-ChocolateyFailure $package "$($_.Exception.Message)"
|
||||||
|
throw
|
||||||
|
}
|
Reference in New Issue
Block a user