Is there a way to install fonts on wine?
I'm looking to install fonts so i can use them to render text differently on various apps. Specifically myriad.
Stack Exchange network consists of 181 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.Visit Stack Exchange
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
Wine gets its fonts from four places:
/usr/share/fonts. You can add fonts here by installing font packages from Software Center, if they're available. Avoid manually copying files here.
/usr/share/wine/fontsfolder. You shouldn't add fonts here, but if you see a font in Wine and not in the system - it's probably here. Examples of these fonts include Wine's private marlett, symbol, and tahoma fonts, which are needed for application compatibility but otherwise aren't the best.
~/.fontsfolder in your Home directory. This is where you should manually copy self-installed fonts, either downloaded from the Internet or copied from a Windows install.
In the case of conflicts (eg you install the real Tahoma font into your home directory), Wine is smart enough about it and uses the manually-installed ones.
sudo fc-cache -fvotherwise wine will not see these fonts (of will see, but after restarting of your system)
Wine says here
Font configuration, once a nasty problem, is now much simpler. If you have a collection of TrueType fonts in Windows it's simply a matter of copying the .ttf files into c:\windows\fonts.
I realize this is Ubuntu Q&A, but since this answer was so helpful and applied also for both CentOS and Fedora Linux, let me add this: I've installed a Windows APL interpreter to run under wine, and of course, APL uses (and really needs!) the specialized APL fonts. Wine 2.0.1 (latest stable ver.) was compiled from source, and on a CentOS 6.6 box, (Linux kernel: 2.6.32-504.el6.i686) using Gnome 2.28.2 Xwindows desktop, I just copied the Apl*.ttf font files into the wine fonts directory ../wine/wine-2.0.1/fonts, the directory which is created when the wine source tarball is unpacked. Worked fine. But on an older Fedora kernel (Linux kernel: 2.6.27 25-78.2.56.fc9.i686), also with Gnome ( 2.22.3), when I compiled and built wine, I had to put the APL fonts into the ~/.wine/drive_c/windows/Fonts directory, for the APL interpreter to see them. That is the user directory that is created when wine is first run. In both cases, wine runs well, and the APL interpreter can see the specialized fonts it needs.
If you used PlayOnLinux:
Restart application and test again.
Another option is to install PlayOnLinux which by default after starting it will install several of the Microsoft fonts (Am guessing also found in winetricks).