355 Fontz: array[THWFont] of THHFont; |
355 Fontz: array[THWFont] of THHFont; |
356 |
356 |
357 const |
357 const |
358 FontzInit: array[THWFont] of THHFont = ( |
358 FontzInit: array[THWFont] of THHFont = ( |
359 (Handle: nil; |
359 (Handle: nil; |
360 Height: 12*HDPIScaleFactor; |
360 Height: round(12*HDPIScaleFactor); |
361 style: TTF_STYLE_NORMAL; |
361 style: TTF_STYLE_NORMAL; |
362 Name: 'DejaVuSans-Bold.ttf'), |
362 Name: 'DejaVuSans-Bold.ttf'), |
363 (Handle: nil; |
363 (Handle: nil; |
364 Height: 24*HDPIScaleFactor; |
364 Height: round(24*HDPIScaleFactor); |
365 style: TTF_STYLE_NORMAL; |
365 style: TTF_STYLE_NORMAL; |
366 Name: 'DejaVuSans-Bold.ttf'), |
366 Name: 'DejaVuSans-Bold.ttf'), |
367 (Handle: nil; |
367 (Handle: nil; |
368 Height: 10*HDPIScaleFactor; |
368 Height: round(10*HDPIScaleFactor); |
369 style: TTF_STYLE_NORMAL; |
369 style: TTF_STYLE_NORMAL; |
370 Name: 'DejaVuSans-Bold.ttf'), |
370 Name: 'DejaVuSans-Bold.ttf'), |
371 (Handle: nil; // fntChat |
371 (Handle: nil; // fntChat |
372 Height: 12*HDPIScaleFactor; |
372 Height: round(12*HDPIScaleFactor); |
373 style: TTF_STYLE_NORMAL; |
373 style: TTF_STYLE_NORMAL; |
374 Name: 'DejaVuSans-Bold.ttf') |
374 Name: 'DejaVuSans-Bold.ttf') |
375 {$IFNDEF MOBILE}, // remove chinese fonts for now |
375 {$IFNDEF MOBILE}, // remove chinese fonts for now |
376 (Handle: nil; |
376 (Handle: nil; |
377 Height: 12*HDPIScaleFactor; |
377 Height: round(12*HDPIScaleFactor); |
378 style: TTF_STYLE_NORMAL; |
378 style: TTF_STYLE_NORMAL; |
379 Name: 'wqy-zenhei.ttc'), |
379 Name: 'wqy-zenhei.ttc'), |
380 (Handle: nil; |
380 (Handle: nil; |
381 Height: 24*HDPIScaleFactor; |
381 Height: round(24*HDPIScaleFactor); |
382 style: TTF_STYLE_NORMAL; |
382 style: TTF_STYLE_NORMAL; |
383 Name: 'wqy-zenhei.ttc'), |
383 Name: 'wqy-zenhei.ttc'), |
384 (Handle: nil; |
384 (Handle: nil; |
385 Height: 10*HDPIScaleFactor; |
385 Height: round(10*HDPIScaleFactor); |
386 style: TTF_STYLE_NORMAL; |
386 style: TTF_STYLE_NORMAL; |
387 Name: 'wqy-zenhei.ttc'), |
387 Name: 'wqy-zenhei.ttc'), |
388 (Handle: nil; // CJKfntChat |
388 (Handle: nil; // CJKfntChat |
389 Height: 12*HDPIScaleFactor; |
389 Height: round(12*HDPIScaleFactor); |
390 style: TTF_STYLE_NORMAL; |
390 style: TTF_STYLE_NORMAL; |
391 Name: 'wqy-zenhei.ttc') |
391 Name: 'wqy-zenhei.ttc') |
392 {$ENDIF} |
392 {$ENDIF} |
393 ); |
393 ); |
394 |
394 |