1

Is it possible to configure the deafult font size in gimprc?

from man gimprc, I see:

(default-font "Sans")

Can the string "Sans" be modified to specify the font size? Where can I find a full format specification of the font parameter?

  • Do you want to modify the font in the UI or the font in the text tool? – xenoid Apr 5 '17 at 1:02
  • the font in the text tool. I'll edit my question – user84207 Apr 5 '17 at 2:26
1

Tool options are kept in the... tool-options subdirectory of your Gimp profile. The name and format is self-explanatory, for instance, my tool-options/gimp-text-tool file contains:

# GIMP gimp-text-tool options

(palette "Basic")
(font "Gilgongo")
(font-size 60.000000)

# end of gimp-text-tool options
| improve this answer | |
  • The above setting appears to not be taking effect. I've also added (global-font yes) but the default font size for the Text tool remains the same – user84207 Apr 13 '17 at 1:21
  • Works for me. Did you did this when Gimp was running? Where is that global-font setting described? It is not in my gimp-text-tool file. – xenoid Apr 13 '17 at 16:25
  • GIMP-Warning: Error while parsing '/etc/gimp/2.0/gimprc' in line 210: unexpected number '60.000', expected string constant - fatal parse error. I replaced it with a string, now it does not complain. But the default font size is still 18 – user84207 Apr 17 '17 at 23:25
  • Ah, so you are still editing gimprc? The right place is the tool-options/gimp-text-tool file, as mentioned in my answer. – xenoid Apr 17 '17 at 23:52
  • Sorry, I didn't notice the difference between gimprc and gimp profile. It works now – user84207 Apr 18 '17 at 1:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.