Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Functions | Variables
nsDeviceContextGTK.cpp File Reference
#include <math.h>
#include "nspr.h"
#include "nsIPref.h"
#include "nsIServiceManager.h"
#include "nsCRT.h"
#include "nsDeviceContextGTK.h"
#include "nsGfxCIID.h"
#include "nsFontMetricsUtils.h"
#include <gdk/gdk.h>
#include <gdk/gdkx.h>
#include <X11/Xatom.h>
#include "nsDeviceContextSpecG.h"

Go to the source code of this file.

Classes

class  nsSystemFontsGTK
 A singleton instance of nsSystemFontsGTK is created by the first device context and destroyed by the module destructor. More...

Defines

#define GDK_DEFAULT_FONT1   "-*-helvetica-medium-r-*--*-120-*-*-*-*-iso8859-1"
#define GDK_DEFAULT_FONT2   "-*-fixed-medium-r-*-*-*-120-*-*-*-*-*-*"
#define DEFAULT_TWIP_FONT_SIZE   240

Functions

static PRInt32 GetOSDPI (void)
static NS_DEFINE_CID (kPrefCID, NS_PREF_CID)

Variables

static nsSystemFontsGTKgSystemFonts = nsnull

Define Documentation

Definition at line 690 of file nsDeviceContextGTK.cpp.

#define GDK_DEFAULT_FONT1   "-*-helvetica-medium-r-*--*-120-*-*-*-*-iso8859-1"

Definition at line 90 of file nsDeviceContextGTK.cpp.

#define GDK_DEFAULT_FONT2   "-*-fixed-medium-r-*-*-*-120-*-*-*-*-*-*"

Definition at line 91 of file nsDeviceContextGTK.cpp.


Function Documentation

static PRInt32 GetOSDPI ( void  ) [static]

Here is the caller graph for this function:

static NS_DEFINE_CID ( kPrefCID  ,
NS_PREF_CID   
) [static]

Variable Documentation

Definition at line 140 of file nsDeviceContextGTK.cpp.