| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:subject:to:references:from:message-id:date | |
| :mime-version:in-reply-to:content-type | |
| :content-transfer-encoding; q=dns; s=default; b=BkBX6xbcZtywZwKP | |
| vxcFjZ4jVGvrVE31LPKtjEFe3u9GD5Iz58t8LiV1j+DniseIuMOvosbqBOKapeIC | |
| PHDwGadDYvuy7vvmVfTMtHvdkXajtCpjL9E2lbTlAy4MTYDbGCe7vmUZD8eOoNV2 | |
| b8dy+muCaN60EobsMZxDas7h1eQ= | |
| DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:subject:to:references:from:message-id:date | |
| :mime-version:in-reply-to:content-type | |
| :content-transfer-encoding; s=default; bh=96sZeGLaL3Iux0kb63teka | |
| eGP6g=; b=Qag6AEzbqaw1OvqLXz3at7of+n+qi1vuUBKbDKRtwH3FvbauOkvuwA | |
| w8gaFHuUP7WTZIo7pZ6IAIJMfrS+fQ6kET0tV9HgGwEEqaFehTbuzoTsMB5k9Y4w | |
| K4bO7Y9fN5ESCmzML2gKUDL7udqd6Tmbi9eMSIPEv8Hh3Hon+3bZY= | |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Authentication-Results: | sourceware.org; auth=none |
| X-Virus-Found: | No |
| X-Spam-SWARE-Status: | No, score=-2.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=0.21.0, x3270, overhauled, Portable |
| X-HELO: | mail-wm0-f50.google.com |
| X-Google-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=MQga06TomnSXKDWss8Hh7oH0K5GM6vqVUKSbOjueCtg=; b=fNsEdfWZXe9dxIPFr2kL+6mN7IfYA7m3yxn+B8uU3eebxlKmIY4o4BHFzyixMy3O3A NA2HmgaUkNgXZsSqfQl5/Whjf15SZaSrqN5HNMjpbYF6AD7RDpltxKd0e6hH5ql/6AbK aNipaxyaMre1SjmZm1B0TBJqv9F6bWAvqWuftXY7Sh0NOWVhTlx1HrTY/gidon3jx1tk M/kNVm5YpsTYRmI8Ui5qLkNCd3hYtNUf5iVAey1VwOumsCrersKQ3PD3Q8eaLnA5HIkq ZnXRr3rlo4SozYKxk4TlKcjjG6dXa99upgzv/1HWr/yN1ki4n0JPA3nY6GEZfYtZpPlO rb+g== |
| X-Gm-Message-State: | AOPr4FW9zUudQTX6SyxdrBjDalCB5gTvIX8jQnytbH8R9fcVGOIdmFQWdmpBtXWw7grrUA== |
| X-Received: | by 10.28.128.83 with SMTP id b80mr18079299wmd.41.1460972683384; Mon, 18 Apr 2016 02:44:43 -0700 (PDT) |
| Subject: | Re: font encodings dirs ? |
| To: | cygwin AT cygwin DOT com |
| References: | <8f731cce-ab62-ada1-79bc-3bce499abcc2 AT gmail DOT com> <5713DDA5 DOT 2080807 AT cygwin DOT com> |
| From: | Marco Atzeri <marco DOT atzeri AT gmail DOT com> |
| Message-ID: | <99196e63-4096-c983-2749-507316e12667@gmail.com> |
| Date: | Mon, 18 Apr 2016 11:44:33 +0200 |
| User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.0 |
| MIME-Version: | 1.0 |
| In-Reply-To: | <5713DDA5.2080807@cygwin.com> |
| X-IsSubscribed: | yes |
On 17/04/2016 21:01, Yaakov Selkowitz wrote:
> On 2016-04-17 13:26, Marco Atzeri wrote:
>> Most of the postinstall font scripts are referring to
>> /usr/share/fonts/encodings
>> /usr/share/fonts/encodings/large
>
> "Most"?
>
just fooled by the old postinstall files (.done)
>> $ cat plotutils.sh.done
>> /usr/bin/rm -f /usr/share/fonts/misc/encodings.dir
>> /usr/share/fonts/misc/fonts.{dir,scale}
>> /usr/bin/mkfontscale /usr/share/fonts/misc || /usr/bin/rm -f
>> /usr/share/fonts/misc/fonts.scale
>> /usr/bin/mkfontdir -e /usr/share/fonts/encodings -e
>> /usr/share/fonts/encodings/large /usr/share/fonts/misc || /usr/bin/rm -f
>> /usr/share/fonts/misc/{encodings,fonts}.dir
>> /usr/bin/fc-cache -f /usr/share/fonts/misc
>>
>> but from what I see no package includes such directories, so all the
>> /usr/bin/mkfontdir -e /usr/share/fonts/encodings ..
>> are failing by default.
>>
>> Is the expected behaviour ?
>
> Font installation was completely overhauled in cygport 0.21.0 to no
> longer need these postinstall snippets, and all the standalone fonts
> packages (which are almost all mine) were rebuilt. This and x3270 would
> seem to be the only ones left.
I rebuilt plotutils, and now there is no postinstall script,
however it seems the tekfont*.pcf fonts are not recognized
by fontconfig.
I also tried to uncompress them but it makes no difference
$ cd /usr/share/fonts/misc
$ file *
fonts.dir: ASCII text
fonts.scale: ASCII text
tekfont0.pcf: X11 Portable Compiled Font data, LSB first
tekfont0.pcf.gz: gzip compressed data, was "tekfont0.pcf", last
modified: Mon Apr 18 08:53:10 2016, from Unix
tekfont1.pcf: cd , LSB first
tekfont1.pcf.gz: gzip compressed data, was "tekfont1.pcf", last
modified: Mon Apr 18 08:53:11 2016, from Unix
tekfont2.pcf: X11 Portable Compiled Font data, LSB first
tekfont2.pcf.gz: gzip compressed data, was "tekfont2.pcf", last
modified: Mon Apr 18 08:53:11 2016, from Unix
tekfont3.pcf: X11 Portable Compiled Font data, LSB first
tekfont3.pcf.gz: gzip compressed data, was "tekfont3.pcf", last
modified: Mon Apr 18 08:53:11 2016, from Unix
$ /usr/libexec/fc-cache-1 -r -s -v
/usr/share/fonts: caching, new cache contents: 0 fonts, 9 dirs
[cut]
/usr/share/fonts/misc: caching, new cache contents: 0 fonts, 0 dirs
[cut]
/var/cache/fontconfig: cleaning cache directory
/usr/libexec/fc-cache-1: succeeded
Instead
$ /usr/bin/mkfontdir /usr/share/fonts/misc
creates the expected old font info:
$ cat fonts.dir
4
tekfont0.pcf.gz tekfont0
tekfont1.pcf.gz tekfont1
tekfont2.pcf.gz tekfont2
tekfont3.pcf.gz tekfont3
How should I manage the postintall for this font ?
The new package is available here:
http://matzeri.altervista.org/x86/plotutils/
http://matzeri.altervista.org/x86_64/plotutils/
--
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |