CSPspEmu.Hle.Formats.Font.FontStyle.GetScoreCompare C# (CSharp) Method

GetScoreCompare() public static method

public static GetScoreCompare ( FontStyle Left, FontStyle Right ) : float
Left FontStyle
Right FontStyle
return float
        public static float GetScoreCompare(FontStyle Left, FontStyle Right)
        {
            float Score = 0.0f;
            if (Left.Size == Right.Size) Score++;
            if (Left.Resolution == Right.Resolution) Score++;

            return Score;
        }