mirror of
https://github.com/glest/glest-source.git
synced 2025-08-20 07:01:21 +02:00
- fix for windows compile with new fontconfig changes
This commit is contained in:
@@ -38,7 +38,7 @@ TextFreetypeGL::TextFreetypeGL(FontTextHandlerType type) : Text(type) {
|
|||||||
font=NULL;
|
font=NULL;
|
||||||
manager=NULL;
|
manager=NULL;
|
||||||
|
|
||||||
init("", 24);
|
init("", "", 24);
|
||||||
}
|
}
|
||||||
|
|
||||||
TextFreetypeGL::~TextFreetypeGL() {
|
TextFreetypeGL::~TextFreetypeGL() {
|
||||||
@@ -78,7 +78,7 @@ void TextFreetypeGL::init(string fontName, string fontFamilyName, int fontSize)
|
|||||||
|
|
||||||
void TextFreetypeGL::SetFaceSize(int value) {
|
void TextFreetypeGL::SetFaceSize(int value) {
|
||||||
this->fontFaceSize = value;
|
this->fontFaceSize = value;
|
||||||
init(this->fontName,this->fontFaceSize);
|
init(this->fontName,this->fontFamilyName,this->fontFaceSize);
|
||||||
}
|
}
|
||||||
|
|
||||||
int TextFreetypeGL::GetFaceSize() {
|
int TextFreetypeGL::GetFaceSize() {
|
||||||
|
Reference in New Issue
Block a user