How do I print text in fonts in graphics mode? I tried using format, but I just got an ugly string in a hard to read font.
Use set-font and outtextxy. Note that the set-font function needs to have the correct path to the font files. Note also that you can use format to hand off a string to outtextxy by giving nil as the first argument to format (rather than t as usual). This formats into a string, which is then passed to outtextxy. For example: (outtextxy 30 30 (format nil “there are ~d ~a ~s” 3 ‘black “sheep”)) Q: The parend matcher (Ctrl-PgUp, Ctrl-PgDn) in EMACS doesn’t work. A: It gets confused if you have mismatched parenthesis. We are trying to improve this. The blinking parenthesis in EMACS is our way of making up for this for now. The phenomena seems to occur when you have deleted a bunch of stuff; we are still trying to figure out the exact circumstances. Q: I tried loading init0.lsp and I got an error. A init0.lsp is not meant to be loaded in its entirety; also not everything in it has been tested. You should just load what you need. It is made up of spare parts from various sources.
Related Questions
- When printing the document, the fonts don look right or the text is misaligned on the printed pages. How do I print the document properly?
- How do I print text in fonts in graphics mode? I tried using format, but I just got an ugly string in a hard to read font.
- When submitting photographs and graphics, what is the preferred format for optimal print reproduction?