hedgewars/uVariables.pas
branchqmlfrontend
changeset 11841 6adf27e85cae
parent 11828 a69124eb7ce7
parent 11836 1d41f297b3d3
child 12855 1b2b84315d27
equal deleted inserted replaced
11828:a69124eb7ce7 11841:6adf27e85cae
   294     Fontz: array[THWFont] of THHFont;
   294     Fontz: array[THWFont] of THHFont;
   295 
   295 
   296 const
   296 const
   297     FontzInit: array[THWFont] of THHFont = (
   297     FontzInit: array[THWFont] of THHFont = (
   298             (Handle: nil;
   298             (Handle: nil;
   299             Height: 12;
   299             Height: 12*HDPIScaleFactor;
   300             style: TTF_STYLE_NORMAL;
   300             style: TTF_STYLE_NORMAL;
   301             Name: 'DejaVuSans-Bold.ttf'),
   301             Name: 'DejaVuSans-Bold.ttf'),
   302             (Handle: nil;
   302             (Handle: nil;
   303             Height: 24;
   303             Height: 24*HDPIScaleFactor;
   304             style: TTF_STYLE_NORMAL;
   304             style: TTF_STYLE_NORMAL;
   305             Name: 'DejaVuSans-Bold.ttf'),
   305             Name: 'DejaVuSans-Bold.ttf'),
   306             (Handle: nil;
   306             (Handle: nil;
   307             Height: 10;
   307             Height: 10*HDPIScaleFactor;
   308             style: TTF_STYLE_NORMAL;
   308             style: TTF_STYLE_NORMAL;
   309             Name: 'DejaVuSans-Bold.ttf')
   309             Name: 'DejaVuSans-Bold.ttf')
   310             {$IFNDEF MOBILE}, // remove chinese fonts for now
   310             {$IFNDEF MOBILE}, // remove chinese fonts for now
   311             (Handle: nil;
   311             (Handle: nil;
   312             Height: 12;
   312             Height: 12*HDPIScaleFactor;
   313             style: TTF_STYLE_NORMAL;
   313             style: TTF_STYLE_NORMAL;
   314             Name: 'wqy-zenhei.ttc'),
   314             Name: 'wqy-zenhei.ttc'),
   315             (Handle: nil;
   315             (Handle: nil;
   316             Height: 24;
   316             Height: 24*HDPIScaleFactor;
   317             style: TTF_STYLE_NORMAL;
   317             style: TTF_STYLE_NORMAL;
   318             Name: 'wqy-zenhei.ttc'),
   318             Name: 'wqy-zenhei.ttc'),
   319             (Handle: nil;
   319             (Handle: nil;
   320             Height: 10;
   320             Height: 10*HDPIScaleFactor;
   321             style: TTF_STYLE_NORMAL;
   321             style: TTF_STYLE_NORMAL;
   322             Name: 'wqy-zenhei.ttc')
   322             Name: 'wqy-zenhei.ttc')
   323             {$ENDIF}
   323             {$ENDIF}
   324             );
   324             );
   325 
   325