________________________________ From: "quartzcomposer-dev-requ...@lists.apple.com" <quartzcomposer-dev-requ...@lists.apple.com> To: quartzcomposer-dev@lists.apple.com Sent: Friday, December 28, 2012 3:00 PM Subject: Quartzcomposer-dev Digest, Vol 93, Issue 2 The reason that 0 is the minimum leading is that each font is designed with a certain height including ascenders and descenders. It's not supposed to look presentable with less spacing. There are a few approaches, each of which represents a trade-off. You can find a font designed with less extreme descenders. Image With String will then pack them in more tightly. Or you could pick a condensed (narrow) font and use the aspect of a sprite to squash it out into a wider, flatter image. The first approach is the cleanest, and there are lots of fonts out there. The second approach does a kind of violence to the font, because all font intelligence is removed from the squashing process. Therefore you may get aliasing or ugliness. An even simpler variant of the second approach is to use a little bit of negative Font Kerning Shift to cram the letters closer together, then squash the image flatter. This, too does violence to the font design and may give you aliased or ugly results. But you don't have to find or pick a new font. Just don't mention this to any professional typographers: all those luscious curves along with the minimum spacing were carefully designed just so by someone who cared. We are talking about font mutilation here. Today's Topics: 1. Re: RSS Screensaver Font question (Achim Breidenbach) Message: 1 Date: Fri, 28 Dec 2012 07:33:17 +0100 From: Achim Breidenbach <ac...@boinx.com> To: Jeff Wolgast <jwolg...@thegdl.org> Cc: quartzcomposer-dev@lists.apple.com Subject: Re: RSS Screensaver Font question Message-ID: <6784d5ff-19ba-4a80-9439-7c2801234...@boinx.com> Content-Type: text/plain; charset="windows-1252" Hello Jeff, I can remember that we once did this for a customer a long time ago where the Image With String patch hadn't all the bells and whistles. It was lots of work including having the character spacing of a generic font in a table, scan the text by our selfs in JavaScript and calculating the width of each text line in pixels by calculating the soft wrap for the text respecting words and punctation, ending up with an array of strings (one for each line) which we rendered within an iterator. Because we weren't depending on the exact pixel width for each text line in our calculations the approximation of the soft wrap worked for us. Once you have separate strings for each line you can do your line spacing yourself. best, Achim Breidenbach Boinx Software Ltd. On 27.12.2012, at 17:36, Jeff Wolgast wrote: > I created a screensaver that pulls from an RSS feed, but would like to reduce > the amount of space between text that gets wrapped to the next line of the > screen. I have the string from the RSS feed going into an “Image with > String” patch before being displayed on a billboard. I’m guessing that the > font leading offset in the image with string patch would do what I am looking > for, but it is already set at 0, and does not seem to take negative values > for that setting. Any ideas on how I could reduce the amount of space in > between lines of text? > > Thanks. > > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Quartzcomposer-dev mailing list (Quartzcomposer-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/quartzcomposer-dev/achim%40boinx.com > > This email sent to ac...@boinx.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.apple.com/archives/quartzcomposer-dev/attachments/20121228/b0b4d8cf/attachment.html> ------------------------------ _______________________________________________ Quartzcomposer-dev mailing list Quartzcomposer-dev@lists.apple.com https://lists.apple.com/mailman/listinfo/quartzcomposer-dev End of Quartzcomposer-dev Digest, Vol 93, Issue 2 *************************************************
_______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list (Quartzcomposer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com