- For the correct use of the changes should be built freetype
with the following settings:
#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING
#define TT_CONFIG_OPTION_SUBPIXEL_HINTING
BS-Patch for freetype 2.5-2.7
-----------------------------
** include/freetype/config/ftoption.h **
-/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */
+#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING
-/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING */
+#define TT_CONFIG_OPTION_SUBPIXEL_HINTING
BS-Patch for freetype 2.7.1
---------------------------
** include/freetype/config/ftoption.h **
-/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */
+#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING
Origin commit data
------------------
Branch: ni/coolstream
Commit: 97d1d93c93
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-01-24 (Tue, 24 Jan 2017)
Origin message was:
------------------
fontrenderer: Rework rendering for better font presentation
- For the correct use of the changes should be built freetype
with the following settings:
#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING
#define TT_CONFIG_OPTION_SUBPIXEL_HINTING
BS-Patch for freetype 2.5-2.7
-----------------------------
** include/freetype/config/ftoption.h **
-/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */
+#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING
-/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING */
+#define TT_CONFIG_OPTION_SUBPIXEL_HINTING
BS-Patch for freetype 2.7.1
---------------------------
** include/freetype/config/ftoption.h **
-/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */
+#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING
------------------
This commit was generated by Migit
If more text is added to a textbox than fits into the window, the last
lines are stripped. In BOTTOM (and non-SCROLL) mode, it makes more sense
to strip the first lines. This is used by shellwindow, e.g. in package
management menu.
Origin commit data
------------------
Branch: ni/coolstream
Commit: b623aad5c3
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-01-29 (Sun, 29 Jan 2017)
------------------
This commit was generated by Migit
Origin commit data
------------------
Branch: ni/coolstream
Commit: 4cfff44e29
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-01-24 (Tue, 24 Jan 2017)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
Origin commit data
------------------
Branch: ni/coolstream
Commit: e5ab37c387
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-01-20 (Fri, 20 Jan 2017)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
If found no linebreak, return value could be too small.
Space char simulates a line termination as a workaround to get
largest possible width.
Origin commit data
------------------
Branch: ni/coolstream
Commit: cddf1835b5
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-09 (Fri, 09 Dec 2016)
------------------
This commit was generated by Migit
CORNER_ALL is not the same like CORNER_NONE.
Could cause problems in the evaluation.
Origin commit data
------------------
Branch: ni/coolstream
Commit: 8142ed47cc
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-27 (Sun, 27 Nov 2016)
------------------
This commit was generated by Migit
supplement to: - textbox: fix box width in round corners mode
Radius was always subtracted in all text modes.
TODO: value of m_nBgRadius itself is not considered at the moment.
Origin commit data
------------------
Branch: ni/coolstream
Commit: 7031dc1da4
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-21 (Mon, 21 Nov 2016)
------------------
This commit was generated by Migit
This could be useful eg. for size calculations.
Origin commit data
------------------
Branch: ni/coolstream
Commit: 91c7588aa6
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-10 (Thu, 10 Nov 2016)
------------------
This commit was generated by Migit
I'm missing a function that returns current line count outside
of a CTextBox object. This could be useful eg. for size calculations
before object init etc
Origin commit data
------------------
Branch: ni/coolstream
Commit: ac8d05f5e1
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-09 (Wed, 09 Nov 2016)
------------------
This commit was generated by Migit
error: declaration of ‘clear’ shadows a member of 'this'
Origin commit data
------------------
Branch: ni/coolstream
Commit: 0f5aa73033
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-11-02 (Wed, 02 Nov 2016)
Origin message was:
------------------
- textbox: fix compilation for generic hardware
error: declaration of ‘clear’ shadows a member of 'this'
------------------
This commit was generated by Migit
Origin commit data
------------------
Branch: ni/coolstream
Commit: 0b504f8c60
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-31 (Mon, 31 Oct 2016)
Origin message was:
------------------
- textbox: add clear() function
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
Origin commit data
------------------
Branch: ni/coolstream
Commit: 002277fb5f
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-28 (Fri, 28 Oct 2016)
Origin message was:
------------------
- textbox: fix box width in round corners mode
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
Origin commit data
------------------
Branch: ni/coolstream
Commit: 99a9f8a7e5
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-27 (Thu, 27 Oct 2016)
Origin message was:
------------------
- textbox: fix lineBreakWidth calculation
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
Origin commit data
------------------
Branch: ni/coolstream
Commit: be9143a511
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-25 (Tue, 25 Oct 2016)
Origin message was:
------------------
- textbox: fix round corners/scrollbar handling
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
and add VISUAL_DEBUG define. That paints beautiful colored boxes
to see what's going on.
Origin commit data
------------------
Branch: ni/coolstream
Commit: c074f1365f
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Origin message was:
------------------
- textbox: fix text position in mode CENTER and mode RIGHT; ...
and add VISUAL_DEBUG define. That paints beautiful colored boxes
to see what's going on.
------------------
This commit was generated by Migit
Origin commit data
------------------
Branch: ni/coolstream
Commit: af7643a285
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Origin message was:
------------------
- textbox: use OFFSET defines
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
Origin commit data
------------------
Branch: ni/coolstream
Commit: 6629b64d6c
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)
Origin message was:
------------------
- colors: add COL_SCROLLBAR_PASSIVE wrapper
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
Origin commit data
------------------
Branch: ni/coolstream
Commit: 7e7d4e5fc1
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)
Origin message was:
------------------
- colors: add COL_SCROLLBAR_ACTIVE wrapper
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
Origin commit data
------------------
Branch: ni/coolstream
Commit: c9b5470a47
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-08-15 (Mon, 15 Aug 2016)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
Origin commit data
------------------
Branch: ni/coolstream
Commit: 2dd2fac376
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-02-10 (Wed, 10 Feb 2016)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
Check of text change is not enough. Scrollboxes could have some problems.
Dimension changes must be considered too and this is to much effort at
the moment. Use of OnAfterScrollPage is much easier.
this reverts: 0f5a8dda05
Origin commit data
------------------
Branch: ni/coolstream
Commit: 8afe4495e7
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-02-18 (Thu, 18 Feb 2016)
------------------
This commit was generated by Migit
Origin commit data
------------------
Branch: ni/coolstream
Commit: 342de45cc3
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-02-10 (Wed, 10 Feb 2016)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
Avoids possible usage of wrong color after init.
Origin commit data
------------------
Branch: ni/coolstream
Commit: 4d1780486d
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-02-02 (Tue, 02 Feb 2016)
------------------
This commit was generated by Migit
Screen save now always disabled by default and can be controlled
outside of relevant objects.
Origin commit data
------------------
Branch: ni/coolstream
Commit: 9d72b086a2
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-01-21 (Thu, 21 Jan 2016)
------------------
This commit was generated by Migit
Origin commit data
------------------
Branch: ni/coolstream
Commit: 35a08fc5dd
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-01-17 (Sun, 17 Jan 2016)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
Origin commit data
------------------
Branch: ni/coolstream
Commit: 3d4bb41062
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-01-07 (Thu, 07 Jan 2016)
Origin message was:
------------------
- textbox: allow users setting screen_StartX/Y = 0
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
- split hasChanged() into hasChangedPos(), hasChangedDim()
- add return value bool to enableBackgroundPaint(), enableSaveScreen()
- add clearScreenBuffer(), for unified usage in destructor and functions
- add OnAfterRefresh() as a signal/slot handler, this allows to use
external methodes as callbacks after painted text
Origin commit data
------------------
Branch: ni/coolstream
Commit: a2171dad4a
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-11-18 (Wed, 18 Nov 2015)
Origin message was:
------------------
CTextBox: add/modify methodes for screen handlings
- split hasChanged() into hasChangedPos(), hasChangedDim()
- add return value bool to enableBackgroundPaint(), enableSaveScreen()
- add clearScreenBuffer(), for unified usage in destructor and functions
- add OnAfterRefresh() as a signal/slot handler, this allows to use
external methodes as callbacks after painted text
------------------
This commit was generated by Migit
Origin commit data
------------------
Branch: ni/coolstream
Commit: 638832f535
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-07-17 (Fri, 17 Jul 2015)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
Origin commit data
------------------
Branch: ni/coolstream
Commit: 672ae3fdb1
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-07-17 (Fri, 17 Jul 2015)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
Origin commit data
------------------
Branch: ni/coolstream
Commit: 4e002bdf66
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-07-13 (Mon, 13 Jul 2015)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
Origin commit data
------------------
Branch: ni/coolstream
Commit: 37c863d141
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-07-12 (Sun, 12 Jul 2015)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
Wrong position assignments can trigger crash. Prevent segfaults.
Error log should indicate this.
Origin commit data
------------------
Branch: ni/coolstream
Commit: 459c120060
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-03-19 (Thu, 19 Mar 2015)
------------------
This commit was generated by Migit
disable hide in desctructor
Origin commit data
------------------
Branch: ni/coolstream
Commit: 72997591a0
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2015-03-06 (Fri, 06 Mar 2015)
------------------
This commit was generated by Migit
Origin commit data
------------------
Branch: ni/coolstream
Commit: a85878db2f
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-02-01 (Sun, 01 Feb 2015)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
- The x position of the text could assume negative values,
when the text length was greater than the specified range.
Origin commit data
------------------
Branch: ni/coolstream
Commit: a6487fd951
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-10-16 (Thu, 16 Oct 2014)
Origin message was:
------------------
CTextBox: Fix center / right text display
- The x position of the text could assume negative values,
when the text length was greater than the specified range.
------------------
This commit was generated by Migit
m_nMaxLineWidth was never used
Origin commit data
------------------
Branch: ni/coolstream
Commit: f902c7a1e3
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-08-03 (Sun, 03 Aug 2014)
------------------
This commit was generated by Migit
Origin commit data
------------------
Branch: ni/coolstream
Commit: 1b9037e8e8
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-06-27 (Fri, 27 Jun 2014)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
Origin commit data
------------------
Branch: ni/coolstream
Commit: 649d1b1f9d
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-06-11 (Wed, 11 Jun 2014)
Origin message was:
------------------
- change RenderString() default to UTF8
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
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
Origin commit data
------------------
Branch: ni/coolstream
Commit: e617bab6cf
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-01 (Fri, 01 Nov 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
Paint routine of text has changed, so it can be useful to affect the old
behavior of text repaint beacause of text is painted only if
text or some other properties have changed.
Default value of force_repaint is true, so we have the same behavior like
before changes.
Origin commit data
------------------
Branch: ni/coolstream
Commit: 7e91fecc02
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-31 (Thu, 31 Oct 2013)
------------------
This commit was generated by Migit
suplement to 4a929211c9
Origin commit data
------------------
Branch: ni/coolstream
Commit: 5c7e926a86
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-27 (Sun, 27 Oct 2013)
------------------
This commit was generated by Migit
Origin commit data
------------------
Branch: ni/coolstream
Commit: ca22cb9241
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-10-26 (Sat, 26 Oct 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
- Add AUTO_LINEBREAK_NO_BREAKCHARS to textbox_modes for
auto linebreak without '-' and '.' char
Origin commit data
------------------
Branch: ni/coolstream
Commit: 3d404afc7f
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-10-18 (Fri, 18 Oct 2013)
Origin message was:
------------------
CTextBox: Add function getLinesPerPage()
- Add AUTO_LINEBREAK_NO_BREAKCHARS to textbox_modes for
auto linebreak without '-' and '.' char
------------------
This commit was generated by Migit
It's not new, but this involves also other properties,
like color or position...
It's possible that more properties are required, maybe needs to be watched
and evaluation of comparison might require further revisions.
Origin commit data
------------------
Branch: ni/coolstream
Commit: adba310c1c
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-21 (Mon, 21 Oct 2013)
------------------
This commit was generated by Migit
This may prevent undefined behavior or even possible segfaults
Origin commit data
------------------
Branch: ni/coolstream
Commit: 302649eca4
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-20 (Sun, 20 Oct 2013)
------------------
This commit was generated by Migit
Origin commit data
------------------
Branch: ni/coolstream
Commit: 08e23a917c
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-09-16 (Mon, 16 Sep 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
- If necessary, Correct data types of the color values
Origin commit data
------------------
Branch: ni/coolstream
Commit: c60c5c5ce3
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-07-11 (Thu, 11 Jul 2013)
------------------
This commit was generated by Migit