The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Hot answers tagged

231

Just create a .fonts folder in your home directory (if it doesn't exist) and unpack/copy them there. It's also a good idea to manually rebuild the font cache, so you can immediately use the fonts everywhere: fc-cache -f -v For more details see also https://wiki.ubuntu.com/Fonts


185

Ubuntu 18.04 and later versions The latest Ubuntu uses GNOME Shell. You can change the fonts using the "GNOME Tweaks" (gnome-tweak-tool) program. Install the program using Ubuntu Software: And change the font and font size. 13.04 - 17.04 For Unity interface users, customisation of fonts can be done using unity-tweak-tool For 12.04: For Unity ...


160

great choice! $ sudo apt-get install ttf-ancient-fonts $ export PS1="\\u@\h \\w 🍔 " enjoy.


145

Download the archive from the Source Code Pro homepage. You can do it also using wget: Open a terminal (ctrl-alt-t or press the win key and type "terminal") and type wget https://github.com/adobe-fonts/source-code-pro/archive/2.030R-ro/1.050R-it.zip Unzip the archive (you can use Nautilus for that, or use the following command). unzip 1.050R-it.zip ...


111

To adjust the font/font-size used for the TTY, run sudo dpkg-reconfigure console-setup, which will guide you through the steps to choose a font and font-size: Choose the default UTF-8, and press Tab to go highlight OK and then press Enter to go to the next step. (You can press it again and highlight Cancel to go back.) Choose the default Combined - Latin, ....


111

Summary: wget http://ftp.de.debian.org/debian/pool/contrib/m/msttcorefonts/ttf-mscorefonts-installer_3.7_all.deb sudo apt-get purge ttf-mscorefonts-installer -y sudo apt install ./ttf-mscorefonts-installer_3.7_all.deb This seems to be an Ubuntu server problem for now. Below is a temporary workaround to avoid this problem: Download all the fonts except for ...


100

Solution 1: Connect to the internet and run this command below, to fix the error sudo apt-get install --reinstall ttf-mscorefonts-installer This will reinstall the package, and download the data files needed to configure the package. Wait for some times to finish downloading. The download size is approximately 4MB. Solution 2: Connect to the internet ...


96

There are some steps to take: 1. System wide Menu and titlebar scaling Starting with Ubuntu 14.04 we have an option that helps a bit: Scaling Support open the System Settings (here in english:) LANG=c unity-control-center Go to "Displays" and set the "Scale for menu and title bars": Since Ubuntu 17.10 the scaling can be set in LANG=c gnome-control-...


94

Launchpad bug #1607535 #1651923 is fixed in the “updates” repositories of Apt for Xenial and Yakkety. If you're on Ubuntu Xenial or later (16.04+) make sure that the “updates” repository is enabled and update the repository information and your packages: sudo apt update sudo apt upgrade -f This tells Apt to upgrade all packages that can be replaced ...


93

If you don't already have one, create a file in your home directory named .Xresources to store your preferences for various X programs. Append a line to the file such as xterm*font: *-fixed-*-*-*-18-* This informs xterm to use the 'fixed' font at size 18. From here, you can either restart X or run xrdb -merge ~/.Xresources in a terminal to incorporate ...


88

Had the same problem, found a solution in the web that worked for me, the other "solutions" did not work: wget http://ftp.de.debian.org/debian/pool/contrib/m/msttcorefonts/ttf-mscorefonts-installer_3.6_all.deb sudo dpkg -i ttf-mscorefonts-installer_3.6_all.deb


81

I went to Debian's site and downloaded the ttf-mscorefonts-installer_3.6 and installed it using Gdeb, installed successfully. Command-line example: wget http://httpredir.debian.org/debian/pool/contrib/m/msttcorefonts/ttf-mscorefonts-installer_3.6_all.deb sudo dpkg -i ttf-mscorefonts-installer_3.6_all.deb None of the other solutions posted here worked for ...


70

Same problem, found a solution Install the package ttf-mscorefonts-installer, we need some things from the package later sudo apt-get install ttf-mscorefonts-installer Download and install the fonts TMP=$(mktemp -d) cd "$TMP" awk '/Url/ {system("wget "$2)}' /usr/share/package-data-downloads/ttf-mscorefonts-installer sudo /usr/lib/msttcorefonts/update-ms-...


64

The ttf-mscorefonts-installer package allows for easy installation of the Microsoft True Type Core Fonts for the web. Run sudo apt-get install ttf-mscorefonts-installer and accept the EULA, or else if you already have ttf-mscorefonts-installer installed and you didn't accept the EULA, then uninstall ttf-mscorefonts-installer and reinstall it like this: ...


59

Ubuntu Mono from the Ubuntu Font Family (font.ubuntu.com) is the default GUI monospace terminal font on Ubuntu 11.10. Terminus Font (terminus-font.sourceforge.net) is the default font on the Linux console (Ctrl+Alt+F1, $ /bin/setfont /usr/share/consolefonts/FOO.psf.gz) GNU Unifont (unifoundry.com) is the default font for the CD bootloader menu, Grub ...


58

This is a bug: https://bugs.launchpad.net/ubuntu/+source/netbeans/+bug/669159 How do I subscribe to a bug? In the first link, there is a comment that will point you to another bug. There you can find the following solution: sudo apt-get remove fonts-unfonts-core


57

I'm sure, it's a duplicate, anyway. Simply run sudo apt-get install ttf-mscorefonts-installer sudo fc-cache in a terminal. After that, check with fc-match Arial Currently, there is a problem with sourceforge. The installer can't download the fonts properly.


51

I had the same problem on my Dell Inspiron with 5th generation i5 running Ubuntu 14.04. Luckily I found an easy solution for this. First - install Ubuntu Tweak (following commands work for installing it): sudo add-apt-repository ppa:tualatrix/ppa sudo apt-get update sudo apt-get install ubuntu-tweak Then, go to Fonts, change Antialiasing option from ...


48

Use -fa and -fs parameters: xterm -fa 'Monospace' -fs 14


46

Bash terminal: Menu, Edit => Profile Preferences => General tab; uncheck Use the system fixed width font, and select the font you want. For general xterm terminal, you need to create a file ~/.Xresources, and add settings to it, such as xterm*font: Sublime\ Text\ 2-12 for 12 point (this is a guess, I don't know if it's totally correct).


46

The best and simplest way is to use console command (this command should be available for all ubuntu-based distributions) : fc-list Example output (stripped) : /usr/share/fonts/truetype/lato/Lato-Medium.ttf: Lato,Lato Medium:style=Medium,Regular /usr/share/fonts/truetype/tlwg/TlwgTypo-Bold.ttf: Tlwg Typo:style=Bold /usr/share/fonts/truetype/lato/Lato-...


43

Copy the .ttf file and paste it inside ~/.fonts folder, ie /home/username/.fonts folder. Create one if you dont already have one. Now run sudo fc-cache -fv from a terminal. You should now be able to see the new fonts in your editor/application. (editor/application might need a restart)


43

Putting a cheeseburger on the prompt: Install a unicode font that contains this character: sudo apt-get install ttf-ancient-fonts Try the prompt: export PS1="\\u@\h \\w 🍔 " Make permanent the change (if you don't do that, it will reset once terminal is closed): Run nano .bashrc Go to the 59th line approx. (You can view the current line number ...


42

The Unicode Look of Disapproval (U0CA0) uses the letter ttha from the Kannada language. You can sudo apt install fonts-lohit-knda to provide the correct font. You can then insert the character with Ctrl+Shift+U, then 0CA0 ಠ_ಠ


41

Githlar's answer removes the warning, without responding to what the warning is telling you. It's actually saying that loading from ~/.fonts.conf will be removed in the future. Hence, Githlar's solution will ignore what will break in the future. The correct thing to do is to move ~/.fonts.conf to ~/.config/fontconfig/fonts.conf . The easiest way to move this ...


40

You can also Ctrl-Right mouse click for temporary change of font size


38

In order to install Source Code Pro, you can: Go to Google Fonts Type source code in the search box (the only match should be Source Code Pro) Click "Add to collection" Click on the text sample (this should present all the font styles) Tick all the check boxes Click the download icon (a down arrow on the top right) and download as Zip file Now you just ...


38

Your best bet may be the --reinstall option. Force a reinstallation with: sudo apt-get --reinstall install ttf-mscorefonts-installer which will force the preinst and postinst scipts that actually install the fonts to be re-run.


37

By joining the font beta testing team, the PPA details given in the sign-up email let you enable a Personal Package Archive that contains: fonts-ubuntu-font-family-console ("Ubuntu Font Family Linux console fonts, sans-serif monospace") after enabling the PPA you can do: Ctrl+Alt+F1 sudo apt-get install fonts-ubuntu-font-family-console setfont /usr/share/...


Only top voted, non community-wiki answers of a minimum length are eligible