summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-06-10 10:19:11 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-06-10 10:48:43 +0100
commitd7cd613067dbc07eae0dd1aa5a4a72ae40090325 (patch)
tree86a2e443d8c06ac80ecbf121ce7afe3af015020a /vcl
parent91101dc0437c68b1993e8772f31922661ef0be2a (diff)
titchy tweak
Change-Id: Ia28447cf35ceb550778297dc515746e93c7d86e4
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/fontsubset/sft.cxx2
1 files changed, 1 insertions, 1 deletions
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);