FTDI Community

Please login or register.

Login with username, password and session length.
Advanced Search  

News:

Welcome to the FTDI Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ FTDI Support


New Bridgetek Community is now open

Please note that we have created the Bridgetek Community to discuss all Bridgetek products e.g. EVE, MCU.

Please follow this link and create a new user account to get started.

Bridgetek Community

Show Posts

You can view here all posts made by this member. Note that you can only see posts made in areas to which you currently have access.

Topics - ppaing126

Pages: [1]
1
General Discussion / Font L2 format
« on: January 20, 2022, 03:58:15 PM »
Hello;

I'm trying to develop a utility to preview custom fonts for my FT813 display.
Currently I have bought 4 displays 800x480.

When I open a L2  *.raw font file to parse the byte content:

i.e:   myfont1.raw
Format: 17  (0x11)
Stride: 44  (0x2C)
Widht: 176  (0xB0)
Height: 282  (0x11A)

If I plot the pixels all the width long (176) by all the height (282) what I can see is the character repeated 4 times.
Reading the documentation I can see the L2 format has 4 pixels data. Is this the reason it plot 4 times the data with slightly different values...?
This mean data is Alpha, R, G, B for each line...?

Someone knows how structured are the bytes on a .raw L2 uncompressed font file...?
I appreciate some deeper help on this topic.





Pages: [1]