code style and notice in pdf renderer if lib not found