fixed confusion of byteCount and charCount in ServerFont::StringWidth(), just in case anyone really uses it later. Added UTF8CountChars() to moreUTF8.h, but then I didn't need it...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12750 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -120,7 +120,7 @@ class ServerFont {
|
||||
float widthArray[],
|
||||
escapement_delta delta) const;
|
||||
|
||||
float StringWidth(const char* string, int32 numChars) const;
|
||||
float StringWidth(const char* string, int32 numBytes) const;
|
||||
|
||||
FT_Face GetFTFace() const
|
||||
{ return fStyle->GetFTFace(); };
|
||||
|
||||
Reference in New Issue
Block a user