[vdr] How to change font data?

Martin Prochnow martinprochnow at yahoo.de
Sun Mar 2 11:36:06 CET 2008


>>>> 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.

It works for VDR 1.4.x ;-)

> I'll see about a method to add icons to the menu items.
> However, this has veeery low priority ;-)

So my only option for now is a true type font containing the icons. Or
maybe to create a skin plugin that can displays the icons.

Martin




More information about the vdr mailing list