[poppler] lack of CJK feature

Koji Otani sho at bbr.jp
Wed Dec 12 22:42:05 PST 2007


I'm very sorry, this patch has a bug.
I registered this bug and patch to fixed this as Bug #13635.
Please apply new patch.

Koji Otani.

From: Koji Otani <sho at bbr.jp>
Subject: Re: [poppler] lack of CJK feature
Date: Tue, 11 Dec 2007 12:02:42 +0900 (JST)
Message-ID: <20071211.120242.193714305.sho at bbr.jp>

sho> 
sho> Thank you for your accepting my patch.
sho> 
sho> Koji Otani.
sho> 
sho> From: Albert Astals Cid <aacid at kde.org>
sho> Subject: Re: [poppler] lack of CJK feature
sho> Date: Mon, 10 Dec 2007 23:27:47 +0100
sho> Message-ID: <200712102327.47696.aacid at kde.org>
sho> 
sho> aacid> A Dilluns 10 Desembre 2007, Koji Otani va escriure:
sho> aacid> > Hi All.
sho> aacid> >
sho> aacid> > I'm Koji Otani, posted patches about CJK (see Bug #11413) before.
sho> aacid> > I found more problem about CJK. and registered patch as Bug #13582.
sho> aacid> >
sho> aacid> > Adobe Japan1 6 character set includes characters in outside of UNICODE
sho> aacid> > BMP.
sho> aacid> > But poppler cannot display these and some characters with TrueType
sho> aacid> > font.
sho> aacid> > current poppler has following problems about that.
sho> aacid> > (1) CMap data is old.
sho> aacid> >  Current data (poppler-data-0.1.1.tar.gz ) has only Adobe Japan 4
sho> aacid> >  data.
sho> aacid> >  This should be update with newer one. (GhostScript 8.60 has  already
sho> aacid> >  new  CMap data)
sho> aacid> 
sho> aacid> I've updated cmap on git, will release poppler-data 0.2 on wednesday.
sho> aacid> 
sho> aacid> > (2) poppler  doesn't lookup format12 cmap table of TrueType font.
sho> aacid> >   Only format12 cmap table supports codes outside of UNICODE BMP.
sho> aacid> > (3) poppler lookups only UCS2 CMaps when making unicodeToGID map
sho> aacid> >  UCS2 CMap supports only codes in inside of UNICODE BMP.
sho> aacid> > (4) missing  handling  CID conflict in CMap .
sho> aacid> > CMap maps multiple unicode to a same CID.
sho> aacid> > So, a CID can map multiple unicode.
sho> aacid> > Currently poppler use only the first one.
sho> aacid> > If that code is not exist in the cmap of TT Font.
sho> aacid> > It is not displayed.
sho> aacid> >
sho> aacid> > I proposed patch solved (2), (3), (4).
sho> aacid> >
sho> aacid> > Please check it if you are interestead in this.
sho> aacid> > I would appreciate it if you accept this patch.
sho> aacid> 
sho> aacid> I've added the patch to master git branch, that is, what will become poppler 
sho> aacid> 0.7 I've not added it to the 0.6.x branch because it's a bit "big" for it.
sho> aacid> 
sho> aacid> Thanks a lot for the patches :-)
sho> aacid> 
sho> aacid> Albert
sho> aacid> 
sho> aacid> >
sho> aacid> > Reagrads,
sho> aacid> >
sho> aacid> > Koji Otani
sho> aacid> > _______________________________________________
sho> aacid> > poppler mailing list
sho> aacid> > poppler at lists.freedesktop.org
sho> aacid> > http://lists.freedesktop.org/mailman/listinfo/poppler
sho> aacid> 
sho> aacid> 
sho> aacid> _______________________________________________
sho> aacid> poppler mailing list
sho> aacid> poppler at lists.freedesktop.org
sho> aacid> http://lists.freedesktop.org/mailman/listinfo/poppler
sho> _______________________________________________
sho> poppler mailing list
sho> poppler at lists.freedesktop.org
sho> http://lists.freedesktop.org/mailman/listinfo/poppler


More information about the poppler mailing list