In some cases with many following dynamic size changes,
it could be better to suppress this output.
Origin commit data
------------------
Commit: 96e05c69dc
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-03-19 (Sun, 19 Mar 2017)
Origin message was:
------------------
CNeutrinoFonts: reduce debug spam
In some cases with many following dynamic size changes,
it could be better to suppress this output.
Variable '_height' is reassigned a value before the old one has been used.
Origin commit data
------------------
Commit: b5483d4050
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-10 (Thu, 10 Oct 2013)
- delete / initialize font renderer only if necessary
(e.g. start program, change the font file, change the scaling)
Origin commit data
------------------
Commit: e473df6a43
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-07-26 (Fri, 26 Jul 2013)
Origin message was:
------------------
CNeutrinoFonts: Use separate font renderer for dynamic fonts
- delete / initialize font renderer only if necessary
(e.g. start program, change the font file, change the scaling)
- use std::string for font and style names
Origin commit data
------------------
Commit: aca97e210e
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-07-03 (Wed, 03 Jul 2013)
- Dynamic fonts with their size matched to a given text box.
The display size is retained even when changing the font size factor.
- "Normal" dynamic fonts, characterized by FONT_ID_SHARE in
CNeutrinoFonts::getDynFont() can be used by several objects
simultaneously. That is, if the calculated font size and font style
are the same, the existing font is used.
- Dynamic font for exclusive application will only be used by an object.
For this, a FontID (FONT_ID_xxx, defined in src/driver/neutrinofonts.h)
in CNeutrinoFonts::getDynFont() is specified.
- Objects with dynamic font for exclusive application can resize at
run time, the font size will be adjusted accordingly.
- The return value of CNeutrinoFonts::getDynFont() is a pointer
to a font, for example:
Font** font = CNeutrinoFonts::getInstance()->getDynFont(...);
(*font)->RenderString(...)
Origin commit data
------------------
Commit: 0bcb7bcfae
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-06-28 (Fri, 28 Jun 2013)
Origin message was:
------------------
Add dynamic fonts to CNeutrinoFonts
- Dynamic fonts with their size matched to a given text box.
The display size is retained even when changing the font size factor.
- "Normal" dynamic fonts, characterized by FONT_ID_SHARE in
CNeutrinoFonts::getDynFont() can be used by several objects
simultaneously. That is, if the calculated font size and font style
are the same, the existing font is used.
- Dynamic font for exclusive application will only be used by an object.
For this, a FontID (FONT_ID_xxx, defined in src/driver/neutrinofonts.h)
in CNeutrinoFonts::getDynFont() is specified.
- Objects with dynamic font for exclusive application can resize at
run time, the font size will be adjusted accordingly.
- The return value of CNeutrinoFonts::getDynFont() is a pointer
to a font, for example:
Font** font = CNeutrinoFonts::getInstance()->getDynFont(...);
(*font)->RenderString(...)
- move SetupFonts() from CNeutrinoApp to CFontSetup
Origin commit data
------------------
Commit: 465d2aba23
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-06-27 (Thu, 27 Jun 2013)