Commit Graph

14 Commits

Author SHA1 Message Date
Jacek Jendrzej
e57ea0f944 src/driver/neutrinofonts.cpp add cache for dynSize
Origin commit data
------------------
Branch: ni/coolstream
Commit: 4ec5589c54
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-05-04 (Wed, 04 May 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-05-04 16:05:17 +02:00
Michael Liebmann
a8a4c3c80b CNeutrinoFonts: Add 'getDynFontExt()' for create custom fonts...
...in external plugins


Origin commit data
------------------
Branch: ni/coolstream
Commit: 56d76f4ebc
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-11-27 (Fri, 27 Nov 2015)



------------------
This commit was generated by Migit
2015-11-27 12:31:47 +01:00
Thilo Graf
8afd9603c6 CNeutrinoFonts: use neutrino debug output as default with line numbers
Origin commit data
------------------
Branch: ni/coolstream
Commit: b9e04a4999
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-03-18 (Wed, 18 Mar 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2015-03-29 22:40:14 +02:00
Jacek Jendrzej
5afc24dc67 use empty to check string
Origin commit data
------------------
Branch: ni/coolstream
Commit: 2b5e7b5ba3
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-01-09 (Fri, 09 Jan 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2015-01-09 17:15:11 +01:00
vanhofen
00ec52cd08 neutrinofonts.cpp: use debug output for font init
Origin commit data
------------------
Branch: ni/coolstream
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

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-09-08 18:42:28 +02:00
vanhofen
108a1c1b93 change getRenderWidth() default to UTF8
Origin commit data
------------------
Branch: ni/coolstream
Commit: 8b91cda918
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-06-11 (Wed, 11 Jun 2014)

Origin message was:
------------------
- change getRenderWidth() default to UTF8

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-06-11 23:07:00 +02:00
martii
7ebfe9959d convert most char[...] configuration values to std::string
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>


Origin commit data
------------------
Branch: ni/coolstream
Commit: cbc9299df8
Author: martii <m4rtii@gmx.de>
Date: 2013-06-11 (Tue, 11 Jun 2013)



------------------
This commit was generated by Migit
2013-12-25 12:08:14 +01:00
Thilo Graf
3a90d83b99 CNeutrinoFonts: performance fix
Variable '_height' is reassigned a value before the old one has been used.


Origin commit data
------------------
Branch: ni/coolstream
Commit: b5483d4050
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-10 (Thu, 10 Oct 2013)



------------------
This commit was generated by Migit
2013-10-16 11:54:05 +02:00
Thilo Graf
9c8fb2a863 CNeutrinoFonts: disable debug spam
Origin commit data
------------------
Branch: ni/coolstream
Commit: 5e666dcdd5
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-08-27 (Tue, 27 Aug 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-08-30 22:14:35 +02:00
Michael Liebmann
4f0d411e1c 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
------------------
Branch: ni/coolstream
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)


------------------
This commit was generated by Migit
2013-07-26 14:52:37 +02:00
Michael Liebmann
a7fcc2e0c4 CNeutrinoFonts: Fix segfault, when font size changed
Origin commit data
------------------
Branch: ni/coolstream
Commit: a1fe4298c3
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-07-04 (Thu, 04 Jul 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-07-21 22:06:44 +02:00
Michael Liebmann
497312d01b CNeutrinoFonts: Fix segfault, when fontfile changed
- use std::string for font and style names


Origin commit data
------------------
Branch: ni/coolstream
Commit: aca97e210e
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-07-03 (Wed, 03 Jul 2013)



------------------
This commit was generated by Migit
2013-07-21 22:06:40 +02:00
Michael Liebmann
365badceee 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
------------------
Branch: ni/coolstream
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(...)


------------------
This commit was generated by Migit
2013-07-21 22:05:18 +02:00
Michael Liebmann
c82257306f Add new class CNeutrinoFonts for setup and modify neutrino fonts
- move SetupFonts() from CNeutrinoApp to CFontSetup


Origin commit data
------------------
Branch: ni/coolstream
Commit: 465d2aba23
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-06-27 (Thu, 27 Jun 2013)



------------------
This commit was generated by Migit
2013-07-21 22:05:14 +02:00