When an odc document uses a font, which I have not installed on my computer, how can I get the name of this missing font? Selecting the text and clicking with right mouse button -> Properties doesn't show the missing font name. It shows the font name which is used instead.
- Helmut
How can I get the name of the missing font?
Re: How can I get the name of the missing font?
refer to HostDialog.TypefaceDialog, you can get a funtionand a test menu
select a text and set a test typeface, then check it's formal name.
Code: Select all
PROCEDURE FormalTypeface*;
VAR p: Properties.StdProp;
BEGIN
Properties.CollectStdProp(p);
IF Properties.typeface IN p.known THEN
Log.String(p.typeface);Log.Ln;
END
END FormalTypeface;
Code: Select all
"Formal Typeface" "" "HostDialog.FormalTypeface" "StdCmds.SelectionGuard"
"Test" "" "StdCmds.Font('Test')" "StdCmds.SelectionGuard"
Re: How can I get the name of the missing font?
Luowy, thank you very much. It works.
- Helmut
- Helmut