|
|
|
|
|
|
| Author |
Message |
martinkirby12@yahoo.co.uk *nix forums beginner
Joined: 07 Feb 2005
Posts: 20
|
Posted: Fri Feb 11, 2005 3:28 pm Post subject:
Re: fonts used by java applets
|
|
|
| Quote: | Is there some way I can "import" M$ fonts to make this applet
readable
on my VMS box?
|
I don't know about the Java side of things but from the DECwindows
server aspects it should be possible. If the font is a TrueType font
then, since you are on V7.3-2, yes it can be imported (sort of).
Others have had success doing this, but when I tried it I failed, so
these steps may need some experimentation.
1. You need to get hold of the font and check you can legally use it
2. You probably need to copy it as a binary file [I think this may be
where I went wrong] and create a streamlf file, you want to create it
in:
"DECW$SYSCOMMON:[SYSFONT.DECW.USER_TRUETYPE]"
3. You need to create a
DECW$FONT_DIRECTORY_USER_TRUETYPE.DAT (or it may be without the
_USER_TRUETYPE, I'm not sure)
in that directory that lists the font. Use the example in the
TRUETYPE directory. I think the format is:
count of fonts on 1 line
each font on a line
font file font specification
4. Use xset to tell the server to reload the font path
You should be all set, and it should be available always in future so
no need to repeat.
---------
The "sort of" is because in V7.3-2 there are two known issues with
using TrueType fonts.
Some queries on TrueType fonts can crash the server. I have seen this
with xlsfonts and the -ll qualifier where -l or -lll worked okay.
There was a small memory leak in the server when changing the font
path, if TrueType fonts had been loaded.
Martin Kirby |
|
| Back to top |
|
 |
Keith A. Lewis *nix forums Guru Wannabe
Joined: 18 May 2005
Posts: 103
|
Posted: Fri Feb 11, 2005 3:22 pm Post subject:
Re: fonts used by java applets
|
|
|
kuhrt@nospammy.encompasserve.org (Marty Kuhrt) writes in article <uLUnMxEjwwha@eisner.encompasserve.org> dated 10 Feb 2005 20:19:23 -0600:
| Quote: | In this case I'm launching an applet from CSWB 1.4 on VMS 7.3-2 and
Motif 1.3-1 and it looks horrible. The text is overlapping, the
button text exceeds the button size, etc. The same applet looks fine
if done from a M$ box, but what good is that in the long run?
Is there some way I can "import" M$ fonts to make this applet readable
on my VMS box?
P.S. It's not my applet, and the tech support for those that wrote it
say use a M$ platform and all will be well. HA! Not in my world!
|
How does it look if you use appletviewer (comes with JDK for VMS)? That's
what I use when I need to run an applet on VMS.
--Keith Lewis klewis {at} mitre.org
The above may not (yet) represent the opinions of my employer. |
|
| Back to top |
|
 |
Marty Kuhrt *nix forums addict
Joined: 11 Aug 2005
Posts: 52
|
Posted: Fri Feb 11, 2005 1:19 am Post subject:
fonts used by java applets
|
|
|
I have a question regarding fonts used by applets launched by web
browsers.
In this case I'm launching an applet from CSWB 1.4 on VMS 7.3-2 and
Motif 1.3-1 and it looks horrible. The text is overlapping, the
button text exceeds the button size, etc. The same applet looks fine
if done from a M$ box, but what good is that in the long run?
Is there some way I can "import" M$ fonts to make this applet readable
on my VMS box?
P.S. It's not my applet, and the tech support for those that wrote it
say use a M$ platform and all will be well. HA! Not in my world! |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Thu Jan 08, 2009 4:39 am | All times are GMT
|
|
Refinance | Mortgage | Remortgages | Online Name | Loans
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|