Stop trusting header totalSfntSize and glyf origLength
This commit is contained in:
@@ -47,7 +47,7 @@ int main(int argc, char **argv) {
|
||||
}
|
||||
output.resize(output_size);
|
||||
|
||||
woff2::SetFileContents(outfilename, output);
|
||||
woff2::SetFileContents(outfilename, output.begin(), output.end());
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user