Fontspec and Microsoft Store fonts on Windows 10












3















As of April 2018, Windows 10 now installs some fonts through the Microsoft Store or Microsoft Office. These fonts are not installed in the usual font folder C:WindowsFonts, but instead in protected folders under C:Program FilesWindowsApps. The fontspec package can't search this path, so the fonts cannot be used.



Does anyone have a work-around?



Here's a MNWE, compiled with XeLaTeX in the MikTeX package:



documentclass{article}
usepackage{fontspec}
setmainfont{Georgia Pro}
begin{document}
Hello, World!
end{document}


The Georgia Pro font is indeed installed on my machine, as I can use it from within Windows-native apps. Older fonts, such as Georgia load without problems.










share|improve this question























  • According to this you can install such fonts in your fonts folder: geekermag.com/windows-store-fonts-location. Beside this it is not a fontspec question but (for xelatex) of the fontconfig setting and you should better ask in the miktex issue tracker.

    – Ulrike Fischer
    Apr 2 at 14:31
















3















As of April 2018, Windows 10 now installs some fonts through the Microsoft Store or Microsoft Office. These fonts are not installed in the usual font folder C:WindowsFonts, but instead in protected folders under C:Program FilesWindowsApps. The fontspec package can't search this path, so the fonts cannot be used.



Does anyone have a work-around?



Here's a MNWE, compiled with XeLaTeX in the MikTeX package:



documentclass{article}
usepackage{fontspec}
setmainfont{Georgia Pro}
begin{document}
Hello, World!
end{document}


The Georgia Pro font is indeed installed on my machine, as I can use it from within Windows-native apps. Older fonts, such as Georgia load without problems.










share|improve this question























  • According to this you can install such fonts in your fonts folder: geekermag.com/windows-store-fonts-location. Beside this it is not a fontspec question but (for xelatex) of the fontconfig setting and you should better ask in the miktex issue tracker.

    – Ulrike Fischer
    Apr 2 at 14:31














3












3








3








As of April 2018, Windows 10 now installs some fonts through the Microsoft Store or Microsoft Office. These fonts are not installed in the usual font folder C:WindowsFonts, but instead in protected folders under C:Program FilesWindowsApps. The fontspec package can't search this path, so the fonts cannot be used.



Does anyone have a work-around?



Here's a MNWE, compiled with XeLaTeX in the MikTeX package:



documentclass{article}
usepackage{fontspec}
setmainfont{Georgia Pro}
begin{document}
Hello, World!
end{document}


The Georgia Pro font is indeed installed on my machine, as I can use it from within Windows-native apps. Older fonts, such as Georgia load without problems.










share|improve this question














As of April 2018, Windows 10 now installs some fonts through the Microsoft Store or Microsoft Office. These fonts are not installed in the usual font folder C:WindowsFonts, but instead in protected folders under C:Program FilesWindowsApps. The fontspec package can't search this path, so the fonts cannot be used.



Does anyone have a work-around?



Here's a MNWE, compiled with XeLaTeX in the MikTeX package:



documentclass{article}
usepackage{fontspec}
setmainfont{Georgia Pro}
begin{document}
Hello, World!
end{document}


The Georgia Pro font is indeed installed on my machine, as I can use it from within Windows-native apps. Older fonts, such as Georgia load without problems.







miktex fontspec windows






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Apr 2 at 14:14









Ted CorcovilosTed Corcovilos

859




859













  • According to this you can install such fonts in your fonts folder: geekermag.com/windows-store-fonts-location. Beside this it is not a fontspec question but (for xelatex) of the fontconfig setting and you should better ask in the miktex issue tracker.

    – Ulrike Fischer
    Apr 2 at 14:31



















  • According to this you can install such fonts in your fonts folder: geekermag.com/windows-store-fonts-location. Beside this it is not a fontspec question but (for xelatex) of the fontconfig setting and you should better ask in the miktex issue tracker.

    – Ulrike Fischer
    Apr 2 at 14:31

















According to this you can install such fonts in your fonts folder: geekermag.com/windows-store-fonts-location. Beside this it is not a fontspec question but (for xelatex) of the fontconfig setting and you should better ask in the miktex issue tracker.

– Ulrike Fischer
Apr 2 at 14:31





According to this you can install such fonts in your fonts folder: geekermag.com/windows-store-fonts-location. Beside this it is not a fontspec question but (for xelatex) of the fontconfig setting and you should better ask in the miktex issue tracker.

– Ulrike Fischer
Apr 2 at 14:31










1 Answer
1






active

oldest

votes


















1














You can add the path to your fonts to your localfonts2.conf file. This can be found in C:ProgramDataMiKTeX2.9fontconfigconfig and/or C:UsersusernameAppDataRoamingMiKTeX2.9fontconfigconfig.






