]>
git.ipfire.org Git - thirdparty/cups.git/blob - ppdc/ppdc-font.cxx
2 // Shared font class for the CUPS PPD Compiler.
4 // Copyright 2007-2009 by Apple Inc.
5 // Copyright 2002-2005 by Easy Software Products.
7 // Licensed under Apache License v2.0. See the file "LICENSE" for more information.
11 // Include necessary headers...
14 #include "ppdc-private.h"
18 // 'ppdcFont::ppdcFont()' - Create a shared font.
21 ppdcFont::ppdcFont(const char *n
, // I - Name of font
22 const char *e
, // I - Font encoding
23 const char *v
, // I - Font version
24 const char *c
, // I - Font charset
25 ppdcFontStatus s
) // I - Font status
30 name
= new ppdcString(n
);
31 encoding
= new ppdcString(e
);
32 version
= new ppdcString(v
);
33 charset
= new ppdcString(c
);
39 // 'ppdcFont::~ppdcFont()' - Destroy a shared font.