What is the least resource intensive way to generate the luatex font cache for a new font?Using MinionPro for...
Professor being mistaken for a grad student
My adviser wants to be the first author
How do anti-virus programs start at Windows boot?
What exactly is this small puffer fish doing and how did it manage to accomplish such a feat?
Could the Saturn V actually have launched astronauts around Venus?
How to use deus ex machina safely?
Dice rolling probability game
Is it true that good novels will automatically sell themselves on Amazon (and so on) and there is no need for one to waste time promoting?
If curse and magic is two sides of the same coin, why the former is forbidden?
compactness of a set where am I going wrong
Unexpected result from ArcLength
Why one should not leave fingerprints on bulbs and plugs?
Min function accepting varying number of arguments in C++17
how to write formula in word in latex
Do I need life insurance if I can cover my own funeral costs?
The difference between「N分で」and「後N分で」
how to draw discrete time diagram in tikz
Does someone need to be connected to my network to sniff HTTP requests?
Recruiter wants very extensive technical details about all of my previous work
Does Mathematica reuse previous computations?
What options are left, if Britain cannot decide?
A Cautionary Suggestion
Existence of subset with given Hausdorff dimension
What's the meaning of “spike” in the context of “adrenaline spike”?
What is the least resource intensive way to generate the luatex font cache for a new font?
Using MinionPro for the main font and Fontspec for the monospaced fontHow to generate compounded diacritical fonts for Sanskrit with XeTeX and LuaTeX?What is the .ttf font for default LaTeX font?how to set font feature file for a specific font file and not the whole font shapeWhat is the default font for LaTeX?What is the best Math Font for use with Minion Pro font?What is the least invasive way to set the font for listings?LuaLatex setup a different font for numbers and the restMaking a new font family based on the default fontWhat is the correct way to make setmainfont take effect?
When a font is first used with lualatex
, luaotfload
does some magic to produce font cache files.
For large fonts (e.g., Noto Sans CJK) this can take a lot of time and a lot of memory.
I have an old computer (5 year old MacBook air with 4GB RAM) running Linux with a 4GB swap partition. The initial cache generation of this font can take more than 15 min and render my computer unusable. Sometimes I just run out of memory and the process is killed.
Let's say I want to use the font as such:
documentclass{article}
usepackage{fontspec}
setmainfont[Script=CJK,Language=Chinese Simplified]{Noto Sans CJK SC}
begin{document}
中文
end{document}
What is the least resource intensive way and/or fastest way to generate the required cache files?
At the moment, I quit everything (even X11) and run lualatex
from the console, but it still takes a long time, and quitting everything is a bit of a pain.
fonts luatex fontspec luaotfload
add a comment |
When a font is first used with lualatex
, luaotfload
does some magic to produce font cache files.
For large fonts (e.g., Noto Sans CJK) this can take a lot of time and a lot of memory.
I have an old computer (5 year old MacBook air with 4GB RAM) running Linux with a 4GB swap partition. The initial cache generation of this font can take more than 15 min and render my computer unusable. Sometimes I just run out of memory and the process is killed.
Let's say I want to use the font as such:
documentclass{article}
usepackage{fontspec}
setmainfont[Script=CJK,Language=Chinese Simplified]{Noto Sans CJK SC}
begin{document}
中文
end{document}
What is the least resource intensive way and/or fastest way to generate the required cache files?
At the moment, I quit everything (even X11) and run lualatex
from the console, but it still takes a long time, and quitting everything is a bit of a pain.
fonts luatex fontspec luaotfload
add a comment |
When a font is first used with lualatex
, luaotfload
does some magic to produce font cache files.
For large fonts (e.g., Noto Sans CJK) this can take a lot of time and a lot of memory.
I have an old computer (5 year old MacBook air with 4GB RAM) running Linux with a 4GB swap partition. The initial cache generation of this font can take more than 15 min and render my computer unusable. Sometimes I just run out of memory and the process is killed.
Let's say I want to use the font as such:
documentclass{article}
usepackage{fontspec}
setmainfont[Script=CJK,Language=Chinese Simplified]{Noto Sans CJK SC}
begin{document}
中文
end{document}
What is the least resource intensive way and/or fastest way to generate the required cache files?
At the moment, I quit everything (even X11) and run lualatex
from the console, but it still takes a long time, and quitting everything is a bit of a pain.
fonts luatex fontspec luaotfload
When a font is first used with lualatex
, luaotfload
does some magic to produce font cache files.
For large fonts (e.g., Noto Sans CJK) this can take a lot of time and a lot of memory.
I have an old computer (5 year old MacBook air with 4GB RAM) running Linux with a 4GB swap partition. The initial cache generation of this font can take more than 15 min and render my computer unusable. Sometimes I just run out of memory and the process is killed.
Let's say I want to use the font as such:
documentclass{article}
usepackage{fontspec}
setmainfont[Script=CJK,Language=Chinese Simplified]{Noto Sans CJK SC}
begin{document}
中文
end{document}
What is the least resource intensive way and/or fastest way to generate the required cache files?
At the moment, I quit everything (even X11) and run lualatex
from the console, but it still takes a long time, and quitting everything is a bit of a pain.
fonts luatex fontspec luaotfload
fonts luatex fontspec luaotfload
asked 8 mins ago
David PurtonDavid Purton
10.6k2939
10.6k2939
add a comment |
add a comment |
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
});
}
});
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%2f479744%2fwhat-is-the-least-resource-intensive-way-to-generate-the-luatex-font-cache-for-a%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
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%2f479744%2fwhat-is-the-least-resource-intensive-way-to-generate-the-luatex-font-cache-for-a%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