From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.devel Subject: Re: Crash with --enable-checking and some glyphs Date: Sat, 27 Nov 2021 22:01:05 +0000 Message-ID: <227d35a5bc18f4dc6e25@heytings.org> References: <87h7c1u0cg.fsf@gnus.org> <87v90h6271.fsf@gnus.org> <83lf1d8uyw.fsf@gnu.org> <87r1b561kn.fsf@gnus.org> <871r35ziyl.fsf@gnus.org> <87sfvlwkrc.fsf_-_@gnus.org> <87sfvlh1zo.fsf@gmail.com> <87h7c0flfk.fsf@gnus.org> <874k807166.fsf@gmail.com> <87wnkwb8q7.fsf@gnus.org> <87sfvkb85w.fsf@gnus.org> <83wnkw469i.fsf@gnu.org> <87ee739kjx.fsf@gnus.org> <83h7bz2i9f.fsf@gnu.org> <87mtlrt2ei.fsf@gnus.org> <838rxb2c8i.fsf@gnu.org> <87a6hrt0ti.fsf@gnus.org> <8335ni3mr4.fsf@gnu.org> <877dctsnhz.fsf@gnus.org> <83sfvhy6mv.fsf@gnu.org> <227d35a5bcbe91bfe96c@heytings.org> <87k0gt475z.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24143"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , rpluim@gmail.com, emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Nov 27 23:01:59 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mr5le-000626-Rj for ged-emacs-devel@m.gmane-mx.org; Sat, 27 Nov 2021 23:01:58 +0100 Original-Received: from localhost ([::1]:44914 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mr5ld-0002qy-TW for ged-emacs-devel@m.gmane-mx.org; Sat, 27 Nov 2021 17:01:57 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:44374) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mr5kt-0002A1-RO for emacs-devel@gnu.org; Sat, 27 Nov 2021 17:01:11 -0500 Original-Received: from heytings.org ([95.142.160.155]:55748) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mr5kr-0008VI-HA; Sat, 27 Nov 2021 17:01:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20210101; t=1638050465; bh=W459nlRLuhhC0CqeYF7TNUzKYskYSmlXiiBX05SS7gA=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=QrxwVgo/cpB7sYhIUr/+Kjs/3FmrA3lcEyeq0TQ+UUfSTmhDLn/ABj+pEwAVDBGry k8NtYzySdNQRBZUBblTkmHuDAXcmbtCX8CDQsrbydXjRNXNDykstTqqgrH0TW7nidk al6aQO/tSGHyTvRnEpt0Mi5Hcby1IKTEdNsVvoxuQ6CQqmUW5aG4nCSlB3n9VA7JsN rd5KfeJFvJAgDcS0iYV9Mdx1CDKWxu/qDcj5AX68diXKJD3CvZdgHrW2exPBQfgalE yPq9NuDOGVxZRY3ncqBGCwcxqg584Vh4r/g84nrG3evZhkSNz8EiK9H3AheZ2JI7/Y WyLk66x9tCSvw== In-Reply-To: <87k0gt475z.fsf@gnus.org> Received-SPF: pass client-ip=95.142.160.155; envelope-from=gregory@heytings.org; helo=heytings.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:280357 Archived-At: > > larsi@xo:~/src/emacs/trunk$ md5sum > /usr/share/fonts/X11/misc/hanglm24.pcf.gz > 819a5304502ef38ac01918a147310b69 > /usr/share/fonts/X11/misc/hanglm24.pcf.gz > Thanks. So I can update my previous post: I very much doubt that this is the root cause of this bug. We have the exact same libraries, same compiler and same font, we use the exact same build options, and boff is never == 3 with that file, it is always == 0. For the piece of code above, with the ACE0 character I have: boff = font->baseline_offset; /* font->baseline_offset == 0 */ if (font->vertical_centering) /* font->vertical_centering == 1 */ boff = VCENTER_BASELINE_OFFSET (font, it->f) - boff; /* VCENTER_BASELINE_OFFSET(...) == 0 */ What do you have in font->baseline_offset? And what does VCENTER_BASELINE_OFFSET return?