Bug#211770: libxft2: Xft(3) shows incorrect syntax of XftFontOpen
On Sat, 4 Oct 2003, Branden Robinson wrote:
> reassign 211770 xlibs-dev
> retitle 211770 xlibs-dev: Xft(3) shows incorrect syntax of XftFontOpen()
> tag 211770 + upstream moreinfo
> On Sat, Sep 20, 2003 at 02:44:26AM +0200, Jorrit Kronjee wrote:
> > Package: libxft2
> > Version: 2.1.1-2
> > Severity: minor
> > Xft(3) shows an incorrect usage of XftFontOpen (which will never work). The
> > element listing should be terminated by a 0, like this:
> > font = XftFontOpen(dpy, scr, XFT_FAMILY, XftTypeString, "charter", XFT_SIZE,
> > XftTypeDouble, 12.0, 0);
> > furthermore, the layout of the example looks odd.
> The package that provides the Xft(3x) manual page is xlibs-dev. I am
> reassigning this bug to that package.
> Furthermore, Xft(3x) documents version 1 of the Xft library; are you
> sure the documentation isn't correct for that version of the library?
I am positive. Either way, the documentation would be ambiguous, because
the example doesn't match the explanation above it.