From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mta-snd-e08.mail.nifty.com (mta-snd-e08.mail.nifty.com [106.153.226.40]) by sourceware.org (Postfix) with ESMTPS id 18A2C3858D33 for ; Fri, 8 Mar 2024 13:23:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 18A2C3858D33 Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=nifty.ne.jp Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=nifty.ne.jp ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 18A2C3858D33 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=106.153.226.40 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 Received: from HP-Z230 by dmta0008.nifty.com with ESMTP id <20240308132300879.LZUC.17758.HP-Z230@nifty.com>; Fri, 8 Mar 2024 22:23:00 +0900 Date: Fri, 8 Mar 2024 22:23:00 +0900 From: Takashi Yano To: cygwin@cygwin.com Cc: Masamichi Hosoda 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.204838.932004035509696090.trueroad@trueroad.jp> <20240305221000.93449612424c65060193f63f@nifty.ne.jp> <20240308.215310.2236687043088232299.trueroad@trueroad.jp> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 List-Id: 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 > > ``` > /var/cache/fontconfig > ``` > > 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 > > ``` > LOCAL_APPDATA_FONTCONFIG_CACHE > ``` > > 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