From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 52268 invoked by alias); 25 Feb 2017 14:40:33 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 52241 invoked by uid 89); 25 Feb 2017 14:40:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=ham version=3.3.2 spammy=stole, Hx-languages-length:1435, texts, solving X-HELO: mail-it0-f51.google.com Received: from mail-it0-f51.google.com (HELO mail-it0-f51.google.com) (209.85.214.51) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 25 Feb 2017 14:40:31 +0000 Received: by mail-it0-f51.google.com with SMTP id 203so43402496ith.0 for ; Sat, 25 Feb 2017 06:40:31 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=0XmqGtcpvkQZ+rdxpUfRyR37UnK2twaWSi4tj+X7gRw=; b=M6Qkwfm24x6jJqVh1Dep0jDN34Mp6kjWJz6eW8wNhYd1j8Y7HBPG4Mb1kMj4w3tccm DMtTxSm8Jd5ZtXDmH8MNUkaafLcEHXUTyDDq5H8mhuItHEBMBXoLmoqbfmQBOd0m2vPp 2jHOjCDQBuS8rWd9BfnMWjjdPIavu60JyMapUej0M042T4pCFU0ErxZ/O3RWBbzEs/hb wOt9Uga3crizGZaIQ5wi6uxKgobhgl2vCKBrRO8qib6gKClMExwCIs2rxBx/qAinGBZW AWCyTc4+gQA7sDYqOZsWHGsYac6wPK7yeTzslB5IC0dd6Hmk9eihHUAEHvNrN0TvmFrK Br2Q== X-Gm-Message-State: AMke39lI/qigJKP6muMdksIUmWIDscMgnCOlzIEkUvG88LYfhZ4Cn6Tz8UTjwIFkJRR5gOEHW4BGirq6AW/VNA== X-Received: by 10.36.192.214 with SMTP id u205mr7515337itf.8.1488033629638; Sat, 25 Feb 2017 06:40:29 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.225.114 with HTTP; Sat, 25 Feb 2017 06:40:29 -0800 (PST) From: Rodrigo Medina Date: Sat, 25 Feb 2017 14:40:00 -0000 Message-ID: Subject: XFIG uses wrong fonts. Solved To: cygwin@cygwin.com Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2017-02/txt/msg00316.txt.bz2 Hi, I am currently installing a new 64bits distribution of cygwin and an UBUNTU 16.04 in another machine. In both cases xfig does not find the ghostscript fonts and all the texts in the drawings appear with the same default font, making the application practically useless. The reason is the same: the X server is not aware of the ghostscript fonts, as it can be checked with xfontsel, in spite of the fact that the ghostscript package was installed. I looked into a frozen 32 bit cygwin distribution running in WXP. In /etc/X11/fontpath.d/ a symlink pointing to the directory that contains the gs-fonts is missing: xorg-x11-fonts-urw -> /usr/share/ghostscript/fonts Setting the symlink solved the problem. I think that this bug could be related to the ghostscript fonts being installed before the X server. Solving the problem with ubuntu was not so easy because of the way that ubuntu uses for handling the fonts. What I did was to include the path to locate the ghostscript fonts in the fontpath, which in ubuntu 16 is: /usr/share/fonts/type1/gsfonts That can be done with xset (each time) or permanently by putting a configuration file in /usr/share/X11/xorg.conf.d. That is not enough, one has also to put inside the gsfonts directory a fontmap file. I stole the files fonts.dir and fonts.scale from the cygwin distribution and everything was OK. I hope that this comment could be usefull, RM -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple