--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: libxft2: Xft(3) shows incorrect syntax of XftFontOpen
- From: Jorrit Kronjee <reportbug@nospam.wafel.org>
- Date: Sat, 20 Sep 2003 02:44:26 +0200
- Message-id: <20030920004426.AD2C0640E8@loonix>
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.
Sincerely,
Jorrit Kronjee
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Locale: LANG=C, LC_CTYPE=C
Versions of packages libxft2 depends on:
ii libc6 2.3.2-7 GNU C Library: Shared libraries an
ii libfontconfig1 2.2.1-3 generic font configuration library
ii libfreetype6 2.1.5-1 FreeType 2 font engine, shared lib
ii xlibs 4.2.1-11 X Window System client libraries
ii zlib1g 1:1.1.4-15 compression library - runtime
-- no debconf information
--- End Message ---