Anyone know if development on these for vdr-1.5.x is underway?
Anyone know if development on these for vdr-1.5.x is underway?
For compile Probs on timeline-1.0.141 for VDR up from 1.5.0 should atached diff help.
Beside a note on all plugin devs.
I which the handling of fonts will be changed in next plugin versions.
Stop the stupid handling to copy or link fonts in plugin config dirs.
For this you can simple use the font-cache used by fontconfig.
KLS shows a simple way in (>=vdr-1.5.3) font.c #include <fontconfig/fontconfig.h> how is this to handle.
Use for font handling the system own mechanisms and installed fonts. fontconfig should be included by all Distributions.
All other ways pass miles far on a clean/clear configured system.
On 07/28/07 18:57, Joerg Bornkessel wrote:
... Use for font handling the system own mechanisms and installed fonts. fontconfig should be included by all Distributions.
Plugins don't even need to directly access any fontconfig stuff. They can use cFont::GetAvailableFontNames() to get all of the available font names, and create their own fonts with cFont::CreateFont().
Klaus
On 07/28/07 18:57, Joerg Bornkessel wrote:
... Use for font handling the system own mechanisms and installed fonts. fontconfig should be included by all Distributions.
Plugins don't even need to directly access any fontconfig stuff. They can use cFont::GetAvailableFontNames() to get all of the available font names, and create their own fonts with cFont::CreateFont().
yeah ok,
but this make it depend on >=vdr-1.5.3 imho,
should included code parts eg. (cFont::GetAvailableFontNames()) in plugins directly then not work on older vdr versions too ?
Anyway, my thoughts on it are, this font handling should be generally fixed/changed in plugins, not only in depend from vdr-1.5.3
Klaus, maybe you can backport this functions on vdr-1.4.* That makes it plugin devs more easily, they still for the vdr-1.5.x refuses itself ;)
On 07/28/07 22:14, Joerg Bornkessel wrote:
On 07/28/07 18:57, Joerg Bornkessel wrote:
... Use for font handling the system own mechanisms and installed fonts. fontconfig should be included by all Distributions.
Plugins don't even need to directly access any fontconfig stuff. They can use cFont::GetAvailableFontNames() to get all of the available font names, and create their own fonts with cFont::CreateFont().
yeah ok,
but this make it depend on >=vdr-1.5.3 imho,
should included code parts eg. (cFont::GetAvailableFontNames()) in plugins directly then not work on older vdr versions too ?
Anyway, my thoughts on it are, this font handling should be generally fixed/changed in plugins, not only in depend from vdr-1.5.3
Klaus, maybe you can backport this functions on vdr-1.4.* That makes it plugin devs more easily, they still for the vdr-1.5.x refuses itself ;)
As a plugin author I would keep a stable version that runs with VDR 1.4.x and a developer version that runs with VDR 1.5.x. Trying to have a single version that runs with all versions of VDR is bound to fail if the differences become too big.
Klaus