projects
/
oweals
/
minetest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Optimize updateFastFaceRow processing by removing some TileSpec copy (#5678)
[oweals/minetest.git]
/
src
/
fontengine.h
diff --git
a/src/fontengine.h
b/src/fontengine.h
index 9edde05f8f4aee50b31fb72d1bd719bc20ac115f..9f7266775ac944e515f77ee9bd12704966c3ba16 100644
(file)
--- a/
src/fontengine.h
+++ b/
src/fontengine.h
@@
-59,7
+59,7
@@
public:
unsigned int font_size=FONT_SIZE_UNSPECIFIED,
FontMode mode=FM_Unspecified)
{
- return getTextWidth(
narrow
_to_wide(text));
+ return getTextWidth(
utf8
_to_wide(text));
}
/** get text width if a text for a specific font */