diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2016-12-13 15:01:24 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2016-12-13 15:01:24 +0100 |
commit | d71544d797039e043284b76a171d648430b112de (patch) | |
tree | 67e1b920178cc3737ed3863ad8dff6fbd65eead9 /font.h | |
parent | 08066065e316682da10249b4edcc19b7d5226e59 (diff) | |
download | vdr-d71544d797039e043284b76a171d648430b112de.tar.gz vdr-d71544d797039e043284b76a171d648430b112de.tar.bz2 |
Added a note to the description of cFont::Size(), regarding possible differences between it and cFont::Height()
Diffstat (limited to 'font.h')
-rw-r--r-- | font.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: font.h 3.1 2014/01/07 12:11:55 kls Exp $ + * $Id: font.h 4.1 2016/12/13 14:58:53 kls Exp $ */ #ifndef __FONT_H @@ -43,7 +43,8 @@ public: ///< Returns the font name. virtual int Size(void) const { return Height(); } ///< Returns the original size as requested when the font was created. - ///< This may be different than the actual height. + ///< This may be smaller than the actual height, for instance if the + ///< font contains descenders. virtual int Width(uint c) const = 0; ///< Returns the width of the given character in pixel. virtual int Width(const char *s) const = 0; |