A searcher for missing glyphs. More...
#include <strings_func.h>
Public Member Functions | |
| virtual | ~MissingGlyphSearcher () |
| Make sure everything gets destructed right. | |
| virtual const char * | NextString ()=0 |
| Get the next string to search through. | |
| virtual FontSize | DefaultSize ()=0 |
| Get the default (font) size of the string. | |
| virtual void | Reset ()=0 |
| Reset the search, i.e. | |
| virtual bool | Monospace ()=0 |
| Whether to search for a monospace font or not. | |
| virtual void | SetFontNames (struct FreeTypeSettings *settings, const char *font_name)=0 |
| Set the right font names. | |
| bool | FindMissingGlyphs (const char **str) |
| Check whether there are glyphs missing in the current language. | |
A searcher for missing glyphs.
Definition at line 195 of file strings_func.h.
| virtual MissingGlyphSearcher::~MissingGlyphSearcher | ( | ) | [inline, virtual] |
Make sure everything gets destructed right.
Definition at line 198 of file strings_func.h.
| virtual FontSize MissingGlyphSearcher::DefaultSize | ( | ) | [pure virtual] |
Get the default (font) size of the string.
Implemented in LanguagePackGlyphSearcher, and TextfileWindow.
Referenced by FindMissingGlyphs().
| bool MissingGlyphSearcher::FindMissingGlyphs | ( | const char ** | str | ) |
Check whether there are glyphs missing in the current language.
| Pointer | to an address for storing the text pointer. |
true, else return false. true is returned and str is not NULL, *str points to a string that is found to contain at least one missing glyph. Definition at line 1980 of file strings.cpp.
References DefaultSize(), FS_BEGIN, FS_MONO, InitFreeType(), IsInsideMM(), IsTextDirectionChar(), Monospace(), NextString(), Reset(), SCC_BIGFONT, and SCC_TINYFONT.
Referenced by CheckForMissingGlyphs(), and SetFallbackFont().
| virtual bool MissingGlyphSearcher::Monospace | ( | ) | [pure virtual] |
Whether to search for a monospace font or not.
Implemented in LanguagePackGlyphSearcher, and TextfileWindow.
Referenced by CheckForMissingGlyphs(), FindMissingGlyphs(), and SetFallbackFont().
| virtual const char* MissingGlyphSearcher::NextString | ( | ) | [pure virtual] |
Get the next string to search through.
Implemented in LanguagePackGlyphSearcher, and TextfileWindow.
Referenced by FindMissingGlyphs().
| virtual void MissingGlyphSearcher::Reset | ( | ) | [pure virtual] |
Reset the search, i.e.
begin from the beginning again.
Implemented in LanguagePackGlyphSearcher, and TextfileWindow.
Referenced by FindMissingGlyphs().
| virtual void MissingGlyphSearcher::SetFontNames | ( | struct FreeTypeSettings * | settings, | |
| const char * | font_name | |||
| ) | [pure virtual] |
Set the right font names.
| settings | The settings to modify. | |
| font_name | The new font name. |
Implemented in LanguagePackGlyphSearcher, and TextfileWindow.
Referenced by SetFallbackFont().
1.7.1