On 03/02/08 10:25, Clemens Kirchgatterer wrote:
"Martin Prochnow" martinprochnow@yahoo.de wrote:
Is it possible to change font data directly in code or do I have to create my own true type font containing the icons?
the best aproach IMHO would be an API in VDR that allows you to "nail" custom glyphs into the glyph cache. though this could lead to problems if multiple plugins overwrite the same codepoints in the cache. using a custom font would work too but you would force every user of your plugin to use that font. making a ttf font is no fun either. maybe there should be some way to mix cOsd::Bitmap with normal text?
Messing with the fonts is not a good idea, IMHO.
I'll see about a method to add icons to the menu items. However, this has veeery low priority ;-)
Klaus