I need to measure a string width and height in pixels in .NET Core 2.
In .NET Framework can be done using Graphics.MeasureString method, but in .NET Core, Graphics class no longer exists.
I also tried to find a Font or FontFamily class and extract the font size, font ascent and fond descent, but I couldn't find any or something similar.
With the current .NET Core version, that is still under hard work, it is possible to measure a string or to get the font metrics?