How to Fix InnoSetup to Support System Font

InnoSetup does not support Windows system font, it is using MS Sans Serif 8 instead.

Use the following code to fix this:

#include "fixfonts.iss"

procedure InitializeWizard();
begin
  SetSystemFont(WizardForm.Font);
  FixSystemFont(WizardForm);
end;

fixfonts.iss is attached below. This code has been in use in IndieVolume for years, confirmed to work ok.

AttachmentSize
fixfonts.iss2.79 KB

Comments

Link Broken

Hi
Link to file fixfont.iss is broken !

Fixed

Sorry, it is fixed now.

Thanks

Post new comment

The content of this field is kept private and will not be shown publicly.