Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-07-08 02:10:30 +0300
committerCampbell Barton <campbell@blender.org>2022-07-08 02:48:49 +0300
commit03173d63c01aede48f361ce83f53e5e9d8236c05 (patch)
tree4b4475b24114d73275ad679e6e13885dbd6360ed /source/blender/blenfont
parent9ef37369592ee74a4e675ece6bdd37b9aca3f9ad (diff)
Cleanup: spelling in comments
Also move mis-placed doc-string.
Diffstat (limited to 'source/blender/blenfont')
-rw-r--r--source/blender/blenfont/intern/blf_glyph.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenfont/intern/blf_glyph.c b/source/blender/blenfont/intern/blf_glyph.c
index 103919e86f2..215f79e6795 100644
--- a/source/blender/blenfont/intern/blf_glyph.c
+++ b/source/blender/blenfont/intern/blf_glyph.c
@@ -908,12 +908,12 @@ static FT_GlyphSlot blf_glyph_render(FontBLF *settings_font,
bool spacing_done = false;
/* 70% of maximum weight results in the same amount of boldness and horizontal
- * expansion as the bold version (DejaVuSans-Bold.ttf) of our default font.
+ * expansion as the bold version `DejaVuSans-Bold.ttf` of our default font.
* Worth reevaluating if we change default font. */
float weight = (settings_font->flags & BLF_BOLD) ? 0.7f : settings_font->char_weight;
/* 37.5% of maximum rightward slant results in 6 degree slope, matching italic
- * version (DejaVuSans-Oblique.ttf) of our current font. But a nice median when
+ * version `DejaVuSans-Oblique.ttf` of our current font. But a nice median when
* checking others. Worth reevaluating if we change default font. We could also
* narrow the glyph slightly as most italics do, but this one does not. */
float slant = (settings_font->flags & BLF_ITALIC) ? 0.375f : settings_font->char_slant;