mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Now actually using the iso8859-15 fonts
This commit is contained in:
parent
1cac277daa
commit
8ce0247091
@ -1113,3 +1113,4 @@ Stefan Meyknecht <stefan@meyknecht.org>
|
||||
|
||||
Lucian Muresan <lucianm@users.sourceforge.net>
|
||||
for updating the Romanian language texts and the iso8859-2 fonts
|
||||
for making VDR actually use the iso8859-15 fonts
|
||||
|
1
HISTORY
1
HISTORY
@ -3055,3 +3055,4 @@ Video Disk Recorder Revision History
|
||||
- Taking the complete size of available data into account when deciding whether
|
||||
to clear the transfer buffer to avoid overflows (thanks to Reinhard Nissl).
|
||||
- Updated Romanian language texts and the iso8859-2 fonts (thanks to Lucian Muresan).
|
||||
- Now actually using the iso8859-15 fonts (thanks to Lucian Muresan).
|
||||
|
8
font.c
8
font.c
@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: font.c 1.8 2004/05/31 14:09:00 kls Exp $
|
||||
* $Id: font.c 1.9 2004/10/23 14:06:01 kls Exp $
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
@ -28,6 +28,10 @@
|
||||
#include "fontosd-iso8859-7.c"
|
||||
#include "fontsml-iso8859-7.c"
|
||||
|
||||
#include "fontfix-iso8859-15.c"
|
||||
#include "fontosd-iso8859-15.c"
|
||||
#include "fontsml-iso8859-15.c"
|
||||
|
||||
// --- cFont -----------------------------------------------------------------
|
||||
|
||||
static void *FontData[eDvbCodeSize][eDvbFontSize] = {
|
||||
@ -35,6 +39,7 @@ static void *FontData[eDvbCodeSize][eDvbFontSize] = {
|
||||
{ FontOsd_iso8859_2, FontFix_iso8859_2, FontSml_iso8859_2 },
|
||||
{ FontOsd_iso8859_5, FontFix_iso8859_5, FontSml_iso8859_5 },
|
||||
{ FontOsd_iso8859_7, FontFix_iso8859_7, FontSml_iso8859_7 },
|
||||
{ FontOsd_iso8859_15, FontFix_iso8859_15, FontSml_iso8859_15 },
|
||||
};
|
||||
|
||||
static const char *FontCode[eDvbCodeSize] = {
|
||||
@ -42,6 +47,7 @@ static const char *FontCode[eDvbCodeSize] = {
|
||||
"iso8859-2",
|
||||
"iso8859-5",
|
||||
"iso8859-7",
|
||||
"iso8859-15",
|
||||
};
|
||||
|
||||
eDvbCode cFont::code = code_iso8859_1;
|
||||
|
5
font.h
5
font.h
@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: font.h 1.8 2004/05/31 14:09:00 kls Exp $
|
||||
* $Id: font.h 1.9 2004/10/23 14:06:37 kls Exp $
|
||||
*/
|
||||
|
||||
#ifndef __FONT_H
|
||||
@ -24,7 +24,8 @@ enum eDvbCode {
|
||||
code_iso8859_2,
|
||||
code_iso8859_5,
|
||||
code_iso8859_7,
|
||||
#define eDvbCodeSize (code_iso8859_7 + 1)
|
||||
code_iso8859_15,
|
||||
#define eDvbCodeSize (code_iso8859_15 + 1)
|
||||
};
|
||||
|
||||
class cFont {
|
||||
|
Loading…
Reference in New Issue
Block a user