DrawFile_Render and missing fonts
Stuart Swales (8827) 1349 posts |
SWI DrawFile_Render ought to attempt to render text that uses declared, but unknown-to-this-system, fonts. (See https://www.riscosopen.org/tracker/tickets/541 for an example of where this is seen to not work.) Might it then be an idea that rather than always falling back to using VDU 5 text, it could use Wimp_TextOp to yield a somewhat less fugly result for such text? If needed it could be controlled by a bit in the SWI DrawFile_Render Flags word. |
Rick Murray (539) 13806 posts |
Agreed. Not Wimp_TextOp because that just outputs “in the desktop font/size”, but certainly if a declared font is not found on the system, it should replace it with Homerton or Trinity in order that something vaguely useful happens. |
Chris Hall (132) 3554 posts |
It should also produce a more meaningful error than ‘(Number)’ when it sees an unknown font (if it has to produce an error). |