View Single Post
  #3  
Old 02-09-2022, 00:06
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,336 Times in 2,838 Posts
KaktoR is on a distinguished road
Custom Font is used only by NormalMode (non-CompactMode) on Start page and Finish page.

Custom fonts were never added to compact mode, simply because of its size and design. In former tests most fonts (especially but not only included by default in windows) were unreadable, means cut off texts and such. I think the standard font used by Inno Setup is "Arial" font.

However if you want to change the fonts of all elements in compact mode, you have to add "Font.Name :=" to all the elements manually which are used by compact mode, like this
Code:
Font.Name := 'Times New Roman';
Example for Icons checkbox

Code:
IconsCB := TNewCheckBox.Create(WizardForm);
  with IconsCB do
  begin
    #if !CompactMode
    ...
    #else
    Font.Name := 'Times New Roman';
    ...
    ..
    #endif
end;
__________________
Haters gonna hate

Last edited by KaktoR; 02-09-2022 at 00:09.
Reply With Quote
The Following 2 Users Say Thank You to KaktoR For This Useful Post:
PHM2D (03-08-2024), Titeuf (02-09-2022)