diff options
Diffstat (limited to 'plugins/NewStory/src/utils.cpp')
-rw-r--r-- | plugins/NewStory/src/utils.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/NewStory/src/utils.cpp b/plugins/NewStory/src/utils.cpp index 3e342e7f0c..4c5b3817a2 100644 --- a/plugins/NewStory/src/utils.cpp +++ b/plugins/NewStory/src/utils.cpp @@ -36,6 +36,11 @@ bool CheckFilter(wchar_t *buf, wchar_t *filter) return false; } +int GetFontHeight(const LOGFONTA &lf) +{ + return 2 * abs(lf.lfHeight) * 74 / g_iPixelY; +} + ///////////////////////////////////////////////////////////////////////////////////////// struct |