Arthas74 / and-bible

Automatically exported from code.google.com/p/and-bible
0 stars 0 forks source link

Fonts.properties is downloaded when you download a new document #134

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The fact that the file fonts.properties is downloaded when you download a new 
document causes problems for any module developer or other user who has edited 
the file to provide or investigate a suitable font to display the script for 
particular modules that would otherwise not display correctly or not at all.

It means that after installing any new (unrelated) module one has to start 
again, and copy the edited file from another location or computer to the fonts 
folder for And Bible.

This is a real annoyance.

It would be far better to have two separate properties files. Alongside the one 
downloaded, one called userfonts.properties could be parsed to specify the 
fonts to be used with the modules of interest to the user or developer. This 
file would never be overwritten by a document download action.

Original issue reported on code.google.com by DFH...@gmail.com on 25 Nov 2012 at 9:52

GoogleCodeExporter commented 9 years ago
Hi David,

You shouldn't be updating Fonts.properties in that directory.  It says in the 
FontFramework wiki page that you should update fonts.properties in 
sdcard/jsword/fonts, but maybe it is not clear enough as I have seen one or 2 
people dive into the net.bible.android.activity folder (I didn't think people 
would find that system folder).

At runtime the 2 folders are merged, and I think that if conflicts are found 
the jsword/fonts/fonts.properties takes precedence.

Original comment by mjden...@gmail.com on 26 Nov 2012 at 10:13

GoogleCodeExporter commented 9 years ago
Hi Martin,

The directory /sdcard/jsword/ is nowhere to be found in my system.

Any ideas?

How is And Bible actually working if there's no jsword folder?

I'm really puzzled.

David

Original comment by DFH...@gmail.com on 26 Nov 2012 at 11:15

GoogleCodeExporter commented 9 years ago
Sorted - now that I've created the directory in accordance with the 
instructions in the FontFramework page.

Original comment by DFH...@gmail.com on 26 Nov 2012 at 2:47