Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.44 KB | None | 0 0
  1. --- FontLinux.cpp
  2. +++ FontLinux.cpp
  3. @@ -502,7 +502,7 @@
  4.  
  5.         m_glyphs16[i] = m_item.glyphs[i];
  6.         double offsetX = truncateFixedPointToInteger(m_item.offsets[i].x);
  7. -       m_xPositions[i] = m_offsetX + position + offsetX;
  8. +       m_xPositions[i] = m_offsetX + position;// + offsetX;
  9.  
  10.         double advance = truncateFixedPointToInteger(m_item.advances[i]);
  11.         // The first half of the conjuction works around the case where
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement