Back to index

lightning-sunbird  0.9+nobinonly
Functions | Variables
nsFont.cpp File Reference
#include "nsFont.h"
#include "nsString.h"
#include "nsUnicharUtils.h"
#include "nsCRT.h"

Go to the source code of this file.


static PRBool IsGenericFontFamily (const nsString &aFamily)
static PRBool FontEnumCallback (const nsString &aFamily, PRBool aGeneric, void *aData)


const PRUnichar kNullCh = PRUnichar('\0')
const PRUnichar kSingleQuote = PRUnichar('\'')
const PRUnichar kDoubleQuote = PRUnichar('\"')
const PRUnichar kComma = PRUnichar(',')

Function Documentation

static PRBool FontEnumCallback ( const nsString aFamily,
PRBool  aGeneric,
void aData 
) [static]

Definition at line 187 of file nsFont.cpp.

  *((nsString*)aData) = aFamily;
  return PR_FALSE;
static PRBool IsGenericFontFamily ( const nsString aFamily) [static]

Definition at line 124 of file nsFont.cpp.

  PRUint8 generic;
  nsFont::GetGenericID(aFamily, &generic);
  return generic != kGenericFont_NONE;

Variable Documentation

Definition at line 134 of file nsFont.cpp.

Definition at line 133 of file nsFont.cpp.

Definition at line 131 of file nsFont.cpp.

Definition at line 132 of file nsFont.cpp.