//=========================================================
//  MusE
//  Linux Music Editor
//    $Id: print.h,v 1.1.1.1 2003/10/29 10:05:29 wschweer Exp $
//  (C) Copyright 1999,2000 Werner Schweer (ws@seh.de)
//=========================================================

#ifndef __PRINT_H__
#define __PRINT_H__

const int MAX_GLYPHS = 256;
#include "font.h"
#include <qstring.h>

struct QPSPrinterPrivate;

//---------------------------------------------------------
//   PsStatus
//---------------------------------------------------------

struct PsStatus {
      QFont font;
      int fontFlag;           // 0 - undefined, 1 - intern, 2 - ´font´
      double curLineWidth;
      bool glyphExists[MAX_GLYPHS];
      QPSPrinterPrivate *d;
      QString fontsUsed;

   public:
      PsStatus();
      void init();
      void setFont(FILE*, const QFont*);
      void setLineWidth(FILE*, double);
      };

#endif

