Actions
Feature #17
closedAntialiased fonts
Start date:
12/16/2008
Due date:
12/21/2008
% Done:
100%
Estimated time:
Description
Could somebody implement support for antialiased fonts for this plugin.
I attach here my quick and dirty patch that probably won't work with all configurations.
--- ttxtsubs-0.0.6.orig/ttxtsubsdisplay.c 2008-12-14 22:34:49.000000000 +0 200 +++ ttxtsubs-0.0.6/ttxtsubsdisplay.c 2008-12-16 20:40:27.000000000 +0200 @@ -456,8 +456,13 @@ void cTtxtSubsDisplay::ShowOSD(void) left = SCREENRIGHT - SIDEMARGIN - w; break; } - tArea area = {left, y, left+w-1, y+ROWH-1, 2}; - areas[numAreas++] = area; + if (Setup.AntiAlias) { + tArea area = {left, y, left+w-1, y+ROWH-1, 8}; + areas[numAreas++] = area; + } else { + tArea area = {left, y, left+w-1, y+ROWH-1, 2}; + areas[numAreas++] = area; + } y += (ROWINCR + globals.lineSpacing()); } if (mOsd->CanHandleAreas(areas, numAreas) != oeOk) {
Files
Actions