diff options
Diffstat (limited to 'source/blender/blenfont')
-rw-r--r-- | source/blender/blenfont/BLF_api.h | 4 | ||||
-rw-r--r-- | source/blender/blenfont/intern/blf_thumbs.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/blenfont/BLF_api.h b/source/blender/blenfont/BLF_api.h index bf5ecd24269..60b27ead968 100644 --- a/source/blender/blenfont/BLF_api.h +++ b/source/blender/blenfont/BLF_api.h @@ -198,8 +198,8 @@ void BLF_buffer(int fontid, /* Set the color to be used for text. */ void BLF_buffer_col(int fontid, const float rgba[4]) ATTR_NONNULL(2); -/* Draw the string into the buffer, this function draw in both buffer, float and unsigned char _BUT_ - * it's not necessary set both buffer, NULL is valid here. +/* Draw the string into the buffer, this function draw in both buffer, + * float and unsigned char _BUT_ it's not necessary set both buffer, NULL is valid here. */ void BLF_draw_buffer_ex(int fontid, const char *str, size_t len, struct ResultBLF *r_info) ATTR_NONNULL(2); diff --git a/source/blender/blenfont/intern/blf_thumbs.c b/source/blender/blenfont/intern/blf_thumbs.c index f2036d2e4e9..f334511ac7a 100644 --- a/source/blender/blenfont/intern/blf_thumbs.c +++ b/source/blender/blenfont/intern/blf_thumbs.c @@ -106,9 +106,9 @@ void BLF_thumb_preview(const char *filename, font->pos[1] -= font->glyph_cache->ascender * 1.1f; - /* We fallback to default english strings in case not enough chars are available in current font for given - * translated string (useful in non-latin i18n context, like chinese, since many fonts will then show - * nothing but ugly 'missing char' in their preview). + /* We fallback to default english strings in case not enough chars are available in current font + * for given translated string (useful in non-latin i18n context, like chinese, + * since many fonts will then show nothing but ugly 'missing char' in their preview). * Does not handle all cases, but much better than nothing. */ if (blf_font_count_missing_chars(font, draw_str_i18n, draw_str_i18n_len, &draw_str_i18n_nbr) > |