Consistently spell "FreeType" with capital T

Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
This commit is contained in:
Sergey Bugaev 2023-07-14 18:03:10 +03:00
parent a3a7ca452f
commit bcb7937545
5 changed files with 6 additions and 6 deletions

4
NEWS
View file

@ -108,7 +108,7 @@ includes implementation of core functionality, performance
optimizations, and stabilization.
Subpixel positioning support allows improved glyph outlines with the
Freetype font backend.
FreeType font backend.
For a complete log of changes, please see
@ -8223,7 +8223,7 @@ the PNG generation in the demos. These have now been resolved.
2003-10
=======
Graydon Hoare <graydon@redhat.com> implemented the first real text
support using Freetype/fontconfig, (previous versions of cairo used
support using FreeType/fontconfig, (previous versions of cairo used
Xft and could only draw text when using an X backend).
2003-09

View file

@ -313,7 +313,7 @@ if freetype_dep.found()
feature_conf.set('CAIRO_HAS_FT_FONT', 1)
built_features += [{
'name': 'cairo-ft',
'description': 'Freetype font backend',
'description': 'FreeType font backend',
'deps': [freetype_dep],
# cairo-ft.h includes fontconfig.h so it needs its cflags
'compile-deps': [fontconfig_dep.partial_dependency(compile_args: true, includes: true)],

View file

@ -1162,7 +1162,7 @@ cairo_cff_font_read_font_metrics (cairo_cff_font_t *font, cairo_hash_table_t *t
if (p < end)
p = decode_number (p, &yy);
}
/* Freetype uses 1/abs(yy) to get units per EM */
/* FreeType uses 1/abs(yy) to get units per EM */
font->units_per_em = _cairo_round(1.0/fabs(yy));
}

View file

@ -41,7 +41,7 @@
#if CAIRO_HAS_FT_FONT
/* Fontconfig/Freetype platform-specific font interface */
/* Fontconfig/FreeType platform-specific font interface */
#include <ft2build.h>
#include FT_FREETYPE_H

View file

@ -404,7 +404,7 @@ cairo_type1_font_subset_get_bbox (cairo_type1_font_subset_t *font)
if (yy == 0.0)
return CAIRO_INT_STATUS_UNSUPPORTED;
/* Freetype uses 1/yy to get units per EM */
/* FreeType uses 1/yy to get units per EM */
font->base.units_per_em = 1.0/yy;
/* If the FontMatrix is not a uniform scale the metrics we extract