[Fontconfig] HELP

VF2NSR
Tue, 06 Mar 2012 21:39:58 -0000

*OK I think I have figured out what I am trying to accomplish.
I would like to be able to include specific fonts in the file so as to have
fontconfig only scan for those fonts in that directory and to not scan fo
fonts on the host machine.  This way the scan would be the same no matter
what machine the program is run on it would only scan the fonts on the usb
device.

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 <http://portableapps.com/>  My Current
list of Apps <http://portableapps.com/node/30620> is listed.*






On Thu, Mar 1, 2012 at 04:21, Akira TAGOH <akira at tagoh.org> wrote:

> 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 at gmail.com> 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 at gmail.com>
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 at
tagoh.org> 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 at
gmail.com> 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 at lists.freedesktop.org
> >>> > http://lists.freedesktop.org/mailman/listinfo/fontconfig
> >>> >
> >>>
> >>>
> >>>
> >>> --
> >>> Akira TAGOH
> >>
> >>
> >
>
>
>
> --
> Akira TAGOH
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.freedesktop.org/archives/fontconfig/attachments/20120306/afd62686/attachment.html>