| Author |
Message |
JF Mezei *nix forums Guru
Joined: 21 Jul 2005
Posts: 2556
|
Posted: Tue Feb 08, 2005 10:23 pm Post subject:
Re: Fonts used by an application ?
|
|
|
"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
|
Posted: Tue Feb 08, 2005 10:03 pm Post subject:
Re: Fonts used by an application ?
|
|
|
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
|
Posted: Tue Feb 08, 2005 10:18 am Post subject:
Re: Fonts used by an application ?
|
|
|
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
|
Posted: Tue Feb 08, 2005 8:41 am Post subject:
Re: Fonts used by an application ?
|
|
|
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
|
Posted: Tue Feb 08, 2005 4:34 am Post subject:
Fonts used by an application ?
|
|
|
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 |
|
 |
|