From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25897 invoked by alias); 4 Sep 2018 20:40:35 -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 25884 invoked by uid 89); 4 Sep 2018 20:40:34 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-6.2 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_1,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=courier X-HELO: smtp-out-so.shaw.ca Received: from smtp-out-so.shaw.ca (HELO smtp-out-so.shaw.ca) (64.59.136.139) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 04 Sep 2018 20:40:32 +0000 Received: from [192.168.1.100] ([24.64.240.204]) by shaw.ca with ESMTP id xI7hf6k6JwyxUxI7ifZ52M; Tue, 04 Sep 2018 14:40:30 -0600 Reply-To: Brian.Inglis@SystematicSw.ab.ca Subject: Re: Cygwin fails to utilize Unicode replacement character To: cygwin@cygwin.com References: <5b8eccee.1c69fb81.12eaa.84a2@mx.google.com> From: Brian Inglis Openpgp: preference=signencrypt Message-ID: <79ed1db7-47cc-e2fd-7178-0a6b81ab94e7@SystematicSw.ab.ca> Date: Tue, 04 Sep 2018 20:40:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <5b8eccee.1c69fb81.12eaa.84a2@mx.google.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2018-09/txt/msg00078.txt.bz2 On 2018-09-04 12:20, Steven Penny wrote: > On Tue, 4 Sep 2018 16:18:21, Thomas Wolff wrote: >> My vote is against the patch because the nodef glyph will often be just blank >> space which is certainly worse than ▒. Not according to the sample below: you would have to know that medium shade means unavailable. >> If conhost does not provide a reasonable way to enquire 0xFFFD availability >> it's conhost's fault, not cygwin's so why should cygwin implement a bad >> compromise. If conhost ever improves, cygwin can adapt. > This is some dangerous commentary. I would like to counter it now with some > actual research. Using BabelMap: > http://babelstone.co.uk/Software/BabelMap.html > You can do "Fonts", "Font Coverage" and you will get this result with code point > FFFD: >    yes: DejaVu Sans Mono >    no: >    - Consolas >    - Courier New >    - Lucida Console >    - MS Gothic >    - NSimSun >    - SimSun-ExtB > This is concerning true, but we can then review the ".notdef glyph" for the > problem fonts. As this glyph is not an actual character, i cant paste it here, > but i will describe them below: >    empty rectangle: >    - Courier New >    - Lucida Console >    - MS Gothic >    - SimSun-ExtB >    rectangle with a question mark inside: Consolas These are both recommended .notdef glyphs. >    none: NSimSun Valid OTF and TTF fonts must have a glyph with index entry 0 used for .notdef. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. -- 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