MathGroup Archive 1997

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Font-Installation ? ON HP-UX 10.20

  • To: mathgroup at smc.vnet.net
  • Subject: [mg7219] Re: Font-Installation ? ON HP-UX 10.20
  • From: Horst Michael Meissner <horst at tkm.physik.uni-karlsruhe.de>
  • Date: Fri, 16 May 1997 02:31:16 -0400 (EDT)
  • Organization: University of Karlsruhe, Germany
  • Sender: owner-wri-mathgroup at wolfram.com

Oliver Cossalter wrote:
> 
> Hello all,
> 
> I've installed Mathematica 3.0 on our machines under HP/UX 10.20. Mathematica
> is running remotely on a PC (MS-Windows 3.11) using a X-server (pcxware). As
> described in mathematicas System Administrators Guide I transferred the fonts
> included with Mathematica to the X-servers local directories. Only the fonts
> from /usr/local/mathematica/SystemFiles/Fonts/X are recognized from the
> X-server runnning on the PC (not Type1).
> 
> If Mathematica is invoked remotely it starts up with the following message:
> 
> The stretchable character 0x5f in the Math1Mono font (size 12) has a repeating
> piece (0x8f) that is zero size.
> 
> Q: What does this message mean ?
> 
> Q: How to correct our Mathematica Installation to let this message disappear ?
> 
> The fonts in the directory /usr/local/mathematica/SystemFiles/Fonts/Type1 are
> not accepted: Neither from the PC-Xserver nor from the workstation X-server (I
> tried to add this directory to the fontpath via xset fp+, but is always denied
> from the workstation X-server with "bad font path...". Also shortening the
> fontpath doesn't change anything although the Type directory contains an
> fonts.dir file.
> 
> Q: How to include the type1-mathematica-fonts to the list of fonts known by
> the workstation X-server ?
> 
> Another question:
> 
> Q: Some AltGr combinations of our PC-Keyboards don't seem to work , esp. those
> to produce:
> 
> @, |, {}, []
> 
> The same Alt Gr combination work if typed from our workstation keyboard.
> Q: How to correct this ?
> 
> Questions, questions, questions...
> 
> I do hope there are some answers?
> 
> Thank you in advance
> 
> Oliver Cossalter at ABB-CH
> 
> E-Mail: oliver.cossalter at chhos.mail.abb.com
The X-Server on HP can not use type.1 fonts directly you must start the
 fontserver and configure the fontdir correct:

First configure a new fontdir (for example /opt/fonts/type1.st)
(the .st at the end of the name is absolute importend you can not use
 any other name)
tkmhp12: / >ll -R /opt/fonts
total 0
drwxr-xr-x   6 root       sys             96 Apr 14 14:55 type1.st

/opt/fonts/type1.st:
total 2
drwxr-xr-x   3 root       sys             96 Apr 14 14:59 licenses
drwxr-xr-x   2 root       sys             96 Apr 14 14:55 metrics
drwxr-xr-x   2 root       sys             96 Apr 17 16:05 products
drwxr-xr-x   2 root       sys           1024 Apr 17 16:04 typefaces

/opt/fonts/type1.st/licenses:
total 2
drwxr-xr-x   3 root       sys             96 Apr 14 14:59 STSYSTEM
-rw-r--r--   1 root       sys             20 Apr 14 14:59 hosts.dir

/opt/fonts/type1.st/licenses/STSYSTEM:
total 0
drwxr-xr-x   2 root       sys             96 Apr 14 14:59 DISPLAYS

/opt/fonts/type1.st/licenses/STSYSTEM/DISPLAYS:
total 8
-rw-r--r--   1 root       sys           2866 Apr 17 16:06 fonts.dir
-rw-r--r--   1 root       sys             87 Apr 17 16:06 products.dir

/opt/fonts/type1.st/metrics:
total 0

/opt/fonts/type1.st/products:
total 6
-r--r--r--   1 root       sys           1797 Apr 17 16:05 mathematica

/opt/fonts/type1.st/typefaces:
total 3542
-r--r--r--   1 root       sys         126064 Apr 17 16:02 Courier.pfa
-r--r--r--   1 root       sys          65499 Apr 17 16:02 Math1-Bold.pfa
-r--r--r--   1 root       sys          66407 Apr 17 16:02 Math1.pfa
-r--r--r--   1 root       sys          67191 Apr 17 16:02
Math1Mono-Bold.pfa
-r--r--r--   1 root       sys          66392 Apr 17 16:02 Math1Mono.pfa
-r--r--r--   1 root       sys          56366 Apr 17 16:02 Math2-Bold.pfa
-r--r--r--   1 root       sys          56088 Apr 17 16:02 Math2.pfa
-r--r--r--   1 root       sys          53514 Apr 17 16:02
Math2Mono-Bold.pfa
-r--r--r--   1 root       sys          53624 Apr 17 16:02 Math2Mono.pfa
-r--r--r--   1 root       sys          64811 Apr 17 16:02 Math3-Bold.pfa
-r--r--r--   1 root       sys          67830 Apr 17 16:02 Math3.pfa
-r--r--r--   1 root       sys          68551 Apr 17 16:02
Math3Mono-Bold.pfa
-r--r--r--   1 root       sys          70564 Apr 17 16:02 Math3Mono.pfa
-r--r--r--   1 root       sys          61523 Apr 17 16:02 Math4-Bold.pfa
-r--r--r--   1 root       sys          61369 Apr 17 16:02 Math4.pfa
-r--r--r--   1 root       sys          61560 Apr 17 16:02
Math4Mono-Bold.pfa
-r--r--r--   1 root       sys          62286 Apr 17 16:02 Math4Mono.pfa
-r--r--r--   1 root       sys          89144 Apr 17 16:02 Math5-Bold.pfa
-r--r--r--   1 root       sys          88904 Apr 17 16:02 Math5.pfa
-r--r--r--   1 root       sys          76624 Apr 17 16:02
Math5Mono-Bold.pfa
-r--r--r--   1 root       sys          78261 Apr 17 16:02 Math5Mono.pfa
-r--r--r--   1 root       sys          63904 Apr 17 16:02
Swiss721BT-Bold.pfa
-r--r--r--   1 root       sys          65688 Apr 17 16:02
Swiss721BT-BoldItalic.pfa
-r--r--r--   1 root       sys          64730 Apr 17 16:02
Swiss721BT-Italic.pfa
-r--r--r--   1 root       sys          64172 Apr 17 16:02
Swiss721BT-Roman.pfa
-rwxr-xr-x   1 root       sys           2491 Apr 17 16:04 fonts.dir
-rwxr-xr-x   1 root       sys            696 Apr 14 14:56 fonts.dir~
-rwxr-xr-x   1 root       sys           2492 Apr 17 16:04 fonts.scale
-rwxr-xr-x   1 root       sys            697 Apr 14 14:56 fonts.scale~



a few files must created by you:
/opt/fonts/type1.st/products/mathematica
 (it's a copy of  fonts.dir from Mathematica 3.0)

Then you must register your fonts (stlicense is in /sbin/root ):
stlicense -fp /opt/fonts/type1.st -pr mathematica +STSYSTEM:DISPLAYS

(This will create the licence dir and stuff)


Now you must add the /opt/fonts/type1.st into the the
fontserverconfiguration file :/etc/X11/fs/config

To start the fontserver:
edit /etc/rc.config.d/xfs :
RUN_X_FONT_SERVER=1

then execute

/sbin/init.d/xfs start

Now you must restart the X server on your HP (Shift-CTRL-Reset).



The HP X-server  automaticly use the fontserver as default after
the restart.

You can check this with xset -q the first entary in the fontpath shoud
now a tcp entry.

To use the fontserver on your PC you must add (at the pc)
xset +fp tcp/hostnameoftheHP:7000

(7000 is correct! Its a HP R6 fontserver all other Ppattforms does use
7100 on X11R6)


I hope this solves your Problems.
For me it works fine.

-- 

Horst

 --------------------------------------------------
| Horst Meissner                                   |
| Sudetenstr. 5                                    |
| 75057 Kuernbach                                  |
| Tel.(privat):(07258) 6566                        |
| Tel.(uni):(0721) 608-3588                        |
| Email:Horst.Meissner at tkm.physik.uni-karlsruhe.de |
| http://www-tkm.physik.uni-karlsruhe.de/~horst/   |
 --------------------------------------------------


  • Prev by Date: Re: Re: GUI for Mma
  • Next by Date: Plot of x=4
  • Previous by thread: Comparison of Mathematica on Various Computers
  • Next by thread: Re: Font-Installation ? ON HP-UX 10.20