summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rw-r--r--README5
-rw-r--r--src/flpsed.cxx16
3 files changed, 15 insertions, 9 deletions
diff --git a/NEWS b/NEWS
index fab4cee..1043a42 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,9 @@
flpsed ChangeLog
=================
+flpsed-0.3.2
+ - Implement zooming (thanks to Jochen Eisinger for the suggestion).
+
flpsed-0.3.1
- Fix redraw problem after scrolling.
- Allow moving of text with arrow keys for better text positioning.
diff --git a/README b/README
index 8f73600..277c87f 100644
--- a/README
+++ b/README
@@ -31,6 +31,9 @@ Features:
Restrictions:
- flpsed probably does not work on all existing PostScript documents.
You simply have to test it for your documents.
+- Zooming depends on the availability of scalable fonts on your X11 system.
+ Font sizes might be wrong with zoom values other than 100% if these are
+ missing.
- flpsed is alpha software, so please backup your files, before trying to
modify them.
@@ -60,4 +63,4 @@ flpsed -b -t name="Hans Meier" -t street="Haupstr. 14" letter-templ.ps out.ps
Johannes Hofmann
(Johannes.Hofmann@gmx.de)
-November 14, 2004
+January 28, 2005
diff --git a/src/flpsed.cxx b/src/flpsed.cxx
index c8826a0..515caef 100644
--- a/src/flpsed.cxx
+++ b/src/flpsed.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: flpsed.cxx,v 1.26 2005/01/28 15:08:29 hofmann Exp $"
+// "$Id: flpsed.cxx,v 1.27 2005/01/28 15:37:40 hofmann Exp $"
//
// flpsed program.
//
@@ -192,13 +192,13 @@ Fl_Menu_Item menuitems[] = {
{ "&Next", FL_CTRL + 'n', (Fl_Callback *)next_cb },
{ 0 },
- { "&Zoom (%)", 0, 0, 0, FL_SUBMENU },
- { "50", 0, (Fl_Callback *)zoom_cb },
- { "75", 0, (Fl_Callback *)zoom_cb },
- { "100", 0, (Fl_Callback *)zoom_cb },
- { "150", 0, (Fl_Callback *)zoom_cb },
- { "200", 0, (Fl_Callback *)zoom_cb },
- { "250", 0, (Fl_Callback *)zoom_cb },
+ { "&Zoom", 0, 0, 0, FL_SUBMENU },
+ { "50 %", 0, (Fl_Callback *)zoom_cb },
+ { "75 %", 0, (Fl_Callback *)zoom_cb },
+ { "100 %", 0, (Fl_Callback *)zoom_cb },
+ { "150 %", 0, (Fl_Callback *)zoom_cb },
+ { "200 %", 0, (Fl_Callback *)zoom_cb },
+ { "250 %", 0, (Fl_Callback *)zoom_cb },
{ 0 },
{ "&Size", 0, 0, 0, FL_SUBMENU },