Re: x11-common conflicts with xfs-xtt (<= 1.4.1.xf430-6)

2006-05-04 Thread Matt Zagrabelny
On Wed, 2006-05-03 at 21:17 -0400, H.S. wrote:
> Hello,
> 
> If I try to upgrade x11-common in Debian Sid, I get this message:
> x11-common conflicts with xfs-xtt (<= 1.4.1.xf430-6)
> 
> and xfs-xtt is to be removed. I was wondering, is this something that is
> going to be resolved with a newer version of xfs-xtt or must xfs-xtt be
> removed to upgrade x11-common?

perhaps try:

# aptitude dist-upgrade

it is possible that the package xfs-xtt is being provided by another
package (maybe x11-common).

-- 
Matt Zagrabelny - [EMAIL PROTECTED] - (218) 726 8844
University of Minnesota Duluth
Information Technology Systems & Services
PGP key 1024D/84E22DA2 2005-11-07
Fingerprint: 78F9 18B3 EF58 56F5 FC85  C5CA 53E7 887F 84E2 2DA2

He is not a fool who gives up what he cannot keep to gain what he cannot
lose.
-Jim Elliot


signature.asc
Description: This is a digitally signed message part


x11-common conflicts with xfs-xtt (<= 1.4.1.xf430-6)

2006-05-03 Thread H.S.
Hello,

If I try to upgrade x11-common in Debian Sid, I get this message:
x11-common conflicts with xfs-xtt (<= 1.4.1.xf430-6)

and xfs-xtt is to be removed. I was wondering, is this something that is
going to be resolved with a newer version of xfs-xtt or must xfs-xtt be
removed to upgrade x11-common?

x11-common newer version is:
Inst x11-common [1:7.0.14] (1:7.0.16 Debian:unstable)


thanks,
->HS


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: xfs-xtt

2005-07-28 Thread John Parejko
Ok, I ended up downloading the xfs-xtt package and re-installing it with 
dpkg, then removing it with apt.  dpkg complained when I reinstalled 
that the old files were bad, but it overwrote them safely.


Now my fonts are back to normal, so I guess it was xfs-xtt that was 
causing the trouble.


I'll probably go through the list of bad files in /var/lib/dpkg/info and 
re-install all of them.  I don't know how they went bad: I'm running 
ext3, and periodically check the whole filesystem, and its never 
complained...


Thanks
John

--
*
John Parejko
Department of Physics and Astronomy
Drexel University
Philadelphia, PA
**


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: xfs-xtt

2005-07-21 Thread Kevin Mark
Hi John,

On Fri, Jul 22, 2005 at 12:52:42AM -0400, John Parejko wrote:

> >
> >I would examine /var/lib/dpkg/info/xfs?.prerm (check spelling for
> >correct script) and either find the error and find a way to fix what the
> >script is bombing on OR (since I suggest removing xfs-xtt) putting 
> >'exit 0' at the top of the script to disable it. And the then remove the
> >package.
> 
> Ok, I looked at them, but they were garbled.

They should be readable human text. Are they not? If they are 'garbage'
like 'a1234as1234*&^;' then this would indicate a harddisk/filesystem
corruption or a virii, maybe.

> It turns out that 
> xfs-xtt.* are all file type "data" -- "file xfs-xtt.*" -- and not 
> readable.  64 files total in /var/lib/dpkg/info are also type data, 
> according to
> 
> file * | grep -c " data"
> 
> and these are spread cross a seemingly random range of programs.  I 
> think this is probably a bad thing, and don't know how it would have 
> happened.  All the files in this directory should be plaintext shell 
> files or just contain md5-sums, right?

This directory contains files that are either installation scripts,
checksum files, lists of installed files, and some other files. All
should be human readable. The prefixes of the filenames reflects the
installed packages on your system. It is not 'random'. Not sure what you
mean by 'bad thing'?

> 
> Ideas on how to fix this?
I had given you a suggestion in my previous post. Did you try it or do
you need further clarification as to what to do?

Happy atom splitting,
Kev
-- 
counter.li.org #238656 -- goto counter.li.org and be counted!
  `$' $' 
   $  $  _
 ,d$$$g$  ,d$$$b. $,d$$$b`$' g$b $,d$$b
