What is the least resource intensive way to generate the luatex font cache for a new font?

If I can solve Sudoku can I solve Travelling Salesman Problem(TSP)? If yes, how?

compactness of a set where am I going wrong

Error in Twin Prime Conjecture

How do I hide Chekhov's Gun?

Life insurance that covers only simultaneous/dual deaths

Credit cards used everywhere in Singapore or Malaysia?

In a future war, an old lady is trying to raise a boy but one of the weapons has made everyone deaf

How to simplify this time periods definition interface?

Is it possible to upcast ritual spells?

Official degrees of earth’s rotation per day

Is a party consisting of only a bard, a cleric, and a warlock functional long-term?

The difference between「N分で」and「後N分で」

Did Ender ever learn that he killed Stilson and/or Bonzo?

Are there verbs that are neither telic, or atelic?

How could a scammer know the apps on my phone / iTunes account?

Bach's Toccata and Fugue in D minor breaks the "no parallel octaves" rule?

How to make healing in an exploration game interesting

Have researchers managed to "reverse time"? If so, what does that mean for physics?

What approach do we need to follow for projects without a test environment?

Why is the President allowed to veto a cancellation of emergency powers?

Who is flying the vertibirds?

Should we release the security issues we found in our product as CVE or we can just update those on weekly release notes?

How to create the Curved texte?

How to read the value of this capacitor?



What is the least resource intensive way to generate the luatex font cache for a new font?














0















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:



documentclassarticle
usepackagefontspec
setmainfont[Script=CJK,Language=Chinese Simplified]Noto Sans CJK SC
begindocument
中文
enddocument


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.









share


























    0















    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:



    documentclassarticle
    usepackagefontspec
    setmainfont[Script=CJK,Language=Chinese Simplified]Noto Sans CJK SC
    begindocument
    中文
    enddocument


    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.









    share
























      0












      0








      0








      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:



      documentclassarticle
      usepackagefontspec
      setmainfont[Script=CJK,Language=Chinese Simplified]Noto Sans CJK SC
      begindocument
      中文
      enddocument


      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.









      share














      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:



      documentclassarticle
      usepackagefontspec
      setmainfont[Script=CJK,Language=Chinese Simplified]Noto Sans CJK SC
      begindocument
      中文
      enddocument


      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





      share












      share










      share



      share










      asked 1 min ago









      David PurtonDavid Purton

      10.6k2939




      10.6k2939




















          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%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















          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%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





















































          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

          Isabella Eugénie Boyer Biographie | Références | Menu de navigationmodifiermodifier le codeComparator to Compute the Relative Value of a U.S. Dollar Amount – 1774 to Present.

          Lioubotyn Sommaire Géographie | Histoire | Population | Notes et références | Liens externes | Menu de navigationlubotin.kharkov.uamodifier« Recensements et estimations de la population depuis 1897 »« Office des statistiques d'Ukraine : population au 1er janvier 2010, 2011 et 2012 »« Office des statistiques d'Ukraine : population au 1er janvier 2011, 2012 et 2013 »Informations officiellesCartes topographiquesCarte routièrem

          Mpande kaSenzangakhona Biographie | Références | Menu de navigationmodifierMpande kaSenzangakhonavoir la liste des auteursm