Ticket #5256: mythtv_osdspacing.1.patch

File mythtv_osdspacing.1.patch, 643 bytes (added by Mark Spieth, 12 years ago)
  • libs/libmythtv/ttfont.cpp

     
    629629   }
    630630
    631631   loadedfontsize = (int)(fontsize * m_hmult);
    632    xdpi = (int)(xdpi * m_wscale);
    633632
    634633   FT_Set_Char_Size(face, 0, loadedfontsize * 64, xdpi, ydpi);
    635634
     635   FT_Matrix tmatrix;
     636   tmatrix.xx = (FT_Fixed)(m_wscale * (1<<16));
     637   tmatrix.yx = (FT_Fixed)0;
     638   tmatrix.xy = (FT_Fixed)0;
     639   tmatrix.yy = (FT_Fixed)(1<<16);
     640   FT_Set_Transform(face, &tmatrix, 0);
     641
    636642   n = face->num_charmaps;
    637643
    638644   for (i = 0; i < n; i++)