Fontconfig question about font substitution order

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












Let me ask using an example.



A web browser or other application may declare or set to use Arial font. Then the actual user content in the application is in Chinese. My system has Arial font and other two Chinese fonts installed, "WenQuanYi Zen Hei" and "Noto Sans CJK SC".



My question is, how can I ensure the fontconfig to always choose "Noto Sans CJK SC" to a reader the user content in this case?



I know a little about fc-match -s command, I am guessing, if the Noto appeared before WenQuanYi, then my wish will be fulfilled. Is that right? If so, I still have no idea how to config/change the order the fonts name in the output of the fc-match command.



Thanks in advance.



-woody







share|improve this question

























    up vote
    0
    down vote

    favorite












    Let me ask using an example.



    A web browser or other application may declare or set to use Arial font. Then the actual user content in the application is in Chinese. My system has Arial font and other two Chinese fonts installed, "WenQuanYi Zen Hei" and "Noto Sans CJK SC".



    My question is, how can I ensure the fontconfig to always choose "Noto Sans CJK SC" to a reader the user content in this case?



    I know a little about fc-match -s command, I am guessing, if the Noto appeared before WenQuanYi, then my wish will be fulfilled. Is that right? If so, I still have no idea how to config/change the order the fonts name in the output of the fc-match command.



    Thanks in advance.



    -woody







    share|improve this question























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      Let me ask using an example.



      A web browser or other application may declare or set to use Arial font. Then the actual user content in the application is in Chinese. My system has Arial font and other two Chinese fonts installed, "WenQuanYi Zen Hei" and "Noto Sans CJK SC".



      My question is, how can I ensure the fontconfig to always choose "Noto Sans CJK SC" to a reader the user content in this case?



      I know a little about fc-match -s command, I am guessing, if the Noto appeared before WenQuanYi, then my wish will be fulfilled. Is that right? If so, I still have no idea how to config/change the order the fonts name in the output of the fc-match command.



      Thanks in advance.



      -woody







      share|improve this question













      Let me ask using an example.



      A web browser or other application may declare or set to use Arial font. Then the actual user content in the application is in Chinese. My system has Arial font and other two Chinese fonts installed, "WenQuanYi Zen Hei" and "Noto Sans CJK SC".



      My question is, how can I ensure the fontconfig to always choose "Noto Sans CJK SC" to a reader the user content in this case?



      I know a little about fc-match -s command, I am guessing, if the Noto appeared before WenQuanYi, then my wish will be fulfilled. Is that right? If so, I still have no idea how to config/change the order the fonts name in the output of the fc-match command.



      Thanks in advance.



      -woody









      share|improve this question












      share|improve this question




      share|improve this question








      edited Jun 7 at 9:46









      SivaPrasath

      4,32712141




      4,32712141









      asked Jun 7 at 4:24









      Woody Wu

      11




      11

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          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',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );








           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f448327%2ffontconfig-question-about-font-substitution-order%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes










           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f448327%2ffontconfig-question-about-font-substitution-order%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Displaying single band from multi-band raster using QGIS

          How many registers does an x86_64 CPU actually have?