diff --git a/weasyprint/pdf/stream.py b/weasyprint/pdf/stream.py index 6a6c265941..385b6237d6 100644 --- a/weasyprint/pdf/stream.py +++ b/weasyprint/pdf/stream.py @@ -71,7 +71,10 @@ def __init__(self, pango_font): self.ttfont = None self.bitmap = False else: - self.bitmap = 'EBDT' in self.ttfont and 'EBLC' in self.ttfont + self.bitmap = ( + 'EBDT' in self.ttfont and + 'EBLC' in self.ttfont and + not self.ttfont['glyf'].glyphs) # Various properties self.italic_angle = 0 # TODO: this should be different