[poppler] lack of CJK feature

Koji Otani sho at bbr.jp
Mon Dec 10 19:02:42 PST 2007


Thank you for your accepting my patch.

Koji Otani.

From: Albert Astals Cid <aacid at kde.org>
Subject: Re: [poppler] lack of CJK feature
Date: Mon, 10 Dec 2007 23:27:47 +0100
Message-ID: <200712102327.47696.aacid at kde.org>

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


More information about the poppler mailing list