source: tags/arb-6.0/WINDOW/aw_xfont.hxx

Last change on this file was 8365, checked in by westram, 12 years ago
  • decide on a per-font-basis whether ARB uses a scalable font or not
    • previously the decision only depended on scalability of "-adobe-times-medium-r-*—.."
  • replaced debug flag by ifdef-DUMP_FONT_LOOKUP
  • fixed a crash when trying to dump information for unloaded scalable fonts
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 763 bytes
Line 
1#ifndef AW_XFONT_HXX
2#define AW_XFONT_HXX
3
4#ifndef AW_DEF_HXX
5#include "aw_def.hxx"
6#endif
7
8
9struct xfont {
10    int          size;          // size in points
11    Font         fid;           // X font id
12    char        *fname;         // actual name of X font found
13    XFontStruct *fstruct;       // X font structure
14    xfont       *next;          // next in the list
15};
16
17struct _fstruct {
18    const char     *name;       // Postscript font name
19    int             xfontnum;   // template for locating X fonts
20};
21
22struct _xfstruct {
23    const char *templat;        // templat for locating X fonts
24    xfont      *xfontlist;      // linked list of X fonts for different point sizes
25};
26
27#define DEFAULT      (-1)
28
29#else
30#error aw_xfont.hxx included twice
31#endif
Note: See TracBrowser for help on using the repository browser.