How can I determine what font is actually being displayed?

Very often I am editing a document from another system (Windows etc.) which has fonts set. When I open them in Libre Office Writer, the fonts displayed are sometimes not what the “Font” box says (sometimes the displayed font name isn’t even installed.)

I want to be able to put the cursor on a character and find out what font that glyph is actually coming from. For example yesterday I needed to type two Greek letters into a document, and when I did right together as one word, one letter was slanted and the other was not slanted and bigger. These two glyphs were obviously not from the same font. I want to see exactly what font is actually being used for each glyph.

If a macro is needed for this, tell me what I need to use to access this information.

Does anyone have an answer for this?

This can be difficult to determine due to font substitution. The font replacement table is the first place to look. There is also share/fonts/truetype/fc_local.conf and share/registry/main.xcd in the install directory.

It looks like I don’t have any subtitutions set. Unless there is a Linux place to look. Is there a font you can set that shows the little boxes with 4 or 6 digit numbers in them for Unicode values not supported? how do they do that?

The Unicode Last Resort font may be of assistance.

Thanks for the Unicode Last Resort font. Looks useful.

I do not have a /share directory at all. (Using Linux Mint 16.)

Not /share (root-level) … share/ (sub-directory in install location).

Finally got around to looking for the share/ directory. There is very little there. Only setting “Liberation Sans Narrow” equal to “Arial Narrow”. Nothing more. My question still remains.