Re: PATH of fontconfig configration file in static build on Windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you for a reply.

>From windows prompt

C:\Programs\gplibs32_gcc492_static\bin>set FC_DEBUG=1024

C:\Programs\gplibs32_gcc492_static\bin>fc-list
FC_DEBUG=1024

Thus I execute the below from the Msys2 prompt 

$ FC_DEBUG=1024 fc-list

FC_DEBUG=1024
        Loading config file C:\ProgramData\MiKTeX\2.9\fontconfig\config\fonts.conf
        Loading config file C:\ProgramData\MiKTeX\2.9/fontconfig/config/localfonts.conf
        Loading config file C:\ProgramData\MiKTeX\2.9\fontconfig\config\localfonts2.conf
FC_DEBUG=1024
<sniping file list>


For dynamic linked version

$ FC_DEBUG=1024 fc-list
FC_DEBUG=1024
        Loading config file C:\ProgramData\MiKTeX\2.9\fontconfig\config\fonts.conf
        Loading config file C:\ProgramData\MiKTeX\2.9/fontconfig/config/localfonts.conf
        Loading config file C:\ProgramData\MiKTeX\2.9\fontconfig\config\localfonts2.conf
FC_DEBUG=1024

Dynamic version also sees config file of MiKTeX.
This is not what I expected.

Any suggestions?

Tatsuro



>T hat looks like the installation issue. try FC_DEBUG=1024 fc-list and

> see where fc-list is going to read those files from.
> 
> On Sat, Feb 13, 2016 at 2:53 PM, Tatsuro MATSUOKA <tmacchant@xxxxxxxxxxx> 
> wrote:
>>  I have tried static build fontconfig.
>> 
>>  Fontconfig version : 2.11.1
>>  OS: Windows 7 64 bit
>>  Build system :  MinGW-w64 32 bit build tool.
>>  Link: All dependencies statically are built.
>> 
>>  Problem
>>  Execute fc-list at <install-dir>/bin error occurred with a message
>> 
>>  Fontconfig error: Cannot load default config file
>> 
>> 
>> 
>>  Additional comments.
>>  If FONTCONFIG_PATH is set, fc-list works.
>> 
>>  If fontconfig is dynamically linked, fc-list seems to refer
>>  <install-dir>/etc/fonts/fonts.conf
>> 
>>  and works without FONTCONFIG_PATH setting.
>> 
>>  Query:
>>  Is there way to refer <install-dir>/etc/fonts/fonts.conf in static 
> linked
>>  fontconfig application?
>> 
>>  Thanks in advance.
>> 
>>  Tatsuro
>> 
>>  _______________________________________________
>>  Fontconfig mailing list
>>  Fontconfig@xxxxxxxxxxxxxxxxxxxxx
>>  https://lists.freedesktop.org/mailman/listinfo/fontconfig
> 
> 
> 
> -- 
> Akira TAGOH
> 
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/fontconfig




[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux