From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Pixel-based display functions Date: Sat, 31 Jan 2015 09:24:48 +0200 Message-ID: <838ugjl8e7.fsf@gnu.org> References: <87iofui8vo.fsf@building.gnus.org> <838ugqqczp.fsf@gnu.org> <877fw9dndz.fsf@building.gnus.org> <83a914ozsh.fsf@gnu.org> <874mrb1t62.fsf_-_@building.gnus.org> <87vbjrl49k.fsf@violet.siamics.net> <8361bqogah.fsf@gnu.org> <87k306pfi9.fsf@building.gnus.org> <87egqekrd7.fsf@building.gnus.org> <877fw53eat.fsf@building.gnus.org> <877fw4zsdv.fsf@building.gnus.org> <831tmcn4k4.fsf@gnu.org> <87386szq1w.fsf@building.gnus.org> <83wq44ljm9.fsf@gnu.org> <87vbjowlqv.fsf@building.gnus.org> <83oapglbx6.fsf@gnu.org> <83lhkkl23i.fsf@gnu.org> <874mr7vkz8.fsf@building.gnus.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1422689103 27755 80.91.229.3 (31 Jan 2015 07:25:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 31 Jan 2015 07:25:03 +0000 (UTC) Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 31 08:25:02 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YHSQQ-0006pb-BA for ged-emacs-devel@m.gmane.org; Sat, 31 Jan 2015 08:25:02 +0100 Original-Received: from localhost ([::1]:39891 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHSQP-00032Q-Il for ged-emacs-devel@m.gmane.org; Sat, 31 Jan 2015 02:25:01 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48240) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHSQJ-00032K-O6 for emacs-devel@gnu.org; Sat, 31 Jan 2015 02:24:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YHSQE-0001np-Kj for emacs-devel@gnu.org; Sat, 31 Jan 2015 02:24:55 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:58752) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHSQE-0001ne-Bt for emacs-devel@gnu.org; Sat, 31 Jan 2015 02:24:50 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NJ1005005TAGH00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Sat, 31 Jan 2015 09:24:48 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NJ1005WP5XCEO20@a-mtaout22.012.net.il>; Sat, 31 Jan 2015 09:24:48 +0200 (IST) In-reply-to: <874mr7vkz8.fsf@building.gnus.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:182113 Archived-At: > From: Lars Ingebrigtsen > Cc: emacs-devel@gnu.org > Date: Sat, 31 Jan 2015 11:42:51 +1100 > > > One more issue that I think needs to be handled are characters for > > which there's no font installed on the user's system. We display them > > as defined by glyphless-char-display-control. Or maybe you should > > allow the text to overflow in this case: after all, it's not really > > legible, is it? > > I stumbled upon this issue a couple of days ago, I think. It was a > utf-8-encoded web page that had one iso-8859-1 character in it, and > `font-get-glyphs' returned nil for that "character" (which was displayed > as \241 or something). But these should have a pretty predictable > width, probably. I didn't mean \241, I meant the characters whose UTF-8 encoding is longer than one byte. These are displayed as a box with the Unicode codepoint in hex inside it. The size of that is also predictable, but font-at will return nil for them.