Julian,
I found that procedure, but still couldn't locate the code you mentioned. I am providing below the code snippets from that procedure which has FixedHeight in the condition of if-then blocks:
if (pos_in_par = 0) and (InputValue.InputValues.IsSuperOrSub) and (FixedHeight <= 0) then begin InputValue.InputValues.IsSuperOrSub := FALSE; UpdateFontWidthHeight; par._DefaultHeight := CachedAttr.OutputValues.Height; par._DefaultBase := CachedAttr.OutputValues.Base; InputValue.InputValues.IsSuperOrSub := TRUE; end;
if FixedHeight <= 0 then begin if par._DefaultHeight <= 0 then begin par._DefaultHeight := CachedAttr.OutputValues.Height; par._DefaultBase := CachedAttr.OutputValues.Base; end; end else begin par._DefaultHeight := FixedHeight; par._DefaultBase := FixedHeight; end;
if FixedHeight <= 0 then begin par.CharPos[pos_in_par].Height := CachedAttr.OutputValues.Height; par.CharPos[pos_in_par].Base := CachedAttr.OutputValues.Base; end;
if FixedHeight > 0 then begin par.CharPos[pos_in_par].Height := FixedHeight; par.CharPos[pos_in_par].Base := FixedHeight; end;
if (par.CharCount = 1) then
begin
if FixedHeight = 0 then
begin
par._DefaultHeight := CachedAttr.OutputValues.Height;
par._DefaultBase := CachedAttr.OutputValues.Base;
end else
begin
par._DefaultHeight := FixedHeight;
par._DefaultBase := FixedHeight;
end;
end;
This might give you a clue.
Thanks,