diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-02-04 17:59:57 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-02-09 19:21:23 +0900 |
| commit | fd79f0c8b020ff0c60b62c83745beb030ef38997 (patch) | |
| tree | 9c9b0f1801b49d6d674685e257247db95df12a9f /src/kernel/ntqfontmetrics.h | |
| parent | 7f62b55432d2a5712694dec689f1ce4f07bc70a4 (diff) | |
| download | tqt-fd79f0c8.tar.gz tqt-fd79f0c8.zip | |
Extend work on supporting surrogate characters done in commit e0a38072
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 486aa07930e7b6e900f77e64726c8cc4110511d8)
Diffstat (limited to 'src/kernel/ntqfontmetrics.h')
| -rw-r--r-- | src/kernel/ntqfontmetrics.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/ntqfontmetrics.h b/src/kernel/ntqfontmetrics.h index a182a5983..b3d1f7f03 100644 --- a/src/kernel/ntqfontmetrics.h +++ b/src/kernel/ntqfontmetrics.h @@ -83,7 +83,7 @@ public: int width( char c ) const { return width( (TQChar) c ); } #endif - int charWidth( const TQString &str, int pos ) const; + int charWidth( const TQString &str, int pos ) const; TQRect boundingRect( const TQString &, int len = -1 ) const; TQRect boundingRect( TQChar ) const; TQRect boundingRect( int x, int y, int w, int h, int flags, |
