Path: csiph.com!eternal-september.org!feeder.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: Mark Carroll Newsgroups: comp.lang.postscript Subject: Re: Interrogating a font Date: Wed, 28 Mar 2018 07:32:12 +0100 Organization: none Lines: 13 Message-ID: <87a7us6783.fsf@ixod.org> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: h2725194.stratoserver.net; posting-host="5fe8cb129bc6408129cfd31eafa20366"; logging-data="4089"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19RgP8mRPU/4PjBbVROXclG" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Cancel-Lock: sha1:DHnHb08+JArxTI5tG49cHG7PNzU= sha1:YLXnvYsMHNtUmhAEhEVIa3EkeqU= Xref: csiph.com comp.lang.postscript:3251 On 27 Mar 2018, luser droog wrote: > Since I cannot predict what pieces may be inaccessible > in any given font dictionary I have tried to achieve > my needs with ... programming. tada! So, the following > incomplete program analyzes the paths produced in > a few key glyphs (CHj) for ascender, descender, cap-height, > italic-angle, and stem-v. I had to do a similar kind of thing when I wanted to nestle letters right up against each other. Glad to see it's working for you too. -- Mark