Hi Luca, On Sun, 2011-01-16 at 22:37 +0100, Luca Capello wrote: > On Sun, 09 Jan 2011 15:56:22 +0100, Harshula wrote: > > On Wed, 2011-01-05 at 20:42 +0100, Luca Capello wrote:
> > The programs that link to the m17n library do so to use the rules > > contained in m17n-db. > > Every time these programs run? I have not seen any Emacs error in more > than 6 years of use because of m17n-db not being installed on my sid (I > have APT's Install-Recommends off and pay attention to most extra > packages are installed as Depends:). m17n libs are typically needed for non-Latin script input and complex text layout. The FLT files in m17n-db contain the rules that are *required* for m17n lib to do complex text layout in Emacs. If you are not familiar with the scripts that require complex text layout it is unlikely you would recognise incorrect text layout. > As a side note, now that I looked for, it is funny what upstream thinks > about the relationship between the m17n library and database, from > libm17n-0/1.6.1-1 /usr/share/doc/libm17n-0/README.gz: > > (2) DATABASE > > The m17n library utilizes the m17n database available at: > http://www.m17n.org/m17n-lib/m17n-db > Without this database, the m17n library loses half its value. Please > install it (Ver.1.4.0 or the later is required) too before you try the > above sample programs or develop a program that uses the m17n library. m17n lib exposes 5 or 6 APIs for different functionalities. One is used for text layout and another used for input. m17n-db is required for the aforementioned two APIs because the actual rules are contained in the FLT and MIM files in m17n-db. > Sorry, maybe my English is not so good, but this is how I read: > > Message-ID: <1286876519.31024.79.ca...@b3.home> > URL: <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=599643#18> > > --8<---------------cut here---------------start------------->8--- > On Tue, 12 Oct 2010 11:41:59 +0200, Harshula wrote: > > On Sun, 2010-10-10 at 17:53 -0700, Josh Triplett wrote: > >> On Mon, Oct 11, 2010 at 03:43:27AM +1100, Harshula wrote: > > > >> > You've raised an interesting question. My initial reaction is Emacs > >> > should Depend on both libm17n-0 and m17n-db. Emacs appears to use > >> > libm17n and m17n-db for complex text layout. libm17n contains the C API > >> > and m17n-db contains the layout rules. So without both packages Emacs > >> > will not function correctly. For example, copy the following Sinhala > >> > text "කොහොමද" into Emacs with both libm17n-0 and m17n-db installed. Take > >> > a screenshot. Then remove m17n-db and copy the text into Emacs and see > >> > the difference. > >> > >> Interesting. It didn't make a difference with the default font I > >> normally use in Emacs (Neep Alt), but with DejaVu Sans Mono the first > >> character moved before the quote. Does that sound like the correct > >> behavior? > > > > No, that does not sound correct. I forgot to mention one important step, > > install ttf-sinhala-lklug. > --8<---------------cut here---------------end--------------->8--- > > Nevertheless, read below. > > > If you are typing in a particular script, you need the relevant font > > to see the correct results. This is applicable to other text layout > > libraries. > > To which I fully agree. Good. > >> According to the reasoning used to solve #599643, why does libm17n-0 not > >> depend also on ttf-sinhala-lklug? It does not even Recommends: it... > > > > Pango or ICU do not depend on particular fonts either. > > Exactly, but at least libpango1.0/1.28.3-4 in experimental had the > following in its description: > > Recommends: x-ttcidfont-conf > Suggests: ttf-japanese-gothic, ttf-japanese-mincho, ttf-thryomanes, > ttf-baekmuk, ttf-arphic-gbsn00lp, ttf-arphic-bsmi00lp, > ttf-arphic-gkai00mp, ttf-arphic-bkai00mp Well, do you see ttf-sinhala-lklug listed there? Did you also have a look at ICU? I'm going ahead with the plan laid out at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=604926#10 cya, # -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org