Here's a simple question: how do I find whether a face is bold? How
about italic?
Under X11, I can examine (font-instance-properties (face-font-instance
face)). Then, if the property `WEIGHT_NAME' equals "Bold", the face
is probably bold. If 'SLANT equals "i" or "o", the face is for my
purposes italic.
I have a strange feeling that this doesn't work on non-X11 devices.
It might even failed under X11-based devices that provide their own
font model (Qt?), under the condition that XEmacs actually uses it.
So my question is: what does `font-instance-properties' return under
Windows? If the answer is "nothing" or "nothing useful", is there
another way to detect boldness etc.?