ruruminations – cnàmh na cìr – chewing the cud


How to get polytonic Greek on your Android phone/tablet (especially on your browser)

This is a challenge for many people who have android phones and tablets, unless of course they have rooted devices, on which it is not a problem. But for those of us who are not brave enough to root our expensive electronic gadgets, here are a couple of helps.

First of all if you have a Samsung Galaxy Series phone, or any other phone/tablet that has the flipfont system installed, all you have to do to get polytonic greek on most apps is install a suitable flipfont, such as Tahoma, via the Fontomizer app.

Many apps use a font framework, which although not always open to alteration, it facilitates complex fonts and fonts otherwise unsupported by the Android system. Examples: Tertius (the best free offline Greek and Hebrew Bible reader available for free), Bible Lexicon, Olive Tree Bible, Cadrebible, Remember me, Ankidroid etc. One particular Bible app, AndBible has a font framework which allows you to use any font you choose within the app, even to the point of being able to attach specific fonts to specific Bibles, although there is a problem with the Hebrew fonts. Details of this can be found online.

But internet browsers mostly don’t work with the flipfont. There are some excellent sites for reading Koine and Classical Greek such as textcritical.com and motorera.com/greek, which, since Firefox for Android is ,as it comes out of the box, unable to render lots of the polytonic letters. But there is a way to install fonts on Firefox for Android, by means of extensions. These can be constructed from a basic extension developed by Mathieu Pellerin to enable Khmer fonts. I have put this together using the freely available SBL Greek font which renders Greek beautifully.

