From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta002.cacentral1.a.cloudfilter.net (omta002.cacentral1.a.cloudfilter.net [3.97.99.33]) by sourceware.org (Postfix) with ESMTPS id 494353858D35 for ; Fri, 15 Sep 2023 19:13:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 494353858D35 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=Shaw.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=shaw.ca Received: from shw-obgw-4001a.ext.cloudfilter.net ([10.228.9.142]) by cmsmtp with ESMTP id hAEbqUdab6NwhhEGIqpusr; Fri, 15 Sep 2023 19:13:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=shaw.ca; s=s20180605; t=1694805234; bh=IjeA25YSvIVO4wXMogu0Zf7l7pfRuXTnGoUbAbDa4to=; h=Date:Reply-To:Subject:To:References:From:In-Reply-To; b=KU28eloEONvhurhdnjeFIOaJvThKRW1C9oTZ+rlWqA627tHaZhiny8ImPi3iI5H8h QaRnRn0Yy8dYLmyYXJIbF1xri4qIF/NqOeSCV7D6+SK5Z86GgrTazc/NVzJ4K2nmNS usQmcVos3I2UFyXKnKlhMludrwsdU/BYu//m951KmdZf4OAGt99aOE+SfBFOi8xONf mWPRJQ+bkrKQSpNw3drbe/Y0x9gZNkx8Qsmu1ISS6x5mTtrsfh7wj/3XVbGnbJnUqv gpaXFr0t80zHvn2RCX89lLXa0tBB77uXNI1TfzYjJSuQ82gvlCfmQYgIFcXp6HWpgD 0UNTLmTEWQZ5Q== Received: from [10.0.0.5] ([184.64.102.149]) by cmsmtp with ESMTP id hEGIqtoOjHFsOhEGIqsqZP; Fri, 15 Sep 2023 19:13:54 +0000 X-Authority-Analysis: v=2.4 cv=XZqaca15 c=1 sm=1 tr=0 ts=6504acf2 a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17 a=IkcTkHD0fZMA:10 a=te1EGT4yAAAA:8 a=8pif782wAAAA:8 a=w_pzkKWiAAAA:8 a=wn-Pc7a3tZnl0CPKoQAA:9 a=QEXdDO2ut3YA:10 a=RRElR4r2U1jGY2dU47NL:22 a=sRI3_1zDfAgwuvI8zelB:22 Message-ID: <65cb16ce-5bdc-5729-3c70-1d010c145dbf@Shaw.ca> Date: Fri, 15 Sep 2023 13:13:54 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Reply-To: cygwin-apps@cygwin.com Subject: Re: ITP: last-resort-font Content-Language: en-CA To: cygwin-apps@cygwin.com References: <7249a2f6-62cb-eb20-46ee-cfd5c5376c13@Shaw.ca> <7d7f3a59-86cd-0e10-f617-7ada9535f062@dronecode.org.uk> From: Brian Inglis Organization: Inglis In-Reply-To: <7d7f3a59-86cd-0e10-f617-7ada9535f062@dronecode.org.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfOJk3rosM2bh6/q3PFSMX4paDfRHR90drahaMugwAj6O8CucXG8xk8XyySqzw4JrhyTFdOx10L+Jdxc9p2Xy3SBMUF4Essa6WEDEvABb9s0Qi45dSAX1 4YTYCAOy70BGg/+x/XPxpovT1jT7y25nLsHysSH3tzWi4P5VA0oDZYauPbO48t/aXG5DVkNPD2KsZg== X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS,TXREP 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 2023-09-14 08:31, Jon Turney wrote: > On 12/09/2023 22:21, Brian Inglis via Cygwin-apps wrote: >> I would like to offer the following package on Cygwin: >> >> * last-resort-font    15.100 >> >> This package is available in the Arch, Fedora, Gentoo, and OpenSUSE >> distributions. >> >> It is licensed under SIL OFL-1.1. >> >> It was originally developed by Apple for macOS, modified to work on >> non-Apple systems for Unicode.org, and is updated by Michael Everson of >> Evertype and Unicode.org, and released by Unicode.org in conjunction >> with the standard, which has just been updated to 15.1. >> >> See: >> >> https://en.wikipedia.org/wiki/Fallback_font#Unicode_Last_Resort_font > [...] >> >> cygport: >> >> https://cygwin.com/cgit/cygwin-packages/playground/commit/?id=80da73a6dc50d3997c819ac16132292245bd584a > Looks good. > > I added this to your packages. > > Thanks. > Is there some kind of fontconfig configuration file which could be included in > this package that this would benefit from, causing it to be used as a glyph > fallback font? Hi Jon, Thank you! I researched this and glyph fallback seems more automatic for fontconfig than Windows; you can `fc-list :charset=ff010` and only lastresort shows up, whereas unifont also appears when I specify a glyph assigned only in Unicode 15.1: 1F76E 🝮 ALCHEMICAL SYMBOL FOR HOUR with `fc-list :charset=1f76e`, and perhaps Windows fonts, depending on whether you have updated recently. I looked at unifont, which will be upgraded this weekend, and libfontconfig-common sets it up as generic family aliases which prefer fonts with lots of real glyphs, so I could copy /usr/share/fontconfig/conf.avail/69-unifont.conf into the package as lastresort.conf and newfontconf {,99-}lastresort.conf in install: lastresort is the fc-match pattern for the font. Also rechecking unifont and font.cygclass, last resort also needs an explicit REQUIRES=fontconfig, as that is not in font.cygclass. -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut -- Antoine de Saint-Exupéry