Re: Fonts to small

Bob Friesenhahn <[email protected]>
Newsgroups gmane.comp.video.graphicsmagick.help
Message-ID <[email protected]>
On Sun, 16 Apr 2017, Jim Murphy wrote:

> Hello,
>
> So far my searches to resolve the font size has been mostly fruitless.
> I have four(4)[1] area screen shots to help illustrate the issue.
> By default the text in the pop-ups are to small to read easily.
>
> Commands:
>
> gm display *
> gm display -font 'lucidasans-14' *
>
> Adding the -font option makes reading the text so much easier.
> See linked files with names: Command*.png
>
> The issue I have is this does not increase the font size of the output
> such as Command > Miscellany > Image Info.
> See linked files with names: Image_Info*.png
>
> With the font changed the Dismiss button font has changed, but the
> data info is still small.  I have been unable to find an option to set
> the output font to a larger one.
>
> Could someone point me in the right direction.  Also is there a way of
> setting the changes to be the default?

This program appeared in perhaps 1992 so it uses classic X11 
configuration mechanisms.  In particular, it can use an X11 resource 
file (e.g. from an .Xdefaults) file.  It used to be common to 
distribute and install resource files containing defaults for each 
program, but GraphicsMagick does not seem to offer one.  In the 
documentation look for the heading "X RESOURCES" and the text string 
"Display options can appear on the command line or in your X resouce 
file".

It specifies these resource names for fonts:

      font (class FontList)

           Specifies the name of the preferred font to use in nor-
           mal formatted text.  The default is 14 point Helvetica.

      font[1-9] (class Font[1-9])

           Specifies the name of the preferred font  to  use  when
           annotating  the  image  window  with  text. The default
           fonts  are  fixed,  variable,  5x8,   6x10,   7x13bold,
           8x13bold, 9x15bold, 10x20, and 12x24.


X11 resources have fallen out of style, with a preference for settings 
from common toolkits like KDE and Gtk+, which the Display program does 
not use.

Bob
-- 
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.