,$P'  `$ ,$P' `Y$ $$'  `$ $  "'   `$ $$' `$
$$ $ $$g$ $ $ $ ,$P""  $ $$
`$g. ,$$ `$$._ _. $ _,g$P $ `$b. ,$$ $$
 `Y$$P'$. `YP $$$P"' ,$. `Y$$P'$ $.  ,$.


signature.asc
Description: Digital signature


Re: xfs-xtt

2005-07-21 Thread John Parejko
Thanks for the help!  Sorry for the delay, I've only had time to look 
into this recently.


Kevin Mark wrote:

On Mon, Jul 11, 2005 at 12:50:05PM -0400, John Parejko wrote:

Hello.  I've just recently settled on stable, from sarge-testing, and 


Hi John,
If I understand what you said:
you were running 'testing' and now you are running 'stable'? This would
be the case if you source.list refers to 'sarge'.


That is correct.


this error:

/usr/sbin/dpkg-reconfigure: xfs-xtt is broken or not fully installed

So I tried to remove it with:

$ apt-get -V -q -f remove xfs-xtt

Which produced this error:

Removing xfs-xtt ...
dpkg (subpproocess): unable to execute pre-removal script: Exec format error



I would examine /var/lib/dpkg/info/xfs?.prerm (check spelling for
correct script) and either find the error and find a way to fix what the
script is bombing on OR (since I suggest removing xfs-xtt) putting 
'exit 0' at the top of the script to disable it. And the then remove the

package.


Ok, I looked at them, but they were garbled.  It turns out that 
xfs-xtt.* are all file type "data" -- "file xfs-xtt.*" -- and not 
readable.  64 files total in /var/lib/dpkg/info are also type data, 
according to


file * | grep -c " data"

and these are spread cross a seemingly random range of programs.  I 
think this is probably a bad thing, and don't know how it would have 
happened.  All the files in this directory should be plaintext shell 
files or just contain md5-sums, right?


Ideas on how to fix this?

Thanks again
John

--
*
John Parejko
Department of Physics and Astronomy
Drexel University
Philadelphia, PA
**


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: xfs-xtt

2005-07-12 Thread Kevin Mark
On Mon, Jul 11, 2005 at 12:50:05PM -0400, John Parejko wrote:
> Hello.  I've just recently settled on stable, from sarge-testing, and 

Hi John,
If I understand what you said:
you were running 'testing' and now you are running 'stable'? This would
be the case if you source.list refers to 'sarge'.

> today my fonts got mangled: they are all much bigger than I would like, 
> and some seem to be missing.  I really don't know what happened, as they 
> were all working last night, and I didn't make any changes between then 
> and now.

not sure how to fix this.

> 
> In an attempt to correct it, I tried to reconfigure xfs-xtt, and got 

From my brain, X free v 4 include xfs-xtt and thus it is no longer
needed, IIUC!

> this error:
> 
> /usr/sbin/dpkg-reconfigure: xfs-xtt is broken or not fully installed
> 
> So I tried to remove it with:
> 
> $ apt-get -V -q -f remove xfs-xtt
> 
> Which produced this error:
> 
> Removing xfs-xtt ...
> dpkg (subpproocess): unable to execute pre-removal script: Exec format error

I would examine /var/lib/dpkg/info/xfs?.prerm (check spelling for
correct script) and either find the error and find a way to fix what the
script is bombing on OR (since I suggest removing xfs-xtt) putting 
'exit 0' at the top of the script to disable it. And the then remove the
package.

cheers,
Kev
-- 
counter.li.org #238656 -- goto counter.li.org and be counted!
  `$' $' 
   $  $  _
 ,d$$$g$  ,d$$$b. $,d$$$b`$' g$b $,d$$b
,$P'  `$ ,$P' `Y$ $$'  `$ $  "'   `$ $$' `$
$$ $ $$g$ $ $ $ ,$P""  $ $$
`$g. ,$$ `$$._ _. $ _,g$P $ `$b. ,$$ $$
 `Y$$P'$. `YP $$$P"' ,$. `Y$$P'$ $.  ,$.


signature.asc
Description: Digital signature


xfs-xtt

2005-07-11 Thread John Parejko
Hello.  I've just recently settled on stable, from sarge-testing, and 
today my fonts got mangled: they are all much bigger than I would like, 
and some seem to be missing.  I really don't know what happened, as they 
were all working last night, and I didn't make any changes between then 
and now.


In an attempt to correct it, I tried to reconfigure xfs-xtt, and got 
this error:


/usr/sbin/dpkg-reconfigure: xfs-xtt is broken or not fully installed

So I tried to remove it with:

$ apt-get -V -q -f remove xfs-xtt

Which produced this error:

Removing xfs-xtt ...
dpkg (subprocess): unable to execute pre-removal script: Exec format error
dpkg: error processing xfs-xtt (--remove):
 subprocess pre-removal script returned error exit status 2
dpkg (subprocess): unable to execute post-installation script: Exec 
format error

dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 xfs-xtt
E: Sub-process /usr/bin/dpkg returned an error code (1)

I can't find a way to get past this (nor any instructions about what to 
do at this point: I suspect this error isn't really supposed to 
happen?).  Is there a better method than using xfs-xtt?  I can't find a 
recent howto on setting up proper fonts under Debian: most are pre-woody.


Thanks for your help (Please CC: me in your reply)
John

--
*
John Parejko
Department of Physics and Astronomy
Drexel University
Philadelphia, PA
**


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: XFS-XTT won't (un)install

2001-10-08 Thread John Toon
On Monday 08 October 2001 21:56 pm, Darryl L. Pierce wrote:
> I've hit some weird nexus of realities here. I am unable to complete an
> installation of XFS-XTT. But, whenever I try to do anything else from
> dselect it tries to finish installing XFS-XTT. So, I selected to uninstall
> it since it's marked for installation, and it complains that it can't
> UNinstall it either, that it's in a weird state and that I need to try
> installing it again before uninstalling it. How do I get past this?

Have you tried "apt-get --purge remove xfs-xtt"?

John.



XFS-XTT won't (un)install

2001-10-08 Thread Darryl L. Pierce
I've hit some weird nexus of realities here. I am unable to complete an 
installation of
XFS-XTT. But, whenever I try to do anything else from dselect it tries to 
finish installing
XFS-XTT. So, I selected to uninstall it since it's marked for installation, and 
it complains
that it can't UNinstall it either, that it's in a weird state and that I need 
to try installing
it again before uninstalling it. How do I get past this?

-- 
Darryl L. Pierce <[EMAIL PROTECTED]>
The Infobahn Offramp <http://welcome.to/mcpierce>
"Yes, Dougal, but you're not like most people..."


pgp8q2j9FpmDp.pgp
Description: PGP signature


Re: xfs-xtt or xfstt --which font server for potato

2000-08-19 Thread Henrique M Holschuh
>   Whats the difference and which is better? Just looking for some clues
> before i make the changes.

xfs-xtt is better for very big, unicode fonts (hint: most far east ones).
If you like configuring fonts, it allows you to do some font transforms as
well.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh


pgpGDDMu0Jfk1.pgp
Description: PGP signature


xfs-xtt or xfstt --which font server for potato

2000-08-18 Thread mike

My recent Debian potato installed xfs-xtt as the font server. I also see
another 
very similar font server pkg named xfstt. 
Whats the difference and which is better? Just looking for some clues
before i
make the changes.

On Thu, 17 Aug 2000, Nate Bargmann wrote:
> Date: Thu, 17 Aug 2000 22:11:05 -0500
> 
> 
>
> 
> I've had good success after following the TT-Debian mini-HOWTO which
> demonstrates installing xfstt and a number of True-Type fonts.  NS
> will use them and I found it to make a tremendous difference.  Also,
> I've found that the latest builds of Mozilla use TT fonts even better
> than NS, so it really is a good solution.  There is another True Type
> font server that Potato wants to install that depends on the FreeType
> library.  My results weren't satisfactory so I went back to xfstt.
> 

> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] <
> /dev/null



RE: xfs+xfstt or xfs-xtt

2000-08-14 Thread Konstantinos E Maras
I ve done this change a few weeks ago.
Both worked fine for me.
I believe that (xfs + xfstt) use less memory than xfs-xtt,
right now on my system RSS of xfs-xtt is ~3.5K
but this seems to depend on configuration 
and usage (how many TTF requests from your apps)
Main advantages for me:
- I can use font aliases now for the TTFs
 (i need that to properly display greek sites in Netscape)
- A little better rendering
 (maybe just my imagination, dont count on this)
Difficulties:
Not many,
although documentation of xfs-xtt seems a little scary at first glance.
I just wrote a "fonts.dir" by hand with entries like:

arial.ttf -ttf-arial-medium-r-normal--0-0-0-0-p-0-iso8859-1

I made also a relevant "fonts.alias"
put them together with all TTFs in a directory
Then add the directory name in xfs catalogue
(/etc/X11/xfs/config)
and restart xfs.
I still dont fully understand the dpi-relevant options of the story
currently i have to add a -dpi 100 in my startx command
to see TTFs a little bigger on my screen.

mit freundlichen Grussen :))
from Athens-Greece

On 13-Aug-2000 Jan Ulrich Hasecke wrote:
> Hi!
> 
> I am currently running xfs + xfstt on Potato with xserver-i128. Would
> you recommend to change to xfs-xtt? Does it uses less memory? What
> advantages are there?  Are there problems changing the Font Server?
> 
> TIA
> juh
> 
> 
> -- 
> Heute ist der 3. Oktober! Basta!
> http://www.sudelbuch.de/1999/19991109.html
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] <
> /dev/null


Konstantinos E. Maras
[EMAIL PROTECTED] 
[EMAIL PROTECTED]
14-Aug-2000   09:53:52 



xfs+xfstt or xfs-xtt

2000-08-13 Thread Jan Ulrich Hasecke
Hi!

I am currently running xfs + xfstt on Potato with xserver-i128. Would
you recommend to change to xfs-xtt? Does it uses less memory? What
advantages are there?  Are there problems changing the Font Server?

TIA
juh


-- 
Heute ist der 3. Oktober! Basta!
http://www.sudelbuch.de/1999/19991109.html



Re: xfs-xtt - cannot establish any listening sockets

2000-07-25 Thread [EMAIL PROTECTED]
i'd suggest trying xfstt

honestly i dont know the difference between them other then being
different packages but i have many copies of xfstt running on multiple
machines with 0 problems.

nate

On Sun, 23 Jul 2000, Brendon B wrote:

brendo >I'm trying to setup xfs-xtt, and when starting the process as user 
nobody
brendo >"xfs-xtt -user nobody" I can a fatal error to the effect it can't 
establish
brendo >any listening sockets. When I just run it as root without the -user 
param.
brendo >it loads fine.
brendo >
brendo >So the question How can it run as nobody and not get the error? (get
brendo >access to listening sockets)
brendo >
brendo >Tks
brendo >Brendon
brendo >
brendo >
brendo >-- 
brendo >Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
brendo >

:::
http://www.aphroland.org/
http://www.linuxpowered.net/
[EMAIL PROTECTED]
1:10am up 7 days, 8:38, 2 users, load average: 0.00, 0.00, 0.00



xfs-xtt - cannot establish any listening sockets

2000-07-23 Thread Brendon B
I'm trying to setup xfs-xtt, and when starting the process as user nobody
"xfs-xtt -user nobody" I can a fatal error to the effect it can't establish
any listening sockets. When I just run it as root without the -user param.
it loads fine.

So the question How can it run as nobody and not get the error? (get
access to listening sockets)

Tks
Brendon



100dpi fonts in xfs-xtt?

2000-06-04 Thread joshua marston
i can't seem to get xfs-xtt to use 100dpi true-type fonts. in the config
file, i changed the default resolution from 75,75,100,100 to
100,100,75,75 and i tried just doing 100,100 too, but neither made any
difference.

can anyone help me?

josh


Re: xfstt package and fonts; xfstt and xfs-xtt

2000-06-01 Thread Viktor Rosenfeld
Antonio Rodriguez wrote:

> I have been looking at the info xfstt, and i really didn't understand whats
> that with xset fp+ unix/:7101
> Can you explain what this means, and what exactly I have to do?

Okay, this is of the top of my head, because I don't have Linux at
work.  The X server can get his fonts from a directory or over a network
connection.  So the "fp+" tells the X-Server to look for fonts in an
additional location and the "unix/:7101" tells him where to look.

I think you have to issue that command as root, after starting X.  So to
try out xfstt, do the following in a xterm:

xfstt & <-- start xfstt in the background
<-- wait a couple of seconds
xset fp+ unix/:7101 <-- add the new fontpath

After that you should have true type fonts until you end your current X
session.

If you like xfstt, you can automate that job, by installing an init
script that starts xfstt at boot time (which Debian does for you if you
install xfstt from dselect or apt-get) and adding the "unix/:7101" to
your fontpath in the global XF86Config file (which you have to do
yourself).  Man XF86Config should help you with the latter.

Hope that helps,
Viktor
-- 
Viktor Rosenfeld
E-Mail: mailto:[EMAIL PROTECTED]
or: mailto:[EMAIL PROTECTED]
HertzSCHLAG:http://www.informatik.hu-berlin.de/~rosenfel/hs/



Re: xfstt package and fonts; xfstt and xfs-xtt

2000-05-30 Thread kmself
On Tue, May 30, 2000 at 08:31:54PM +, Antonio Rodriguez wrote:
> It is said there that you must get the fonts separately for xfstt to
> work. 

Yes.

> Can you use the fonts from windows? 

Yes.

> If so, how do you do it? 

Copy your MS Windows fonts to some location, you can copy them
directly or archive them first (winzip, tar, or other multiplatform
utility).  Copy or unarchive them into a folder.  Default is, IIRC,
/usr/share/fonts/truetype.

Note that the MS EULA for fonts specifically allows their use on
different machines.  Some of the fonts, however, don't render for me.

> Or otherwise, how do you get the fonts?

There are various sources of TT fonts, including websites, CDs available
at office supply stores, peddlers on street corners, large men in dark
alleys  Just copy the *.ttf files to the appropriate directory.

You'll then need to tell the font server you've got fonts.  RTFM.

> Which is better, xfstt or xfs-xtt, since they seem to conflict with one
> another?

Whichever works for you.  I'm running xfstt.  There is TT support built
directly in to XFree86 v4, you won't need a third-party font server for
this.

-- 
Karsten M. Self  http://www.netcom.com/~kmself
  Evangelist, Opensales, Inc.   http://www.opensales.org
   What part of "Gestalt" don't you understand?  Debian GNU/Linux rocks!
 http://gestalt-system.sourceforge.net/  K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595  DC61 3847 889F 55F2 B9B0


pgpJJjwSYnjbT.pgp
Description: PGP signature


Re: xfstt package and fonts; xfstt and xfs-xtt

2000-05-30 Thread Joseph de los Santos
Hello, there is a mini-howto for installing ttf for debian and you can find 
all the information you need to know there. the link is

http://www.linuxdoc.org/HOWTO/mini/TT-Debian.html#toc6

Good Luck.



xfstt package and fonts; xfstt and xfs-xtt

2000-05-30 Thread Antonio Rodriguez
It is said there that you must get the fonts separately for xfstt to
work. Can you use the fonts from windows? If so, how do you do it? Or
otherwise, how do you get the fonts?
Which is better, xfstt or xfs-xtt, since they seem to conflict with one
another?



xfs-xtt killed when application use Truetype font

2000-05-13 Thread 50191914
When I run some application which will use the truetype fonts..
THe applcation hang and if I kill the applcation.
The X will exit abnormally and then I find that the xfs-xtt is then
killed.
any solution?




multiple Xfs-xtt copies running

2000-05-11 Thread Bryan Scaringe
I have Xfs-xtt installed.   It starts at bootup, but also seems to startup a
second copy when I start X.  Anyone else having this problem?  Any Idea what's
causing the second copy to start?

Bryan



Re: xfs-xtt configuration

2000-03-02 Thread Ethan Benson

On Wed, Mar 01, 2000 at 08:59:09AM -0500, Arcady Genkin wrote:
> Ethan Benson <[EMAIL PROTECTED]> writes:
> 
> > there is mkttfdir in fttools package.  
> Thanks!
> 
> My new question... After I successfully generated the fonts.dir file,
> and added
>FontPath"unix/:7101"

as others have said change 7101 to 7100 and everything will be
everything again.

>FontPath "/usr/X11R6/lib/X11/fonts/TrueType/"

delete this, X don't speak truetype. (not till 4 anyway)

> to XF86Config, X no longer starts, and I'm seeing error messages that
> X cannot set default font path. 

see above

> Did I have to do some magic in /etc/X11/xfs/config? Here's what mine
> looks like.
> 
> ,[ config ]
> | # /etc/X11/xfs/config
> | #
> | # X font server configuration file
> | 
> | # allow a maximum of 10 clients to connect to this font server
> | client-limit = 10
> | # when a font server reaches its limit, start up a new one
> | clone-self = on
> | # log errors using syslog
> | use-syslog = on
> | # turn off TCP port listening (Unix domain connections are still permitted)
> | no-listen = tcp
^^^
to everyone who sugested using tcp/inet instead of unix/: this line
will prevent that from working, this is for security purposes.

> | # paths to search for fonts
> | catalogue = 
> /usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/cyrillic/,/usr/lib/X11/fonts/Speedo/,/usr/lib/X11/fonts/Type1/,/usr/lib/X11/fonts/100dpi/:unscaled,/usr/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/TrueType/

this one line nonsense is gross, hard to read, and hard to edit i
changed it to this and it worked fine:

# paths to search for fonts

catalogue = /usr/local/share/fonts/truetype/,
/usr/share/fonts/truetype/,
/usr/X11R6/lib/X11/fonts/TrueType/,
/usr/X11R6/lib/X11/fonts/misc:unscaled,
/usr/X11R6/lib/X11/fonts/cyrillic:unscaled,
/usr/X11R6/lib/X11/fonts/100dpi:unscaled,
/usr/X11R6/lib/X11/fonts/75dpi:unscaled,
/usr/X11R6/lib/X11/fonts/Speedo,
/usr/X11R6/lib/X11/fonts/Type1,
/usr/X11R6/lib/X11/fonts/misc,
/usr/X11R6/lib/X11/fonts/cyrillic,
/usr/X11R6/lib/X11/fonts/100dpi,
/usr/X11R6/lib/X11/fonts/75dpi

much better no?

> | # in decipoints
> | default-point-size = 120
> | # x1,y1,x2,y2,...
> | default-resolutions = 75,75,100,100
> | deferglyphs = all
> | 
> | # font cache control, specified in KB
> | cache-hi-mark = 2048
> | cache-low-mark = 1433
> `
> 
> Thanks for any input!

