| Index: Source/core/platform/graphics/harfbuzz/HarfBuzzFaceCoreText.cpp
|
| diff --git a/Source/core/platform/graphics/harfbuzz/HarfBuzzFaceCoreText.cpp b/Source/core/platform/graphics/harfbuzz/HarfBuzzFaceCoreText.cpp
|
| index e81ba594af5d892e0d5d91861c8970e6d3dd96c4..a8c120f2984cf0a36ec8d4105a6575d2ec9dcdf3 100644
|
| --- a/Source/core/platform/graphics/harfbuzz/HarfBuzzFaceCoreText.cpp
|
| +++ b/Source/core/platform/graphics/harfbuzz/HarfBuzzFaceCoreText.cpp
|
| @@ -85,7 +85,7 @@ static hb_bool_t getGlyphExtents(hb_font_t* hbFont, void* fontData, hb_codepoint
|
| return true;
|
| }
|
|
|
| -static hb_font_funcs_t* harfBuzzCoreTextGetFontFuncs()
|
| +static hb_font_funcs_t* harfBuzzCoreTextGetFontFuncs(const TypesettingFeatures&)
|
| {
|
| static hb_font_funcs_t* harfBuzzCoreTextFontFuncs = 0;
|
|
|
| @@ -129,10 +129,10 @@ hb_face_t* HarfBuzzFace::createFace()
|
| return face;
|
| }
|
|
|
| -hb_font_t* HarfBuzzFace::createFont()
|
| +hb_font_t* HarfBuzzFace::createFont(const TypesettingFeatures& features)
|
| {
|
| hb_font_t* font = hb_font_create(m_face);
|
| - hb_font_set_funcs(font, harfBuzzCoreTextGetFontFuncs(), m_platformData, 0);
|
| + hb_font_set_funcs(font, harfBuzzCoreTextGetFontFuncs(features), m_platformData, 0);
|
| const float size = m_platformData->m_size;
|
| hb_font_set_ppem(font, size, size);
|
| const int scale = (1 << 16) * static_cast<int>(size);
|
|
|