Cannot read font in Gnucash 2.6.9
Donna Pfeifer
donna32132 at yahoo.com
Mon Dec 14 11:41:26 EST 2015
Thank you very much!
It didn't work the first time so I redid it and left font as arial narrow. I can live with that - and read it.
Your explanation was very clear and detailed.
Thanks again.
From: John Ralls <jralls at ceridwen.us>
To: Donna Pfeifer <donna32132 at yahoo.com>
Cc: "gnucash-user at gnucash.org" <gnucash-user at gnucash.org>
Sent: Saturday, December 12, 2015 11:58 AM
Subject: Re: Cannot read font in Gnucash 2.6.9
On Dec 12, 2015, at 4:22 AM, Donna Pfeifer <donna32132 at yahoo.com> wrote:
- MacOs: Create a plain text file in your home folder (~ is unix shorthand for your home folder):
- X Window version: ~/.gtkrc-2.0
- native version: ~/.gtkrc-2.0.gnucash
What do they mean by "home folder"? Where do I find it?Do I make a folder titled ~/.gtkrc-2.0.gnucash and put the text in it?
The one in the sidebar with your user name. If you accepted the default when you set up your mac, it’s called “donna” and its full path would be /Users/donna.
No, don’t create a folder. Open TextEdit, select your home directory from the dialog box’s sidebar, then click “New File” at the bottom of the dialog box. To get a plain ascii file you need to change a couple of TextEdit settings: Format>Make Plain Text Edit>Substitutions, uncheck Smart Quotes
Now paste in the example and modify it to the font and size of your liking (you can use Font Book to see what fonts you have installed and to preview them), then save the result as .gtkrc-2.0.gnucash. Note the leading dot. Tell TextEdit that it’s OK to have the leading dot and the .gnucash extension.
Restart GnuCash to see the results. If the font didn’t change, first make sure that you got the file name right. Unfortunately Apple has made it difficult to make hidden files visible (http://recomhub.com/blog/how-to-show-hidden-files-on-mac-os-x-el-capitan/ has the procedure if you’re curious) so it’s easier to just use Terminal. Open Utilities/Terminal and at the command prompt type ls .gtk*(press return at the end) and it should show the file you just saved. Make sure TextEdit didn’t stick a “.txt” on the end. If the file name is correct, try running GnuCash from Terminal by typing /Applications/Gnucash.app/Contents/MacOS/Gnucashat the command prompt. If there’s something wrong the output will begin with/Users/donna/.gtkrc-2.0.gnucash:3: error:
If the error is "unexpected character '\342', expected string constant” then TextEdit did its smart quotes trick; make sure that Smart Quotes is unchecked in Edit>Substitutions and fix the quotes. They should look straight ( " ) rather than curly ( “ ). You can use File>Open Recent to open .gtkrc-2.0.gnucash if you’d closed it.
Regards,John Ralls
More information about the gnucash-user
mailing list