startDocument()
  setDocumentMetaData(dc:creator:  , dc:date: 2001-08-25T17:30:52.00, meta:creation-date: 2001-08-25T17:05:16.00, meta:print-date: 2001-08-25T17:29:24.00)
  openPageSpan(fo:margin-bottom: 72.0000pt, fo:margin-left: 72.0000pt, fo:margin-right: 72.0000pt, fo:margin-top: 72.0000pt, fo:page-height: 792.0000pt, fo:page-width: 612.0000pt, librevenge:is-last-page-span: true, librevenge:num-pages: 10000, style:print-orientation: portrait)
    openSection()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 14.0000pt, fo:font-weight: bold, style:font-name: Times, style:font-pitch: variable)
          insertText(text: GNOME Print Perl script)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: #!/usr/bin/perl -w)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: #TITLE: Gnome Print sample)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: #REQUIRES: Gtk Gnome GnomePrint)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: use Gnome::Print;)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: init Gnome $0, '0.1';)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: Gtk::Widget->set_default_colormap(Gtk::Gdk::Rgb->get_cmap());)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: Gtk::Widget->set_default_visual(Gtk::Gdk::Rgb->get_visual());)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: $file = shift || "duck.jpeg";)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: $pixbuf = Gtk::Gdk::Pixbuf->new_from_file($file);)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: @slanted = (0.9, 0.1, -0.8, 0.9, 0, 0);)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: $print_master = new Gnome::PrintMaster;)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: $context = $print_master->get_context;)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: $context->beginpage("APageName");)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: # test gray and rgb images)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: $width )
          insertSpace()
          insertText(text: = 256;)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: $height = 120;)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: $image = pack("C*", 0..$width-1) x $height;)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: $context->gsave;)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: $context->concat($width, 0, 0, -$height, 250, 200);)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: $context->grayimage($image, $width, $height);)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: $context->grestore;)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: # whack an pretty image up)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: $context->moveto(250, 350);)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: $context->gsave;)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: $context->concat(100, 0, 0, 100, 350, 440);)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: $context->pixbuf($pixbuf);)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: $context->grestore;)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: # a line)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: $context->moveto(100, 100);)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: $context->lineto(200, 200);)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: $context->stroke;)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: # Text on a slant)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: $context->setfont(Gnome::Font->new_closest("Times", 'bold', 1, 20));)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: $context->gsave();)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: $context->moveto(150, 400);)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: $context->concat(@slanted);)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: $context->show("Slanted text, Times, bold 20");)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: $context->grestore();)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: # A rotated string thing)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: $context->moveto(250, 600);)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: $context->setrgbcolor(1,0.1,0);)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: foreach (map {$_*30} 0 .. 6) {)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertTab()
          insertText(text: $context->gsave();)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertTab()
          insertText(text: $context->concat(Gnome::Print->affine_rotate($_));)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertTab()
          insertText(text: $context->show(" LWE August 2001 ...");)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertTab()
          insertText(text: $context->grestore();)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: })
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: $context->showpage;)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: $print_master->close;)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: # Show the preview ...)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: $preview = new Gnome::PrintMasterPreview ($print_master, 'Gnome::Print from perl');)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: $preview->signal_connect('destroy', sub {Gtk->main_quit;});)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: $preview->show;)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: main Gtk;)
        closeSpan()
      closeParagraph()
      openParagraph(fo:break-before: page, fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: UTF-8(7) )
          insertSpace()
          insertSpace()
          insertSpace()
          insertSpace()
          insertSpace()
          insertSpace()
          insertSpace()
          insertSpace()
          insertSpace()
          insertSpace()
          insertSpace()
          insertText(text: Linux Programmer's Manual )
          insertSpace()
          insertSpace()
          insertSpace()
          insertSpace()
          insertSpace()
          insertSpace()
          insertSpace()
          insertSpace()
          insertSpace()
          insertSpace()
          insertSpace()
          insertText(text: UTF-8(7))
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, fo:font-weight: normal, style:font-name: Times)
          insertText(text: NAME)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, fo:font-weight: bold, style:font-name: Times)
          insertText(text: UTF-8)
        closeSpan()
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text:  - an ASCII compatible multibyte Unicode encoding)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: DESCRIPTION)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertTab()
          insertText(text: The )
          insertSpace()
          insertText(text: Unicode )
          insertSpace()
          insertText(text: character )
          insertSpace()
          insertText(text: set occupies a 16-bit code space.The most obvious Unicode encoding (known )
          insertSpace()
          insertText(text: as )
          insertSpace()
          insertText(text: UCS-2) )
          insertSpace()
          insertText(text: con-sists of a sequence of 16-bit words. Such strings can con-tain as parts of many 16-bit characters bytes like '\0' or'/' )
          insertSpace()
          insertText(text: which have a special meaning in filenames and other Clibrary function parameters. )
          insertSpace()
          insertText(text: In addition, the majority of UNIX tools expects ASCII files and can't read 16-bit words as characters without major modifications. For these )
          insertSpace()
          insertText(text: reasons, UCS-2 is not a suitable external encoding of Unicode)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: in filenames, text files, environment variables, etc. )
          insertSpace()
          insertText(text: The ISO )
          insertSpace()
          insertText(text: 10646 )
          insertSpace()
          insertText(text: Universal )
          insertSpace()
          insertText(text: Character )
          insertSpace()
          insertText(text: Set (UCS), a superset of Unicode, occupies even a 31-bit code space and the obvious UCS-4 )
          insertSpace()
          insertText(text: encoding )
          insertSpace()
          insertSpace()
          insertText(text: for )
          insertSpace()
          insertText(text: it (a sequence of 32-bit words) has the same problems.)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertTab()
          insertText(text: The UTF-8 encoding of Unicode and UCS does not have )
          insertSpace()
          insertText(text: these problems )
          insertSpace()
          insertText(text: and is the way to go for using the Unicode char-acter set under Unix-style operating systems.)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: PROPERTIES)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: The UTF-8 encoding has the following nice properties:)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
        closeSpan()
      closeParagraph()
      openUnorderedListLevel(fo:margin-left: 28.3000pt, fo:text-align: left, fo:text-indent: -14.1500pt, librevenge:level: 1, librevenge:list-id: 1, style:font-name: starbats, style:num-suffix: ., text:bullet-char: )
        openListElement(fo:margin-left: 14.1500pt, fo:margin-right: 0.0000pt, fo:text-indent: -14.1500pt, style:auto-text-indent: false)
          openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
            insertText(text:  UCS characters 0x00000000 to 0x0000007f )
            insertSpace()
            insertText(text: (the )
            insertSpace()
            insertText(text: classical )
            insertSpace()
            insertText(text: US-ASCII characters) are encoded simply as bytes 0x00 to )
            insertSpace()
            insertText(text: 0x7f (ASCII compatibility). This means )
            insertSpace()
            insertText(text: that )
            insertSpace()
            insertText(text: files )
            insertSpace()
            insertText(text: and )
            insertSpace()
            insertText(text: strings )
            insertSpace()
            insertText(text: which )
            insertSpace()
            insertText(text: contain only 7-bit ASCII characters have )
            insertSpace()
            insertText(text: the same encoding under both ASCII and UTF-8.)
          closeSpan()
        closeListElement()
        openListElement(fo:margin-left: 14.1500pt, fo:margin-right: 0.0000pt, fo:text-indent: -14.1500pt, style:auto-text-indent: false)
          openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
            insertText(text: All UCS characters > 0x7f are )
            insertSpace()
            insertText(text: encoded )
            insertSpace()
            insertText(text: as )
            insertSpace()
            insertText(text: a )
            insertSpace()
            insertText(text: multibyte )
            insertSpace()
            insertText(text: sequence )
            insertSpace()
            insertText(text: consisting )
            insertSpace()
            insertText(text: only of bytes in the range 0x80 to )
            insertSpace()
            insertText(text: 0xfd, so no ASCII byte can appear )
            insertSpace()
            insertText(text: as )
            insertSpace()
            insertText(text: part )
            insertSpace()
            insertText(text: of )
            insertSpace()
            insertText(text: another )
            insertSpace()
            insertText(text: character )
            insertSpace()
            insertText(text: and )
            insertSpace()
            insertText(text: there )
            insertSpace()
            insertText(text: are no problems with e.g. '\0' or )
            insertSpace()
            insertText(text: '/'.)
          closeSpan()
        closeListElement()
        openListElement(fo:margin-left: 14.1500pt, fo:margin-right: 0.0000pt, fo:text-indent: -14.1500pt, style:auto-text-indent: false)
          openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
            insertText(text: The lexicographic sorting order of UCS-4 strings is preserved.)
          closeSpan()
        closeListElement()
        openListElement(fo:margin-left: 14.1500pt, fo:margin-right: 0.0000pt, fo:text-indent: -14.1500pt, style:auto-text-indent: false)
          openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
            insertText(text: All )
            insertSpace()
            insertText(text: possible 2^31 UCS codes can be encoded using UTF-8.)
          closeSpan()
        closeListElement()
        openListElement(fo:margin-left: 14.1500pt, fo:margin-right: 0.0000pt, fo:text-indent: -14.1500pt, style:auto-text-indent: false)
          openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
            insertText(text: The bytes 0xfe and 0xff are )
            insertSpace()
            insertText(text: never )
            insertSpace()
            insertText(text: used )
            insertSpace()
            insertText(text: in )
            insertSpace()
            insertText(text: the )
            insertSpace()
            insertText(text: UTF-8 encoding.)
          closeSpan()
        closeListElement()
        openListElement(fo:margin-left: 14.1500pt, fo:margin-right: 0.0000pt, fo:text-indent: -14.1500pt, style:auto-text-indent: false)
          openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
            insertText(text: The )
            insertSpace()
            insertText(text: first byte of a multibyte sequence which represents a single non-ASCII UCS character is always in the )
            insertSpace()
            insertText(text: range 0xc0 )
            insertSpace()
            insertText(text: to )
            insertSpace()
            insertText(text: 0xfd )
            insertSpace()
            insertText(text: and )
            insertSpace()
            insertText(text: indicates )
            insertSpace()
            insertText(text: how )
            insertSpace()
            insertText(text: long this multibyte sequence is. All further bytes in a )
            insertSpace()
            insertText(text: multibyte )
            insertSpace()
            insertText(text: sequence are )
            insertSpace()
            insertText(text: in )
            insertSpace()
            insertText(text: the range 0x80 to 0xbf. This allows easy resyn- chronization and makes the encoding stateless and robust against missing bytes.)
          closeSpan()
        closeListElement()
        openListElement(fo:margin-left: 14.1500pt, fo:margin-right: 0.0000pt, fo:text-indent: -14.1500pt, style:auto-text-indent: false)
          openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
            insertText(text: UTF-8 )
            insertSpace()
            insertText(text: encoded )
            insertSpace()
            insertText(text: UCS )
            insertSpace()
            insertText(text: characters )
            insertSpace()
            insertText(text: may )
            insertSpace()
            insertText(text: be up to six bytes long, however Unicode characters can only be up to three bytes long. As Linux uses only the 16-bit Unicode subset of UCS, under Linux, UTF-8 multibyte sequences can )
            insertSpace()
            insertText(text: only be one, two or three bytes long.)
          closeSpan()
        closeListElement()
      closeUnorderedListLevel()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: ENCODING)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: The following byte sequences are used to represent a char-)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: acter. The sequence to be used depends )
          insertSpace()
          insertText(text: on )
          insertSpace()
          insertText(text: the )
          insertSpace()
          insertText(text: UCS )
          insertSpace()
          insertText(text: code)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: number of the character:)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: 0x00000000 - 0x0000007F:)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text:  )
          insertSpace()
          insertSpace()
          insertSpace()
          insertText(text: 0xxxxxxx)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: 0x00000080 - 0x000007FF:)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text:  )
          insertSpace()
          insertSpace()
          insertSpace()
          insertText(text: 110xxxxx 10xxxxxx)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: 0x00000800 - 0x0000FFFF:)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text:  )
          insertSpace()
          insertSpace()
          insertSpace()
          insertText(text: 1110xxxx 10xxxxxx 10xxxxxx)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: 0x00010000 - 0x001FFFFF:)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text:  )
          insertSpace()
          insertSpace()
          insertSpace()
          insertText(text: 11110xxx 10xxxxxx 10xxxxxx 10xxxxxx)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: 0x00200000 - 0x03FFFFFF:)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text:  )
          insertSpace()
          insertSpace()
          insertSpace()
          insertText(text: 111110xx 10xxxxxx 10xxxxxx 10xxxxxx 10xxxxxx)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: 0x04000000 - 0x7FFFFFFF:)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text:  )
          insertSpace()
          insertSpace()
          insertSpace()
          insertText(text: 1111110x 10xxxxxx 10xxxxxx 10xxxxxx 10xxxxxx 10xxxxxx)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: The )
          insertSpace()
          insertText(text: xxx )
          insertSpace()
          insertText(text: bit )
          insertSpace()
          insertText(text: positions )
          insertSpace()
          insertText(text: are )
          insertSpace()
          insertText(text: filled with the bits of the character code number in binary representation. )
          insertSpace()
          insertText(text: Only )
          insertSpace()
          insertText(text: the shortest )
          insertSpace()
          insertText(text: possible )
          insertSpace()
          insertText(text: multibyte sequence which can represent the code number of the character can be used.)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: EXAMPLES)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: The Unicode character 0xa9 )
          insertSpace()
          insertText(text: = )
          insertSpace()
          insertText(text: 1010 )
          insertSpace()
          insertText(text: 1001 )
          insertSpace()
          insertText(text: (the )
          insertSpace()
          insertText(text: copyright)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: sign) is encoded in UTF-8 as)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: 11000010 10101001 = 0xc2 0xa9)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: and )
          insertSpace()
          insertText(text: character )
          insertSpace()
          insertText(text: 0x2260 )
          insertSpace()
          insertText(text: = )
          insertSpace()
          insertText(text: 0010 )
          insertSpace()
          insertText(text: 0010 )
          insertSpace()
          insertText(text: 0110 0000 (the "not)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: equal" symbol) is encoded as:)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: 11100010 10001001 10100000 = 0xe2 0x89 0xa0)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: AUTHOR: )
        closeSpan()
        openSpan(fo:font-size: 10.0000pt, fo:font-weight: bold, style:font-name: Times)
          insertText(text: Markus Kuhn )
        closeSpan()
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: <mskuhn@cip.informatik.uni-erlangen.de>)
        closeSpan()
      closeParagraph()
      openParagraph(fo:margin-left: 0.0000pt, fo:margin-right: 0.0000pt, fo:text-indent: 0.0000pt, style:auto-text-indent: false)
        openSpan(fo:font-size: 10.0000pt, style:font-name: Times)
          insertText(text: SEE ALSO unicode(7))
        closeSpan()
      closeParagraph()
    closeSection()
  closePageSpan()
endDocument()
