Re: Adding fonts

2007-08-21 Thread Mark J. Reed
It's a little more work, but it might be better to add the Windows
fonts directory to the X font path.  Then you only store the actual
fonts in one place on disk, and all the system TTF fonts are available
to X.

You'd need to create the X11 font management metafiles in the system
fonts dir, but Windows will just ignore them.  You'd also need to
update them whenever you add new fonts . . . or schedule a job to
check periodically.


On 8/21/07, S James S Stapleton <[EMAIL PROTECTED]> wrote:
> Yes. It's as easy as:
> cp /path/to/original.font /usr/X11R6/lib/X11/fonts/[fonttype]/
>
> where you replace [fonttype] with the type of font you want
>
> ex. copy all windows ttf fonts over:
> $ cp /cygdrive/c/WINDOWS/Fonts/*.[tT][tT][fF] /usr/X11R6/lib/X11/fonts/ttf/
>
>
> Caveat:
> You might run into problems, depending on if you are running in dos or unix
> line mode, I can't remember...
>
> Hope that helps,
> -Jim Stapleton
>
> - Original Message -
> From: "Jean-Claude Gervais" <[EMAIL PROTECTED]>
> To: "Cygwin-XFree" 
> Sent: Monday, August 20, 2007 4:11 PM
> Subject: Adding fonts
>
>
> > Hi,
> >
> > Is there a simple way to add fonts to Cygwin's X server?
> >
> > For example, I have a true-type font called TAHOMA.TTF that I would like
> > to make available to the X Server.
> >
> > Are all the host operating system's fonts automatically available to the
> > X server? Do I have to perform any special actions to enable them? Is
> > there a formula for doing this?
> >
> > Thanks in advance, list.
> >
> > J
> >
> >
> > --
> > 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/
> >
> >
> >
> > --
> > BEGIN-ANTISPAM-VOTING-LINKS
> > --
> >
> > Teach CanIt if this mail (ID 397534979) is spam:
> > Spam:https://antispam.osu.edu/b.php?c=s&i=397534979&m=513b38672a09
> > Not spam:https://antispam.osu.edu/b.php?c=n&i=397534979&m=513b38672a09
> > Forget vote: https://antispam.osu.edu/b.php?c=f&i=397534979&m=513b38672a09
> > --
> > END-ANTISPAM-VOTING-LINKS
> >
>
>
> --
> 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/
>
>


-- 
Mark J. Reed <[EMAIL PROTECTED]>

--
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/



Re: Adding fonts

2007-08-21 Thread S James S Stapleton

Yes. It's as easy as:
cp /path/to/original.font /usr/X11R6/lib/X11/fonts/[fonttype]/

where you replace [fonttype] with the type of font you want

ex. copy all windows ttf fonts over:
$ cp /cygdrive/c/WINDOWS/Fonts/*.[tT][tT][fF] /usr/X11R6/lib/X11/fonts/ttf/


Caveat:
You might run into problems, depending on if you are running in dos or unix 
line mode, I can't remember...


Hope that helps,
-Jim Stapleton

- Original Message - 
From: "Jean-Claude Gervais" <[EMAIL PROTECTED]>

To: "Cygwin-XFree" 
Sent: Monday, August 20, 2007 4:11 PM
Subject: Adding fonts



Hi,

Is there a simple way to add fonts to Cygwin's X server?

For example, I have a true-type font called TAHOMA.TTF that I would like
to make available to the X Server.

Are all the host operating system's fonts automatically available to the
X server? Do I have to perform any special actions to enable them? Is
there a formula for doing this?

Thanks in advance, list.

J


--
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/



--
BEGIN-ANTISPAM-VOTING-LINKS
--

Teach CanIt if this mail (ID 397534979) is spam:
Spam:https://antispam.osu.edu/b.php?c=s&i=397534979&m=513b38672a09
Not spam:https://antispam.osu.edu/b.php?c=n&i=397534979&m=513b38672a09
Forget vote: https://antispam.osu.edu/b.php?c=f&i=397534979&m=513b38672a09
--
END-ANTISPAM-VOTING-LINKS




--
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/



Adding fonts

2007-08-20 Thread Jean-Claude Gervais
Hi,

Is there a simple way to add fonts to Cygwin's X server?

For example, I have a true-type font called TAHOMA.TTF that I would like
to make available to the X Server.

Are all the host operating system's fonts automatically available to the
X server? Do I have to perform any special actions to enable them? Is
there a formula for doing this?

Thanks in advance, list.

J


--
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/



Problem with adding fonts

2005-10-20 Thread Tapio Hiljanen
Hello!

I have one HP-UX system and tried to test X-tunneling and GUI with
Cygwin. Now I met a problem with fonts. I couldn't find any suitable
answers from FAQ or User's Guide.

I have untarred HP_roman8 fonts in /usr/X11R6/lib/X11/fonts/hp_roman8
folder and updated them

$ /usr/X11R6/bin/font-update
/usr/X11R6/lib/X11/fonts/100dpi is up-todate. skipping
/usr/X11R6/lib/X11/fonts/75dpi is up-todate. skipping
/usr/X11R6/lib/X11/fonts/misc is up-todate. skipping
/usr/X11R6/lib/X11/fonts/CID is up-todate. skipping
/usr/X11R6/lib/X11/fonts/TTF is up-todate. skipping
/usr/X11R6/lib/X11/fonts/Type1 is up-todate. skipping
/usr/X11R6/lib/X11/fonts/cyrillic is up-todate. skipping
/usr/X11R6/lib/X11/fonts/local is not a directory. skipping
/usr/X11R6/lib/X11/fonts/hp_roman8 is up-todate. skipping


When I start X I don't have those hp_roman8 fonts:
- clip -
$ startx

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.2.0-4

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

X :0 -multiwindow -clipboard

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more
information
(==) FontPath set to
"/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6
/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/f
onts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"

- end clip 

I tried also drive that setup again and reinstalled those fonts witch
were available (HP_roman8 is not), with no success. Question is that,
how can I really update fontserver? Or restart X so that it really sets
those fonts. Or is there some file witch consist that FontPath?

Best Regards

**
Tapio Hiljanen
mailto:[EMAIL PROTECTED]
**


--
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/



Adding Fonts?

2003-09-02 Thread Richardson, Anthony

I couldn't find info in the FAQ or User's Guide on adding fonts.
Did I overlook it somewhere?

I want to make my Windows fonts available under X.  I copied all
of the ttf files to /usr/X11R6/lib/X11/fonts/Truetype and created
fonts.scale and fonts.dir files using "ttmkfdir > fonts.scale" and
mkfontdir.  Then I ran fc-cache.

Is there something else I need to do?  When I run 'xset -q' I don't
see the new font path listed.

Thanks
Tony Richardson


Re: X server hangs when adding fonts server

2002-01-16 Thread Tzafrir Cohen

On Wed, 16 Jan 2002, Christopher Faylor wrote:

> This must be a new record.
>
> This is the WRONG MAILING LIST.

Sorry

>
> I've redirected your request to the proper mailing list.

Thanks


-- 
Tzafrir Cohen/"\
mailto:[EMAIL PROTECTED]\ /  ASCII Ribbon Campaign
Taub 229, 972-4-829-3942, X   Against  HTML  Mail
http://www.technion.ac.il/~tzafrir   / \




Re: X server hangs when adding fonts server

2002-01-16 Thread Christopher Faylor

This must be a new record.

This is the WRONG MAILING LIST.

I've redirected your request to the proper mailing list.

cgf

On Wed, Jan 16, 2002 at 08:37:22PM +0200, Tzafrir Cohen wrote:
>Hi
>
>I'm using standard cygwin (1.3.6) with XFree 4.1.0 and test server 53 (I'm
>not totally sure. Anyway, its size is 3,045,888 ). The system is NT 4,
>service-pack 6.
>
>The X server hangs (100% CPU) whenever I try to add a different fonts
>server to the font path (adding an additional dir works fine).
>
>I tried several different servers, and they seem to give the same result.
>
>Any idea what it is? Any additional information is required?
>
>FWIW, here is a part of the loop the X server is in (when run under
>strace):
>
> 6060 107726020 [main] X 47 cygwin_select: 6, 0x22F954, 0x0, 0x0, 0x22F94C
> 9424 107735444 [main] X 47 dtable::select_read: /dev/streamsocket fd 5
> 5331 107740775 [main] X 47 cygwin_select: to->tv_sec 0, to->tv_usec 0, ms 0
> 5424 107746199 [main] X 47 cygwin_select: sel.always_ready 0
> 4999 107751198 [main] X 47 select_stuff::cleanup: calling cleanup routines
> 5400 107756598 [main] X 47 socket_cleanup: si 0x0 si->thread 0x0
> 4976 107761574 [main] X 47 socket_cleanup: returning
> 5322 107766896 [main] X 47 peek_socket: considering handle 0x150
> 4945 107771841 [main] X 47 peek_socket: adding read fd_set /dev/streamsocket, fd 5
> 5489 10330 [main] X 47 peek_socket: WINSOCK_SELECT returned 0
>10200 107787530 [main] X 47 select_stuff::poll: returning 0
> 5615 107793145 [main] X 47 select_stuff::cleanup: calling cleanup routines
> 4897 107798042 [main] X 47 select_stuff::~select_stuff: deleting select records
>
> 5749 107803791 [main] X 47 cygwin_select: 7, 0x22F954, 0x0, 0x0, 0x22F94C
>10324 107814115 [main] X 47 dtable::select_read: /dev/streamsocket fd 6
> 4965 107819080 [main] X 47 cygwin_select: to->tv_sec 0, to->tv_usec 0, ms 0
> 5345 107824425 [main] X 47 cygwin_select: sel.always_ready 0
> 5079 107829504 [main] X 47 select_stuff::cleanup: calling cleanup routines
> 5517 107835021 [main] X 47 socket_cleanup: si 0x0 si->thread 0x0
> 5411 107840432 [main] X 47 socket_cleanup: returning
> 4909 107845341 [main] X 47 peek_socket: considering handle 0x70
> 5561 107850902 [main] X 47 peek_socket: adding read fd_set /dev/streamsocket, fd 6
> 5052 107855954 [main] X 47 peek_socket: WINSOCK_SELECT returned 1
>10418 107866372 [main] X 47 set_bits: me 0xA18F3E0, testing fd 6 (/dev/streamsocket)
> 5475 107871847 [main] X 47 set_bits: ready 1
> 4823 107876670 [main] X 47 select_stuff::poll: returning 1
>10875 107887545 [main] X 47 select_stuff::cleanup: calling cleanup routines
> 5049 107892594 [main] X 47 select_stuff::~select_stuff: deleting select records
>
> 5581 107898175 [main] X 47 cygwin_select: 8, 0x22F954, 0x0, 0x0, 0x22F94C
>10419 107908594 [main] X 47 dtable::select_read: /dev/streamsocket fd 7
> 4903 107913497 [main] X 47 cygwin_select: to->tv_sec 0, to->tv_usec 0, ms 0
> 5424 107918921 [main] X 47 cygwin_select: sel.always_ready 0
> 5082 107924003 [main] X 47 select_stuff::cleanup: calling cleanup routines
> 5483 107929486 [main] X 47 socket_cleanup: si 0x0 si->thread 0x0
> 5381 107934867 [main] X 47 socket_cleanup: returning
> 5058 107939925 [main] X 47 peek_socket: considering handle 0x1AC
> 5407 107945332 [main] X 47 peek_socket: adding read fd_set /dev/streamsocket, fd 7
> 5222 107950554 [main] X 47 peek_socket: WINSOCK_SELECT returned 1
>10270 107960824 [main] X 47 set_bits: me 0xA18F3E0, testing fd 7 (/dev/streamsocket)
> 5488 107966312 [main] X 47 set_bits: ready 1
> 5001 107971313 [main] X 47 select_stuff::poll: returning 1
>10770 107982083 [main] X 47 select_stuff::cleanup: calling cleanup routines
> 4977 107987060 [main] X 47 select_stuff::~select_stuff: deleting select records
>
> 5765 107992825 [main] X 47 cygwin_select: 255, 0x70503C, 0x0, 0x0, 0x22F9CC
>10313 108003138 [main] X 47 dtable::select_read: /dev/tcp fd 0
> 4954 108008092 [main] X 47 dtable::select_read: /dev/streamsocket fd 1
> 6060 107726020 [main] X 47 cygwin_select: 6, 0x22F954, 0x0, 0x0, 0x22F94C
> 9424 107735444 [main] X 47 dtable::select_read: /dev/streamsocket fd 5
> 5331 107740775 [main] X 47 cygwin_select: to->tv_sec 0, to->tv_usec 0, ms 0
> 5424 107746199 [main] X 47 cygwin_select: sel.always_ready 0
> 4999 107751198 [main] X 47 select_stuff::cleanup: calling cleanup routines
> 5400 107756598 [main] X 47 socket_cleanup: si 0x0 si->thread 0x0
> 4976 107761574 [main] X 47 socket_cleanup: returning
> 5322 107766896 [main] X 47 peek_socket: considering handle 0x150
> 4945 107771841 [main] X 47 peek_socket: adding read fd_set /dev/streamsocket, fd 5
> 5489 10330 [main] X 47 peek_socket: WINSOCK_SELECT returned 0
>10200 107787530 [main] X 47 select_stuff::poll: returning 0
> 5615 107793145 [main] X 47 select_stuff::cleanup: calling cleanup routines
> 4897 107798042 [main] X 47 select_stuff::~select_stuff: deleting select records
>
> 5749 107803791 [main] X 47 cygwin_select: 7, 0x22F954, 0x0, 0x0, 0x22F94C