I did not change anything else in the xfs-xtt config file (yes its
used) and everything works fine it seems, just make sure to deDOSify
the filenames if you raid a BloatNT box.

-- 
Ethan Benson


Re: xfs-xtt

2000-03-02 Thread Ethan Benson
On Wed, Mar 01, 2000 at 11:37:01PM -0800, kmself@ix.netcom.com wrote:
> On Wed, Mar 01, 2000 at 04:22:06PM -0500, Arcady Genkin wrote:
> > Ethan Benson <[EMAIL PROTECTED]> writes:
> > 
> > > damn, that might be it... do you happen to know of a way to lowercase
> > > letters in bash or some other way?  i don't really want to mv THIS.TTF
> > > this.tff 215 times
> > 
> > You can use mmv utility:
> > 
> > mmv '*.TTF' #1.ttf
> 
> C'mon, where's the sport in that?
> 
> for file in *; do mv $file f( echo $file|tr '[:upper:]' '[:lower:]' ); done

can't believe i forgot about tr... /me slaps self

this was indeed the problem MS's innovative filesystem naming
convention was indeed screwing up xfs, renamed all the files (with the
above little gem) and that took care of it. 

thanks!

-- 
Ethan Benson


Re: xfs-xtt

2000-03-02 Thread kmself
On Wed, Mar 01, 2000 at 04:22:06PM -0500, Arcady Genkin wrote:
> Ethan Benson <[EMAIL PROTECTED]> writes:
> 
> > damn, that might be it... do you happen to know of a way to lowercase
> > letters in bash or some other way?  i don't really want to mv THIS.TTF
> > this.tff 215 times
> 
> You can use mmv utility:
> 
> mmv '*.TTF' #1.ttf

C'mon, where's the sport in that?

for file in *; do mv $file f( echo $file|tr '[:upper:]' '[:lower:]' ); done

-- 
Karsten M. Self (kmself@ix.netcom.com)
What part of "Gestalt" don't you understand?

Scope out Scoop:  http://scoop.kuro5hin.org/
Nothin' rusty about Kuro5hin:  http://www.kuro5hin.org/


Re: xfs-xtt configuration

2000-03-02 Thread Eric G . Miller
On Wed, Mar 01, 2000 at 11:02:53AM -0800, aphro wrote:
> while im sure inet/ works good i use tcp/  which also works.

Yes, but isn't it slower than unix sockets? Does xfs-xtt even use
/etc/X11/xfs/config? I haven't messed with it since I don't read
Japanese (and there are no English docs).  I'd guess the FontPath to the
TrueType fonts in XF86Config might cause problems (but probably
ignored). And the xfs-xtt server is running?

The real question is, how the heck to configure xfs-xtt?

-- 
++
| Eric G. Milleregm2@jps.net |
| GnuPG public key: http://www.jps.net/egm2/gpg.asc  |
++


Re: xfs-xtt configuration