share|improve this answer
























  • This doesn't directly work because the folder doesn't have read permission by default. Also, each font is in a separate folder, so this is cumbersome.

    – Ted Corcovilos
    Apr 2 at 17:57











  • Follow this guide to take ownership of the WindowsApps folder. You might have to repeat it for the WindowsAppsDeleted folder. This solution works after that (on my machine at least). You don't need to add each font folder, just WindowsApps is enough.

    – BrtH
    Apr 2 at 18:21














Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f482779%2ffontspec-and-microsoft-store-fonts-on-windows-10%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














You can add the path to your fonts to your localfonts2.conf file. This can be found in C:ProgramDataMiKTeX2.9fontconfigconfig and/or C:UsersusernameAppDataRoamingMiKTeX2.9fontconfigconfig.






share|improve this answer
























  • This doesn't directly work because the folder doesn't have read permission by default. Also, each font is in a separate folder, so this is cumbersome.

    – Ted Corcovilos
    Apr 2 at 17:57











  • Follow this guide to take ownership of the WindowsApps folder. You might have to repeat it for the WindowsAppsDeleted folder. This solution works after that (on my machine at least). You don't need to add each font folder, just WindowsApps is enough.

    – BrtH
    Apr 2 at 18:21


















1














You can add the path to your fonts to your localfonts2.conf file. This can be found in C:ProgramDataMiKTeX2.9fontconfigconfig and/or C:UsersusernameAppDataRoamingMiKTeX2.9fontconfigconfig.






share|improve this answer
























  • This doesn't directly work because the folder doesn't have read permission by default. Also, each font is in a separate folder, so this is cumbersome.

    – Ted Corcovilos
    Apr 2 at 17:57











  • Follow this guide to take ownership of the WindowsApps folder. You might have to repeat it for the WindowsAppsDeleted folder. This solution works after that (on my machine at least). You don't need to add each font folder, just WindowsApps is enough.

    – BrtH
    Apr 2 at 18:21
















1












1








1







You can add the path to your fonts to your localfonts2.conf file. This can be found in C:ProgramDataMiKTeX2.9fontconfigconfig and/or C:UsersusernameAppDataRoamingMiKTeX2.9fontconfigconfig.






share|improve this answer













You can add the path to your fonts to your localfonts2.conf file. This can be found in C:ProgramDataMiKTeX2.9fontconfigconfig and/or C:UsersusernameAppDataRoamingMiKTeX2.9fontconfigconfig.







share|improve this answer












share|improve this answer



share|improve this answer










answered Apr 2 at 17:04









BrtHBrtH

1487




1487













  • This doesn't directly work because the folder doesn't have read permission by default. Also, each font is in a separate folder, so this is cumbersome.

    – Ted Corcovilos
    Apr 2 at 17:57











  • Follow this guide to take ownership of the WindowsApps folder. You might have to repeat it for the WindowsAppsDeleted folder. This solution works after that (on my machine at least). You don't need to add each font folder, just WindowsApps is enough.

    – BrtH
    Apr 2 at 18:21





















  • This doesn't directly work because the folder doesn't have read permission by default. Also, each font is in a separate folder, so this is cumbersome.

    – Ted Corcovilos
    Apr 2 at 17:57











  • Follow this guide to take ownership of the WindowsApps folder. You might have to repeat it for the WindowsAppsDeleted folder. This solution works after that (on my machine at least). You don't need to add each font folder, just WindowsApps is enough.

    – BrtH
    Apr 2 at 18:21



















This doesn't directly work because the folder doesn't have read permission by default. Also, each font is in a separate folder, so this is cumbersome.

– Ted Corcovilos
Apr 2 at 17:57





This doesn't directly work because the folder doesn't have read permission by default. Also, each font is in a separate folder, so this is cumbersome.

– Ted Corcovilos
Apr 2 at 17:57













Follow this guide to take ownership of the WindowsApps folder. You might have to repeat it for the WindowsAppsDeleted folder. This solution works after that (on my machine at least). You don't need to add each font folder, just WindowsApps is enough.

– BrtH
Apr 2 at 18:21







Follow this guide to take ownership of the WindowsApps folder. You might have to repeat it for the WindowsAppsDeleted folder. This solution works after that (on my machine at least). You don't need to add each font folder, just WindowsApps is enough.

– BrtH
Apr 2 at 18:21




















draft saved

draft discarded




















































Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f482779%2ffontspec-and-microsoft-store-fonts-on-windows-10%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to change which sound is reproduced for terminal bell?

Can I use Tabulator js library in my java Spring + Thymeleaf project?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents