Hi,
here is a new pre-release of the GraphLCD base package and plugin for VDR. Because of the additional font attributes expect slighly misaligned display items when not using fonts converted from true type.
- the base package containing driver library, graphics library and tools http://powarman.de/files/graphlcd-base-0.1.2-pre5.tgz - the plugin package containing the plugin itself, the logos and fonts http://powarman.de/files/vdr-graphlcd-0.1.2-pre5.tgz
Andreas
Changes since 0.1.2-pre4: - glcddrivers: sed1330: added missing horizontal scrolling initialization. Now, there should be no displaced display any longer. (thanks to Wolfgang Astleitner) - glcddrivers: Now serdisplib is loaded dynamically using libdl. So, no INCLUDE_SERDISPLIB define is needed any longer (thanks to Wolfgang Astleitner) - glcddrivers: fixed gu256x64-3900 driver: Now sizes other than 256x64 should work. (thanks to Detlef Ruge and Ralf Müller) - glcdgraphics: fixed a bug in cBitmap::DrawText that prevented scrolling from working. - glcdgraphics: fixed a bug in cBitmap::SubBitmap. - glcdgraphics: changed the interface of DrawText and DrawCharacter of cBitmap class. - glcdgraphics: extended font attributes to better support converted true type fonts. Also changed font file format to support this attributes. - glcdgraphics: the lastChange attribute of cGLCDFile now is 64 bits wide. - crtfont: extended it to support the new font attributes - crtfont: changed file format of description files. Now the font attributes are given by its names, p. e. lineheight:20. Look in README.crtfont for details. - new tool genfont: allows converting of true type fonts to GraphLCD fonts using freetype2 library. You have to uncomment HAVE_FREETYPE2 in Make.config to use it. - added new fonts verdana and verdana bold in sizes 9 to 29 converted by genfont.
- added possibility to switch on backlight at user activity and switch it off at user inactivity (thanks to Andreas Brachold). Can be enabled or disabled in setup menu. - added additional space between progress bar and logo on small LCDs (thanks to Andreas Brachold). - added loopmode display in mp3 replay mode (thanks to Wolfgang Fritz). - replaced usleep with cCondWait::SleepMs() for vdr version 1.3.14 or greater - adapted to changes in vdr 1.3.18 - now using verdana fonts converted by genfont as default for large displays.
Andreas Regel wrote:
Hi,
here is a new pre-release of the GraphLCD base package and plugin for VDR. Because of the additional font attributes expect slighly misaligned display items when not using fonts converted from true type.
Hi,
this is all very cool, such a pity I missed (by 2 or three days) sending you my patches against 0.1.2-pre4 which are adding optional FreeType2 support directly in the cFont class of glcdgraphics, and unlike the current genfont also whith the freedom of choosing the desired character encoding (that was one of the main reasons I started doing this, I want to also display iso8859-2 encoded characters on the display, and I think other users with EPG or localization in non-western-encoding languages might like that, too), and no conversion is necessary, one can see right away how the font sizes are fitting the plugin's display.
One other reason was that I wrote a "meta-driver" for LCD-proc 0.5 using your graphlcd-base library, just like yo're using serdisplib to add a few more supported displays by just one more driver, and I also sent you 2 or 3 private emails around 17-18 january and I got no response at all. At that time I had not yet started the freetype2 digging. Anyway, it doesn't matter now. If you're interested I will rework my modifications to fit the new version and send you the patches. I still had some trouble with the layounting of FT2 fonts on the VDR plugin's display (mine is 128x64), but as it is still "pre5" you might want us to discuss those things after I'll send the patches?
What do you think? What do other users think, would there be interest for my work, too?
Kind regards, Lucian Muresan
Hi,
Lucian Muresan wrote:
this is all very cool, such a pity I missed (by 2 or three days) sending you my patches against 0.1.2-pre4 which are adding optional FreeType2 support directly in the cFont class of glcdgraphics, and unlike the current genfont also whith the freedom of choosing the desired character encoding (that was one of the main reasons I started doing this, I want to also display iso8859-2 encoded characters on the display, and I think other users with EPG or localization in non-western-encoding languages might like that, too), and no conversion is necessary, one can see right away how the font sizes are fitting the plugin's display.
That's sounds nice. I already thought about integrating ft2 rendering in the cFont class but dropped it for the first time because of the bad look when it comes to sizes smaller than 8 or 9. If it is working in parallel to the old font file stuff then I think it's worth integrating your code.
One other reason was that I wrote a "meta-driver" for LCD-proc 0.5 using your graphlcd-base library, just like yo're using serdisplib to add a few more supported displays by just one more driver, and I also sent you 2 or 3 private emails around 17-18 january and I got no response at all.
I just didn't had the time to anwser and then just forgot it. :)
At that time I had not yet started the freetype2 digging. Anyway, it doesn't matter now. If you're interested I will rework my modifications to fit the new version and send you the patches.
That would be nice.
I still had some trouble with the layounting of FT2 fonts on the VDR plugin's display (mine is 128x64), but as it is still "pre5" you might want us to discuss those things after I'll send the patches?
We will see.
Andreas