2000-03-02 Thread Gregory T. Norris
You need to remove the entry for port 7101 from /etc/X11/XF86Config. 
xfs-xtt replaces both xfs and xfstt with a single font server, so it
will be running on the "standard" xfs port (7100), rather than xfstt's.
X will definitely refuse to start if told to use a font server which
isn't active...

Cheers!

On Wed, Mar 01, 2000 at 08:59:09AM -0500, Arcady Genkin wrote:
> Ethan Benson <[EMAIL PROTECTED]> writes:
> 
> > there is mkttfdir in fttools package.  
> Thanks!
> 
> My new question... After I successfully generated the fonts.dir file,
> and added
>FontPath"unix/:7101"
>FontPath "/usr/X11R6/lib/X11/fonts/TrueType/"
> 
> to XF86Config, X no longer starts, and I'm seeing error messages that
> X cannot set default font path. 


Re: xfs-xtt

2000-03-01 Thread Arcady Genkin
Ethan Benson <[EMAIL PROTECTED]> writes:

> damn, that might be it... do you happen to know of a way to lowercase
> letters in bash or some other way?  i don't really want to mv THIS.TTF
> this.tff 215 times

You can use mmv utility:

mmv '*.TTF' #1.ttf

should do the trick. Note: it will only change the extensions,
i.e. THIS.TTF will become THIS.ttf.
-- 
Arcady Genkin  
Nostalgia isn't what it used to be.


Re: xfs-xtt

2000-03-01 Thread Nathan E Norman
On Wed, Mar 01, 2000 at 06:17:24AM -0900, Ethan Benson wrote:
> On Wed, Mar 01, 2000 at 10:14:58AM -0500, Bryan Scaringe wrote:
> > Perhaps either xfs-xtt of mkttfdir expect font files to have a lowercase
> > file extention.  Remeber .MP3 is different than .mp3, and .JPG is different
> > than .jpg, so it's not hard to imagine that this could be your problem.
> 
> damn, that might be it... do you happen to know of a way to lowercase
> letters in bash or some other way?  i don't really want to mv THIS.TTF
> this.tff 215 times

for file in `/bin/ls *[A-Z]*`; do
  mv $file `echo $file | tr A-Z a-z`
done

-- 
Nathan Norman "Eschew Obfuscation"  Network Engineer
GPG Key ID 1024D/51F98BB7http://home.midco.net/~nnorman/
Key fingerprint = C5F4 A147 416C E0BF AB73  8BEF F0C8 255C 51F9 8BB7


pgpxwPTYzrFlD.pgp
Description: PGP signature


RE: xfs-xtt configuration

2000-03-01 Thread aphro
while im sure inet/ works good i use tcp/  which also works.

nate

On Wed, 1 Mar 2000, Paul Kallstrom wrote:

paul >First, you may want to change "unix/:7101" to "inet/127.0.0.1:7101", if 
you
paul >don't have the unix ports module installed, or compiled in your kernel.
paul >
paul >
paul >
paul >
paul >On 01-Mar-2000, at 13:59:09, Arcady Genkin climbed upon the nearest 
soapbox,
paul >and shouted: 
paul >> Ethan Benson <[EMAIL PROTECTED]> writes:
paul >> 
paul >>> there is mkttfdir in fttools package.  
paul >> Thanks!
paul >> 
paul >> My new question... After I successfully generated the fonts.dir file,
paul >> and added
paul >>FontPath"unix/:7101"
paul >>FontPath "/usr/X11R6/lib/X11/fonts/TrueType/"
paul >> 
paul >> to XF86Config, X no longer starts, and I'm seeing error messages that
paul >> X cannot set default font path. 
paul >> 
paul >> Did I have to do some magic in /etc/X11/xfs/config? Here's what mine
paul >> looks like.
paul >> 
paul >> ,[ config ]
paul >>| # /etc/X11/xfs/config
paul >>| #
paul >>| # X font server configuration file
paul >>| 
paul >>| # allow a maximum of 10 clients to connect to this font server
paul >>| client-limit = 10
paul >>| # when a font server reaches its limit, start up a new one
paul >>| clone-self = on
paul >>| # log errors using syslog
paul >>| use-syslog = on
paul >>| # turn off TCP port listening (Unix domain connections are still 
permitted)
paul >>| no-listen = tcp
paul >>| # paths to search for fonts
paul >>| catalogue =
paul >>| 
/usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/cyrillic/,/usr/lib/X11/fonts/Spee
paul >>| 
do/,/usr/lib/X11/fonts/Type1/,/usr/lib/X11/fonts/100dpi/:unscaled,/usr/lib/X1
paul >>| 1/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/TrueType/
paul >>| # in decipoints
paul >>| default-point-size = 120
paul >>| # x1,y1,x2,y2,...
paul >>| default-resolutions = 75,75,100,100
paul >>| deferglyphs = all
paul >>| 
paul >>| # font cache control, specified in KB
paul >>| cache-hi-mark = 2048
paul >>| cache-low-mark = 1433
paul >> `
paul >> 
paul >> Thanks for any input!
paul >> -- 
paul >> Arcady Genkin
paul >> Nostalgia isn't what it used to be.
paul >> 
paul >> 
paul >> -- 
paul >> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] <
paul >> /dev/null
paul >
paul >-- 
paul >--
paul >E-Mail: Paul Kallstrom <[EMAIL PROTECTED]>
paul >Date: 01-Mar-2000
paul >Time: 11:15:55
paul >
paul >Debian GNU/Linux (Potato) & XFMail
paul >--
paul >Random Trekism: If there are self-made purgatories, then we all have to 
live in
paul >them.
paul >-- Spock, "This Side of Paradise", stardate 3417.7
paul >
paul >---
paul >-BEGIN PGP PUBLIC KEY BLOCK-
paul >Version: 2.6.3a
paul >
paul >mQCNAziz+lIAAAEEAMFaz28Wb0tb53nl/sG7AvGQSMNvGuqhHS+0beHzjNWRFXKT
paul >iRUZ2HjT+0WUfkOGOd9N0MoDKQ/TXCPvx4cUtm7lDnX9GNIBdeP5Wpy6FS5XDJfL
paul >49kktHtWZbshC3L9E0HdvxP0NGrpGEh1JxY5PL22eWZ9VycWlp9RNX/8WadlAAUT
paul >tChQYXVsIEthbGxzdHJvbSA8cGF1bEBzb2Z0cmFjYW1lcmljYS5jb20+iQCVAwUQ
paul >OLP6Up9RNX/8WadlAQGjogP/bB0uiqGYWTkyo5/vGeG6dhwDhU2Ua2RF0Yn/pJbg
paul >TG2o9WLfNzD4xlBP+dXh9bQ2LAR0zw2ZkFu8l78uqxU4YykiDhnADYJaIOWNXutB
paul >lxTqN817w020tMQcEcChUBT40WrqscHFmStVV4kuPft744JWfUB4h5BIZCFaDZw+
paul >zgA=
paul >=er8j
paul >-END PGP PUBLIC KEY BLOCK-
paul >
paul >
paul >
paul >-- 
paul >Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
paul >

[mailto:[EMAIL PROTECTED] ]--
   Vice President Network Operations   http://www.firetrail.com/
  Firetrail Internet Services Limited  http://www.aphroland.org/
   Everett, WA 425-348-7336http://www.linuxpowered.net/
Powered By:http://comedy.aphroland.org/
Debian 2.1 Linux 2.0.36 SMPhttp://yahoo.aphroland.org/
-[mailto:[EMAIL PROTECTED] ]--
10:49am up 194 days, 23:13, 2 users, load average: 1.01, 1.03, 1.00


RE: xfs-xtt configuration

2000-03-01 Thread Paul Kallstrom
First, you may want to change "unix/:7101" to "inet/127.0.0.1:7101", if you
don't have the unix ports module installed, or compiled in your kernel.




On 01-Mar-2000, at 13:59:09, Arcady Genkin climbed upon the nearest soapbox,
and shouted: 
> Ethan Benson <[EMAIL PROTECTED]> writes:
> 
>> there is mkttfdir in fttools package.  
> Thanks!
> 
> My new question... After I successfully generated the fonts.dir file,
> and added
>FontPath"unix/:7101"
>FontPath "/usr/X11R6/lib/X11/fonts/TrueType/"
> 
> to XF86Config, X no longer starts, and I'm seeing error messages that
> X cannot set default font path. 
> 
> Did I have to do some magic in /etc/X11/xfs/config? Here's what mine
> looks like.
> 
> ,[ config ]
>| # /etc/X11/xfs/config
>| #
>| # X font server configuration file
>| 
>| # allow a maximum of 10 clients to connect to this font server
>| client-limit = 10
>| # when a font server reaches its limit, start up a new one
>| clone-self = on
>| # log errors using syslog
>| use-syslog = on
>| # turn off TCP port listening (Unix domain connections are still permitted)
>| no-listen = tcp
>| # paths to search for fonts
>| catalogue =
>| /usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/cyrillic/,/usr/lib/X11/fonts/Spee
>| do/,/usr/lib/X11/fonts/Type1/,/usr/lib/X11/fonts/100dpi/:unscaled,/usr/lib/X1
>| 1/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/TrueType/
>| # in decipoints
>| default-point-size = 120
>| # x1,y1,x2,y2,...
>| default-resolutions = 75,75,100,100
>| deferglyphs = all
>| 
>| # font cache control, specified in KB
>| cache-hi-mark = 2048
>| cache-low-mark = 1433
> `
> 
> Thanks for any input!
> -- 
> Arcady Genkin
> Nostalgia isn't what it used to be.
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] <
> /dev/null

