[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

Re: HELP



Roughly speaking the cases that happens to (re-)generate caches at the
runtime are:

1) when there are no caches in the cache directory.
2) when new fonts are available.

Try to run your script with FC_DEBUG=384. that gives you a clue if
fontconfig really is trying to generate caches at the runtime. if you
see some logs with py2exe thing only, it might breaks something.


On Thu, Mar 1, 2012 at 5:09 AM, VF2NSR <vf2nsr@xxxxxxxxx> wrote:
> Currently this is what is occurring.
>
> The program is using Python when the program runs in native python there is
> no delay.  When the program was  made into an executable, using py2exe,  the
> program shows a minimal delay as the fontconfig scan occurs and the
> fontconfig/cache is written.   The challenge I am facing is that the delay
> occurs when it is compiled with the gtk+ files ot run it without native
> python the scan and  subsequent creation of the fontconfig take over 2
> minutes.
>
> Hope that explains it?
>
> Patrick
> <><><><><><><><><><><><><><><><><><><><><><
>
> **We are not humans having a spiritual experience;
>    we are spirits having a human experience.
>    Knowledge is the greatest purifier of the soul.
>
>  ><><><><><><><><><><><><><><><><><><><><>>
>
> Developer for  PortableApps.com  My Current list of Apps is listed.
>
>
>
>
>
>
> On Wed, Feb 29, 2012 at 11:32, VF2NSR <vf2nsr@xxxxxxxxx> wrote:
>>
>> Currently this is what is occurring.
>>
>> The program is using Python when the program runs in native python there
>> is no delay.  When the program was  made into an executable, using py2exe,
>> the program shows a minimal delay as the fontconfig scan occurs and the
>> fontconfig/cache is written.   The challenge I am facing is that the delay
>> occurs when it is compiled with the gtk+ files ot run it without native
>> python the scan and  subsequent creation of the fontconfig take over 2
>> minutes.
>>
>> Hope that explains it?
>>
>> Patrick
>>
>>
>> <><><><><><><><><><><><><><><><><><><><><><
>>
>> **We are not humans having a spiritual experience;
>>    we are spirits having a human experience.
>>    Knowledge is the greatest purifier of the soul.
>>
>>  ><><><><><><><><><><><><><><><><><><><><>>
>>
>> Developer for  PortableApps.com  My Current list of Apps is listed.
>>
>>
>>
>>
>>
>>
>> On Wed, Feb 29, 2012 at 10:51, Akira TAGOH <akira@xxxxxxxxx> wrote:
>>>
>>> I'm not quite sure what you are facing. do you want to store the cache
>>> files on where you want to? though I don't know how it's related to
>>> the delay...
>>>
>>> I guess you didn't just run fc-cache prior to your application working?
>>>
>>> On Wed, Feb 29, 2012 at 8:52 PM, VF2NSR <vf2nsr@xxxxxxxxx> wrote:
>>> >
>>> >
>>> >> I am working on a portable program that uses the fontconfig.  Is there
>>> >> a
>>> >> way I can get fontconfig to write its directory somewhere besides the
>>> >> APPDATA folder?  Like have it write and store it within a seperate
>>> >> location
>>> >> on a portable drive??
>>> >>
>>> >> Because of th ewriting to the temp folder in APPDATA   it delays the
>>> >> startup of my app by almost 2 minutes
>>> >>
>>> >> Thanks in advance
>>> >> Patrick
>>> >> <><><><><><><><><><><><><><><><><><><><><><
>>> >>
>>> >> **We are not humans having a spiritual experience;
>>> >>    we are spirits having a human experience.
>>> >>    Knowledge is the greatest purifier of the soul.
>>> >>
>>> >>  ><><><><><><><><><><><><><><><><><><><><>>
>>> >>
>>> >> Developer for  PortableApps.com  My Current list of Apps is listed.
>>> >>
>>> >>
>>> >>
>>> >>
>>> >
>>> >
>>> > _______________________________________________
>>> > Fontconfig mailing list
>>> > Fontconfig@xxxxxxxxxxxxxxxxxxxxx
>>> > http://lists.freedesktop.org/mailman/listinfo/fontconfig
>>> >
>>>
>>>
>>>
>>> --
>>> Akira TAGOH
>>
>>
>



-- 
Akira TAGOH
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig



[Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Legacy]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux