4

I am not sure if this or Stack Overflow is the right place to ask it.

I am having trouble finding where my TrueType font files are. For example arial.ttf, I need it for Allegro C++. I am using Windows 10.

What I am trying to do is get my arial.ttf file and paste it in my projects so I can use it for my Allegro Tutorial. I have tried to install it from here but that is the problem! After I install it I don't know where it is!

  • 1
    Have you looked in C:\Windows\Fonts? – Burgi May 2 '16 at 21:39
  • Did you try c:\Windows\Fonts? Or c:\%windir%\Fonts in general. – David Ferenczy Rogožan May 2 '16 at 21:40
  • 1
    If you right-click on "View Raw" in your link, you can down-load the font to wherever you want. – AFH May 2 '16 at 21:44
7

Burgi is correct, they are in C:\Windows\Fonts. However, navigating there in Explorer will result in a special view rather than a list of files. The easiest way to copy a file out from there is to use the command prompt, since it's not subject to the special folder views. This command copies the normal Arial font file to the current directory:

copy C:\Windows\Fonts\arial.ttf .

If you're not sure which file corresponds to a certain font, I would look in this Registry key:

HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts
| improve this answer | |
  • Wow thanks a lot in mentioning about that copy! – amanuel2 May 2 '16 at 21:47
2

Fonts are stored in the sub-directory Fonts of Windows's root directory:

%windir%\Fonts

Which is usually c:\Windows\Fonts.

| improve this answer | |
  • 2
    %windir% expands to C:\WINDOWS, so your path there comes out as c:\C:\WINDOWS\Fonts, which might not be what you intended. – Ben N May 2 '16 at 21:44
  • Thanks but idk which anwser to accept... should i just leave it like that guys? ( Dawid, @BenN ) – amanuel2 May 2 '16 at 21:50
  • @Dsafds I know the feeling. In such cases, choose the answer that gives the most information or is the most helpful to you and make a mention in the other answer that it is still good but you've chosen the other because: <list reason> it helps us making even better answers. – LPChip May 2 '16 at 21:55
  • @Dsafds Accept the answer which gives you more (or better) information, which is Ben's answer I would say. But you should definitely accept one. If you feel that more answers are useful for you, then just upvote them. But decision is up to you, of course :) – David Ferenczy Rogožan May 2 '16 at 22:00
0

In windows 10 look in windows\boot\fonts

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.