-- 
--
E-Mail: Paul Kallstrom <[EMAIL PROTECTED]>
Date: 01-Mar-2000
Time: 11:15:55

Debian GNU/Linux (Potato) & XFMail
--
Random Trekism: If there are self-made purgatories, then we all have to live in
them.
-- Spock, "This Side of Paradise", stardate 3417.7

---
-BEGIN PGP PUBLIC KEY BLOCK-
Version: 2.6.3a

mQCNAziz+lIAAAEEAMFaz28Wb0tb53nl/sG7AvGQSMNvGuqhHS+0beHzjNWRFXKT
iRUZ2HjT+0WUfkOGOd9N0MoDKQ/TXCPvx4cUtm7lDnX9GNIBdeP5Wpy6FS5XDJfL
49kktHtWZbshC3L9E0HdvxP0NGrpGEh1JxY5PL22eWZ9VycWlp9RNX/8WadlAAUT
tChQYXVsIEthbGxzdHJvbSA8cGF1bEBzb2Z0cmFjYW1lcmljYS5jb20+iQCVAwUQ
OLP6Up9RNX/8WadlAQGjogP/bB0uiqGYWTkyo5/vGeG6dhwDhU2Ua2RF0Yn/pJbg
TG2o9WLfNzD4xlBP+dXh9bQ2LAR0zw2ZkFu8l78uqxU4YykiDhnADYJaIOWNXutB
lxTqN817w020tMQcEcChUBT40WrqscHFmStVV4kuPft744JWfUB4h5BIZCFaDZw+
zgA=
=er8j
-END PGP PUBLIC KEY BLOCK-



Re: xfs-xtt

2000-03-01 Thread Bryan Scaringe
There was a discussion about this back on Jan 23-24.  
It's covered better than anything I could write.  Check the archives.
Look for a subject to the effect of: "Batch rename files"
 
Bryan

Below is the method I would choose (from 1 of the messages in that thread):

---

A low-tech bash-only way to do this is:

for n in foo-*-bar-*.txt; do nn=${n/-bar-/-}; mv $n ${nn/foo/blah}; done

I actually use this quite often when I need to replace only one part
of the name. Plus you get to preview your changes when you replace
`mv' by `echo' in a dry run.

This was for the `easiest way' part.

Complex replacements get tedious with this technique, though. If
you're feeling really brave and are the do-it-yourself kind of person,
you won't want to resort to mmv or something else that is designed for
the job. You use sed to assemble a stream of commands that you pipe
into a shell:

ls foo-*-bar-*.txt | sed 's/\(foo\(.*\)bar-\(.*\)\)/mv \1 blah\2\3;/' | sh

or so. For increased power/obfuscation, you could pipe the output of
find into sed. This enables you to rename files in a whole directory
tree, and move them through the filesystem in interesting ways
(flattening directory hierarchies, for instance). This makes for
beautiful sed patterns, because the `/'s need to be escaped in sed:

find -type f | sed -e h -e 's/\.\///' -e 'y/\//-/' -e x -e G \
-e 's/\n/ /' -e 's/\(.*\)/mv \1;/' | sh

would transform

foo.txt
for/bar.txt
a/very/very/long/path/and/then/some.more

into

foo.txt
for-bar.txt
a-very-very-long-path-and-then-some.more

leaving some empty directories behind.
Now if you choose not to quote the sed expressions, because you could
as well escape them, you get

find -type f | sed -e h -e s/\\.\\/// -e y/\\//-/ -e x -e G \
-e s/\\n/\ / -e s/\\\(.\*\\\)/mv\ \\1\;/ | sh

I think this has a certain ring to it. Of course, my sed expressions
might be overly complicated, as complete mastery of sed is not really
simple to attain for mere mortals.

---

On 01-Mar-2000 Ethan Benson wrote:
> On Wed, Mar 01, 2000 at 10:14:58AM -0500, Bryan Scaringe wrote:
>> Perhaps either xfs-xtt of mkttfdir expect font files to have a lowercase
>> file extention.  Remeber .MP3 is different than .mp3, and .JPG is different
>> than .jpg, so it's not hard to imagine that this could be your problem.
> 
> damn, that might be it... do you happen to know of a way to lowercase
> letters in bash or some other way?  i don't really want to mv THIS.TTF
> this.tff 215 times
> 
> MS never ceases to inconvenience...
> 
>> Bryan
>> 
>> 
>> > there is mkttfdir in fttools package.  
>> > 
>> >> Another question: Once I create fonts.dir, are there any other steps
>> >> to configure the font server to use the ttf fonts?
>> > 
>> > i wnat to know this too, i installed xfs-xtt and used the above tool
>> > on a couple fonts i got from MS' gratis fonts page, and they showed up
>> > and were usable in netscape.  but these were not enough fonts so i
>> > nabbed all the fonts from NT 4 and used the same utility which
>> > generated the fonts.dir file just fine it looks like, but now none of
>> > them are available for use in X, only the original X bitmapped fonts
>> >:(
>> > 
>> > i cannot find any difference, except that this time i did not fix all
>> > the ugly MSDOS 8.3 filenames to lowercase but i don't see how that
>> > would matter. (its amazing even with a somewhat advanced filesystem
>> > like NTFS that you still end up with fscking 8.3 filenames when you
>> > archive files...) 
>> > 
>> > -- 
>> > Ethan Benson
>> > 
>> > 
>> > -- 
>> > Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] <
>> > /dev/null
>> 
> 
> -- 
> Ethan Benson


Re: xfs-xtt

2000-03-01 Thread Ethan Benson
On Wed, Mar 01, 2000 at 10:14:58AM -0500, Bryan Scaringe wrote:
> Perhaps either xfs-xtt of mkttfdir expect font files to have a lowercase
> file extention.  Remeber .MP3 is different than .mp3, and .JPG is different
> than .jpg, so it's not hard to imagine that this could be your problem.

damn, that might be it... do you happen to know of a way to lowercase
letters in bash or some other way?  i don't really want to mv THIS.TTF
this.tff 215 times

MS never ceases to inconvenience...

> Bryan
> 
> 
> > there is mkttfdir in fttools package.  
> > 
> >> Another question: Once I create fonts.dir, are there any other steps
> >> to configure the font server to use the ttf fonts?
> > 
> > i wnat to know this too, i installed xfs-xtt and used the above tool
> > on a couple fonts i got from MS' gratis fonts page, and they showed up
> > and were usable in netscape.  but these were not enough fonts so i
> > nabbed all the fonts from NT 4 and used the same utility which
> > generated the fonts.dir file just fine it looks like, but now none of
> > them are available for use in X, only the original X bitmapped fonts
> >:(
> > 
> > i cannot find any difference, except that this time i did not fix all
> > the ugly MSDOS 8.3 filenames to lowercase but i don't see how that
> > would matter. (its amazing even with a somewhat advanced filesystem
> > like NTFS that you still end up with fscking 8.3 filenames when you
> > archive files...) 
> > 
> > -- 
> > Ethan Benson
> > 
> > 
> > -- 
> > Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] <
> > /dev/null
> 

-- 
Ethan Benson


Re: xfs-xtt

2000-03-01 Thread Bryan Scaringe
Perhaps either xfs-xtt of mkttfdir expect font files to have a lowercase
file extention.  Remeber .MP3 is different than .mp3, and .JPG is different
than .jpg, so it's not hard to imagine that this could be your problem.

Bryan


> there is mkttfdir in fttools package.  
> 
>> Another question: Once I create fonts.dir, are there any other steps
>> to configure the font server to use the ttf fonts?
> 
> i wnat to know this too, i installed xfs-xtt and used the above tool
> on a couple fonts i got from MS' gratis fonts page, and they showed up
> and were usable in netscape.  but these were not enough fonts so i
> nabbed all the fonts from NT 4 and used the same utility which
> generated the fonts.dir file just fine it looks like, but now none of
> them are available for use in X, only the original X bitmapped fonts
>:(
> 
> i cannot find any difference, except that this time i did not fix all
> the ugly MSDOS 8.3 filenames to lowercase but i don't see how that
> would matter. (its amazing even with a somewhat advanced filesystem
> like NTFS that you still end up with fscking 8.3 filenames when you
> archive files...) 
> 
> -- 
> Ethan Benson
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] <
> /dev/null


