diff options
Diffstat (limited to 'src/base/ftglyph.c')
-rw-r--r-- | src/base/ftglyph.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/base/ftglyph.c b/src/base/ftglyph.c index 095469500..22cf25b75 100644 --- a/src/base/ftglyph.c +++ b/src/base/ftglyph.c @@ -327,6 +327,7 @@ glyph->svg_document_length = doc_length; glyph->glyph_index = slot->glyph_index; glyph->metrics = document->metrics; + glyph->units_per_EM = document->units_per_EM; /* copy the document into glyph */ FT_MEM_COPY( glyph->svg_document, document->svg_document, doc_length ); @@ -376,6 +377,7 @@ target->glyph_index = source->glyph_index; target->svg_document_length = source->svg_document_length; target->metrics = source->metrics; + target->units_per_EM = source->units_per_EM; /* allocate space for the svg document */ target->svg_document = memory->alloc( memory, @@ -410,6 +412,7 @@ document->svg_document = glyph->svg_document; document->svg_document_length = glyph->svg_document_length; document->metrics = glyph->metrics; + document->units_per_EM = glyph->units_per_EM; slot->format = FT_GLYPH_FORMAT_SVG; slot->other = document; |