public static IntRect GetGlyphBitmapBoxSubpixel(Rect subGlyphBox, Vector2 scale, Vector2 shift)
        {
            var br = subGlyphBox.BottomRight;

            return(IntRect.FromEdgePoints(
                       tlX: (int)Math.Floor(subGlyphBox.X * scale.X + shift.X),
                       tlY: (int)Math.Floor(-br.Y * scale.Y + shift.Y),
                       brX: (int)Math.Ceiling(br.X * scale.X + shift.X),
                       brY: (int)Math.Ceiling(-subGlyphBox.Y * scale.Y + shift.Y)));
        }