Re: xfs-xtt

2000-03-01 Thread Nathan E Norman
On Wed, Mar 01, 2000 at 04:05:24AM -0500, Arcady Genkin wrote:
> Under potato, I've installed xfs-xtt.
> 
> Are there any stock means to create fonts.dir in a directory with ttf
> fonts? The documentation that comes with xfs-xtt says nothing of this.

There's supposed to be a mkttfdir in a deb package somewhere 
 
The documentation for xfs-xtt is ... well, I consider it a challenge
:)

> I tried getting mkttfdir, which is part of perlftlib-1.2.tar.gz,
> available from http://www.io.com/~kazushi/xtt/#perlftlib, but it won't
> compile... and mkttfdir.pl doesn't work, saying mkttfdir.pl doesn't
> exist. ;^(

It compiles fine if you edit one include statement.  The debian
package installs the freetype.h file in /usr/include/freetype instead
of /usr/include, so change "#include " to "#include

 
mkttfdir.pl won't work until you compile the package since mkttfdir
uses FreeType Wrapper.

However, the "not found" message is easier than that ... take a look
at the first line of the script.  I'll bet it says "/usr/local/bin/perl"
rather than "/usr/bin/perl".  Unless you've created a
"/usr/local/bin/perl" link that script isn't going to work.

I found that I had to use the "-e" option to force ISO8859-1 encoding
for many of the fonts I pulled off one of those bigass font CDs.

> Another question: Once I create fonts.dir, are there any other steps
> to configure the font server to use the ttf fonts?

You need to restart xfs-xtt.  If it's currently serving fonts via TCP
this may piss off any connected remote X servers.  It will definitely
piss off the local X server, especially if the local server is using a
domain socket.  I actally got my machine to hard boot once :(

I use login.app, so whenever I add a raft of fonts I shutdown X with
"init 2" from a console, restart xfs-xtt, and restart X with "init 3".
Obviously there are other ways to restart X :)

Hope this helps!

-- 
Nathan Norman "Eschew Obfuscation"  Network Engineer
GPG Key ID 1024D/51F98BB7http://home.midco.net/~nnorman/
Key fingerprint = C5F4 A147 416C E0BF AB73  8BEF F0C8 255C 51F9 8BB7


pgpvwgqIcHbHZ.pgp
Description: PGP signature


xfs-xtt configuration

2000-03-01 Thread Arcady Genkin
Ethan Benson <[EMAIL PROTECTED]> writes:

> there is mkttfdir in fttools package.  
Thanks!

My new question... After I successfully generated the fonts.dir file,
and added
   FontPath"unix/:7101"
   FontPath "/usr/X11R6/lib/X11/fonts/TrueType/"

to XF86Config, X no longer starts, and I'm seeing error messages that
X cannot set default font path. 

Did I have to do some magic in /etc/X11/xfs/config? Here's what mine
looks like.

,[ config ]
| # /etc/X11/xfs/config
| #
| # X font server configuration file
| 
| # allow a maximum of 10 clients to connect to this font server
| client-limit = 10
| # when a font server reaches its limit, start up a new one
| clone-self = on
| # log errors using syslog
| use-syslog = on
| # turn off TCP port listening (Unix domain connections are still permitted)
| no-listen = tcp
| # paths to search for fonts
| catalogue = 
/usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/cyrillic/,/usr/lib/X11/fonts/Speedo/,/usr/lib/X11/fonts/Type1/,/usr/lib/X11/fonts/100dpi/:unscaled,/usr/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/TrueType/
| # in decipoints
| default-point-size = 120
| # x1,y1,x2,y2,...
| default-resolutions = 75,75,100,100
| deferglyphs = all
| 
| # font cache control, specified in KB
| cache-hi-mark = 2048
| cache-low-mark = 1433
`

Thanks for any input!
-- 
Arcady Genkin
Nostalgia isn't what it used to be.


Re: xfs-xtt

2000-03-01 Thread Ethan Benson
On Wed, Mar 01, 2000 at 04:05:24AM -0500, Arcady Genkin wrote:
> Under potato, I've installed xfs-xtt.
> 
> Are there any stock means to create fonts.dir in a directory with ttf
> fonts? The documentation that comes with xfs-xtt says nothing of this.

it probably does, in japenese ;-)

> I tried getting mkttfdir, which is part of perlftlib-1.2.tar.gz,
> available from http://www.io.com/~kazushi/xtt/#perlftlib, but it won't
> compile... and mkttfdir.pl doesn't work, saying mkttfdir.pl doesn't
> exist. ;^(

there is mkttfdir in fttools package.  

> Another question: Once I create fonts.dir, are there any other steps
> to configure the font server to use the ttf fonts?

i wnat to know this too, i installed xfs-xtt and used the above tool
on a couple fonts i got from MS' gratis fonts page, and they showed up
and were usable in netscape.  but these were not enough fonts so i
nabbed all the fonts from NT 4 and used the same utility which
generated the fonts.dir file just fine it looks like, but now none of
them are available for use in X, only the original X bitmapped fonts
:(

i cannot find any difference, except that this time i did not fix all
the ugly MSDOS 8.3 filenames to lowercase but i don't see how that
would matter. (its amazing even with a somewhat advanced filesystem
like NTFS that you still end up with fscking 8.3 filenames when you
archive files...) 

-- 
Ethan Benson


xfs-xtt

2000-03-01 Thread Arcady Genkin
Under potato, I've installed xfs-xtt.

Are there any stock means to create fonts.dir in a directory with ttf
fonts? The documentation that comes with xfs-xtt says nothing of this.

I tried getting mkttfdir, which is part of perlftlib-1.2.tar.gz,
available from http://www.io.com/~kazushi/xtt/#perlftlib, but it won't
compile... and mkttfdir.pl doesn't work, saying mkttfdir.pl doesn't
exist. ;^(

Another question: Once I create fonts.dir, are there any other steps
to configure the font server to use the ttf fonts?

Thanks a lot for any input!
-- 
Arcady Genkin   
Nostalgia isn't what it used to be.


Re: xfs-xtt HELP!

2000-02-26 Thread Mark Wagnon
On 02/26/00 02:34PM, Parrish M Myers wrote:
> Has anyone got xfs-xtt to recognize and use TrueType fonts... As far as
> I can tell I have everything configured right, and it serves all fonts
> except for the ones in TrueType. (I'm checking what fonts are served by
> using the command "fslsfonts -server unix/:7100") What's up with that?
> Here is my configs:
> 

I did using the instructions in the Font Deuglification Mini HOWTO
(http://www.linuxdoc.org/HOWTO/mini/FDU.html). I had to download the
ttmkfdir thing (I think I found it on Freshmeat) and then it worked
okay. I still had problems with Netscape (which was the whole reason
for my actions) so I ended up trying xfstt (also described in said
HOWTO) which worked fine right off the bat.

HTH

-- 
 
 ) Mark Wagnon  ) [EMAIL PROTECTED]  )
(  Chula Vista, CA (  [EMAIL PROTECTED] (
 


xfs-xtt HELP!

2000-02-26 Thread Parrish M Myers
Hi all,

Has anyone got xfs-xtt to recognize and use TrueType fonts... As far as
I can tell I have everything configured right, and it serves all fonts
except for the ones in TrueType. (I'm checking what fonts are served by
using the command "fslsfonts -server unix/:7100") What's up with that?
Here is my configs:

/etc/X11/xfs/config:

# /etc/X11/xfs/config
#
# X font server configuration file

# allow a maximum of 10 clients to connect to this font server
client-limit = 10
# when a font server reaches its limit, start up a new one
clone-self = on
# log errors using syslog
use-syslog = on
# turn off TCP port listening (Unix domain connections are still
permitted)
no-listen = tcp
# paths to search for fonts
catalogue =
/usr/X11R6/lib/X11/fonts/TrueType/,
/usr/lib/X11/fonts/misc/,
/usr/lib/X11/fonts/cyrillic/,
/usr/lib/X11/fonts/Speedo/,
/usr/lib/X11/fonts/Type1/,
/usr/lib/X11/fonts/100dpi/:unscaled,
/usr/lib/X11/fonts/75dpi/:unscaled
# in decipoints
default-point-size = 120
deferglyphs = all
port = 7100
# font cache control, specified in KB
cache-hi-mark = 2048
cache-low-mark = 1433

And my fonts.dir in /usr/X11R6/lib/X11/fonts/TrueType
--
# font cache control, specified in KB
76
ARIAL.TTF -Monotype-Arial-medium-r-normal--0-0-0-0-p-0-iso8859-1
ARIALBD.TTF -Monotype-Arial-bold-r-normal--0-0-0-0-p-0-iso8859-1
ARIALBI.TTF -Monotype-Arial-bold-i-normal--0-0-0-0-p-0-iso8859-1
ARIALI.TTF -Monotype-Arial-medium-i-normal--0-0-0-0-p-0-iso8859-1
Alger.ttf -URW-Algerian-medium-r-normal--0-0-0-0-p-0-iso8859-1
Bragga.ttf -Monotype-Braggadocio-medium-r-normal--0-0-0-0-p-0-iso8859-1
Britanic.ttf -URW-Britannic Bold-bold-r-normal--0-0-0-0-p-0-iso8859-1
Brushsci.ttf -Monotype-Brush Script
MT-medium-i-normal--0-0-0-0-p-0-iso8859-1
COMIC.TTF -Microsoft-Comic Sans
MS-medium-r-normal--0-0-0-0-p-0-iso8859-1
COMICBD.TTF -Microsoft-Comic Sans
MS-bold-r-normal--0-0-0-0-p-0-iso8859-1
COUR.TTF -Monotype-Courier New-medium-r-normal--0-0-0-0-p-0-iso8859-1
COURBD.TTF -Monotype-Courier New-bold-r-normal--0-0-0-0-p-0-iso8859-1
COURBI.TTF -Monotype-Courier New-bold-i-normal--0-0-0-0-p-0-iso8859-1
COURI.TTF -Monotype-Courier New-medium-i-normal--0-0-0-0-p-0-iso8859-1
Colonna.ttf -Monotype-Colonna MT-medium-r-normal--0-0-0-0-p-0-iso8859-1
DIABLO_H.TTF -misc-Diablo-medium-r-normal--0-0-0-0-p-0-iso8859-1
DIABLO_L.TTF -misc-Diablo-medium-r-normal--0-0-0-0-p-0-iso8859-1
Desdemon.ttf -The Font Bureau 
Inc.-Desdemona-medium-r-normal--0-0-0-0-p-0-iso88
59-1
Ftltlt.ttf -Monotype-Footlight MT
Light-medium-r-normal--0-0-0-0-p-0-iso8859-1
[etc... and it goes on for 76 entries]

Can anyone help please?

--
P


=
---
Academia is a little like child   | Parrish M. Myers
rearing, it provides a chance at  | The Wacked Jester
immortality without the stretch   | [EMAIL PROTECTED]
marks  -- (unknown source)|
---
__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com


Re: Fonts too big after getting xfs-xtt to work

2000-02-07 Thread Philip Lehman
On Sun, 6 Feb 2000, Bart Szyszka <[EMAIL PROTECTED]> wrote:

>I got xfs-xtt working (thanks!), but I'm having some related problems. Now in
>some programs, the fonts are too big and I can't change them. My Kpanel's
>taskbar and menu text fontsize is too big. Changing it to some huge size or
>some small size or even a completely different font does nothing. It stays
>at what looks like a 14px Arial/Helvetica no matter what. Any ideas?

Is this limited to kde? Then you should launch kfontmanager and make
sure that the installed fonts and the fonts used by kde are in
sync. Otherwise make sure the path setting used by the font server is
sane, order does matter if you have different versions of one
font. Put the dirs with the best fonts first.

-- 
Philip Lehman <[EMAIL PROTECTED]>


Fonts too big after getting xfs-xtt to work

2000-02-07 Thread Bart Szyszka
Hello,

I got xfs-xtt working (thanks!), but I'm having some related problems. Now in
some programs, the fonts are too big and I can't change them. My Kpanel's
taskbar and menu text fontsize is too big. Changing it to some huge size or
some small size or even a completely different font does nothing. It stays
at what looks like a 14px Arial/Helvetica no matter what. Any ideas?

- Bart


Re: Getting xfs-xtt to work

2000-02-07 Thread Philip Lehman
On Sun, 6 Feb 2000, Bart Szyszka <[EMAIL PROTECTED]> wrote:

>> Try xset +fp unix/:7100 or something similar. xfs-xtt use port 7100, same as
>> xfs.
>
>I really have no idea what I'm doing so I'd appreciate it if you guys would
>be more specific. What's "similar" What should I do same as xfs? Like I said,
>I installed xfs-xtt. I don't have xfs (it asks me to remove xfs-xtt if I try to
>install xfs). Don't I need to do something like this:
>xset +fp /usr/local/share/fonts/truetype 

No, you're getting something wrong here. Your X server doesn't need to
know the path to the font files, it needs to know were to find the
font server who in turn needs info about the path to the actual files.
Thus the "path" definition for the xserver could look like
"unix/:7100", which basically means "font server on localhost, port
7100". You want to put this in the "Files" section of your
/etc/X11/XF86Config file; mine looks like this:

Section "Files"
   RgbPath"/usr/X11R6/lib/X11/rgb"
   FontPath   "unix/:7100"
EndSection

The xset stuff is only for testing purposes, since the xserver will
refuse to start if something goes wrong with the fonts.

>When I do I get this:
>xset:  bad font path element (#38), possible causes are:
>Directory does not exist or has wrong permissions
>Directory missing fonts.dir
>Incorrect font server address or syntax 

This is probably because there is no fonts.dir file. You don't have to
worry about this as far as the xserver is concerned as it won't access
the files but query the font server instead. But the font server might
need this file. xfs and xfsft do, xfstt doesn't, I don't know about
xfs-xtt. There should be some instructions that tell you what files
you need.

-- 
Philip Lehman <[EMAIL PROTECTED]>


Re: Getting xfs-xtt to work

2000-02-07 Thread Gregory T. Norris
You don't want to specify the actual path to the fonts in the xset
command, unless you want your X server to handle them directly (i.e.
not using a font server).  Instead you want to specify the port which
your font server is listening at, which is normally 7100.  The place
you need to list the full path is /etc/X11/xfs/config - you may need to
restart xfs-xtt as well.

The command "xset +fp unix/:7100" indicates to use Unix domain sockets
(faster than TCP sockets for local communications, xfs-xtt should
support both) on port 7100.  That should be all you need.

Cheers!

On Sun, Feb 06, 2000 at 06:29:21PM -0500, Bart Szyszka wrote:
> > Try xset +fp unix/:7100 or something similar. xfs-xtt use port 7100, same as
> > xfs.
> 
> I really have no idea what I'm doing so I'd appreciate it if you guys would
> be more specific. What's "similar" What should I do same as xfs? Like I said,
> I installed xfs-xtt. I don't have xfs (it asks me to remove xfs-xtt if I try 
> to
> install xfs). Don't I need to do something like this:
> xset +fp /usr/local/share/fonts/truetype   
> 
> When I do I get this:
> xset:  bad font path element (#38), possible causes are:
> Directory does not exist or has wrong permissions
> Directory missing fonts.dir
> Incorrect font server address or syntax 
> 
> - Bart


Re: Getting xfs-xtt to work

2000-02-06 Thread Chanop Silpa-Anan
Once upon a time, I heard Bart Szyszka said

> > Try xset +fp unix/:7100 or something similar. xfs-xtt use port 7100, same as
> > xfs.
> 
> I really have no idea what I'm doing so I'd appreciate it if you guys would
> be more specific. What's "similar" What should I do same as xfs? Like I said,
> I installed xfs-xtt. I don't have xfs (it asks me to remove xfs-xtt if I try 
> to

similar thing mean, tcp:/hostname:port, I'm pretty sure that there are other
options. But I use unix/:7100. 

This means that You don't have to run xfs-xtt on every machine. You can run it
on, for example, a machine name fontserver. Then you should use 

xset +fp tcp/fontserver:7100

or put 

FontPath "tcp/fontserver:7100" in /etc/X11/XF86Config

> install xfs). Don't I need to do something like this:
> xset +fp /usr/local/share/fonts/truetype   
your X won't know how to render Trurtype font :(


Chanop

-- 
,-.
| Chanop Silpa-Anan <[EMAIL PROTECTED]> |
| Australian National University  |
| Tel. +61 2 6279 8826, +61 2 6279 8837 (office hour) |
|  +61 2 6249 5240 (home +voice mail) |
|   Debian GNU/Hurd   GPG key on request  |
`-'


Re: Getting xfs-xtt to work

2000-02-06 Thread Bart Szyszka
> Try xset +fp unix/:7100 or something similar. xfs-xtt use port 7100, same as
> xfs.

I really have no idea what I'm doing so I'd appreciate it if you guys would
be more specific. What's "similar" What should I do same as xfs? Like I said,
I installed xfs-xtt. I don't have xfs (it asks me to remove xfs-xtt if I try to
install xfs). Don't I need to do something like this:
xset +fp /usr/local/share/fonts/truetype   

