296 Fontz: array[THWFont] of THHFont; |
296 Fontz: array[THWFont] of THHFont; |
297 |
297 |
298 const |
298 const |
299 FontzInit: array[THWFont] of THHFont = ( |
299 FontzInit: array[THWFont] of THHFont = ( |
300 (Handle: nil; |
300 (Handle: nil; |
301 Height: 12; |
301 Height: 12*HDPIScaleFactor; |
302 style: TTF_STYLE_NORMAL; |
302 style: TTF_STYLE_NORMAL; |
303 Name: 'DejaVuSans-Bold.ttf'), |
303 Name: 'DejaVuSans-Bold.ttf'), |
304 (Handle: nil; |
304 (Handle: nil; |
305 Height: 24; |
305 Height: 24*HDPIScaleFactor; |
306 style: TTF_STYLE_NORMAL; |
306 style: TTF_STYLE_NORMAL; |
307 Name: 'DejaVuSans-Bold.ttf'), |
307 Name: 'DejaVuSans-Bold.ttf'), |
308 (Handle: nil; |
308 (Handle: nil; |
309 Height: 10; |
309 Height: 10*HDPIScaleFactor; |
310 style: TTF_STYLE_NORMAL; |
310 style: TTF_STYLE_NORMAL; |
311 Name: 'DejaVuSans-Bold.ttf') |
311 Name: 'DejaVuSans-Bold.ttf') |
312 {$IFNDEF MOBILE}, // remove chinese fonts for now |
312 {$IFNDEF MOBILE}, // remove chinese fonts for now |
313 (Handle: nil; |
313 (Handle: nil; |
314 Height: 12; |
314 Height: 12*HDPIScaleFactor; |
315 style: TTF_STYLE_NORMAL; |
315 style: TTF_STYLE_NORMAL; |
316 Name: 'wqy-zenhei.ttc'), |
316 Name: 'wqy-zenhei.ttc'), |
317 (Handle: nil; |
317 (Handle: nil; |
318 Height: 24; |
318 Height: 24*HDPIScaleFactor; |
319 style: TTF_STYLE_NORMAL; |
319 style: TTF_STYLE_NORMAL; |
320 Name: 'wqy-zenhei.ttc'), |
320 Name: 'wqy-zenhei.ttc'), |
321 (Handle: nil; |
321 (Handle: nil; |
322 Height: 10; |
322 Height: 10*HDPIScaleFactor; |
323 style: TTF_STYLE_NORMAL; |
323 style: TTF_STYLE_NORMAL; |
324 Name: 'wqy-zenhei.ttc') |
324 Name: 'wqy-zenhei.ttc') |
325 {$ENDIF} |
325 {$ENDIF} |
326 ); |
326 ); |
327 |
327 |