make stylesheet and font embedding work