MikTeX fails to find a font installed in Windows10 (in XeLaTeX)












0















I have problem using some open type fonts in Windows 10 with
XeLaTeX in MikTeX. I downloaded a Malayalam language font, "Gayathri" and tried to use it in XeLaTeX. This font is clearly listed in the Font catalague accessible from Control Panel. The Font catalogue lists it as "Gayathri Regular". But when I use them in XeLaTeX with the command
newfontfamily{mal}[Script=Malayalam]{Gayathri Regular}
MikTeX complains it cannot find the font and starts building 'tfm's
with the following Error message.



  Package fontspec Error: "Gayathri Regular" cannot be found.


I had the same problem with many other fonts in many other languages too.



I guess it must be a problem related to the way MikTex identifying the fonts in the operating system.
Another Malayalam language font "Kartika" that comes with Windows 10 works fine in XelaTeX.
Any help will be appreciated.










share|improve this question























  • Does it work with lualatex? Does it work if you use the file name instead of the font name?

    – Ulrike Fischer
    Mar 25 at 14:36











  • Windows has its own way of referencing system fonts such that it may be simply Gayathri

    – KJO
    Mar 25 at 14:38











  • A workaround might be to load it by its filename, which should be in WindowsFonts. You should also be able to get the family and full name from otfinfo -i.

    – Davislor
    Mar 25 at 15:03













  • KJO: I simply used "Gayathri" and still MikTeX fails to find the font.

    – Narayanaswami
    Mar 25 at 15:48











  • Perhaps, one should give the complete PATH to these fonts like C:WindowsFonts or something similar

    – Narayanaswami
    Mar 26 at 12:17


















0















I have problem using some open type fonts in Windows 10 with
XeLaTeX in MikTeX. I downloaded a Malayalam language font, "Gayathri" and tried to use it in XeLaTeX. This font is clearly listed in the Font catalague accessible from Control Panel. The Font catalogue lists it as "Gayathri Regular". But when I use them in XeLaTeX with the command
newfontfamily{mal}[Script=Malayalam]{Gayathri Regular}
MikTeX complains it cannot find the font and starts building 'tfm's
with the following Error message.



  Package fontspec Error: "Gayathri Regular" cannot be found.


I had the same problem with many other fonts in many other languages too.



I guess it must be a problem related to the way MikTex identifying the fonts in the operating system.
Another Malayalam language font "Kartika" that comes with Windows 10 works fine in XelaTeX.
Any help will be appreciated.










share|improve this question























  • Does it work with lualatex? Does it work if you use the file name instead of the font name?

    – Ulrike Fischer
    Mar 25 at 14:36











  • Windows has its own way of referencing system fonts such that it may be simply Gayathri

    – KJO
    Mar 25 at 14:38











  • A workaround might be to load it by its filename, which should be in WindowsFonts. You should also be able to get the family and full name from otfinfo -i.

    – Davislor
    Mar 25 at 15:03













  • KJO: I simply used "Gayathri" and still MikTeX fails to find the font.

    – Narayanaswami
    Mar 25 at 15:48











  • Perhaps, one should give the complete PATH to these fonts like C:WindowsFonts or something similar

    – Narayanaswami
    Mar 26 at 12:17
















0












0








0








I have problem using some open type fonts in Windows 10 with
XeLaTeX in MikTeX. I downloaded a Malayalam language font, "Gayathri" and tried to use it in XeLaTeX. This font is clearly listed in the Font catalague accessible from Control Panel. The Font catalogue lists it as "Gayathri Regular". But when I use them in XeLaTeX with the command
newfontfamily{mal}[Script=Malayalam]{Gayathri Regular}
MikTeX complains it cannot find the font and starts building 'tfm's
with the following Error message.



  Package fontspec Error: "Gayathri Regular" cannot be found.


I had the same problem with many other fonts in many other languages too.



I guess it must be a problem related to the way MikTex identifying the fonts in the operating system.
Another Malayalam language font "Kartika" that comes with Windows 10 works fine in XelaTeX.
Any help will be appreciated.










share|improve this question














