]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/paper-def.hh
* scm/output-gnome.scm: New file.
[lilypond.git] / lily / include / paper-def.hh
index b449dc5c7bda46ea053e261a79b1efe920437e66..f5ea1cacb41c467557ec73da83d8bdb1e9230822 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1996--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1996--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 
 class Paper_def : public Music_output_def 
 {
 protected:
-  VIRTUAL_COPY_CONS (Music_output_def);
-
-public:    
-  Paper_outputter* get_paper_outputter (String)  const;
-
-  SCM font_descriptions ()const;
-  virtual ~Paper_def ();
+  VIRTUAL_COPY_CONSTRUCTOR (Music_output_def, Paper_def);
+  
+public:
+  Book_paper_def * bookpaper_;
   static int score_count_;
   
-  /*
-    JUNKME
-   */
-  Real get_realvar (SCM symbol) const;
-  void reinit ();
   Paper_def ();
   Paper_def (Paper_def const&);
-
+  virtual ~Paper_def ();
+  virtual void derived_mark ();
+  
+  Paper_outputter* get_paper_outputter (String) const;
+  SCM font_descriptions () const;
+  void reinit ();
   Interval line_dimensions_int (int) const;
-
   void output_settings (Paper_outputter*) const;
-
-  Font_metric * find_font (SCM name, Real mag);
+  Font_metric *find_scaled_font (Font_metric *fm, Real mag, SCM enc_name);
+  Real get_dimension (SCM symbol) const;
   
-  // urg
   friend int yyparse (void*);
 };
 
 Paper_def * unsmob_paper (SCM x);
+Font_metric *select_encoded_font (Paper_def *paper, SCM input_encoding, SCM chain);
 Font_metric *select_font (Paper_def *paper, SCM chain);
 
-#endif // Paper_def_HH
+#endif /* PAPER_DEF_HH */