This is regarding this question:
I assume that it got closed because nobody knows of a Lua library that deals with pixels. But that does not mean it doesn't exist. Now it's closed, others are prevented from answering the question.
On Stack Overflow there are many questions asking the very same thing, just not for Lua:
for the most part these questions get answered and left open for the community to answer as the community as a whole will almost always know of more ways than a small group of users.
As a new poster it's quite disheartening to see that a question you post gets immediately voted down and closed. To be fair the question was very short but did not at the time include the pixel size or font type as that is a variable that the end user determines and is clearly a factor that the library or dll requested would find out.
Such a library does exist and can be found here:
but it's not for Windows so based on the fact that what I asked has been done already on other platforms its not unreasonable in my view to ask this community if they know a way to achieve the same results on windows.