[Webkit-unassigned] [Bug 249830] [WinCairo] Get cap-height font metrics for initial-letter support

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 22 18:28:46 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=249830

--- Comment #1 from Fujii Hironori <Hironori.Fujii at sony.com> ---
DirectWrite has a API to get capHeight.
https://learn.microsoft.com/en-us/windows/win32/api/dwrite/ns-dwrite-dwrite_font_metrics

But, no such win32 API.
I think (tmAscent - tmInternalLeading) is the capHeight.
https://learn.microsoft.com/en-us/windows/win32/api/wingdi/ns-wingdi-textmetrica
https://learn.microsoft.com/en-us/windows/win32/gdi/string-widths-and-heights

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221223/6edd0c4f/attachment.htm>


More information about the webkit-unassigned mailing list