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: TrueType problem + question


On Tue, 7 Jun 2005, nitzan shaked wrote:

> (Newbie -- please pardon trivial mistakes. I did read the Cygwin/X user guide and the FAQ of course before posting)
> 
> Hello all
> 
> Running Cygwin/X release 6.8.2.0-2 to connect to an XDMCP.
> 
> Cygwin/X compains "could not init font path element /usr/X11R6/lib/X11/fonts/TTF/". The directory exists, has good permissions, I ran mkfontscale there (which created fonts.scale), but still. Can anyone offer other things to check?

run font-update. mkfontscale is not enough. you also need mkfontdir after it. 
font-update will do this in the right order and also update the freetype font
cache.

> After that works...: how exactly do I use TrueType fonts? Do they have font names such as the traditional "-adobe-courier-..."? I saw syntaxes like "shadow=1:xft:size=10" etc, but cannot find references to those.

some programs use the server side fonts like this.
-microsoft-tahoma-bold-r-normal--0-0-0-0-p-0-iso8859-1

You can set the font size to any desired value (like 24)
-microsoft-tahoma-bold-r-normal--24-0-0-0-p-0-iso8859-1

Other programs (like xterm, gvim and other gtk2 based programs) 
use client side fonts which are named with the true font name. 


In xterm:
xterm -fn -microsoft-tahoma-bold-r-normal--24-0-0-0-p-0-iso8859-1
xterm -fa "Tahoma 24" -fs 24
                 ^^^ This disables wide paddings. 
@Thomas: Do you know what is causing this?

bye
	ago
-- 
 Alexander.Gottwald@s1999.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723


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