mirror of
https://github.com/wezm/wezm.net.git
synced 2024-11-10 01:42:32 +00:00
QA /technical/2009/03/install-consolas-mac-osx/
This commit is contained in:
parent
9356c895c7
commit
ad2c9cd635
2 changed files with 38 additions and 35 deletions
|
@ -1,40 +1,40 @@
|
||||||
With the introduction of Windows Vista and Office 2007 Microsoft included some new fonts, which became the defaults in Office. Their names all start with 'C' and they are quite attractive. In particular there is a monospaced font called <a href="http://en.wikipedia.org/wiki/Consolas">Consolas</a> that is nice to use as a text editor font and Terminal font. The problem is they aren't technically free, although Microsoft does include them in a number of freely available updaters. What follows is how I went about installing the fonts on my Mac.
|
With the introduction of Windows Vista and Office 2007 Microsoft included some new fonts, which became the defaults in Office. Their names all start with 'C' and they are quite attractive. In particular there is a monospaced font called <a href="http://en.wikipedia.org/wiki/Consolas">Consolas</a> that is nice to use as a text editor font and Terminal font. The problem is they aren't technically free, although Microsoft does include them in a number of freely available updaters. What follows is how I went about installing the fonts on my Mac.
|
||||||
|
|
||||||
<!--more-->
|
<!--more-->
|
||||||
<ol>
|
|
||||||
<li>Download the Open XML File Format Converter for Mac from the <a href="http://www.microsoft.com/mac/downloads.mspx">Microsoft Mactopia download page</a>.</li>
|
|
||||||
<li>Double click the disk image if it wasn't automatically mounted. You will see an Open XML File Format Converter meta package (.mpkg). This is an installer package comprised of several sub-installer packages. One of which is the fonts I was after.</li>
|
|
||||||
<li>Run the Open XML Fonts Installer package. Running the following in the Terminal will achieve this in a typical Mac OS X install:
|
|
||||||
<code>open "/Volumes/Open XML File Format Converter for Mac 1.0.2/Open XML File Format Converter for Mac 1.0.2.mpkg/Contents/Packages/OpenXML_all_fonts.pkg"</code></li>
|
|
||||||
<li>Follow the prompts and you're done. You can now configure you text editor and Terminal to use Consolas.</li>
|
|
||||||
</ol>
|
|
||||||
|
|
||||||
<strong>Note:</strong> I deemed that the <code>OpenXML_all_fonts.pkg</code> was safe to install without fear that it will install any other rubbish using the <code>lsbom</code> command as follows:
|
1. Download the Open XML File Format Converter for Mac from the <a href="http://www.microsoft.com/mac/downloads.mspx">Microsoft Mactopia download page</a>.
|
||||||
|
1. Double click the disk image if it wasn't automatically mounted. You will see an Open XML File Format Converter meta package (.mpkg). This is an installer package comprised of several sub-installer packages. One of which is the fonts I was after.
|
||||||
|
1. Run the Open XML Fonts Installer package. Running the following in the Terminal will achieve this in a typical Mac OS X ins
|
||||||
|
1. `open "/Volumes/Open XML File Format Converter for Mac 1.0.2/Open XML File Format Converter for Mac 1.0.2.mpkg/Contents/Packages/OpenXML_all_fonts.pkg"`
|
||||||
|
1. Follow the prompts and you're done. You can now configure you text editor and Terminal to use Consolas.
|
||||||
|
|
||||||
<pre style="overflow: scroll">$ lsbom -s /Volumes/Open\ XML\ File\ Format\ Converter\ for\ Mac\ 1.0.2/Open\ XML\ File\ Format\ Converter\ for\ Mac\ 1.0.2.mpkg/Contents/Packages/OpenXML_all_fonts.pkg/Contents/Archive.bom
|
**Note:** I deemed that the `OpenXML_all_fonts.pkg` was safe to install without fear that it will install any other rubbish using the `lsbom` command as follows:
|
||||||
.
|
|
||||||
./Calibri Bold Italic.ttf
|
$ lsbom -s /Volumes/Open\ XML\ File\ Format\ Converter\ for\ Mac\ 1.0.2/Open\ XML\ File\ Format\ Converter\ for\ Mac\ 1.0.2.mpkg/Contents/Packages/OpenXML_all_fonts.pkg/Contents/Archive.bom
|
||||||
./Calibri Bold.ttf
|
.
|
||||||
./Calibri Italic.ttf
|
./Calibri Bold Italic.ttf
|
||||||
./Calibri.ttf
|
./Calibri Bold.ttf
|
||||||
./Cambria Bold Italic.ttf
|
./Calibri Italic.ttf
|
||||||
./Cambria Bold.ttf
|
./Calibri.ttf
|
||||||
./Cambria Italic.ttf
|
./Cambria Bold Italic.ttf
|
||||||
./Cambria.ttf
|
./Cambria Bold.ttf
|
||||||
./Candara Bold Italic.ttf
|
./Cambria Italic.ttf
|
||||||
./Candara Bold.ttf
|
./Cambria.ttf
|
||||||
./Candara Italic.ttf
|
./Candara Bold Italic.ttf
|
||||||
./Candara.ttf
|
./Candara Bold.ttf
|
||||||
./Consolas Bold Italic.ttf
|
./Candara Italic.ttf
|
||||||
./Consolas Bold.ttf
|
./Candara.ttf
|
||||||
./Consolas Italic.ttf
|
./Consolas Bold Italic.ttf
|
||||||
./Consolas.ttf
|
./Consolas Bold.ttf
|
||||||
./Constantia Bold Italic.ttf
|
./Consolas Italic.ttf
|
||||||
./Constantia Bold.ttf
|
./Consolas.ttf
|
||||||
./Constantia Italic.ttf
|
./Constantia Bold Italic.ttf
|
||||||
./Constantia.ttf
|
./Constantia Bold.ttf
|
||||||
./Corbel Bold Italic.ttf
|
./Constantia Italic.ttf
|
||||||
./Corbel Bold.ttf
|
./Constantia.ttf
|
||||||
./Corbel Italic.ttf
|
./Corbel Bold Italic.ttf
|
||||||
./Corbel.ttf</pre>
|
./Corbel Bold.ttf
|
||||||
|
./Corbel Italic.ttf
|
||||||
|
./Corbel.ttf</pre>
|
||||||
|
|
||||||
This listing shows that the package only contains fonts, nothing else.
|
This listing shows that the package only contains fonts, nothing else.
|
||||||
|
|
|
@ -99,6 +99,9 @@ pre,code,tt {
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
font-family: Consolas, "Andale Mono", "Liberation Mono", Menlo, Monaco, "Bitstream Vera Sans Mono", fixed;
|
font-family: Consolas, "Andale Mono", "Liberation Mono", Menlo, Monaco, "Bitstream Vera Sans Mono", fixed;
|
||||||
}
|
}
|
||||||
|
pre {
|
||||||
|
overflow-x: auto;
|
||||||
|
}
|
||||||
|
|
||||||
blockquote {
|
blockquote {
|
||||||
border-left: 2px solid #999;
|
border-left: 2px solid #999;
|
||||||
|
@ -132,7 +135,7 @@ ul#menu li {
|
||||||
padding: 0 20px;
|
padding: 0 20px;
|
||||||
clear: both;
|
clear: both;
|
||||||
min-width: 600px;
|
min-width: 600px;
|
||||||
margin-right: 40%;
|
margin-right: 33%;
|
||||||
}
|
}
|
||||||
body.articles #content {
|
body.articles #content {
|
||||||
min-width: auto;
|
min-width: auto;
|
||||||
|
|
Loading…
Reference in a new issue