path: root/vcl/generic/glyphs/gcach_layout.cxx
diff options
authorKhaled Hosny <>2013-05-16 19:06:26 +0200
committerTor Lillqvist <>2013-10-21 07:20:38 +0000
commit70d74e2ab1b08b3f21cbaff5e60c091694863b59 (patch)
treebb361c6a89a40be73c2ff6e83480c76ef8edb8fe /vcl/generic/glyphs/gcach_layout.cxx
parent23e50c361b6a2dc6ff549a430449c152ec80f500 (diff)
Removed unused kerning stuff
Kerning is just another font feature and is already handled by the layout engine, there is nothing special about it. Non of this seems to be used anywhere, anyway. Change-Id: Ia40c66ec186d11ab46d5d5256b09307a319318c0 Reviewed-on: Reviewed-by: Tor Lillqvist <> Tested-by: Tor Lillqvist <>
Diffstat (limited to 'vcl/generic/glyphs/gcach_layout.cxx')
1 files changed, 0 insertions, 6 deletions
diff --git a/vcl/generic/glyphs/gcach_layout.cxx b/vcl/generic/glyphs/gcach_layout.cxx
index 01d0904e3d97..e207c5ee901a 100644
--- a/vcl/generic/glyphs/gcach_layout.cxx
+++ b/vcl/generic/glyphs/gcach_layout.cxx
@@ -214,12 +214,6 @@ static hb_position_t getGlyphKerningH(hb_font_t* /*font*/, void* pFontData,
// This callback is for old style 'kern' table, GPOS kerning is handled by HarfBuzz directly
- // XXX: there is ServerFont::GetKernPairs() but it does many "smart" things
- // that I'm not sure about, so I'm using FreeType directly
- // P.S. if we decided not to use ServerFont::GetKernPairs() then it and all
- // other implementattions should be removed, don't seem to be used
- // anywhere.
ServerFont* pFont = (ServerFont*) pFontData;
FT_Face aFace = pFont->GetFtFace();