In display, some of the font doesn´t work. Be able to adjust the size of the font an not fixed. In FC8 you can made much bigger size
Jorgen
Font!
-
- Matrix Staff
- Posts: 1895
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 491 times
- Been thanked: 664 times
Re: Font!
Hi Jorgen,
Have you seen this video? It might help to explain things in v9.
https://www.youtube.com/watch?v=HN8EI64ADic&t=1s
Let me know your thoughts.
Have you seen this video? It might help to explain things in v9.
https://www.youtube.com/watch?v=HN8EI64ADic&t=1s
Let me know your thoughts.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Posts: 698
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 585 times
- Been thanked: 149 times
Re: Font!
Yes yes Ben, I think you made it for me and I see the ligth (some of it)
But when I use one of the font with size 24, biggest, it is still small on a Ili9341. Again if have overseen or misunderstanding something I apoligize.
Br jorgen
But when I use one of the font with size 24, biggest, it is still small on a Ili9341. Again if have overseen or misunderstanding something I apoligize.
Br jorgen
-
- Matrix Staff
- Posts: 1895
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 491 times
- Been thanked: 664 times
Re: Font!
Hello,
The old fonts in v8 probably used to go bigger then 24 pixels. I can have a go at adding a very large pixel font for you but it will likely take up a fair amount of ROM to store.
What sort of pixel height are you looking for?
In v8 size 31 would give you a 6x6 scaling factor so 5 x 8 would become 30 x 48 though it probably wouldn't look brilliant.
I can also maybe bring back font scaling so you can have multiple sizes from each single font set. This would likely be limited to 1x, 2x, 3x, 4x, etc and width and height would scale together.
The old fonts in v8 probably used to go bigger then 24 pixels. I can have a go at adding a very large pixel font for you but it will likely take up a fair amount of ROM to store.
What sort of pixel height are you looking for?
In v8 size 31 would give you a 6x6 scaling factor so 5 x 8 would become 30 x 48 though it probably wouldn't look brilliant.
I can also maybe bring back font scaling so you can have multiple sizes from each single font set. This would likely be limited to 1x, 2x, 3x, 4x, etc and width and height would scale together.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Posts: 698
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 585 times
- Been thanked: 149 times
Re: Font!
Hi Ben!
What a service
Is it tricky to make it possible so we are able to choose between Fc8 version and Fc9 version. At the other hand I also like the new possibility in Fc9.
But you wrote: "I can also maybe bring back font scaling so you can have multiple sizes from each single font set. This would likely be limited to 1x, 2x, 3x, 4x, etc and width and height would scale together". That would be nice.
Yes it's not easy to be you Ben and make everyone happy If it is a big job for you, don´t do it.
Br jorgen
What a service
Is it tricky to make it possible so we are able to choose between Fc8 version and Fc9 version. At the other hand I also like the new possibility in Fc9.
But you wrote: "I can also maybe bring back font scaling so you can have multiple sizes from each single font set. This would likely be limited to 1x, 2x, 3x, 4x, etc and width and height would scale together". That would be nice.
Yes it's not easy to be you Ben and make everyone happy If it is a big job for you, don´t do it.
Br jorgen
-
- Matrix Staff
- Posts: 1895
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 491 times
- Been thanked: 664 times
Re: Font!
Hi Jorgen,
Which display are you using and I'll have a go, it probably will be a new macro something like SetFontScaler to avoid breaking existing code.
I might be able to make it a floating point value rather then integer but this might look messy and would certainly add more code. anyway I'll have a go and see what we can acheive. Certinly don't think it's a masive job.
Which display are you using and I'll have a go, it probably will be a new macro something like SetFontScaler to avoid breaking existing code.
I might be able to make it a floating point value rather then integer but this might look messy and would certainly add more code. anyway I'll have a go and see what we can acheive. Certinly don't think it's a masive job.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Matrix Staff
- Posts: 1895
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 491 times
- Been thanked: 664 times
Re: Font!
Hi Jorgen,
Right the ILI9341 has a new macro called SetFontScaler which allows you to set the X,Y scaling for the printed font, the default being 1, 1.
2, 2 would double the width and height of all printed characters on all fonts.
I've kept the scale factors as integers, floats would likely slow things down too much.
Let me know what you think and if it's working well then I'll roll it out to the other display components.
Right the ILI9341 has a new macro called SetFontScaler which allows you to set the X,Y scaling for the printed font, the default being 1, 1.
2, 2 would double the width and height of all printed characters on all fonts.
I've kept the scale factors as integers, floats would likely slow things down too much.
Let me know what you think and if it's working well then I'll roll it out to the other display components.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel