I found my own solution. Here's what I did:

mkdir c:\cygwin\usr\X11R6\lib\X11\fonts\TTF
cp \windows\fonts\verdana* \cygwin\usr\X11R6\lib\X11\fonts\TTF
start Cygwin bash
cd /usr/X11R6/lib/X11/fonts/TTF
mkfontscale .
mkfontdir .
exit Cygwin bash
start Cygwin bash
run xset -q and note that the font path now includes the TTF directory
run xfontsel and note that when you select regstry/microsoft that verdata appears under fmly

Date: Tue, 04 Oct 2005 14:33:38 -0700
To: cygwin-xfree@cygwin.com
From: David Pelinka <[EMAIL PROTECTED]>
Subject: How can get Windows fonts to appear in Oracle Developer with Cygwin/X?

How can I get Windows fonts to appear in an application running under Cygwin/X?

When I use Cygwin/X 1.5.18 to run the Oracle Developer 9.0.4.2 on Red Hat 3.0, I'm don't see the verdana font in the field property sheets. With Cygwin/X, I see 25 fonts beginning with "clean" and ending with "utopia". If I run ncdsoft PC-Xware, I see verdana in the list of 100 fonts beginning with "@arial unicode ms" and ending with "vtspecl_normal".

Here's what I tried:
1) Expose the Windows fonts to Cygwin on the PC. I copied the windows/font directory to the Cygwin home and ran mkfontscale, but fonts.scale ends up with only a zero in it. 2) Point Cygwin at the fonts server running on the host. I verified that xfs was running on the server on port 7100. From the PC, I ran Xwin.exe -query {host} -fp {host:7100), and also xset fp+ host:7100. Neither command worked.

Any help would be appreciated.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/

Reply via email to