When I do I get this:
xset:  bad font path element (#38), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax 

- Bart


Re: Getting xfs-xtt to work

2000-02-06 Thread Chanop Silpa-Anan
Try xset +fp unix/:7100 or something similar. xfs-xtt use port 7100, same as
xfs.


Chanop

Once upon a time, I heard Bart Szyszka said

> Hello,
> 
> Someone here suggested getting xfs-xtt to add True Type font support
> to Linux. I did that and am getting trouble setting it up. Here are the
> steps I've followed so far after installing xfs-xtt and also fttools:
> mkdir /usr/local/share/fonts/truetype
> cp /mnt/c/windows/fonts/*.ttf /usr/local/share/fonts/truetype
> cd /usr/local/share/fonts/truetype
> mkfttdir
> nano /usr/X11R6/lib/X11/fs/config
>   (added a pointer to /usr/local/share/fonts/truetype)
> 
> That's where I am right now. What do I do after (or before?)? Isn't there
> some xset command I need to run? Do I need to kill the x-server stuff
> (and if I do, mind telling me how?). Please be specific. Thanks!
> 
> - Bart
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 

-- 
-BEGIN GEEK CODE BLOCK-
Version: 3.12
GE d? s+: a- C++ UL++ P+ L+++ E- W++ N++ o-- K- w---
O- M+ V-- PS PE++ Y PGP++ t+ 5++ X+ R tv+++ b++ DI+ D-
G e+++ h* r+ y+
--END GEEK CODE BLOCK--


Getting xfs-xtt to work

2000-02-06 Thread Bart Szyszka
Hello,

Someone here suggested getting xfs-xtt to add True Type font support
to Linux. I did that and am getting trouble setting it up. Here are the
steps I've followed so far after installing xfs-xtt and also fttools:
mkdir /usr/local/share/fonts/truetype
cp /mnt/c/windows/fonts/*.ttf /usr/local/share/fonts/truetype
cd /usr/local/share/fonts/truetype
mkfttdir
nano /usr/X11R6/lib/X11/fs/config
  (added a pointer to /usr/local/share/fonts/truetype)

That's where I am right now. What do I do after (or before?)? Isn't there
some xset command I need to run? Do I need to kill the x-server stuff
(and if I do, mind telling me how?). Please be specific. Thanks!

- Bart


Re: xfstt and xfs-xtt

2000-01-31 Thread Shao Zhang
Nathan E Norman [EMAIL PROTECTED] wrote:
> On Thu, 27 Jan 2000, Shao Zhang wrote:
> 
>  : Hi,
>  :Can someone please explain the difference between the two??
> 
> xfstt is a hack; it runs on a different port than xfs.
> 
> xfs-xtt is intended to replace xfs and serve up TrueType fonts as well
> as the standard X fonts.

    Then shouldn't xfs-xtt replace both xfs-tt and xfs rather than
just xfs-tt??

-- 

Shao Zhang - Running Debian 2.1  ___ _   _
Department of Communications/ __| |_  __ _ ___  |_  / |_  __ _ _ _  __ _ 
University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` |
Sydney, Australia   |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
Email: [EMAIL PROTECTED]  |___/ 
_


Re: xfstt and xfs-xtt

2000-01-28 Thread Nathan E Norman
On Thu, 27 Jan 2000, Shao Zhang wrote:

 : Hi,
 :  Can someone please explain the difference between the two??

xfstt is a hack; it runs on a different port than xfs.

xfs-xtt is intended to replace xfs and serve up TrueType fonts as well
as the standard X fonts.

xfstt is pretty easy to set up.

xfs-xtt is somewhat difficult to set up, mostly due to lack of
documentation in a language I can read (it's written in Japan).  It
works well though!

--
Nathan Norman
MidcoNet  410 South Phillips Avenue  Sioux Falls, SD
mailto:[EMAIL PROTECTED]   http://www.midco.net
finger [EMAIL PROTECTED] for PGP Key: (0xA33B86E9)



Re: xfstt and xfs-xtt

2000-01-27 Thread Chanop Silpa-Anan
Some what recently, Shao Zhang <[EMAIL PROTECTED]>
wrote about xfstt and xfs-xtt

>:) Hi,
>:) Can someone please explain the difference between the two??
>:) Thanks.
>:) 
>:) Shao.
>:) 
I have to use xfs-xtt inorfor to use tis620 encoding


Chanop
-- 
,-.
| Chanop Silpa-Anan <[EMAIL PROTECTED]> |
| Australian National University  |
| got sparetime ? |
| http://kenji.anu.edu.au/|
|   Debian GNU/Hurd   ICQ uin 11366301|
`-'


Re: xfstt and xfs-xtt

2000-01-27 Thread Henrique M Holschuh
Hi Shao!

On Thu, 27 Jan 2000, Shao Zhang wrote:
>   Can someone please explain the difference between the two??
>   Thanks.

xfs-xtt is better for dealing with CJK fonts, and can also do some
transformations (such as bold, slant...)

For western fonts, xfstt is probably enough. I personally use xfs-xtt.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh 


xfstt and xfs-xtt

2000-01-27 Thread Shao Zhang
Hi,
Can someone please explain the difference between the two??
Thanks.

Shao.

-- 

Shao Zhang - Running Debian 2.1  ___ _   _
Department of Communications/ __| |_  __ _ ___  |_  / |_  __ _ _ _  __ _ 
University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` |
Sydney, Australia   |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
Email: [EMAIL PROTECTED]  |___/ 
_


netscape and xfs-xtt and windows TTF

1999-12-13 Thread Christian Hammers
Hello List

I have a problem with xfs-xtt although I read the Font-Deuglification HOWTO
and the Debian TTF mini-HOWTO.

The following HTML code generates two lines of exactly the same font height.
It works fine with all "normal" fonts. Just the windows TrueType fonts 
all behave like this.


The quick brown fox jumps over the lazy old dog.
The quick brown fox jumps over the lazy old dog.


I tested with gtkfontsel and came to the result that it was able to give
me any size of all TTF fonts I requested. xlsfonts shows me:
...
-monotype-arial black-medium-r-normal--0-0-0-0-p-0-iso8859-1
-monotype-arial-bold-i-normal--0-0-0-0-p-0-iso8859-1
-monotype-arial-bold-r-normal--0-0-0-0-p-0-iso8859-1
-monotype-arial-medium-i-normal--0-0-0-0-p-0-iso8859-1
-monotype-arial-medium-r-normal--0-0-0-0-p-0-iso8859-1
...

My /usr/local/share/fonts/TrueType/fonts.dir looks like this:
arial.ttf -Monotype-Arial-medium-r-normal--0-0-0-0-p-0-iso8859-1
arialbd.ttf -Monotype-Arial-bold-r-normal--0-0-0-0-p-0-iso8859-1
arialbi.ttf -Monotype-Arial-bold-i-normal--0-0-0-0-p-0-iso8859-1
ariali.ttf -Monotype-Arial-medium-i-normal--0-0-0-0-p-0-iso8859-1
ariblk.ttf -Monotype-Arial Black-medium-r-normal--0-0-0-0-p-0-iso8859-1
...

And my /etc/X11/xfs/config:
catalogue = 
/usr/local/share/fonts/TrueType/,
/usr/X11R6/lib/X11/fonts/TrueType/
/usr/lib/X11/fonts/100dpi/:unscaled,
/usr/lib/X11/fonts/75dpi/:unscaled,
...

Does anybody has a clue ?

bye,

 -christian-

-- 
Linux - the choice of the GNU generation.  Join the Debian Project 
 http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel: 02404-25624
50 3C 52 26 3E 52 E7 20  D2 A1 F5 16 C4 C9 D4 D3  1024/925BCB55 1997/11/01


Re: xfstt vs. xfs-xtt

1999-11-22 Thread Dwayne C . Litzenberger
> Is there any program which lists all used ports? (Haven't this been
> asked before?)

Try lsof -i and lsof -U to see which sockets are bound.
 
-- 
"I already have all the latest software."
 -- Laura Winslow, "Family Matters"

Dwayne C. Litzenberger - [EMAIL PROTECTED]

Please always Cc to me when replying to me on the lists.

Advertising Policy: http://DLitzPower.tripod.com/spamoff.htm
GnuPG Public Key:   http://DLitzPower.tripod.com/gpgkey.asc
 Fingerprint:   0535 F7CF FF5F 8547 E5A5 695E 4456 FB6C BC39 A4B0


pgpfeX0G6HrQJ.pgp
Description: PGP signature