~kalon33/corsix-th/master

« back to all changes in this revision

Viewing changes to CorsixTH/Src/th_gfx_font.cpp

  • Committer: corsixth.bot at gmail
  • Date: 2014-03-31 23:30:23 UTC
  • Revision ID: svn-v4:c39591fa-788f-11de-a72b-d90af8dea425:trunk:2687
Remove trailing whitespaces in .h, .cpp, .c and .lua files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
422
422
    }
423
423
    if(iAverageNum == 0)
424
424
        return FT_Err_Divide_By_Zero;
425
 
    
 
425
 
426
426
    return setPixelSize((iWidthSum + iAverageNum / 2) / iAverageNum,
427
427
                        (iHeightSum + iAverageNum / 2) / iAverageNum);
428
428
}
531
531
        pEntry->iMessageLength = iMessageLength;
532
532
        pEntry->iWidth = iWidth;
533
533
        pEntry->eAlign = eAlign;
534
 
        
 
534
 
535
535
        // Split the message into lines, and determine the position within the
536
536
        // line for each character.
537
537
        std::vector<std::pair<const char*, const char*> > vLines;
707
707
                }
708
708
            }
709
709
        }
710
 
        
 
710
 
711
711
        // Free all glyphs.
712
712
        for(std::map<unsigned int, codepoint_glyph_t>::const_iterator itr =
713
713
            mapGlyphs.begin(), itrEnd = mapGlyphs.end(); itr != itrEnd; ++itr)