Commit 3b5e2046 authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Forgot assigning type on copy constructor

parent e512cd18
......@@ -196,6 +196,7 @@ FontInfo::FontInfo(GfxFont *font, PDFDoc *doc) {
FontInfo::FontInfo(FontInfo& f) {
name =>copy();
type = f.type->copy();
emb = f.emb;
subset = f.subset;
hasToUnicode = f.hasToUnicode;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment