Re: Fonts to small
Jim Murphy <[email protected]>
| Newsgroups | gmane.comp.video.graphicsmagick.help |
|---|---|
| Message-ID | <CAKJi5fh0gBK0fwtNq69--KQz5FkoB9RZHZXbF3oNcPGOHqtw6Q@mail.gmail.com> |
Hello - again, On Sun, Apr 16, 2017 at 1:23 PM, Bob Friesenhahn <[email protected]> wrote: > On Sun, 16 Apr 2017, Jim Murphy wrote: > > > 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. > I believe the following X resource is needed, as font[1-9] is for annotating. textFont (class textFont) Specifies the name of the preferred font to use in fixed (typewriter style) formatted text. The default is 14 point Courier. I get the following error when trying to enter it from the command line: gm display: Unrecognized option (-textFont) [No such file or directory]. Not sure why, as -font works. > > 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. Upon reviewing the output of Command > Miscellany > Image Info I found the following 2 lines: Font: -*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1 Text font: -*-fixed-medium-r-normal-*-12-*-*-*-*-*-iso8859-1 These appear to be the defaults. I didn't check to see if "fixed" translates to "Courier", but doesn't the the 12 represent 12 Point and not 14 Point as indicated in the man page? If I'm reading the XLFD correctly, I believe this would be 12 Point. Also, on my funtoo linux system there is no font that answers the description "-*-fixed-medium-r-normal-*-12-*-*-*-*-*-iso8859-1", but there is a font that does for "-*-fixed-medium-r-normal-*-14-*-*-*-*-*-iso8859-1". I believe I have all the standard fonts installed. Again, thanks for your help. Sincerely, Jim kernel-name: Linux kernel-release: 4.8.15-1 kernel-version: #1 SMP Tue Dec 27 20:29:10 -00 2016 machine: x86_64 processor: Intel(R) Core(TM) i7-4710MQ CPU @ 2.50GHz hardware-platform: GenuineIntel operating-system: GNU/Linux GraphicsMagick 1.3.25 2016-09-05 Q8 http://www.GraphicsMagick.org/ Copyright (C) 2002-2016 GraphicsMagick Group. Additional copyrights and licenses apply to this software. See http://www.GraphicsMagick.org/www/Copyright.html for details. Feature Support: Native Thread Safe no Large Files (> 32 bit) yes Large Memory (> 32 bit) yes BZIP yes DPS no FlashPix no FreeType yes Ghostscript (Library) no JBIG no JPEG-2000 yes JPEG yes Little CMS no Loadable Modules yes OpenMP yes (201307) PNG yes TIFF yes TRIO no UMEM no WebP yes WMF yes X11 yes XML yes ZLIB yes Host type: x86_64-pc-linux-gnu Configured using the command: ./configure '--prefix=/usr' '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--disable-dependency-tracking' '--disable-silent-rules' '--docdir=/usr/share/doc/graphicsmagick-1.3.25' '--htmldir=/usr/share/doc/graphicsmagick-1.3.25/html' '--libdir=/usr/lib64' '--enable-openmp' '--enable-largefile' '--enable-shared' '--disable-static' '--disable-prof' '--disable-gcov' '--disable-magick-compat' '--without-threads' '--with-modules' '--with-quantum-depth=8' '--without-frozenpaths' '--with-magick-plus-plus' '--without-perl' '--with-perl-options=INSTALLDIRS=vendor' '--with-bzlib' '--without-dps' '--without-fpx' '--without-gslib' '--without-jbig' '--with-webp' '--with-jpeg' '--with-jp2' '--without-lcms2' '--without-lzma' '--with-png' '--with-tiff' '--with-ttf' '--with-wmf' '--with-fontpath=/usr/share/fonts' '--with-gs-font-dir=/usr/share/fonts/urw-fonts' '--with-windows-font-dir=/usr/s Final Build Parameters: CC = x86_64-pc-linux-gnu-gcc CFLAGS = -fopenmp -march=haswell -O2 -pipe -Wall CPPFLAGS = -I/usr/include/freetype2 -I/usr/include/libxml2 CXX = x86_64-pc-linux-gnu-g++ CXXFLAGS = -march=haswell -O2 -pipe LDFLAGS = -Wl,-O1 -Wl,--sort-common -Wl,--as-needed LIBS = -lfreetype -lXext -lSM -lICE -lX11 -lbz2 -lz -lltdl -lm -lgomp ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot