Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news.babsi.de!open-news-network.org!news2.open-news-network.org!.POSTED!not-for-mail From: Mark Carroll Newsgroups: comp.lang.postscript Subject: Re: Is this effect possible with postscript Date: Thu, 25 Jul 2013 09:13:22 +0100 Organization: none Lines: 19 Message-ID: <87ehangiql.fsf@ixod.org> References: <87ob9run40.fsf@Aspire.decebal.nl> NNTP-Posting-Host: 82-71-47-217.dsl.in-addr.zen.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news2.open-news-network.org 1374740002 7718 82.71.47.217 (25 Jul 2013 08:13:22 GMT) X-Complaints-To: abuse@open-news-network.org NNTP-Posting-Date: Thu, 25 Jul 2013 08:13:22 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:hltAQ5jx0SxpbnALoX3jalMBRsU= Xref: csiph.com comp.lang.postscript:1504 Cecil Westerhof writes: > I like the effect of the red font on page 7 of: > https://wiki.mozilla.org/images/9/93/LCA2012.pdf > > Can this be done with postscript? Not easily, I don't think. The saturation gradient is fairly easy, where it's pinker at the top and redder at the bottom, and the outlining is fairly easy too. The fuzzy edge of the drop shadows is probably harder, though, I don't immediately see how I'd do blurring. And, the white lines where the "light catches" aren't easy: given a font that permits such analysis, I can imagine an algorithm that breaks the letter outlines into many straight lines and processes those for angle, etc. to add the white reflections (I do this kind of thing when I want to, say, nestle letters perfectly right up against each other), but that takes a fair few lines of non-trivial thought and coding to achieve. Mark