delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/09/03/08:44:00

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:to:from:subject:date:message-id:mime-version
:content-type; q=dns; s=default; b=bFmstPvNbJYpHjRCoFrdwdfWbCc+k
qiEG6BsY0n8qfjcVFG+LBav6RMrp1NtXEuFm0l/A+7MIgos7KGflGzhwLqPuNjCK
tVXD9zGW98v5Bzk45a9TYJIZBnI7bozq7GRvMtFhTkfYhz2KxZDpqdRAHpPTUnHo
akWlzruLGyVdkA=
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:to:from:subject:date:message-id:mime-version
:content-type; s=default; bh=ZetmdPPUNbRE+3ifYnHWiGEgMfc=; b=RVx
WvIotklYs27/HO2lpOnIcr7AmmHV6zV6MJ/zBVRbLAv44i8/0LXV1tP0JsL6+8y1
1Y0q8I+eXF6i0Vug8haNF9ASqKZyfGTrT47lAwnRBxXuLmZxjb51ZgNQ2bBhdk9e
oEEA/+uXlipbK7Ib+PeuMPYaNilD4/Qslb6TTG5o=
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.8 required=5.0 tests=AWL,BAYES_00,LIKELY_SPAM_SUBJECT,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: Sebastien Vauban <sva-news AT mygooglest DOT com>
Subject: Font support of UTF-8 chars differ between w32 Emacs and Cygwin Emacs
Date: Wed, 03 Sep 2014 14:41:46 +0200
Lines: 44
Message-ID: <868um0dgfp.fsf@somewhere.org>
Mime-Version: 1.0
X-Url: Under construction...
X-Archive: encrypt
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt)
X-IsSubscribed: yes

Hello,

As you can see on http://screencast.com/t/XTTv9DSAC, win32 binaries of
Emacs and Cygwin Emacs can't display the white right-pointing
triangle [1] coherently for the same fonts:

- win32 Emacs always can display it, in all fonts,

- Cygwin Emacs can't display it with Consolas, Courier New and Lucida
  (among others).

MWE:

--8<---------------cut here---------------start------------->8---
;; these fonts only display (special?) UTF-8 chars (here: the white
;; right-pointing triangle) in win32 binary of Emacs

(modify-all-frames-parameters '((font . "Consolas-10")))
(char-displayable-p ?\u25B7)

(modify-all-frames-parameters '((font . "Courier New-9")))
(char-displayable-p ?\u25B7)

(modify-all-frames-parameters '((font . "Lucida Console-9")))
(char-displayable-p ?\u25B7)

;; these work for both win32 binary of Emacs + Cygwin Emacs

(modify-all-frames-parameters '((font . "DejaVu Sans Mono-9")))
(char-displayable-p ?\u25B7)

(modify-all-frames-parameters '((font . "Lucida Sans Typewriter-9")))
(char-displayable-p ?\u25B7)
--8<---------------cut here---------------end--------------->8---

Any idea why such differences?

Best regards,
  Seb

[1] http://www.scarfboy.com/coding/unicode-tool?s=U%2B25B7

-- 
Sebastien Vauban


--
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

- Raw text -


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