Using custom fonts with Bibles - eliranwong/UniqueBible GitHub Wiki

UBA supports fonts for specific Bibles. You can either use a built-in font or a ttf file.

Using a built-in font

Create an empty file in the htmlResources/fonts folder with the name of the font with ".builtin" extension.

For example, if you want to use the "Edwardian Script ITC" font, create an empty file with the filename "Edwardian Script ITC.builtin" in the fonts folder.

To get the list of built-in fonts:

  • Windows - go to Control Panel and fonts
  • Mac - open the "Font Book" application
  • Linux - open the "Fonts" application

Using a ttf file

Place your ttf font in the htmlResources/fonts folder.

Configuring a Bible with a font

In UBA menu, select "Modify Database". Select the Bible you want and then select the font.

Now when you view that Bible, it will use that font.

Currently, fonts only apply to reading a Bible and not to verse comparisons across multiple Bibles.

Font size

Font sizes can also be adjusted. Some examples values:

  • smaller
  • larger
  • x-small
  • x-large
  • 12 px
  • 0.8 em
  • 80%
  • 150%