change ghostview (gv) menu font size
Hi All,
How to change the GV menu font size? (not the document font size which is set by scale). man and info don't mention anything about this. Thanks, Mike. |
In your .Xdefaults (or .Xresources) you can set it with a line like:
Code:
gv*font: -*-helvetica-medium-r-normal--*-80-*-*-*-*-*-* Cheers, Evo2. |
Thanks evo2. Do you know if it's possible to modify the menu layout (normal and spartan mode)?. Is it possible to add or remove entries?.
|
From the man page it seems that --spartan just does --style=gv_spartan.dat. I looked for that file on my system and found it at /usr/share/gv/gv_spartan.dat. It looks like Xdefaults syntax so you may just be able to copy the contents of that file into your .Xdefaults to get the desired effect.
HTH, Evo2. |
Thanks Evo2.
|
Resurrect an Ancient Thread about /usr/bin/gv Widget Fonts
All --
Sorry to resurrect this ancient thread but here goes ... I am running current with the KDE Desktop on my new Laptop with a high-rez display ( 192 dpi / 3840 x 2160 ) I use /usr/bin/gv extensively for my job -- mostly to measure xy coordinates on PDF Pages. The menus and widgets in /usr/bin/gv are so tiny that I can't read them. I tried the solution above via the simple ~/.Xresources entry followed by `xrdb -merge ~/.Xresources` I looked at the Slackware gv source and I found the file: source/gv-3.7.4/src/gv_font_res.dat The Xresources are named with a capital GV like this: Code:
GV*font: -*-Helvetica-Medium-R-Normal--*-140-*-*-P-*-ISO8859-1 Code:
GV*font: -*-Helvetica-Medium-R-Normal--*-280-*-*-P-*-ISO8859-1 Any ideas ? Thanks ! -- kjh |
I just happen to have gv installed.
Code:
gv --version Code:
gv So, in my ~/.Xdefaults I added: Code:
gv*font: -*-fixed-medium-r-*-*-30-*-*-*-*-*-iso8859-* |
Thanks teckk
I thought I was posting to the Slackware Forum so I neglected to say that I am running Slackware Current. I tried your suggestion but no luck. I'll keep looking Thanks again. -- kjh |
Quote:
Try Code:
echo 'gv*font:12x24' >/tmp/gv.ad |
Thanks for the info Shruggy
Your specific ad=FILE hint didn't work but your method of testing 'additional resources' lead me to the -style=FILE Arg These args are certainly more convenient than messing with ~/.X{resources,defaults} Thanks again. -- kjh |
All times are GMT -5. The time now is 02:38 PM. |