OpenCPN Partial API docs
Loading...
Searching...
No Matches
font_mgr.cpp File Reference

Implement font_mgr.h – font list manager. More...

#include <algorithm>
#include <locale>
#include <set>
#include <wx/gdicmn.h>
#include <wx/tokenzr.h>
#include "model/config_vars.h"
#include "font_mgr.h"
#include "OCPNPlatform.h"
#include "ocpn_plugin.h"

Go to the source code of this file.

Classes

struct  font_cache_record
 
class  OCPNwxFontList
 

Variables

wxString g_default_font_facename
 Default font size for user interface elements such as menus, dialogs, etc.
 

Detailed Description

Implement font_mgr.h – font list manager.

Definition in file font_mgr.cpp.

Variable Documentation

◆ g_default_font_facename

wxString g_default_font_facename

Default font size for user interface elements such as menus, dialogs, etc.

Note
Defaults to 0, which falls back to the system default font size.
Currently only set on the Android platform.
Can be manually overridden in opencpn.ini (DefaultFontSize parameter).

Definition at line 79 of file font_mgr.cpp.