[Fontconfig] fc-arch things "sparc" has the "ppc" signature

Albert Chin fontconfig at mlists.thewrittenword.com
Sun May 27 14:59:50 PDT 2007


On Sun, May 27, 2007 at 07:37:06PM +0200, Patrick Lam wrote:
> Albert Chin wrote:
> > $ cd fc-arch
> > # ./fc-arch auto < fcarch.tmpl.h
> > ...
> > #define FC_ARCHITECTURE "ppc"
> > 
> > So, it seems fc-arch believes Solaris/SPARC (32-bit) has the same
> > signature as "ppc". Ditto for HP-UX/PA and HP-UX/IA. And, for AIX,
> > fc-arch thinks the architecture is "m68k". And, for Tru64 UNIX,
> > fc-arch thinks the architecture is "x86-64".
> > 
> > So, is fc-arch checking too little to discern one architecture from
> > another?
> 
> In principle if the arches have the same signature they should create
> compatible cache files. Please mail the list if this isn't the case.

Agreed. But it'll seem odd to have "ppc" signature files in
~/.fontconfig on a Solaris/SPARC host. Ditto for "m68k" signature
files on a AIX host. Maybe non-platform names should be chosen
instead.

-- 
albert chin (china at thewrittenword.com)


More information about the Fontconfig mailing list