[Libreoffice-bugs] [Bug 72944] Enhance handling of font families (weight, style, stretches) on Windows
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Mon Sep 28 21:59:30 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=72944
--- Comment #16 from João Paulo <joaopauloag-freedesktop at yahoo.com.br> ---
(In reply to Thomas Linard from comment #13)
> https://msdn.microsoft.com/en-us/library/windows/desktop/dd371554
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
"https://docs.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-enumfontfamiliesexw"
and
"https://docs.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-enumfontfamiliesexa".
Also, I want to say that the MSDN page moved to
"https://docs.microsoft.com/pt-br/windows/win32/directwrite/introducing-directwrite",
just in case the redirection stops working one day.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200928/86e59561/attachment.htm>
More information about the Libreoffice-bugs
mailing list