This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fonts and symbolic links


Igor Pechtchanski wrote:

Shouldn't this be "fonts.dir" (note the "s")?



Sorry, Its a typo, all these missing "s"s and the wrong case. I did not paste my actual script Just re-typed it in the mail.
The actual code is exactly as you said.


Do you Google: <http://google.com/search?q=ttmkfdir+cygwin>? The matches show that ttmkfdir is not part of the Cygwin/X distribution, so you must've downloaded it separately. FWIW, I'm going to do some work with fonts soon, and might consider making ttmkfdir into a Cygwin package, installable via setup.exe.




There is a sourceforge project for ttmkfdir. They only have ELF binaries for download. It was easier to find it on the net than to compile. I found it packaged with cygwin/XFree86 so I assumed it was a part of cygwin/XFree86.
Any way, it is a part of many Linux distributions. It looks odd that cygwin that leaves within Windows will not take advantage of windows fonts. It should be part of the Basic-X package, this and the 2 fonts I specified in the 2nd letter. Than the post-Install script should prepare the windows fonts directory for use by X. The standard fonts that are now part of cygwin/X should only be optional in a different (none default) package. As they are not necessary. (and not as beautiful). And they triple the size of the base X package. (this is Just my $0.02)


I don't know how much help it is, but I found that a directory of symlinks (instead of a symlink to a directory) works with XWin. So, try something like

ln -s /cygdrive/c/WINDOWS/Fonts/* /usr/X11R6/lib/X11/fonts/TTF

and see if it helps.
And, as you've already noticed, mount will also work.
Igor


I like the mount way so I'll keep it. It might be considered by cygwin1.dll teem to change symlinks to directories from windows shortcut-files to mount points. As it looks like the current way is not so transparent for UNIX applications.

Thank you very much for your reply, and grate work to all the X teem. It is totally production ready.

Free life
Boaz


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]