mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-30 22:00:37 +02:00
* Fix case where table streams are nil
git-svn-id: trunk@43355 -
This commit is contained in:
parent
078534472b
commit
51b1f6a47c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user