<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>I apologize !</p>
    <p>XftFontOpenName calls FcNameParse, and its this function which
      returns an FcPattern whose FC_WEIGHT property has type
      FcTypeDouble</p>
    <p>So it's a Fontconfig problem.</p>
    <p>Bye<br>
    </p>
    <div class="moz-cite-prefix">Le 12/09/2019 à 11:59, Lucien Gentis a
      écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:da36d4e7-44a0-1315-4b90-69dfe62b4010@waika9.com">I
      forgot to join a small piece of code to reproduce the problem.
      <br>
      <br>
      Compile command :
      <br>
      <br>
      gcc -g -Wall -O2 -I/usr/include/X11 -I/usr/include/X11/Xft
      -I/usr/include/freetype2 -I /usr/include/fontconfig
      xftfontopenname.c -o xftfontopenname -lX11 -lXft -lfontconfig
      <br>
      <br>
      Le 11/09/2019 à 16:13, Lucien Gentis a écrit :
      <br>
      <blockquote type="cite">Hello,
        <br>
        <br>
        XftFontOpenName function returns a XftFont structure that
        contains an FcPattern.
        <br>
        <br>
        Since 2.13.1-2 version of libxft, FC_WEIGHT property of this
        FcPattern has type FcTypeDouble instead of FcTypeInteger as
        expected in /usr/include/fontconfig/fontconfig.h and it was the
        case with 2.13.1-1 version.
        <br>
        <br>
        I don't know if it's a bug or expected behavior.
        <br>
        <br>
        <br>
        _______________________________________________
        <br>
        <a class="moz-txt-link-abbreviated" href="mailto:xorg-devel@lists.x.org">xorg-devel@lists.x.org</a>: X.Org development
        <br>
        Archives: <a class="moz-txt-link-freetext" href="http://lists.x.org/archives/xorg-devel">http://lists.x.org/archives/xorg-devel</a>
        <br>
        Info: <a class="moz-txt-link-freetext" href="https://lists.x.org/mailman/listinfo/xorg-devel">https://lists.x.org/mailman/listinfo/xorg-devel</a>
        <br>
      </blockquote>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:xorg-devel@lists.x.org">xorg-devel@lists.x.org</a>: X.Org development
Archives: <a class="moz-txt-link-freetext" href="http://lists.x.org/archives/xorg-devel">http://lists.x.org/archives/xorg-devel</a>
Info: <a class="moz-txt-link-freetext" href="https://lists.x.org/mailman/listinfo/xorg-devel">https://lists.x.org/mailman/listinfo/xorg-devel</a></pre>
    </blockquote>
  </body>
</html>