(The source code on which this is based is to be found at https://github.com/andjc/scripts-fr-an. My own modified source code is available in the .xpi files linked here, since an xpi file is just a renamed zip file. So if you want the source code or to read the licenses, just copy and rename the .xpi file with the extension .zip and you will be able to access the source code and licenses freely.)

I would recommend that if you wish to use this Firefox extenion that you install it, not on you main Firefox for Android installation, but that you install the Firefox for Android Beta app, so as to allow you to customise without interfering with the setup of other web-pages. The main reason being, that the way the installation works, if it is simply installed with no Firefox for Android settings changed, polytonic Greek will become readable, but Firefox for Android will use the SBL font as a fallback for letters previously showing up as blocks, whilst Greek letters without accents/breathing marks will probably show up in the default font for the x-western character set. (See the second last paragraph for the a more suitable font extension for that kind of set-up. But follow the principles of the following installation process.)

To install:

download the SBL Greek font (incl licenses).xpi file.

Copy onto your phone sdcard (in any way you wish). You can place it in the sdcard main directory if you wish.

Then type file: in the address bar. This will open a file explorer in Firefox for Android, most likely in the phone root directory. Tap on mnt and then on sdcard (may be sdcard0,1,2 etc. depending on your phone).

Tap on SBL Greek font (incl licenses).xpi and wait a second or two

A dialog box should appear asking if you wish to install, tap ok.

You now have SBL Greek on Firefox for Android.

If you simply want polytonic Greek text to be readable, but aren’t fussy about it being just so, then you can ignore this next bit. But if you want it to be just so, with consistent beautiful typeface, and a decent size then you’ll need to get into the guts of Firefox for Android (Beta if you have followed my advice).

It’s actually a lot less painful than it sounds. All you have to do is enter about:config in the address bar and a special configuration page will appear. Once the box and button appear you can get started by entering font in the box and pressing enter. This should bring up every setting relating to fonts.

Scan down for browser.display.use_document_fonts and modify to 0

Scan down again for font.default.x-western and modify to serif

Scan down again for font.minimum-size.x-western and modify to 18 *

Scan down again for font.name-list.serif.x-western and modify to SBL Greek

Scan down again for font.name.serif.x-western and modify to SBL Greek

Scan down again for font.size.inflation.emPerLine and modify to 20 *

Scan down again for font.size.inflation.forceEnabled and toggle to true

These setting are suitable for a Samsung Galaxy S3, but if you use a different size of phone or use a tablet, you may wish to adjust the settings marked with an asterisk.

If you are reading something that is marked as being Greek text you may need to adjust the setting for .el or .x-unicode fonts or even to add settings for .grc fonts, but for the sites mentioned above the above settings work fine.

So if you have followed the above, you now have Firefox for Android (Beta) functioning as a polytonic Greek reader. Enjoy!

[If you wish to have a quality serif Hebrew font on your Firefox for Android, then I have developed an SBL Hebrew font (incl licenses).xpi. Once installed you need to change the following settings in about:config, enter .he to find the relevant settings and change the following:

Scan down again for font.default.he and modify to serif

Scan down again for font.name.serif.he and modify to SBL Hebrew

You should now have SBL Hebrew diplaying for all Hebrew on Firefox for Android (Beta).]

After you have done all this, you can bookmark the sites and tap on options to place the bookmark on the home page. These bookmarks will only open Firefox for Android (Beta), if you bookmark within that app. They will not open the other instance of Firefox for Android.

[[If you prefer sans serif fonts, and a simpler effect for both Greek and Hebrew, then the best option for you is to install the DejaVu Sans fonts(incl licenses).xpi extension. as that font sits alongside the existing generic font very well without changing any settings. It works for both Hebrew and Greek. For Hebrew you will have to change the second setting mentioned above, but modify it to DejaVu Sans. But for polytonic Greek, this font will render the previously boxed letters, in a form very similar to the other letters, so negating the need to change settings in order to achieve consistency with regards to text/typeface. Those of you who know the inner workings of Firefox, may say at this point, but isn’t DejaVu Sans already installed on Firefox for Android. The answer to the question is yes, but! The but is this, only a subset of DejaVu Sans is actually installed, which does not include the polytonic Greek. I can’t verify whether it has any Hebrew, but from what I know it seems to only be aimed at the Maths Symbols subset.]]

[[[A final note: if you have books in Kindle for Android books that don’t render the Greek properly, if they are not DRM protected, then you can copy the relevant .mobi file to your computer and install and use Calibre to convert it to a .epub file. This will then open and render perfectly in Aldiko book reader. I don’t think you even need a suitable flipfont installed, although, I have been unable to verify that.]]]

{Since writing this post my own phone Galaxy S3 has updated to Android 4.3 and some of the difficulties with polytonic Greek mentioned above seem to be a thing of the past. Not sure about Hebrew yet though.}

Advertisements


Stòrais ùr – New resources
March 23, 2010, 7:14 pm
Filed under: Gaelic, Information Technology, Theology

Tha mi air stòrais-lìn no dhà a chuir air dòigh anns am faodadh ùidh a bhi aig a mhuinntir sin nar measg aig a bheil Gàidhlig neo a tha ag ionnsachadh na Gàidhlig.

1. Proiseact1888 (Am Bìoball (dìreach an Tiomnadh Nuadh an dràsda) ann an cruth dideatach)
2. Sailm Dhaibhidh (Na sailm ann am meatrachd)
3. Riaghailtean Teagaisg Iar-Minsteir (The Westminster Standards) ann an Gàidhlig
4. Diadhachd Gàidhlig – Ceangalan-lìn gu làraich air am bheil stòrais diadhachd ‘s a’ Ghàidhlig

I have made available the above resource websites which may be of interest to those Gaelic speakers amongst us, and those who are learning.



Blog Aggregators
January 9, 2009, 2:37 pm
Filed under: Information Technology

If you have not come across these web applications and you follow blogs, then you have not yet realised how much time you needlessly waste checking whether your friend (or otherwise) has posted a new blog item.  What a blog aggregator does is that is automatically scans to see if there is a new item and it lists these new items much as your email would show new mail.  Internet Explorer (for those of your crazy enough to still be using that useless piece of junkware) has something akin to this, but it is not a proper aggregator and it is infuriating to use, as is most of the said piece of bloat-ware.  The best aggregators are web-based (use Firefox or Opera instead if IE if you want to retain your sanity) so they are always up to date when you log in.  Examples are: Google reader, which is a pretty simple setup; Live.com; Netvibes etc.  The Client software type are fine, but why have another piece of software installed when all you need is your web-browser and Google Reader.

If you follow more than one blog, which is likely if you follow any, then you NEED to stop wasting your time and set up one of these beauties.  All you do is establish an account (you probably already have an account with google or live.com if so all you need to do is login and enable the feed reader/aggregator) and enter the blog details into the subscriptions dialogue.  After that it does all the leg work (finger tapping work) for you.

Sit back and relax.



Bibliography and Citation Utilities 2
January 9, 2009, 12:30 pm
Filed under: Information Technology

Having tried out a number of the tools I previously posted tools to I can now give recommendations.

The best overall system is Zotero.  This installs as an add on of Firefox (web browser) but also integrates with OpenOffice (not sure about Word).  All these items of software are free.  Zotero is a particularly powerful, allowing for a more comprehensive selection of citation styles than any other free software and more even than many of the proprietary software.

The Scholar’s Aid Lite software is also very good but it lacks the power of Zotero in terms of information harvesting from internet sources.  Also it is limited in terms of the citation styles that can be used, unless of course you wish to fork out for the full version of the software.

The classic academic citation software pasckages Refworks and Endnote are astronpmically priced though very powerful in functionality.  These are not really an option for any but the exceedingly wealthy individual or for institutions.

If your use is more scientific the Connotea is probably the software for the job, but it is a free option which may meet your requirements for other types of papers.

For those who would prefer not to install any extra software and are only going to be doing limited referencing/bibliographies then Bibme is a bery useful web-application.



Bibliography and Citation Utilities
November 13, 2008, 2:32 pm
Filed under: Information Technology

If you are putting together bibliographies and writing articles etc requiring citations then the following may be of interest to you.

1: http://www.bibme.org/ is a free utility which automatically adds, compiles and formats bibligraphic data by simply entering the ISBN of the relevant book.

2: http://scholarsaid.com/aboutsafree.html is free utility software which provides a library database which can be used to instantly add citations (formated according to your choice of citation formatting).  It also has a notes facility for the collation of research notes.

Following are some other useful utils:

connotea free online reference management for clinicians and scientists
Guide to Citation Generators
libguides Cite It Right – Home
NoodleTools MLA, APA, and Chicago-Turabian Bibliography Composer, Online Notecards
Son of Citation Machine
zotero The Next-Generation Research Tool
[WorldCat.org] Search for books, music, videos, articles and more in libraries near you
Oh and if you are interested you can see my current reading by clicking on the link to My Current Reading in the blogroll.