You've already forked lazarus-ccr
fpspreadsheet: Fix zooming of rich-text cells
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5224 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -993,6 +993,7 @@ begin
|
||||
ACharIndexOfNextFont := MaxInt;
|
||||
fnt := FWorkbook.GetFont(FRtParams[ACurrRtpIndex].FontIndex);
|
||||
Convert_sFont_to_Font(fnt, FCanvas.Font);
|
||||
FCanvas.Font.Height := round(FZoomFactor * FCanvas.Font.Height);
|
||||
ACurrFontHeight := FCanvas.TextHeight('Tg');
|
||||
if fnt.Position <> fpNormal then
|
||||
FCanvas.Font.Size := round(fnt.Size * SUBSCRIPT_SUPERSCRIPT_FACTOR);
|
||||
|
Reference in New Issue
Block a user