Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to force Win10 to install fonts in C:\Windows\Fonts?

Formerly I copied a ttf-file to C:\Windows\Fonts, clicked the file to display the font, then clicked on [Install] and everything was fine.

When I do this procedure now, the font is not installed in C:\Windows\Fonts, but in C:\Users\MyName\AppData\Local\Microsoft\Windows\Fonts - to the effect that when I do a GraphicsEnvironment.getAvailableFontFamilyNames() in java, the font is not found.

On my PC there are currently 184 fonts installed, a number which I do not deem to cause the problem.

like image 892
Jörg Avatar asked Mar 20 '19 15:03

Jörg


People also ask

How do I force a font to install?

Now, open the File Explorer and navigate to the directory where you have downloaded the font. Once you've located the font file, click to hold the file, drag it to the Fonts settings window, and drop it to the Drag and drop to install area. Doing so will install the font on the Windows 10 computer.

How do I add Fonts to C drive?

Hi, Users may also install fonts onto the computer by opening the Fonts folder through Windows Explorer. Usually, this folder is either C:\WINDOWS or C:\WINNT\FONTS. Once this folder is open, select the fonts you want to install from an alternate folder, and then copy and paste them into the Fonts folder.


2 Answers

You just need to right click on your font file and select install font for all user.

enter image description here

It will be visible in every apps then.

like image 144
Abdul.Moqueet Avatar answered Oct 22 '22 14:10

Abdul.Moqueet


In the C:\Users\MyName\AppData\Local\Microsoft\Windows\Fonts directory right click on your font file and choose "Install for all users" (translated). A prompt will show up, telling that the font is already installed. Still click "Yes". The font will then be copied to %WINDIR%/Fonts.

One might think that the font file in C:\Users\MyName\AppData\Local\Microsoft\Windows\Fonts is not needed any more and can be deleted. But when you try, a message pops up, telling that the action could not be finished as the file is opened in System. - So we just have another copy of the file.

like image 5
Jörg Avatar answered Oct 22 '22 13:10

Jörg