* Get the scalable font size to use for a FontSize. * @param fs FontSize to get the scalable font size for. * @return Scalable font size to use. */
| 165 | * @return Scalable font size to use. |
| 166 | */ |
| 167 | uint GetFontCacheFontSize(FontSize fs) |
| 168 | { |
| 169 | const FontCacheSubSetting &setting = *GetFontCacheSubSetting(fs); |
| 170 | return IsDefaultFont(setting) ? FontCache::GetDefaultFontHeight(fs) : setting.size; |
| 171 | } |
| 172 | |
| 173 | #if defined(WITH_FREETYPE) || defined(_WIN32) || defined(WITH_COCOA) |
| 174 | /** |
no test coverage detected