#include <djv_common.h>
Public Member Functions | |
FontConfig (const String &inFontName=NullString, size_t inSize=0) | |
FontConfig (const FontConfig &inFontConfig) | |
FontConfig & | operator= (const FontConfig &inFontConfig) |
bool | operator== (const FontConfig &inFontConfig) const |
bool | operator!= (const FontConfig &inFontConfig) const |
bool | isValid () const |
Public Attributes | |
String | fontName |
size_t | size |
This structure preserves font configuration.
|
inline |
Initialize the instance.
inFontName | Font name. See fontName. |
inSize | Font size in points. |
|
inline |
Duplicate a FontConfig instance.
inFontConfig | An instance to duplicate. |
|
inline |
Determines whether the instance is valid or not.
ture
if the instance has valid font-face information; otherwise false
.
|
inline |
Compare this instance with another (check inequality).
inFontConfig | Another FontConfig instance to compare with. |
true
if there're any differences between the instances.
|
inline |
Duplicate a FontConfig instance.
inFontConfig | An instance to duplicate. |
|
inline |
Compare this instance with another (check equality).
inFontConfig | Another FontConfig instance to compare with. |
true
if no difference between the instances. String Celartem::DjVu::FontConfig::fontName |
Font name; so called font-family.
Please note that fonts on a machine may not be installed on another machine and you had better specify very common font-family name. The following is a list of such very common font-families: -helvetica (Helvetica, Arial, ...) -typewriter (Lucida Console, Consolas, -courier (Courier New, ...) -times (Times New Romain, ...) -gothic (Japanese Gothic Font; MS P Gothic, ...) -mincho (Japanese Mincho Font; MS P Mincho, ...) -default (Platform, OS, Locale dependent but GUI default font)
Referenced by isValid(), operator=(), and operator==().
size_t Celartem::DjVu::FontConfig::size |
Font size in points.
1 point is corresponding to 1/72 inch.
Referenced by isValid(), operator=(), and operator==().