niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Not Unix » VMS
fonts used by java applets
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
Author Message
martinkirby12@yahoo.co.uk
*nix forums beginner


Joined: 07 Feb 2005
Posts: 20

PostPosted: Fri Feb 11, 2005 3:28 pm    Post subject: Re: fonts used by java applets Reply with quote

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

PostPosted: Fri Feb 11, 2005 3:22 pm    Post subject: Re: fonts used by java applets Reply with quote

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

PostPosted: Fri Feb 11, 2005 1:19 am    Post subject: fonts used by java applets Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
The time now is Thu Jan 08, 2009 4:39 am | All times are GMT
navigation Forum index » Not Unix » VMS
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts GIDS 2009 Java:: Save Big, Win Big, Learn Big: Act Before... Shaguf Apache 0 Tue Dec 23, 2008 7:41 am
No new posts question for JAVA developer who r using postgres sql as b... deepak pal PostgreSQL 1 Fri Jul 21, 2006 9:00 am
No new posts Is there C/C++ corresponding function in Linux for Java's... xiebopublic@gmail.com apps 4 Fri Jul 21, 2006 3:22 am
No new posts Is there C/C++ corresponding function in Linux for Java's... xiebopublic@gmail.com C++ 1 Fri Jul 21, 2006 2:44 am
No new posts Using python code from Java? fortepianissimo python 4 Thu Jul 20, 2006 5:36 pm

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
[ Time: 0.1136s ][ Queries: 20 (0.0374s) ][ GZIP on - Debug on ]