You've already forked lazarus-ccr
tvplanit: Fix text with font height 0 being too small in printout.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4898 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -630,6 +630,14 @@ begin
|
||||
SavePenBrush;
|
||||
InitPenBrush;
|
||||
|
||||
with FWeekView do begin
|
||||
AllDayEventAttributes.Font.Height := GetRealFontHeight(AllDayEventAttributes.Font);
|
||||
DayHeadAttributes.Font.Height := GetRealFontHeight(DayHeadAttributes.Font);
|
||||
EventFont.Height := GetRealFontHeight(EventFont);
|
||||
Font.Height := GetRealFontHeight(Font);
|
||||
HeadAttributes.Font.Height := GetRealFontHeight(HeadAttributes.Font);
|
||||
end;
|
||||
|
||||
Rgn := CreateRectRgn(RenderIn.Left, RenderIn.Top, RenderIn.Right, RenderIn.Bottom);
|
||||
try
|
||||
SelectClipRgn(RenderCanvas.Handle, Rgn);
|
||||
|
Reference in New Issue
Block a user