Technical article 125877

The font being displayed by the DocView server is too small or unreadable.

OpenServer 5.0.6OpenServer 5.0.7UnixWare 7.1.1UnixWare 7.1.3UnixWare 7.1.4

Written · Last revised

Problem

The font being displayed by the DocView server is too small or unreadable.

Solution

Edit the appropriate DocView stylesheet.  DocView keeps
its stylesheets under /usr/lib/docview/styles.  The following
example shows how to enlarge the font size used when DocView
displays a page on any UNIX-based Mozilla browser accessing
the server:
1.  cd /usr/lib/docview/styles
2.  vi unix_moz.css

Find each line containing "font-size" and change the font point size or percentage (as appropriate) to a larger value.

3.  Save your changes to the stylesheet file.
4.  Reload the page in the UNIX Mozilla browser and the
fonts should be larger.
5.  Repeat steps 2 to 4 until the font is as large as
desired.

Note that there may be a specific stylesheet for each platform on which a particular browser is supported. Mozilla, for example, has a separate style sheet for Linux (lin_moz.css), Apple (mac_moz.css), and Windows (win_moz.css). Windows Explorer also has separate stylesheets for versions 5 (win_ie5.css) and 5.5 (win_ie5.5.css). Browsers that do not have a specific stylesheet file use the default (default.css).

Also note that the server does not need to be restarted for changes to the stylesheet to take effect.

From the Xinuos technical article database, record 125877. Reproduced with permission. The original is at www.sco.com/ta/125877, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.