Mac os terminal fonts

Change Profiles Text preferences in Terminal on Mac

Use Text preferences in Terminal to change the font, text, colour, and cursor options for a Terminal window profile.

To change these preferences in the Terminal app on your Mac, choose Terminal > Preferences, click Profiles, select a profile, then click Text.

Note: The options you choose in this preference pane apply only to the profile you select. They don’t apply to the Terminal app in general.

Change background options.

Colour & Effects: Click the colour well, then select a colour. To make the Terminal window translucent or transparent, use the sliders to adjust the opacity and blur.

To set the opacity and blur for background windows, select Inactive Windows, then use the corresponding sliders to make adjustments.

Image: Click the Image pop-up menu, choose Choose, then select an image.

To change the font used, click Change in the Font section, then select the font, typeface, and size.

Change the way text appears.

Antialias text: Applies text smoothing.

Use bold fonts: Uses bold for emphasis.

Allow blinking text: Allows text to flash on and off.

Display ANSI colours: Displays text using the colours embedded in some terminal emulator standards.

Use bold fonts: Adds emphasis to bold text with colour.

Text: Change the colour of the text. Click the colour well, then select a colour.

Bold Text: Change the colour of bold text. Click the colour well, then select a colour.

Selection: Change the colour of the selected text. Click the colour well, then select a colour.

To customise an ANSI colour, click the colour well, then select a colour.

Change how the cursor appears.

Block, Underline, Vertical Bar: Set the shape of the cursor.

Blink cursor: Makes the cursor blink.

Cursor: Set the colour of the cursor. Click the colour well, then select a colour.

Источник

Use Any Font in the Mac OS X Terminal

The Terminal in modern versions of Mac OS X enforces a new monospacing character width standard, which in laymen terms means you no longer have to use monospace fonts in the Terminal. That means you can now use any font you want, even Comic Sans like the screenshot shows down below (hooray?).

How to change the Terminal font in Mac OS X

You can pick any font you want to become the new default in Terminal, or you can assign the font change to specific profiles. You’ll obviously want to use something that is readable:

  1. Open “Preferences” from the Terminal app menu
  2. Choose Settings, then select a theme and go to the Text tab
  3. Choose “Font” and make the change to the terminal font as desired

As long as you are actively using the theme you are adjusting, the changes take effect immediately in a live fashion.

Perhaps more helpful than changing the font is the ability to adjust font and line spacing. While you’re in a Terminal themes settings, you can change the background picture of Terminal windows too, which is a nice effect.

Читайте также:  Почему не работает порт usb после переустановки windows

I’m a big fan of Menlo Regular 11 and 12, but the world of ugly fonts is now open to you, including Dingbats and Emoji characters if you really want to get stupid. While only marginally useful, this does allow for an additional degree of user experience customization, which is always a plus in our book.

This works in all modern versions of OS X, from OS X Lion to Mountain Lion, Mavericks, OS X Yosemite, you name it, it’s supported post-Lion.

Thanks for sending in the tip from McaWorld, Greg

Источник

Increase Font Size in Terminal for Mac OS X Quickly with Keystrokes

The default text size used by Terminal app in OS X can be quite small if you’re using a large resolution display. While you can change the font to be better suit your preferences, and increasing the line spacing helps reading too, another simple solution to boost readability is to simply increase the text size shown on screen while visiting the command line.

The simplest and quickest way to increase (or decrease) the text size shown for Terminal app is using keystrokes with the Command and Plus or Minus keys. This will adjust the size of the display font for the currently active terminal session, but it does not change the default font size for new terminal windows or sessions, making this more of a quick solution for when you need to increase readability.

Increase Terminal Text Size: Command+Plus

Just hit Command and the Plus (+) key to increase the font size shown by one size. Hit the keystroke a few times to increase the text size notably.

Decrease Terminal Text Size: Command+Minus

As Command+Plus increase the font size, Command+Minus will decrease it. Thus, if you want to go smaller for whatever reason, or you made the text size too big with the prior keystroke, hit Command+Minus (-) key to reduce it.

Return to Default Font Size: Command+0

Not thrilled with the newly changed font size? You can instantly return to the active Terminal profiles default text size by hitting Command+Zero.

If these command keyboard shortcuts sound familiar to you, it’s likely because you may have used them before for the same font size changes in browsers like Safari, Chrome, TextEdit, and many other apps. Much like the instant Preferences shortcut, this is not quite universal, but so many apps use the Command+ and Command- trick to adjust the visible fonts that it’s nearly universal for performing that function.

As we mentioned, this is a session based approach to adjusting terminal text size, which can make viewing command line details significantly easier to read. If you want to change the displayed text size permanently, you’d need to adjust the Font itself, which also offers precise controls for font size, font family, and font weight.

If you’re doing this to make the command line look a bit more attractive, keep in mind there are plenty of other ways to improve the appearance of Terminal app and make it more readable too.

Читайте также:  Windows 10 people не запускается

Источник

Question: Q: Terminal font settings

Does anyone know how to get the text appereance found in the terminal app system wide?

Here is a screenshot showing the same text in terminal and textedit, same font, same size. At leas for me, the terminal text is much more clearer — easier to read.

I’m using mountain lion.

MacBook Pro, OS X Mountain Lion (10.8.4)

Posted on Jun 30, 2013 9:45 PM

You can turn off font smoothing for small fonts in System Preferences > General.

Posted on Jul 1, 2013 9:14 AM

Helpful answers

