Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1997
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1997

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

Search the Archive

Re: Font-Installation ?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg7281] Re: Font-Installation ?
  • From: cossalt at abb.ch (Oliver Cossalter)
  • Date: Thu, 22 May 1997 09:18:58 -0400 (EDT)
  • Organization: EUnet AG
  • Sender: owner-wri-mathgroup at wolfram.com

ASU_FS (asu_fs at mailhost.world.net) wrote:

: I have the same problems regarding the X-Station. I've tried also to add
: to the font path using xset fp+ with no success, it just wont't let me.
: If you find some information on this please let me know.
: Regards
: Ringo Wathelet.


Here is the answer from Horst Meissner which worked for me !

O. C.


"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: Combining several pure functions into a single pure function
  • Next by Date: Re: Combining several pure functions into a single pure function
  • Previous by thread: Re: Font-Installation ?
  • Next by thread: Re: Font-Installation ?