diff --git a/XML_Presentation.php b/XML_Presentation.php index a156283..a859170 100644 --- a/XML_Presentation.php +++ b/XML_Presentation.php @@ -85,7 +85,6 @@ class XML_Presentation extends XML_Parser function XML_Presentation($handle = '') { $this->XML_Parser(); - if (@is_resource($handle)) { $this->setInput($handle); } elseif ($handle != '') { diff --git a/display.php b/display.php index 9aa8a23..711b1d5 100644 --- a/display.php +++ b/display.php @@ -1160,6 +1160,7 @@ function my_new_pdf_page(&$pdf, $x, $y, $new_page=true) { pdf_translate($pdf,0,$y); pdf_scale($pdf, 1, -1); // Reflect across horizontal axis pdf_set_value($pdf,"horizscaling",-100); // Mirror + } // }}} diff --git a/index.php b/index.php index 2cff40e..aad7f72 100644 --- a/index.php +++ b/index.php @@ -201,6 +201,7 @@ function change_mode() { */ } ?> +

diff --git a/locale/en/LC_MESSAGES/pres2.php b/locale/en/LC_MESSAGES/pres2.php index 9e1bcf0..e917e0e 100644 --- a/locale/en/LC_MESSAGES/pres2.php +++ b/locale/en/LC_MESSAGES/pres2.php @@ -22,6 +22,7 @@ " <Space> or <Enter> next slide\n". " <Backspace> previous slide", 'NO_PDF_EXTENSION' => 'The PDF extension is not loaded, so this format is not available here.', + 'FONT_SIZES' => 'You may need to play with your font sizes a bit to get these to display nicely.', 'AVAILABLE_PRESENTATIONS' => 'The available presentations are... (most recent first)', 'PRES_TITLE' => 'Title', 'PRES_DATE' => 'Date', diff --git a/locale/es/LC_MESSAGES/pres2.php b/locale/es/LC_MESSAGES/pres2.php index a3ee599..8541243 100644 --- a/locale/es/LC_MESSAGES/pres2.php +++ b/locale/es/LC_MESSAGES/pres2.php @@ -22,6 +22,7 @@ " <Barra de espacio> or <Tecla de retorno> diapositiva siguiente\n". " <Tecla de retroceso> diapositiva previa", 'NO_PDF_EXTENSION' => 'La extensi&ooacute;n de PDF no esta cargada, de manera que este formato no esta disponible aqui.', + 'FONT_SIZES' => 'You may need to play with your font sizes a bit to get these to display nicely.', 'AVAILABLE_PRESENTATIONS' => 'Las presentaciones disponibles son... (la más reciente primera)', 'PRES_TITLE' => 'Título', 'PRES_DATE' => 'Fecha',