On Fri, Aug 26, 2016 at 4:57 PM, Gour <g...@atmarama.com> wrote: > On Fri, 26 Aug 2016 10:18:14 +0200 > "teso...@gmail.com" > <teso...@gmail.com> wrote: > >> Hi, >> sometimes running fc-cache is needed to update the FreeTypeFonts >> caches of fonts. > > Well, my fonts are already installed for some time and visible to other > apps. > >> It will list all the directories where is looking for classes and >> updates all the caches, It maybe take some minutes to run, but is >> needed if you added fonts in the different directories. > > It lists ~/.fonts, but Pharo tool does not see those fonts. > > Is there a way to log output when I press 'Update'?
Which 'Update' button do you refer to? Very generally, to add in logging... Bring up the "halos" of that button, drilling in a few times to get to the PluggableButtonMorph [1], then click the Debug(wrench)halo-icon and Inspect Morph. Scroll the list to find something like a method selector, perhaps in the 'actionSelector' variable. Use Spotter to find that method and add a 'self haltOnce' at the top. After [World > System > Enable halt/inspect once] click the button and the debugger should open. Step through until you find the place you want to add logging. [1] http://www.jarober.com/blog/blogView?entry=3473307858 You may need to try a few combinations to find the magic combo for your platform. cheers -ben > > I see that it scans e.g. /usr/share/fonts, but would like to see > complete output? > > > Sincerely, > Gour > > -- > But for one who takes pleasure in the self, whose human life > is one of self-realization, and who is satisfied in the self only, > fully satiated — for him there is no duty. > > >