I want something that runs on my computer that somehow interrogates X and tells me exactly the font, not a guess.
|
I don't think there is a general solution. Once the text has been rendered, there's no reason why any component of the system would have kept the information of what font it was rendered from around. So you'll have to somehow watch when the program renders the text. In any case, how to get at the information depends on the rendering engine. Most programs render through the fontconfig library. If you start a fontconfig-using program with the Traditional unix programs render text using bitmap fonts managed by the X server. Then you could see what font was used to render what text by spying on the X protocol conversation and watching for If you're only interested in a particular application, there may be a better way that's specific to that application. |
|||
|
|
|
A great resource for identifying fonts is here: |
|||||||
|