This page is out of date

You've reached a page on the Ren'Py wiki. Due to massive spam, the wiki hasn't been updated in over 5 years, and much of the information here is very out of date. We've kept it because some of it is of historic interest, but all the information relevant to modern versions of Ren'Py has been moved elsewhere.

Some places to look are:

Please do not create new links to this page.


Good Looking Italics

If you plan to do a lot of work in italics, such as having the narrator's voice be in italics by default, you'll want to use an oblique font.

First, you'll want to download DejaVuSans-Oblique.ttf and put it in your project's game directory. (On most platforms, you can get to this directory by clicking the "Game Directory" button in the Ren'Py Launcher.)

Then, you need to add the following line to an init block:

    $ config.font_replacement_map["DejaVuSans.ttf", False, True] = ("DejaVuSans-Oblique.ttf", False, False) 

For example:

init:
    $ config.font_replacement_map["DejaVuSans.ttf", False, True] = ("DejaVuSans-Oblique.ttf", False, False) 

This modified the to use the uploaded font in place of the regular font when doing (non-bold) italics.

The supplied font is of course not the only font you can use. Any true type font which you can legally distribute, you can use in a Ren'Py game.