This is because unlike the Terminal, in TextEdit and many other programs, text is anti-aliased. This will smooth out the view and prevent the blocky look that is in the Terminal. Unfortunately TextEdit does not have any options for this, so you are stuck with an anti-aliased view, or will have to find another text editor that will give you this feature.

Jun 30, 2013 11:17 PM

There’s more to the conversation

Loading page content

Page content loaded

This is because unlike the Terminal, in TextEdit and many other programs, text is anti-aliased. This will smooth out the view and prevent the blocky look that is in the Terminal. Unfortunately TextEdit does not have any options for this, so you are stuck with an anti-aliased view, or will have to find another text editor that will give you this feature.

Jun 30, 2013 11:17 PM

too bad there is not an option for this, I will have to get used to the blurry text 😟

Jul 1, 2013 8:33 AM

One popular text editor that does prevent anti-aliasing is TextWrangler ( http://www.barebones.com/products/textwrangler/ ).

With this program, you can set its default font to Monaco 10pt (the same that’s used in the Terminal), and it should appear without being smoothed. Again, this is not going to happen in all applications, but if you are simply viewing and creating text files then you can use TextWrangler to do this and get the view you want.

Jul 1, 2013 8:39 AM

You can turn off font smoothing for small fonts in System Preferences > General.

Источник

Mac os terminal fonts

Why do you want to use fancy symbols in your standard monospace font? Obviously to have a fancy prompt like mine 🙂

And because when you live in a terminal a symbol can convey more informations in less space creating a dense and beautiful (for those who have a certain aesthetic taste) informative workspace

Heavily inspired by https://github.com/Lokaltog/vim-powerline and the relative patch script from Kim Silkebækken (kim.silkebaekken+vim@gmail.com)

Patching vs Fallback

There are two strategies that could be used to have symbols in a terminal

  • you can take a bunch of symbol fonts, your favourite monospace font and merge them together (patching strategy)
  • you can use a feature of freetype2 font engine, basically you can say that whenever the current font doesn’t have a glyph for a certain codepoint then fallback and go look into other fonts (fallback strategy)

Initially I used the first strategy, later I switched to the second. The patching strategy it’s more reliable and portable, the problem is that you need to patch every monospace font you want to use and patching a single font it’s a lot of manual fine tuning. If you want you can find all previous patched fonts in patching-strategy branch

Читайте также:  Windows live новейшая версия

Referring to glyphs by codepints (eg. \uf00c ) in your scripts or shell configuration it’s not recommended because icon fonts like Font Awesome use code points ranges those ranges are not disciplined by the unicode consortium, every font can associate every glyphs to those codepoints. This means that Font Awesome can choose to move glyphs around freely, today \uf00c is associated to the check symbol, tomorrow it can be associated to something else. Moreover, more than one icon font can use the same codepoint for different glyphs and if we want to use them both we need to move one of them. So, if you use a codepoint to refer to a glyph after an update that codepoint can point to another glyph. To avoid this situation you can use the font maps in the ./build directory, font maps are scripts which define shell variables that give names to glyphs, by sourcing those files in your shell you can refer to glyphs by name (eg. $CODEPOINT_OF_AWESOME_CHECK ).

TLDR: don’t refer to glyphs by codepoints (eg. \uf00c ) but by name (eg. $CODEPOINT_OF_AWESOME_CHECK ) to make your scripts and shell configurations resilient to future updates. To do that don’t forget to copy font maps ( *.sh files) in the ./build directory in your home directory and to source them in your shell startup

In this repository you can find a bunch of fonts that I use as symbol fonts with the relative font maps

  • Font Awesome 4.7.0: ./fonts/fontawesome-regular.ttf , for further informations and license see http://fortawesome.github.io/Font-Awesome
  • Devicons 1.8.0: ./fonts/devicons-regular.ttf , for further informations and license see https://github.com/vorillaz/devicons
  • Octicons 1.0.0: ./fonts/octicons-regular.ttf , for further informations and license see https://github.com/blog/1135-the-making-of-octicons
  • Pomicons 1.0.0: ./fonts/pomicons-regular.ttf , for further informations and license see https://github.com/gabrielelana/pomicons

How to install (Linux)

  • copy all the fonts from ./build directory to

/.fonts directory
copy all the font maps (all *.sh files) from ./build directory to

/.fonts directory
run fc-cache -fv

/.fonts to let freetype2 know of those fonts

  • customize the configuration file ./config/10-symbols.conf replacing PragmataPro with the name of the font you want to use in the terminal (I will add more fonts in the future so that this step could be skippable)
  • copy the above configuration file to

    /.config/fontconfig/conf.d directory
    source the font maps ( source

    /.fonts/*.sh ) in your shell startup script (eg.

    We have been included in the official repositories, so if you are running an Arch Linux

    • run pacman -Syu awesome-terminal-fonts

    How to install (OSX)

    • follow this detailed instructions contributed by @inkrement
    • copy all the fonts maps (all *.sh files) from ./build directory to

    /.fonts directory
    source the font maps ( source

    /.fonts/*.sh ) in your shell startup script (eg.

    /.zshrc )

  • If it still doesn’t work, consider to use the patching strategy
  • How to install (Windows)

    • make sure you have permissions to execute Powershell scripts in your machine. To do so, open Windows Powershell as Administrator and paste & run the following command Set-ExecutionPolicy RemoteSigned
    • then run the install script ./install.ps1

    About

    Tools and instructions on how to have awesome symbols in a terminal with a monospace font

    Источник

    Оцените статью