~ubuntu-branches/ubuntu/trusty/xscreensaver/trusty

« back to all changes in this revision

Viewing changes to hacks/glx/glxfonts.h

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2009-11-30 13:33:13 UTC
  • mfrom: (1.1.8 upstream) (2.1.6 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091130133313-3b5nz2e7hvbb8h3l
Tags: 5.10-3ubuntu1
* Merge with Debian unstable, remaining changes: (LP: #489062)
  - debian/control: add Build-Depends on ubuntu-artwork
  - debian/rules: use /usr/share/backgrounds
  - debian/control: Move xli | xloadimage recommends to suggests
  - debian/split-hacks.config: Use different set of default hacks to Debian
  - debian/source_xscreensaver.py: Add apport hook
  - debian/patches/53_XScreenSaver.ad.in.patch: Use Ubuntu branding

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* glxfonts, Copyright (c) 2001-2008 Jamie Zawinski <jwz@jwz.org>
 
1
/* glxfonts, Copyright (c) 2001-2009 Jamie Zawinski <jwz@jwz.org>
2
2
 * Loads X11 fonts for use with OpenGL.
3
3
 *
4
4
 * Permission to use, copy, modify, distribute, and sell this software and its
9
9
 * software for any purpose.  It is provided "as is" without express or 
10
10
 * implied warranty.
11
11
 *
12
 
 * Compute normal vectors for arbitrary triangles.
 
12
 * Loads X11 fonts for use with OpenGL.
13
13
 */
14
14
 
15
15
#ifndef __GLXFONTS_H__
16
16
#define __GLXFONTS_H__
17
17
 
 
18
/* This is basically the same as glXUseXFont().
 
19
   We have our own version of it for portability.
 
20
 */
 
21
extern void xscreensaver_glXUseXFont (Display *dpy, Font font, 
 
22
                                      int first, int count, int listbase);
 
23
 
18
24
/* Loads the font named by the X resource "res".
19
25
   Returns an XFontStruct.
20
26
   Also converts the font to a set of GL lists and returns the first list.