<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Enhance handling of font families (weight, style, stretches) on Windows"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=72944#c16">Comment # 16</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Enhance handling of font families (weight, style, stretches) on Windows"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=72944">bug 72944</a>
              from <span class="vcard"><a class="email" href="mailto:joaopauloag-freedesktop@yahoo.com.br" title="João Paulo <joaopauloag-freedesktop@yahoo.com.br>"> <span class="fn">João Paulo</span></a>
</span></b>
        <pre>(In reply to Thomas Linard from <a href="show_bug.cgi?id=72944#c13">comment #13</a>)
<span class="quote">> <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/dd371554">https://msdn.microsoft.com/en-us/library/windows/desktop/dd371554</a></span >

I asked Microsoft through Feedback Hub for some API to handle fonts as
organized as Control Panel\Fonts organize them on Windows (just as the bug
reporter said) and their response was:

"Thanks for the feedback. EnumFontFamiliesEx does enumerate the variants - have
you looked at that?  Empty facename gets the variants, then you can call it
again with the facename you want more info about."
"feedback-hub:?contextid=950&feedbackid=d5881e15-3575-4c17-84c9-5e0d733fae7a&form=1&src=1"

I searched this API and found it has two versions (EnumFontFamiliesExA and
EnumFontFamiliesExW) at
"<a href="https://docs.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-enumfontfamiliesexw">https://docs.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-enumfontfamiliesexw</a>"
and
"<a href="https://docs.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-enumfontfamiliesexa">https://docs.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-enumfontfamiliesexa</a>".

Also, I want to say that the MSDN page moved to
"<a href="https://docs.microsoft.com/pt-br/windows/win32/directwrite/introducing-directwrite">https://docs.microsoft.com/pt-br/windows/win32/directwrite/introducing-directwrite</a>",
just in case the redirection stops working one day.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>