Fix inheritance of fonts in doc