I have problem using some open type fonts in Windows 10 with
XeLaTeX in MikTeX. I downloaded a Malayalam language font, "Gayathri" and tried to use it in XeLaTeX. This font is clearly listed in the Font catalague accessible from Control Panel. The Font catalogue lists it as "Gayathri Regular". But when I use them in XeLaTeX with the command
newfontfamily{mal}[Script=Malayalam]{Gayathri Regular}
MikTeX complains it cannot find the font and starts building 'tfm's
with the following Error message.



  Package fontspec Error: "Gayathri Regular" cannot be found.


I had the same problem with many other fonts in many other languages too.



I guess it must be a problem related to the way MikTex identifying the fonts in the operating system.
Another Malayalam language font "Kartika" that comes with Windows 10 works fine in XelaTeX.
Any help will be appreciated.







xetex miktex






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 25 at 14:10









NarayanaswamiNarayanaswami

3113




3113













  • Does it work with lualatex? Does it work if you use the file name instead of the font name?

    – Ulrike Fischer
    Mar 25 at 14:36











  • Windows has its own way of referencing system fonts such that it may be simply Gayathri

    – KJO
    Mar 25 at 14:38











  • A workaround might be to load it by its filename, which should be in WindowsFonts. You should also be able to get the family and full name from otfinfo -i.

    – Davislor
    Mar 25 at 15:03













  • KJO: I simply used "Gayathri" and still MikTeX fails to find the font.

    – Narayanaswami
    Mar 25 at 15:48











  • Perhaps, one should give the complete PATH to these fonts like C:WindowsFonts or something similar

    – Narayanaswami
    Mar 26 at 12:17





















  • Does it work with lualatex? Does it work if you use the file name instead of the font name?

    – Ulrike Fischer
    Mar 25 at 14:36











  • Windows has its own way of referencing system fonts such that it may be simply Gayathri

    – KJO
    Mar 25 at 14:38











  • A workaround might be to load it by its filename, which should be in WindowsFonts. You should also be able to get the family and full name from otfinfo -i.

    – Davislor
    Mar 25 at 15:03













  • KJO: I simply used "Gayathri" and still MikTeX fails to find the font.

    – Narayanaswami
    Mar 25 at 15:48











  • Perhaps, one should give the complete PATH to these fonts like C:WindowsFonts or something similar

    – Narayanaswami
    Mar 26 at 12:17



















Does it work with lualatex? Does it work if you use the file name instead of the font name?

– Ulrike Fischer
Mar 25 at 14:36





Does it work with lualatex? Does it work if you use the file name instead of the font name?

– Ulrike Fischer
Mar 25 at 14:36













Windows has its own way of referencing system fonts such that it may be simply Gayathri

– KJO
Mar 25 at 14:38





Windows has its own way of referencing system fonts such that it may be simply Gayathri

– KJO
Mar 25 at 14:38













A workaround might be to load it by its filename, which should be in WindowsFonts. You should also be able to get the family and full name from otfinfo -i.

– Davislor
Mar 25 at 15:03







A workaround might be to load it by its filename, which should be in WindowsFonts. You should also be able to get the family and full name from otfinfo -i.

– Davislor
Mar 25 at 15:03















KJO: I simply used "Gayathri" and still MikTeX fails to find the font.

– Narayanaswami
Mar 25 at 15:48





KJO: I simply used "Gayathri" and still MikTeX fails to find the font.

– Narayanaswami
Mar 25 at 15:48













Perhaps, one should give the complete PATH to these fonts like C:WindowsFonts or something similar

– Narayanaswami
Mar 26 at 12:17







Perhaps, one should give the complete PATH to these fonts like C:WindowsFonts or something similar

– Narayanaswami
Mar 26 at 12:17












0






active

oldest

votes












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%2f481357%2fmiktex-fails-to-find-a-font-installed-in-windows10-in-xelatex%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















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%2f481357%2fmiktex-fails-to-find-a-font-installed-in-windows10-in-xelatex%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

Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

ComboBox Display Member on multiple fields

Is it possible to collect Nectar points via Trainline?