[poppler] poppler/poppler: GlobalParams.cc,1.14,1.15

Albert Astals Cid aacid at kde.org
Wed Feb 1 10:33:24 PST 2006


I hope you know this is not enough to get TTC fonts to work right?

Albert

A Dimecres 01 Febrer 2006 04:52, Jeff Muizelaar va escriure:
> Update of /cvs/poppler/poppler/poppler
> In directory gabe:/tmp/cvs-serv6570/poppler
>
> Modified Files:
> 	GlobalParams.cc
> Log Message:
> 2006-01-31  Jeff Muizelaar  <jeff at infidigm.net>
>
> 	* poppler/GlobalParams.cc (GlobalParams::getDisplayFont):
> 	Allow ttc fonts to be used.
>
>
> Index: GlobalParams.cc
> ===================================================================
> RCS file: /cvs/poppler/poppler/poppler/GlobalParams.cc,v
> retrieving revision 1.14
> retrieving revision 1.15
> diff -u -d -r1.14 -r1.15
> --- GlobalParams.cc	23 Jan 2006 18:52:48 -0000	1.14
> +++ GlobalParams.cc	1 Feb 2006 03:52:12 -0000	1.15
> @@ -1274,7 +1274,7 @@
>      ext = strrchr((char*)s,'.');
>      if (!ext)
>        goto fin;
> -    if (!strncasecmp(ext,".ttf",4))
> +    if (!strncasecmp(ext,".ttf",4) || !strncasecmp(ext,".ttc",4))
>      {
>        dfp = new DisplayFontParam(fontName->copy(), displayFontTT);
>        dfp->tt.fileName = new GooString((char*)s);
>
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler

		
______________________________________________ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y mந்viles desde 1 cளூntimo por minuto. 
http://es.voice.yahoo.com


More information about the poppler mailing list