Hello Tectu,
you accidentally broke gdisp.h by deleting a few lines while changing the license header:
https://github.com/Tectu/ChibiOS-LCD-Dr ... de/gdisp.h
Petr
GDISP driver
Re: GDISP driver
Fix just got pushed. Thank you very much for the saying it, petr.
Can you confirm that everything works now?
~ Tectu
Can you confirm that everything works now?
~ Tectu
Re: GDISP driver
Code compiles now. Created a new branch, to fix the errors.
Will edit here once I send a pull request
EDIT (2016hrs +0530 UTC) : Files ready, let me do some testing
Update: 2125hrs +0530 : Testing, looks good.
Update: 2141hrs +0530 : More Testing
Time for a pull request
Will edit here once I send a pull request
EDIT (2016hrs +0530 UTC) : Files ready, let me do some testing
Update: 2125hrs +0530 : Testing, looks good.
Update: 2141hrs +0530 : More Testing
Time for a pull request
Re: GDISP driver
I also sent in a pull request for font fixes. I hadn't noticed you had fixed this while I was coding away.
I also fixed a problem with debugging of the emulation code. It turns out that gdb doesn't (on my compiler) generate debug symbols for code included from header files. I therefore promoted the emulation code and font tables to full c files so they can be debugged if required.
I also fixed a problem with debugging of the emulation code. It turns out that gdb doesn't (on my compiler) generate debug symbols for code included from header files. I therefore promoted the emulation code and font tables to full c files so they can be debugged if required.
Re: GDISP driver
Doesn't matter, inmarket.
Time for a photo shoot.
Say cheese!
Time for a photo shoot.
Say cheese!
- Attachments
-
- LCD Test Screenshot
- DSC_0141.jpg (178.91 KiB) Viewed 6309 times
Last edited by Abhishek on Fri Aug 03, 2012 5:43 pm, edited 1 time in total.
Re: GDISP driver
Thanks for your fixes, guys!
inmarket, in case of you you have more things to pull request, beside what abhishek did, please make a new pull request and merge to the current marger first.
Anyways, the guy who implements scalable fonts will make me happier than I ever was in my life
~ Tectu
inmarket, in case of you you have more things to pull request, beside what abhishek did, please make a new pull request and merge to the current marger first.
Anyways, the guy who implements scalable fonts will make me happier than I ever was in my life
~ Tectu
Re: GDISP driver
Implementing scalable fonts will require drawing the fonts instead of just bitmapping and dumping on screen. We might have to implement libfreetype.
Anyways, in the codespace libfreetype would use, I could throw in a lot more fonts
I was thinking, it's possible with our code that we can have both 16-bit and 32-bit fonts coexist. inmarket, what would you say?
Also, we need to update the font generator script.
Anyways, in the codespace libfreetype would use, I could throw in a lot more fonts
I was thinking, it's possible with our code that we can have both 16-bit and 32-bit fonts coexist. inmarket, what would you say?
Also, we need to update the font generator script.
Re: GDISP driver
scalable fonts is actually really simple.
just draw n times the pixels. ie a 4px square instead of a single pixel to get double the size.
This is the way I had done and it worked pretty well.
just draw n times the pixels. ie a 4px square instead of a single pixel to get double the size.
This is the way I had done and it worked pretty well.
Re: GDISP driver
Nice picture!
Bit doubling to create larger fonts is probably not that difficult. I will look at adding it.
Libfreetype could be included as an optional component so you get bitmap fonts in the native driver (if you enable it) AND freetype fonts if you add it. I will look at it.
Bit doubling to create larger fonts is probably not that difficult. I will look at adding it.
Libfreetype could be included as an optional component so you get bitmap fonts in the native driver (if you enable it) AND freetype fonts if you add it. I will look at it.