delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/03/08/08:23:29

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 04E6C385C422
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1709904208;
bh=fvAqKey8v7K7dDnLxFCbsA99cE392i4pBbuBcNBeCbk=;
h=Date:To:Cc:Subject:In-Reply-To:References:List-Id:
List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
From:Reply-To:From;
b=l8fizPlPUtGQpJMEZpGOPlbMefrpzDs9E/O5Ok6q2tlMVw60a/BsgLap3amGQY7sx
5PYwp1O/Md2OtgburQgIAd1ie0fx2MseSKCFXBWMyathvoD1UrXMT53Y0ySicS03nA
1jNBWoOkdHz9bMdB80T8As1eMhA8puRo0XzBZUYc=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 18A2C3858D33
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 18A2C3858D33
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709904186; cv=none;
b=TekWG6gNph1EghKl4lUEQQS4P8fyTVnomYEItxsBboxC4otau68CTXMNMNOHZo9y1k5C/W4MEQLg0m/kw5EWD3tC2x067wWaK2TI02KvOdNdaq5X7cqUX6KV7v7B6uAKEDDeI3rIwu59rPc67KDXsJCFZZpXESVW7+P7YN1f39g=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1709904186; c=relaxed/simple;
bh=ZLaRsguKZmhcMY2ZFQ/IyEtsqDjiPjZCYbnfnNB7BKo=;
h=Date:From:To:Subject:Message-Id:Mime-Version;
b=omjn5doGQd49/DoFDiG2Bl46JxCpDGb/qzKyV5Po14vBqCMXHhoEYtHlO94C/ChrCAV9IF6+ZJWJLVyVbC/aRcOEQnEXpBnEGwb5R97qOSwELuA9osSdbFXroa6QPMR/J5yBzFJc9vedPHRJgOYNjcYNwuycnh/rryYZcGrVPis=
ARC-Authentication-Results: i=1; server2.sourceware.org
Date: Fri, 8 Mar 2024 22:23:00 +0900
To: cygwin AT cygwin DOT com
Cc: Masamichi Hosoda <trueroad AT trueroad DOT jp>
Subject: Re: libfontconfig-common-2.15.0-2 system font cache directory
settings seem to be wrong
Message-Id: <20240308222300.d4801408777bb547a9e4ab4c@nifty.ne.jp>
In-Reply-To: <20240308.215310.2236687043088232299.trueroad@trueroad.jp>
References: <20240305 DOT 204838 DOT 932004035509696090 DOT trueroad AT trueroad DOT jp>
<20240305221000 DOT 93449612424c65060193f63f AT nifty DOT ne DOT jp>
<20240308 DOT 215310 DOT 2236687043088232299 DOT trueroad AT trueroad DOT jp>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
Mime-Version: 1.0
X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Takashi Yano via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On Fri, 08 Mar 2024 21:53:10 +0900 (JST)
Masamichi Hosoda wrote:
> Hi
> 
> If I understand correctly,
> the system font cache directory setting in /etc/fonts/fonts.conf
> provided by libfontconfig-common-2.15.0-2 is wrong.
> 
> In /etc/fonts/fonts.conf provided by libfontconfig-common-2.13.1-2
> 
> ```
>        <cachedir>/var/cache/fontconfig</cachedir>
> ```
> 
> So `fc-cache -s` creates system font cache files in `/var/cache/fontconfig`.
> It is correct because `/var/cache` is a common system cache directory.
> 
> In /etc/fonts/fonts.conf provided by libfontconfig-common-2.15.0-2
> 
> ```
>        <cachedir>LOCAL_APPDATA_FONTCONFIG_CACHE</cachedir>
> ```
> 
> So `fc-cache -s` creates system font cache files
> in `./LOCAL_APPDATA_FONTCONFIG_CACHE`.
> `LOCAL_APPDATA_FONTCONFIG_CACHE` directory is created
> in the *current* directory when fc-cache.
> It is wrong because it means that
> processes with different current directories have
> different system font cache directories,
> and the caches are no longer shared.

Thanks for the report. You are right.
I'll release 2.15.0-3 to fix that.

-- 
Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019