Fontspec and Microsoft Store fonts on Windows 10
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
add a comment |
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
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
add a comment |
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
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
miktex fontspec windows
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
add a comment |
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
add a comment |
1 Answer
1
active
oldest
votes
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
.
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
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
.
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
add a comment |
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
.
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
add a comment |
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
.
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
.
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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