Symbol Font
Posted: 12 Nov 2014 09:44
Hi mikroElektronika Team,
for my TFT-project I created several symbol-fonts like this:
const Symbols_small : array[195] of byte = (
$00,
$00,
$2F,$00,
$39,$00,
$0D,
$08,
$03,$34,$00,$00,
$07,$41,$00,$00,
$07,$4E,$00,$00,
$08,$5B,$00,$00,
$08,$68,$00,$00,
$08,$75,$00,$00,
$08,$82,$00,$00,
$08,$8F,$00,$00,
$08,$9C,$00,$00,
$08,$A9,$00,$00,
$08,$B6,$00,$00,
$00,$00,$00,$04,$04,$02,$02,$02,$02,$01,$01,$00,$00, // Code 47
$00,$00,$00,$00,$08,$08,$1c,$1c,$3e,$3e,$7f,$00, $00, // Code 48
$00,$00,$00,$00,$7f,$3e,$3e,$1c,$1c,$08,$08,$00, $00, // Code 49
.....
With such a font it is very easy to draw symbols on the TFT.
Now I wish for the next Visual TFT version to have a possibility of creating TFT-Bit-fonts or at least to display hand-made fonts on the Visual TFT Screen. As yet I can only add Windows-Fonts.
Thank you.
Best regards, Karl
for my TFT-project I created several symbol-fonts like this:
const Symbols_small : array[195] of byte = (
$00,
$00,
$2F,$00,
$39,$00,
$0D,
$08,
$03,$34,$00,$00,
$07,$41,$00,$00,
$07,$4E,$00,$00,
$08,$5B,$00,$00,
$08,$68,$00,$00,
$08,$75,$00,$00,
$08,$82,$00,$00,
$08,$8F,$00,$00,
$08,$9C,$00,$00,
$08,$A9,$00,$00,
$08,$B6,$00,$00,
$00,$00,$00,$04,$04,$02,$02,$02,$02,$01,$01,$00,$00, // Code 47
$00,$00,$00,$00,$08,$08,$1c,$1c,$3e,$3e,$7f,$00, $00, // Code 48
$00,$00,$00,$00,$7f,$3e,$3e,$1c,$1c,$08,$08,$00, $00, // Code 49
.....
With such a font it is very easy to draw symbols on the TFT.
Now I wish for the next Visual TFT version to have a possibility of creating TFT-Bit-fonts or at least to display hand-made fonts on the Visual TFT Screen. As yet I can only add Windows-Fonts.
Thank you.
Best regards, Karl