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 an application ?
Post new topic   Reply to topic Page 1 of 1 [5 Posts] View previous topic :: View next topic
Author Message
JF Mezei
*nix forums Guru


Joined: 21 Jul 2005
Posts: 2556

PostPosted: Tue Feb 08, 2005 10:23 pm    Post subject: Re: Fonts used by an application ? Reply with quote

"Keith A. Lewis" wrote:
Quote:
$ search SYS$COMMON:[SYSLIB]tpu$motifshr.exe ISO8859
Records matched: 1

It's surrounded by <NUL>s, but TPU must use that string to build the
font name. There would be no other reason for it to appear.

The character set name is tagged on to every XmString value. In fact, it
is tagged on to every segment of a string value in X. If you do a dump
of the file (or edit it), you'll see much more clearly the context of
the ISO8859-1 before every string constant.
Back to top
Keith A. Lewis
*nix forums Guru Wannabe


Joined: 18 May 2005
Posts: 103

PostPosted: Tue Feb 08, 2005 10:03 pm    Post subject: Re: Fonts used by an application ? Reply with quote

JF Mezei <jfmezei.spamnot@teksavvy.com> writes in article <1107860803.2a3a9b14d4653692862ed69a5e95abdb@teranews> dated Tue, 08 Feb 2005 06:18:05 -0500:
Quote:
martinkirby12@yahoo.co.uk wrote:
My guess is it uses the default font and uses the "special" charset
within that font.

To do it this way, wouldn't one have to create a font list that contains
a character-set/font combination ? If So, this data should have been
visible in the images and sections I looked into.

X font specifications tend to be very obvious in an executable image.

$ search SYS$COMMON:[SYSLIB]tpu$motifshr.exe ISO8859
Records matched: 1

It's surrounded by <NUL>s, but TPU must use that string to build the
font name. There would be no other reason for it to appear.

--Keith Lewis klewis {at} mitre.org
The above may not (yet) represent the opinions of my employer.
Back to top
JF Mezei
*nix forums Guru


Joined: 21 Jul 2005
Posts: 2556

PostPosted: Tue Feb 08, 2005 10:18 am    Post subject: Re: Fonts used by an application ? Reply with quote

martinkirby12@yahoo.co.uk wrote:
Quote:
My guess is it uses the default font and uses the "special" charset
within that font.

To do it this way, wouldn't one have to create a font list that contains
a character-set/font combination ? If So, this data should have been
visible in the images and sections I looked into.

X font specifications tend to be very obvious in an executable image.
Back to top
martinkirby12@yahoo.co.uk
*nix forums beginner


Joined: 07 Feb 2005
Posts: 20

PostPosted: Tue Feb 08, 2005 8:41 am    Post subject: Re: Fonts used by an application ? Reply with quote

JF Mezei wrote:
Quote:
I am trying to figure out exactly which font TPU uses for its
decwindows
version, in particular the font which displays control characters.

I've looked inside the tpu$motif_shr.exe image, the UID, UIL and .DAT
files and found no valid font name.

Where else could the font names be hidden ?

Since TPU clearly changes the font used in the text display to have
control characters "displayed", shouldn't some file contain the name
of
the font it uses to display those special characters ?

My guess is it uses the default font and uses the "special" charset
within that font. That charset is defined in the X protocol so should
generally be available. I had a quick look at the source listings but
couldn't find anything.

It is also possible that EVE has some means of specifying the font,
e.g. in the section file, and it is not TPU that defines it.
Back to top
JF Mezei
*nix forums Guru


Joined: 21 Jul 2005
Posts: 2556

PostPosted: Tue Feb 08, 2005 4:34 am    Post subject: Fonts used by an application ? Reply with quote

I am trying to figure out exactly which font TPU uses for its decwindows
version, in particular the font which displays control characters.

I've looked inside the tpu$motif_shr.exe image, the UID, UIL and .DAT
files and found no valid font name.

Where else could the font names be hidden ?

Since TPU clearly changes the font used in the text display to have
control characters "displayed", shouldn't some file contain the name of
the font it uses to display those special characters ?
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [5 Posts] View previous topic :: View next topic
The time now is Thu Jan 08, 2009 4:51 am | All times are GMT
navigation Forum index » Not Unix » VMS
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Application server atssep@gmail.com Server 0 Wed Jul 19, 2006 3:42 pm
No new posts Error launching CDE help from a X Application on Solaris 9 hector.parra@gmail.com Solaris 1 Wed Jul 19, 2006 2:57 pm
No new posts what step need to configure postgres for java application deepak pal PostgreSQL 2 Wed Jul 19, 2006 10:40 am
No new posts Correct use of OCI driver proxy authentication with WebSp... eugene_boulis@hotmail.com Oracle 0 Tue Jul 18, 2006 7:35 pm
No new posts DB2 Application Dev Client (Fix Pack 10) on Windows 2000 Shibu Raj IBM DB2 0 Tue Jul 18, 2006 5:59 pm

Remortgages | MySpace Layouts | Webhosting catalogue | Mortgage | Car Loan
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.1591s ][ Queries: 20 (0.0775s) ][ GZIP on - Debug on ]