Commit Graph

17 Commits

Author SHA1 Message Date
Thilo Graf
2914dd0056 CNeutrinoFonts: reduce debug spam
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.
2017-03-19 22:32:15 +01:00
vanhofen
54af49f2d0 rename screen_x/yres to font_scaling_x/y
Origin commit data
------------------
Commit: aeec37af89
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-01-12 (Thu, 12 Jan 2017)

Origin message was:
------------------
- rename screen_x/yres to font_scaling_x/y
2017-02-09 18:13:19 +01:00
vanhofen
4d5891cde3 neutrinofonts: remove wrong name from signal_font struct
Origin commit data
------------------
Commit: c159fec182
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-08-15 (Mon, 15 Aug 2016)

Origin message was:
------------------
- neutrinofonts: remove wrong name from signal_font struct
2016-08-15 22:15:15 +02:00
Jacek Jendrzej
b76ddb5ea7 src/driver/neutrinofonts.cpp add cache for dynSize
Origin commit data
------------------
Commit: 4ec5589c54
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-05-04 (Wed, 04 May 2016)
2016-05-04 16:05:17 +02:00
Michael Liebmann
97140dbedb CNeutrinoFonts: Add 'getDynFontExt()' for create custom fonts...
...in external plugins


Origin commit data
------------------
Commit: 56d76f4ebc
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-11-27 (Fri, 27 Nov 2015)
2015-11-27 12:31:47 +01:00
Thilo Graf
2a7298e136 CNeutrinoFonts: use neutrino debug output as default with line numbers
Origin commit data
------------------
Commit: b9e04a4999
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-03-18 (Wed, 18 Mar 2015)
2015-03-29 22:40:14 +02:00
Jacek Jendrzej
6ff2c1b6bd use empty to check string
Origin commit data
------------------
Commit: 2b5e7b5ba3
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-01-09 (Fri, 09 Jan 2015)
2015-01-09 17:15:11 +01:00
vanhofen
d41d02e1ca neutrinofonts.cpp: use debug output for font init
Origin commit data
------------------
Commit: 608ae65038
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-09-08 (Mon, 08 Sep 2014)

Origin message was:
------------------
- neutrinofonts.cpp: use debug output for font init
2014-09-08 18:42:28 +02:00
vanhofen
3bba3094e2 change getRenderWidth() default to UTF8
Origin commit data
------------------
Commit: 8b91cda918
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-06-11 (Wed, 11 Jun 2014)

Origin message was:
------------------
- change getRenderWidth() default to UTF8
2014-06-11 23:07:00 +02:00
martii
ce44d1641a convert most char[...] configuration values to std::string
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>


Origin commit data
------------------
Commit: cbc9299df8
Author: martii <m4rtii@gmx.de>
Date: 2013-06-11 (Tue, 11 Jun 2013)
2013-12-25 12:08:14 +01:00
Thilo Graf
88055da58b CNeutrinoFonts: performance fix
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)
2013-10-16 11:54:05 +02:00
Thilo Graf
c58a000ff5 CNeutrinoFonts: disable debug spam
Origin commit data
------------------
Commit: 5e666dcdd5
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-08-27 (Tue, 27 Aug 2013)
2013-08-30 22:14:35 +02:00
Michael Liebmann
af1608682d 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)


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)
2013-07-26 14:52:37 +02:00
Michael Liebmann
2511501be8 CNeutrinoFonts: Fix segfault, when font size changed
Origin commit data
------------------
Commit: a1fe4298c3
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-07-04 (Thu, 04 Jul 2013)
2013-07-21 22:06:44 +02:00
Michael Liebmann
3c45c9b094 CNeutrinoFonts: Fix segfault, when fontfile changed
- 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)
2013-07-21 22:06:40 +02:00
Michael Liebmann
10cb9d1953 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(...)


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(...)
2013-07-21 22:05:18 +02:00
Michael Liebmann
09d3ccc359 Add new class CNeutrinoFonts for setup and modify neutrino fonts
- 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)
2013-07-21 22:05:14 +02:00