Hi José,
On Wed, Aug 04, 2010 at 11:19:39AM -0500, José Guzmán wrote:
>
> Hallo list,
>
> Is there a way to force flpsed to write with a monospaced font instead
> of the default variable-width font it uses?
> This way I could fill those silly PDF forms that have a square for every
> character instead of an open line.
>
> BTW I'm using flpsed 0.5.2 in ubuntu 9.10.
Unfortunately the font is currently hardcoded to Helvetica. However
if you compile flpsed from source you can try the patch below to use
Courier instead.
Hope this helps,
Johannes
diff -r e0397e5c76f3 src/PSEditWidget.cxx
--- a/src/PSEditWidget.cxx Mon Sep 07 21:52:34 2009 +0200
+++ b/src/PSEditWidget.cxx Wed Aug 04 21:53:12 2010 +0200
@@ -20,7 +20,7 @@
#include "PSEditWidget.H"
-#define FLPSED_FONT FL_HELVETICA
+#define FLPSED_FONT FL_COURIER
#define FLPSED_TAG_FONT FL_COURIER
#define FLPSED_TAG_FONT_SIZE 10
diff -r e0397e5c76f3 src/Postscript.cxx
--- a/src/Postscript.cxx Mon Sep 07 21:52:34 2009 +0200
+++ b/src/Postscript.cxx Wed Aug 04 21:53:12 2010 +0200
@@ -376,7 +376,7 @@
return
"/PSEditWidgetPageCount 0 def\n"
"/PSEditWidgetPC 0 def\n"
- "/PSEditWidgetFontHelvetica /Helvetica findfont def\n"
+ "/PSEditWidgetFontHelvetica /Courier findfont def\n"
"/PSEditWidgetshowpage /showpage load def\n"
"/showpage {\n"
"gsave initgraphics\n"
Received on Wed Aug 04 2010 - 21:55:14 CEST
This archive was generated by hypermail 2.2.0 : Wed Aug 04 2010 - 22:00:02 CEST