Browse Source

Fix DynamicTextFont.makeCopy() implementation

Ed Swartz 10 years ago
parent
commit
b06ff60c10
1 changed files with 1 additions and 0 deletions
  1. 1 0
      panda/src/pnmtext/freetypeFont.cxx

+ 1 - 0
panda/src/pnmtext/freetypeFont.cxx

@@ -68,6 +68,7 @@ FreetypeFont(const FreetypeFont &copy) :
   _requested_scale_factor(copy._requested_scale_factor),
   _requested_scale_factor(copy._requested_scale_factor),
   _scale_factor(copy._scale_factor),
   _scale_factor(copy._scale_factor),
   _native_antialias(copy._native_antialias),
   _native_antialias(copy._native_antialias),
+  _font_pixels_per_unit(copy._font_pixels_per_unit),
   _line_height(copy._line_height),
   _line_height(copy._line_height),
   _space_advance(copy._space_advance),
   _space_advance(copy._space_advance),
   _face(copy._face),
   _face(copy._face),