support for Croatian language
Hello, while researching how to make fonts in Pharo display Croatian characters, I've noticed that in Settings --> Appearance --> Standard fonts Croatian is not listed and I have to use Slovene (Slovenian) , so wonder what is required in order to add 'support' for it? Sincerely, Gour -- The working senses are superior to dull matter; mind is higher than the senses; intelligence is still higher than the mind; and he [the soul] is even higher than the intelligence.
you mean the list after enabling free type library? that has nothing to do with Pharo, it lists the fonts present (and findable) of your system. cheers, Esteban
On 25 Aug 2016, at 17:44, Gour <gour@atmarama.com> wrote:
Hello,
while researching how to make fonts in Pharo display Croatian characters, I've noticed that in
Settings --> Appearance --> Standard fonts
Croatian is not listed and I have to use Slovene (Slovenian) , so wonder what is required in order to add 'support' for it?
Sincerely, Gour
-- The working senses are superior to dull matter; mind is higher than the senses; intelligence is still higher than the mind; and he [the soul] is even higher than the intelligence.
On Thu, 25 Aug 2016 18:19:13 +0200 Esteban Lorenzano <estebanlm@gmail.com> wrote:
you mean the list after enabling free type library?
Yes.
that has nothing to do with Pharo, it lists the fonts present (and findable) of your system.
Ahh, now I got it...'language' simply denotes "demo string" and not selecting support for the language...still, I see that it does not find fonts installed in ~/.fonts. Sincerely, Gour -- One must deliver himself with the help of his mind, and not degrade himself. The mind is the friend of the conditioned soul, and his enemy as well.
Hi, sometimes running fc-cache is needed to update the FreeTypeFonts caches of fonts. Try just running in your terminal fc-cache 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. Cheers, Pablo On Thu, Aug 25, 2016 at 7:22 PM, Gour <gour@atmarama.com> wrote:
On Thu, 25 Aug 2016 18:19:13 +0200 Esteban Lorenzano <estebanlm@gmail.com> wrote:
you mean the list after enabling free type library?
Yes.
that has nothing to do with Pharo, it lists the fonts present (and findable) of your system.
Ahh, now I got it...'language' simply denotes "demo string" and not selecting support for the language...still, I see that it does not find fonts installed in ~/.fonts.
Sincerely, Gour
-- One must deliver himself with the help of his mind, and not degrade himself. The mind is the friend of the conditioned soul, and his enemy as well.
-- Pablo Tesone. tesonep@gmail.com
On Fri, 26 Aug 2016 10:18:14 +0200 "tesonep@gmail.com" <tesonep@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'? 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.
It seems that the directory lookup process is wrong, the directories are having less entries. If you check the class FreeTypeFontProvider has the methods to resolve the directories. You can change the implementation of #unixFontDirectories to add the missing directory, I will file an issue in fogbuz. Cheers. On Fri, Aug 26, 2016 at 10:57 AM, Gour <gour@atmarama.com> wrote:
On Fri, 26 Aug 2016 10:18:14 +0200 "tesonep@gmail.com" <tesonep@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'?
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.
-- Pablo Tesone. tesonep@gmail.com
On Fri, 26 Aug 2016 11:19:43 +0200 "tesonep@gmail.com" <tesonep@gmail.com> wrote:
It seems that the directory lookup process is wrong, the directories are having less entries.
Yes.
You can change the implementation of #unixFontDirectories to add the missing directory, I will file an issue in fogbuz.
Correct. Adding my ~/.fonts solves it, but I've to install absolute path and wonder how it should work with a relative one, iow. '~/.fonts' ? Sincerely, Gour -- What is night for all beings is the time of awakening for the self-controlled; and the time of awakening for all beings is night for the introspective sage.
Le 26/08/2016 à 12:38, Gour a écrit :
On Fri, 26 Aug 2016 11:19:43 +0200 "tesonep@gmail.com" <tesonep@gmail.com> wrote:
It seems that the directory lookup process is wrong, the directories are having less entries.
Yes.
You can change the implementation of #unixFontDirectories to add the missing directory, I will file an issue in fogbuz.
Correct. Adding my ~/.fonts solves it, but I've to install absolute path and wonder how it should work with a relative one, iow. '~/.fonts' ?
Sincerely, Gour
I know that the FileLocator know home. But I do not know if it is possible to use it via a static array and calling #asFileReference after. Does someone know if it is possible? I tried '{temp}/myFile.txt' asFileReference but it did not worked. -- Cyril Ferlicot http://www.synectique.eu 165 Avenue Bretagne Lille 59000 France
On Fri, Aug 26, 2016 at 4:57 PM, Gour <gour@atmarama.com> wrote:
On Fri, 26 Aug 2016 10:18:14 +0200 "tesonep@gmail.com" <tesonep@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.
On Fri, 26 Aug 2016 17:35:50 +0800 Ben Coman <btc@openinworld.com> wrote:
Which 'Update' button do you refer to?
In Settings Browser --> Appearance --> Standard Fonts
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.
Thank you for the tip. I'll try it to learn something new, although Pablo answered for concrete issue. Sincerely, Gour -- The intricacies of action are very hard to understand. Therefore one should know properly what action is, what forbidden action is, and what inaction is.
participants (5)
-
Ben Coman -
Cyril Ferlicot D. -
Esteban Lorenzano -
Gour -
tesonep@gmail.com