Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

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.

0
Posted

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.

0

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

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123