Poppler should support TTC files. Albert: Patch i got for kpdf from Takashi Iwai <tiwai AT suse DOT de> adapted to poppler TTC is TrueType font Collection, that is more than a TTF in the same file, this adds support to specifying them in the /etc/xpdfrc file adding a number at the end of the displayFontTT line, the cool thing is that it can be easily adapted to the fontconfig patch i sent changing if (!strncasecmp(ext,".ttf",4)) { dfp = new DisplayFontParam(fontName->copy(), displayFontTT); dfp->tt.fileName = new GooString((char*)s); } to if (!strncasecmp(ext,".ttf",4) || !strncasecmp(ext,".ttc",4)) { dfp = new DisplayFontParam(fontName->copy(), displayFontTT); dfp->tt.fileName = new GString((char*)s); FcPatternGetInteger(m, FC_INDEX, 0, &(dfp->tt.faceIndex)); } Some CJK fonts come in ttc format
Created attachment 2796 [details] [review] ttc support patch
done
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.