From jcm at SDF.ORG Wed Jan 11 23:37:22 2012 From: jcm at SDF.ORG (jcm at SDF.ORG) Date: Wed, 11 Jan 2012 23:37:22 -0000 Subject: [cl-pdf-devel] Understanding text layout functions Message-ID: I'm trying to draw a title page, with some colored bars and images, and text as well. What is the purpose of in-text-mode and draw-text versus the paragraph function? Why do some strings appear correctly in the pdf when they are in a paragraph, but others need to be inserted with format-string? I have more questions, but I'll start with these. From jcm at SDF.ORG Thu Jan 12 01:31:17 2012 From: jcm at SDF.ORG (jcm at SDF.ORG) Date: Thu, 12 Jan 2012 01:31:17 -0000 Subject: [cl-pdf-devel] More questions Message-ID: <9cea9b0e625c181695630da964b8bf23.squirrel@wm.sdf.org> 1. What does with-saved-state do? I've tried changing color inside this expression, and expecting it to go back to what it was before after the expression ends. Is this how it works? 2. I tried changing the fill and stroke colors for text on one line, and then a different color on the next line. But all text on the page ends up the last color I use. How can I have different color text? 3. What are the uses for in-text-mode and move-text ? I tried move-text while inside in-text-mode, and it seems to have no effect on the text location. move-to does not either. But vspace does. From jcm at SDF.ORG Sun Jan 15 14:08:58 2012 From: jcm at SDF.ORG (jcm at SDF.ORG) Date: Sun, 15 Jan 2012 14:08:58 -0000 Subject: [cl-pdf-devel] Multicolor text in paragraph Message-ID: <05a4a8c170fc03f5436a8f73d516a798.squirrel@wm.sdf.org> Can PARAGRAPH be used to show different styles/colors of text in the same line? From jcm at SDF.ORG Tue Jan 17 12:46:20 2012 From: jcm at SDF.ORG (jcm at SDF.ORG) Date: Tue, 17 Jan 2012 12:46:20 -0000 Subject: [cl-pdf-devel] Adding arrow heads to lines Message-ID: <3272736413d53fbf5c807ea8f85e0d82.squirrel@wm.sdf.org> Is there a way to add arrow heads without trying to rotate and draw them manuall? From jcm at SDF.ORG Tue Jan 17 12:48:03 2012 From: jcm at SDF.ORG (jcm at SDF.ORG) Date: Tue, 17 Jan 2012 12:48:03 -0000 Subject: [cl-pdf-devel] Importing Cambria font Message-ID: I'm running SBCL on OS X. How could I import a Cambria font for use in PDFs? From jcm at SDF.ORG Wed Jan 18 18:12:04 2012 From: jcm at SDF.ORG (jcm at SDF.ORG) Date: Wed, 18 Jan 2012 18:12:04 -0000 Subject: [cl-pdf-devel] Text to left and right of user drawn box Message-ID: <39c7be96e53ce40667decb56b6c8ffe9.squirrel@wm.sdf.org> I'm drawing a chart that needs text to the left and the right. However, I'm not sure which text methods are correct within the context of WITH-DOCUMENT to place text where I need them to go. Using the regular CL-PDF methods causes an error, because *page* is not set. From jcm at SDF.ORG Wed Jan 18 18:28:33 2012 From: jcm at SDF.ORG (jcm at SDF.ORG) Date: Wed, 18 Jan 2012 18:28:33 -0000 Subject: [cl-pdf-devel] Need help with layout Message-ID: <7ed4ac07181cc41a00f44a6ac9f47986.squirrel@wm.sdf.org> I'm having some issues getting my layout working, and I'm running out of time, so if anyone can help, I'd appreciate it. How can I have a line of text, a user drawn box, and another line of text, with the text lined up pretty much with the center of the box? I have a 100 point high user draw box, so I need label text on the left and right about 50 points from the top or bottom of the box. Can anyone help?