]>
git.ipfire.org Git - thirdparty/cups.git/blob - ppdc/ppdc-font.cxx
4 // Shared font class for the CUPS PPD Compiler.
6 // Copyright 2007 by Apple Inc.
7 // Copyright 2002-2005 by Easy Software Products.
9 // These coded instructions, statements, and computer programs are the
10 // property of Apple Inc. and are protected by Federal copyright
11 // law. Distribution and use rights are outlined in the file "LICENSE.txt"
12 // which should have been included with this file. If this file is
13 // file is missing or damaged, see the license at "http://www.cups.org/".
17 // ppdcFont::ppdcFont() - Create a shared font.
18 // ppdcFont::~ppdcFont() - Destroy a shared font.
22 // Include necessary headers...
29 // 'ppdcFont::ppdcFont()' - Create a shared font.
32 ppdcFont::ppdcFont(const char *n
, // I - Name of font
33 const char *e
, // I - Font encoding
34 const char *v
, // I - Font version
35 const char *c
, // I - Font charset
36 ppdcFontStatus s
) // I - Font status
39 name
= new ppdcString(n
);
40 encoding
= new ppdcString(e
);
41 version
= new ppdcString(v
);
42 charset
= new ppdcString(c
);
48 // 'ppdcFont::~ppdcFont()' - Destroy a shared font.