GNU bug report logs - #25864
25.1; Incorrect rendering for Bengali compound character

Previous Next

Package: emacs;

Reported by: Mandar Mitra <mandar.mitra <at> gmail.com>

Date: Fri, 24 Feb 2017 16:12:02 UTC

Severity: normal

Found in version 25.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #23 received at 25864 <at> debbugs.gnu.org (full text, mbox):

From: handa <handa <at> gnu.org>
To: Mandar Mitra <mandar.mitra <at> gmail.com>
Cc: eliz <at> gnu.org, 25864 <at> debbugs.gnu.org
Subject: Re: bug#25864: 25.1; Incorrect rendering for Bengali compound
 character
Date: Wed, 01 Mar 2017 01:25:30 +0900
[Message part 1 (text/plain, inline)]
In article <20170227150547.GD6085 <at> gmail.com>, Mandar Mitra <mandar.mitra <at> gmail.com> writes:

> handa wrote (Mon, Feb 27, 2017 at 11:01:37PM +0900):
> > Hi,
> > 
> > Which Bengali font are you using with Emacs?

> Hi, I'm using Lohit Bengali. I have the following in my .emacs:

> (set-fontset-font t (cons (decode-char 'ucs #x0980)
>                           (decode-char 'ucs #x09ff))
>                     (font-spec :name "Lohit Bengali" :size 16.0))

Thank you for the info.  I installed that font and confirmed the wrong
rendering as you wrote.

It seems that this patch should be applied to the file BENG-OTF.flt
which is included in m17n-db package.

diff --git a/FLT/BENG-OTF.flt b/FLT/BENG-OTF.flt
index 45cc554..0cc5e76 100644
--- a/FLT/BENG-OTF.flt
+++ b/FLT/BENG-OTF.flt
@@ -232,7 +232,7 @@
  (lang-forms
   (cond
    ("(.H)J" (1 :otf=beng=half+))
-   (".H" :otf=beng=blwf,half,vatu+)
+   (".+H" :otf=beng=blwf,half,vatu+)
    ("." =)))
 
  (post

I attach a version which contains the above change.  Please put that
file under ~/.m17n.d and start Emacs again.

Does it work?  Doesn't it have a bad side effect for the rendering of
other Bengali pattern?

---
K. Handa
handa <at> gnu.org


[BENG-OTF.flt (application/octet-stream, attachment)]

This bug report was last modified 8 years and 80 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.