shorne in japan

blog archive about resume

What are font fallbacks?

Fallbacks should be used if you do not want fontconfig fonts or you simply do not have fontconfig support. Currently enlightenment support 2 types of font searching and naming schemes. These are:

In order to get font fallbacks working you will need to be using Evas Native fonts (Vera, Vera-Bold). Fontconfig fonts(Sans, Serif) do not need/support font fallbacks because they have fallbacks already built in.

Installing Evas Fonts

Creating an Evas Font Directory
In order for evas to be able to use fonts you will need to create a directory which contains the following files: fonts.alias, fonts.dir. You can look at the default font directory for an example. To create your own font directory you can do the following:

The font dir should now be setup. The fonts available can now either be used as font fallbacks or as default fonts.

Using Fallbacks
Once enlightenment can find your fallback fonts simply add them to the fallback list in the order you want. Example:

This means that after evas/englightenment finds that the default font does not contain a specific character glyph we will fallback to kochi-mincho and then sungtil.