From b526a70071b5a01a06f31ba86ef18b5b0df2c954 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 9 Mar 2013 10:46:41 +0100 Subject: [PATCH] The LCARS skin now calls SetAntiAliasGranularity(20, 16) in order to reserve enough fixed colors on 8bpp displays with anti-aliasing --- HISTORY | 4 +++- skinlcars.c | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/HISTORY b/HISTORY index 092979c8..8b3a8641 100644 --- a/HISTORY +++ b/HISTORY @@ -7689,7 +7689,7 @@ Video Disk Recorder Revision History - When sorting recordings by name, folders are now always at the top of the list. - Updated the Russian OSD texts (thanks to Oleg Roitburd). -2013-03-08: Version 1.7.40 +2013-03-09: Version 1.7.40 - The "Recording info" page of the skins that come with VDR now displays the name of the channel (if available) from which this recording was taken. @@ -7724,3 +7724,5 @@ Video Disk Recorder Revision History - Fixed resuming replay of PES recordings (reported by Oliver Endriss). - Limited the Goto() call in cDvbPlayer::SetAudioTrack() to the main thread, in order to avoid a crash when the track is automatically set from the player thread. +- The LCARS skin now calls SetAntiAliasGranularity(20, 16) in order to reserve enough + fixed colors on 8bpp displays with anti-aliasing. diff --git a/skinlcars.c b/skinlcars.c index 5914f4e6..72e8302e 100644 --- a/skinlcars.c +++ b/skinlcars.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: skinlcars.c 2.20 2013/03/03 15:23:58 kls Exp $ + * $Id: skinlcars.c 2.21 2013/03/09 10:43:34 kls Exp $ */ // "Star Trek: The Next Generation"(R) is a registered trademark of Paramount Pictures, @@ -210,6 +210,7 @@ static cOsd *CreateOsd(int Left, int Top, int x0, int y0, int x1, int y1) Area.bpp = Bpp[i]; if (Osd->CanHandleAreas(&Area, 1) == oeOk) { Osd->SetAreas(&Area, 1); + Osd->SetAntiAliasGranularity(20, 16); TwoColors = Area.bpp == 1; break; }