diff --git a/MesloLG/MesloLG.nuspec b/MesloLG/MesloLG.nuspec new file mode 100644 index 0000000..c438ab6 --- /dev/null +++ b/MesloLG/MesloLG.nuspec @@ -0,0 +1,60 @@ + + + + MesloLG.DZ + Meslo LG Monospaced Programming Font with dotted zeros + 1.00 + Andre Berg + Ethan J Brown + Customized version of Apple's Menlo font. Great monospaced font for development work. Should also work with the Windows Console. + Meslo LG is a customized version of Apple’s Menlo-Regular font +(which is a customized Bitstream Vera Sans Mono). + + In Snow Leopard, Menlo-Regular is now the preferred and default font for Apple’s + developer tools and also the Terminal (unless you changed the font settings for + these apps yourself before upgrading to SL – your changes will stay in place). + + I really like Menlo but I do have my nitpicky gripes with it: + + * The default vertical (line) spacing is just way to cramped for me, and also + * I am not particularily fond of the horizontal baseline alignment of the asterisk. + + https://github.com/andreberg/Meslo-Font + monospace truetype programming font + http://www.apache.org/licenses/LICENSE-2.0 + false + + v0.1 + + Initial release. + + v1.0 + + Meslo has changed it’s name to Meslo LG which now includes three variants: + small, medium and large. + + LG stands for Line Gap, so there’s one variant for smaller vertical line spacing, + more towards Apple’s Menlo, a normal line gap (which equals Meslo v0.1) and + a large gap, which is more than twice the space of Apple’s Menlo. + + In addition to Regular, there’s Italic, Bold and Bold Italic font styles + included for each LG variant. + + Tweaked the ascender/descender/line gap relationship a bit for better layout + at marginal smaller font sizes and prominent font styles (such as Bold and + Bold Italic). Things line underlines should be better to perceive now for + the font styles. + + The asterisk (*) was tweaked for all font styles. + This includes making it line up with all alignment zones for similar height + symbol characters and fixing Menlo’s absence of a slanting angle for the italic + and bold italic font styles while maintaining the readability at all sizes. + + v1.0 + + Added a dotted zero version of Meslo LG which is called Meslo LG DZ. + + + + + diff --git a/MesloLG/tools/chocolateyInstall.ps1 b/MesloLG/tools/chocolateyInstall.ps1 new file mode 100644 index 0000000..3ce69ad --- /dev/null +++ b/MesloLG/tools/chocolateyInstall.ps1 @@ -0,0 +1,24 @@ +$package = 'MesloLG.DZ' + +try { + # no dot + # $fontUrl = 'https://github.com/downloads/andreberg/Meslo-Font/Meslo%20LG%20v1.0.zip' + # dotted zero + $fontUrl = 'https://github.com/downloads/andreberg/Meslo-Font/Meslo%20LG%20DZ%20v1.0.zip' + $destination = Join-Path $Env:Temp 'MesloFont' + + Install-ChocolateyZipPackage -url $fontUrl -unzipLocation $destination + + $shell = New-Object -ComObject Shell.Application + $fontsFolder = $shell.Namespace(0x14) + + Get-ChildItem $destination -Recurse -Filter *.ttf | + % { $fontsFolder.CopyHere($_.FullName) } + + Remove-Item $destination -Recurse + + Write-ChocolateySuccess $package +} catch { + Write-ChocolateyFailure $package "$($_.Exception.Message)" + throw +}