Skip to main content
4 of 4
replaced http://stackoverflow.com/ with https://stackoverflow.com/

Why was my question about a library recommendation closed as "not a real question"?

This is regarding this question:

https://stackoverflow.com/questions/13483054/string-length-to-pixel-length

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:

https://stackoverflow.com/search?q=pixel+length

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:

http://wiki.inspired-lua.org/platform.withGC

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.

Mike
  • 79
  • 1