Subversion Repositories tpanel

Rev

Rev 462 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 462 Rev 463
Line 1... Line 1...
1
/*
1
/*
2
 * Copyright (C) 2020 to 2023 by Andreas Theofilu <andreas@theosys.at>
2
 * Copyright (C) 2020 to 2024 by Andreas Theofilu <andreas@theosys.at>
3
 *
3
 *
4
 * This program is free software; you can redistribute it and/or modify
4
 * This program is free software; you can redistribute it and/or modify
5
 * it under the terms of the GNU General Public License as published by
5
 * it under the terms of the GNU General Public License as published by
6
 * the Free Software Foundation; either version 3 of the License, or
6
 * the Free Software Foundation; either version 3 of the License, or
7
 * (at your option) any later version.
7
 * (at your option) any later version.
Line 306... Line 306...
306
        font.faceIndex = 29;
306
        font.faceIndex = 29;
307
        font.size = 8;
307
        font.size = 8;
308
        mFonts.insert(pair<int, FONT_T>(font.number, font));
308
        mFonts.insert(pair<int, FONT_T>(font.number, font));
309
    }
309
    }
310
 
310
 
-
 
311
    if (mFontFile.empty())
-
 
312
    {
-
 
313
        MSG_ERROR("Got no font file name!");
-
 
314
        return;
-
 
315
    }
-
 
316
 
311
    // Now the fonts for setup pages
317
    // Now the fonts for setup pages
312
    systemFonts(true);
318
    systemFonts(true);
313
 
319
 
314
    // read the individual fonts from file
320
    // read the individual fonts from file
315
    TError::clear();
321
    TError::clear();