diff options
author | mrwastl <mrwastl@users.sourceforge.net> | 2012-06-16 16:30:44 +0200 |
---|---|---|
committer | mrwastl <mrwastl@users.sourceforge.net> | 2012-06-16 16:30:44 +0200 |
commit | 433faa596510971f78a73c44b8152166e5774df8 (patch) | |
tree | e7c9ad8b092bddb22342413add070d89aca9487d /glcdskin/font.h | |
parent | 6ce1975169f81c113b343b67821554062d2859e9 (diff) | |
download | graphlcd-base-433faa596510971f78a73c44b8152166e5774df8.tar.gz graphlcd-base-433faa596510971f78a73c44b8152166e5774df8.tar.bz2 |
added support for fontconfig font name representations (eg.: <font id="FontInfo" url="fc:Sans Serif:bold:size=12"/>). Attention: specifying a size term (eg. 'size=12') is mandatory!
Diffstat (limited to 'glcdskin/font.h')
-rw-r--r-- | glcdskin/font.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/glcdskin/font.h b/glcdskin/font.h index d11fa50..80e5556 100644 --- a/glcdskin/font.h +++ b/glcdskin/font.h @@ -49,8 +49,11 @@ private: cSkinDisplay mDummyDisplay; cSkinObject mDummyObject; + static int FcInitCount; + public: cSkinFont(cSkin * Parent); + ~cSkinFont(void); bool ParseUrl(const std::string & Text); bool ParseCondition(const std::string & Text); |