* Fix case where table streams are nil

git-svn-id: trunk@43355 -
This commit is contained in:
michael 2019-11-02 11:17:37 +00:00
parent 078534472b
commit 51b1f6a47c

View File

@ -676,19 +676,22 @@ end;
function TFontSubsetter.buildFpgmTable: TStream;
begin
Result := GetRawTable('fpgm');
Result.Position := 0;
if Assigned(Result) then
Result.Position := 0;
end;
function TFontSubsetter.buildPrepTable: TStream;
begin
Result := GetRawTable('prep');
if Assigned(Result) then
Result.Position := 0;
end;
function TFontSubsetter.buildCvtTable: TStream;
begin
Result := GetRawTable('cvt ');
Result.Position := 0;
if Assigned(Result) then
Result.Position := 0;
end;
function TFontSubsetter.buildGlyfTable(var newOffsets: TArrayUInt32): TStream;