summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2022-04-08 16:00:32 +0200
committerJulien Nabet <serval2412@yahoo.fr>2022-04-08 19:05:57 +0200
commit3bfac2a7fad9737f31443292699bd6fee6ac3a6f (patch)
tree58000ddc0c0c155ba8674fa5cd547207b2ee1998 /vcl
parent14bfb0933073e5bf8ce4f810c38e91125066257a (diff)
Fix typo
Change-Id: I0e365196f90e0f117e80df2c194d8137252b959d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132735 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/font/fontinstance.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/font/fontinstance.cxx b/vcl/source/font/fontinstance.cxx
index 6f5bc7d1f37a..5c63338b75a1 100644
--- a/vcl/source/font/fontinstance.cxx
+++ b/vcl/source/font/fontinstance.cxx
@@ -164,7 +164,7 @@ bool LogicalFontInstance::NeedOffsetCorrection(sal_Int32 nYOffset)
if (hb_ot_name_get_utf8 (hb_font_get_face(GetHbFont()),
HB_OT_NAME_ID_FONT_FAMILY , HB_LANGUAGE_INVALID, &familyname_size, familyname) == 8)
{
- // DFKai-SB (ukai.ttf) is a built-in font under tradtional Chinese
+ // DFKai-SB (ukai.ttf) is a built-in font under traditional Chinese
// Windows. It has wrong extent values in glyf table. The problem results
// in wrong positioning of glyphs in vertical writing.
// Check https://github.com/harfbuzz/harfbuzz/issues/3521 for reference.