Author: manolo
Date: 2010-03-29 05:52:28 -0700 (Mon, 29 Mar 2010)
New Revision: 7356
Log:
Fl_Printer & Fl_PSfile_Device : added some implementation details in doc
Modified:
branches/branch-1.3/FL/Fl_PSfile_Device.H
branches/branch-1.3/FL/Fl_Printer.H
branches/branch-1.3/src/Fl_PS_Printer.cxx
Modified: branches/branch-1.3/FL/Fl_PSfile_Device.H
===================================================================
--- branches/branch-1.3/FL/Fl_PSfile_Device.H 2010-03-29 12:15:22 UTC (rev
7355)
+++ branches/branch-1.3/FL/Fl_PSfile_Device.H 2010-03-29 12:52:28 UTC (rev
7356)
@@ -36,7 +36,9 @@
\brief Sends all graphics to a local PostScript file; same API as Fl_Printer
class.
*
This class has the same API as class Fl_Printer except for start_job() member
function.
- \see class Fl_Printer.
+ <p>PostScript text output is presently implemented only for the latin
character set.
+ FLTK's standard fonts are output using PostScript's standard fonts:
Helvetica, Courier,
+ Times (and their bold, oblique, italic variants), Symbol, ZapfDingbats.
*/
FL_EXPORT class Fl_PSfile_Device : public Fl_Abstract_Printer {
public:
Modified: branches/branch-1.3/FL/Fl_Printer.H
===================================================================
--- branches/branch-1.3/FL/Fl_Printer.H 2010-03-29 12:15:22 UTC (rev 7355)
+++ branches/branch-1.3/FL/Fl_Printer.H 2010-03-29 12:52:28 UTC (rev 7356)
@@ -52,7 +52,9 @@
</ul>
In both cases, begin by start_job(), start_page(), printable_rect() and
origin() calls
and finish by end_page() and end_job() calls.
- <p>On Xlib-based platforms (<i>e.g.</i>, Linux, Unix), the static public
attributes of this class
+ <p>On Xlib-based platforms (<i>e.g.</i>, Linux, Unix), this class is
implemented as
+ a subclass of Fl_PSfile_Device.
+ <p>On Xlib-based platforms, the static public attributes of this class
can be used to set the print dialog to other languages than English. For
example, the "Printer:"
dialog item Fl_Printer::dialog_printer can be set to French with:
\code
@@ -62,6 +64,7 @@
\endcode
Use Fl_PSfile_Device::file_chooser_title to customize the title of the file
chooser dialog that opens
when using the "Print To File" option of the print dialog.
+ \see Fl_PSfile_Device.
*/
class Fl_Printer : public Fl_Abstract_Printer {
private:
Modified: branches/branch-1.3/src/Fl_PS_Printer.cxx
===================================================================
--- branches/branch-1.3/src/Fl_PS_Printer.cxx 2010-03-29 12:15:22 UTC (rev
7355)
+++ branches/branch-1.3/src/Fl_PS_Printer.cxx 2010-03-29 12:52:28 UTC (rev
7356)
@@ -852,7 +852,7 @@
"Times-BoldItalic",
"Symbol",
"Courier",
-"CourierBold",
+"Courier-Bold",
"ZapfDingbats"
};
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit