diff --git a/windows/attrstr.hpp b/windows/attrstr.hpp index 56523aa5..074a8830 100644 --- a/windows/attrstr.hpp +++ b/windows/attrstr.hpp @@ -10,4 +10,4 @@ extern IDWriteTypography *uiprivOpenTypeFeaturesToIDWriteTypography(const uiOpen extern DWRITE_FONT_WEIGHT uiprivWeightToDWriteWeight(uiTextWeight w); extern DWRITE_FONT_STYLE uiprivItalicToDWriteStyle(uiTextItalic i); extern DWRITE_FONT_STRETCH uiprivStretchToDWriteStretch(uiTextStretch s); -extern void uiprivFontDescriptorFromIDWriteFont(IDWriteFont *font, uiDrawFontDescriptor *uidesc); +extern void uiprivFontDescriptorFromIDWriteFont(IDWriteFont *font, uiFontDescriptor *uidesc); diff --git a/windows/fontmatch.cpp b/windows/fontmatch.cpp index 034b9907..28b4c84a 100644 --- a/windows/fontmatch.cpp +++ b/windows/fontmatch.cpp @@ -42,7 +42,7 @@ DWRITE_FONT_STRETCH uiprivStretchToDWriteStretch(uiTextStretch s) return dwriteStretches[s]; } -void uiprivFontDescriptorFromIDWriteFont(IDWriteFont *font, uiDrawFontDescriptor *uidesc) +void uiprivFontDescriptorFromIDWriteFont(IDWriteFont *font, uiFontDescriptor *uidesc) { DWRITE_FONT_STYLE dwitalic; DWRITE_FONT_STRETCH dwstretch;