[DF-5073] Fix calculation maximum width in FTFont