Loading and using a custom font example

Hi,

can anyone provide some example code of loading and using a custom font?

Thanks!