From d7cd613067dbc07eae0dd1aa5a4a72ae40090325 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 10 Jun 2014 10:19:11 +0100 Subject: titchy tweak Change-Id: Ia28447cf35ceb550778297dc515746e93c7d86e4 --- vcl/source/fontsubset/sft.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl') diff --git a/vcl/source/fontsubset/sft.cxx b/vcl/source/fontsubset/sft.cxx index 267afd42fdf9..aca8885bfd32 100644 --- a/vcl/source/fontsubset/sft.cxx +++ b/vcl/source/fontsubset/sft.cxx @@ -2116,7 +2116,7 @@ static void DumpSfnts(FILE *outf, sal_uInt8 *sfntP, sal_uInt32 sfntLen) sal_uInt32 tag = GetUInt32(sfntP, 12 + 16 * i, 1); sal_uInt32 off = GetUInt32(sfntP, 12 + 16 * i + 8, 1); - sal_uInt32 len = GetUInt32(sfntP, 12 + 16 * i + 12, 1); + sal_uInt32 len = GetUInt32(sfntP, nLargestFixedOffsetPos, 1); if (tag != T_glyf) { HexFmtBlockWrite(h, sfntP + off, len); -- cgit