<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hello Chin Luh,</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Le 30/10/2019 à 03:17, Chin Luh Tan a
      écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:16e1a73cd16.11a1ad31a664978.2997785307874790923@bytecode-asia.com">
      <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
      <div style="font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 10pt;">
        <div>Hi Samuel, <br>
        </div>
        <div><br>
        </div>
        <div>I am not sure whether the information from the preference
          tab are the one you need, if so, perhaps it could be retrieved
          by:<br>
        </div>
        <div><br>
        </div>
        <div>--> my_font = xmlGetValues("//fonts/body/fonts",
          ["font-face", "font-name", "font-size", "item", "latex",
          "system"]) <br>
        </div>
        <div>my_font  =<br>
        </div>
        <div><br>
        </div>
        <div>!plain  Monospaced  13  Console  15  true  !<br>
        </div>
      </div>
    </blockquote>
    <p>As far as i have understood (before opening this thread) how the 
      XConfiguration file works wrt the preferences settings, when
      "system" is true, the system font is used as Desktop Font, instead
      of the given one.<br>
      It's the case here, and  then the "plain Monospaced 13" is NOT
      used as Desktop font.<br>
      In the Preferences GUI, it is greyed when "Use system font" is
      checked:<br>
    </p>
    <p><img src="cid:part1.D40E1384.BFE90FD6@free.fr" alt=""><br>
    </p>
    <p>But i don't know what the "item" stands for in this tag. It could
      set the preselected item Console|Scinotes of the "Custom font"
      section, but, after checking, it's not the case.</p>
    <p>Next tags are used for the Custom font section. If their
      "desktop" attribute was set to "true", then for instance the
      Console font would be the Desktop one (defined in the previous
      section) instead of the given one (then greyed in the GUI).<br>
      All these settings are conditionally nested... Not really trivial.<br>
      <br>
      At the end, the system font is still implicit. XConfiguration does
      not provides its name, and it does not have to, since this would
      be only for information, in read-only mode, that is meaningless in
      a settings file.</p>
    <p>Regards<br>
      Samuel<br>
    </p>
    <blockquote type="cite"
cite="mid:16e1a73cd16.11a1ad31a664978.2997785307874790923@bytecode-asia.com">
      <div style="font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 10pt;">
        <div><br>
        </div>
        <div>--> my_font = xmlGetValues("//fonts/body/fonts/item",
          ["desktop", "font-face", "font-name", "font-size", "name"])<br>
        </div>
        <div>my_font  =<br>
        </div>
        <div><br>
        </div>
        <div>!false  bold  Monospaced  16  Console   !<br>
        </div>
        <div>!                                       !<br>
        </div>
        <div>!false  bold  Monospaced  16  Scinotes  !<br>
        </div>
        <div><br>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>