1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00
Commit Graph

43 Commits

Author SHA1 Message Date
Klaus Schmidinger
e7107b789e Fixed a possible memory leak in creating fonts 2021-12-20 13:19:52 +01:00
Klaus Schmidinger
b6080634cc Added cFont::Width(void) to get the default character width and allow stretched font drawing in high level OSDs 2016-12-22 12:53:09 +01:00
Klaus Schmidinger
15927fd097 Fixed a compiler warning in font.c 2015-04-19 11:14:27 +02:00
Klaus Schmidinger
dbf342df3c cFont::CreateFont() now returns a dummy font in case there are no fonts installed 2014-01-07 12:42:37 +01:00
Klaus Schmidinger
cf7f25fe50 Fixed an endless loop in cTextWrapper::Set() in case the given Width is smaller than one character 2013-04-07 14:49:42 +02:00
Klaus Schmidinger
ebf8a285b2 Fixed font handling with fontconfig 2.9.0 or newer 2012-06-02 13:41:23 +02:00
Klaus Schmidinger
2de28295fc Now making sure that the "small font" is never larger than the "osd font" 2012-06-02 13:35:54 +02:00
Klaus Schmidinger
1378f599c2 Fixed checking for UTF-8 support in cFont::Bidi() 2012-05-19 10:20:16 +02:00
Klaus Schmidinger
1e3f6d6da2 Replaced min(max()) calls with the new function constrain() 2012-03-02 10:51:46 +01:00
Klaus Schmidinger
0730f502c5 BIDI support now checks at runtime whether the system runs with UTF-8 2012-01-13 09:45:08 +01:00
Klaus Schmidinger
4b8fd4e1af Fixed a buffer overflow in cFont::Bidi() 2011-03-28 16:30:37 +02:00
Klaus Schmidinger
0b8356aa92 Improved and cleaned up transparent text drawing 2011-02-26 12:13:59 +01:00
Klaus Schmidinger
6c7089afd2 Implemented support for TrueColor OSD 2011-02-20 15:12:56 +01:00
Klaus Schmidinger
ab0beb2ddb Added support for languages that are written right-to-left 2010-09-19 12:36:07 +02:00
Klaus Schmidinger
a8260204c3 Added cFont::FontName() and cFont::Size() 2009-12-31 15:21:51 +01:00
Klaus Schmidinger
6a208294be Several code modifications to avoid compiler warnings 2009-12-06 12:57:45 +01:00
Klaus Schmidinger
f161d1b2fe OSD sizes in percent; automatic update of OSD size 2009-05-03 14:15:21 +02:00
Klaus Schmidinger
8ce144c607 No longer calling FcFini() to avoid problems with older (broken) versions of fontconfig 2008-05-02 20:34:46 +02:00
Klaus Schmidinger
3bd7f7a0e0 Rendering the non-breaking space symbol as a blank 2008-03-01 10:21:12 +01:00
Klaus Schmidinger
91dff73cf4 Fixed a crash in cFreetypeFont::DrawText() if an unknown symbol is encountered; unknown symbols are replaced with a '?' 2008-02-29 13:41:11 +01:00
Klaus Schmidinger
197d6a9c85 Speeded up anti-aliased font rendering by caching the blend indexes 2008-02-09 11:52:25 +01:00
Klaus Schmidinger
c01249ffe5 Fixed a crash if no fonts are found 2007-11-04 11:11:34 +01:00
Klaus Schmidinger
24232a0010 Fixed stripping i18n stuff from font names 2007-06-23 11:28:18 +02:00
Klaus Schmidinger
d9a8e282e5 Fonts can now be created with a width that overwrites the default width 2007-06-23 10:41:10 +02:00
Klaus Schmidinger
d2b11bf712 Implemented cFont::CreateFont() 2007-06-17 12:15:24 +02:00
Klaus Schmidinger
5fec367e60 Centralized default font names 2007-06-17 11:54:54 +02:00
Klaus Schmidinger
3c68ef28d0 Using dummy font if no fonts are installed 2007-06-17 11:47:18 +02:00
Klaus Schmidinger
79b1c68ffb Now using 'fontconfig' to determine which fonts to use 2007-06-17 11:12:46 +02:00
Klaus Schmidinger
c6f8a14957 Freetype font support; full UTF-8 support; dropped pixel fonts 2007-06-10 13:02:43 +02:00
Klaus Schmidinger
567033135d Added Turkish language texts 2007-03-11 10:17:55 +01:00
Klaus Schmidinger
58facabfb6 Changed the behaviour of the "Use small font" setup option to *always* use the small font if set to '3' - even if it would have been a fixed font 2006-04-16 11:08:32 +02:00
Klaus Schmidinger
7b97eb6e97 Made all font and image data 'const' 2006-02-05 13:55:58 +01:00
Klaus Schmidinger
0d596d0478 Completed the Estonian OSD texts and switched to iso8859-13 character set 2005-01-14 13:30:57 +01:00
Klaus Schmidinger
8db2fc2d24 Fixed the character width and shifted the codes; Renamed font???.c to font???-iso8859-1.c 2004-12-18 16:42:46 +01:00
Klaus Schmidinger
8ce0247091 Now actually using the iso8859-15 fonts 2004-10-23 14:07:41 +02:00
Klaus Schmidinger
d6f2f1675c Made some functions of cFont virtual to allow implementing dummy fonts for the 'curses' skin 2004-05-31 14:09:52 +02:00
Klaus Schmidinger
c99d9c9ded Added Croatian language texts 2004-05-16 12:05:40 +02:00
Klaus Schmidinger
5d99df7b77 Implemented 'skins' and 'themes' 2004-05-16 10:35:36 +02:00
Klaus Schmidinger
9dfa448134 Added Russian language texts 2004-01-16 13:34:43 +01:00
Klaus Schmidinger
27d95dfb39 Greek language texts now use iso8859-7 character set 2003-10-24 13:13:02 +02:00
Klaus Schmidinger
c94570e69d Changed font handling to allow language specific character sets; adopted the small font character set from the "Elchi" patch 2003-10-24 12:53:12 +02:00
Klaus Schmidinger
ca42f7c8f1 Fixed font for system commands 2000-11-18 15:46:00 +01:00
Klaus Schmidinger
6a50f37f25 Faster OSD by using bitmap 2000-10-03 10:34:48 +02:00